[Mailman-Users] Problems on mailman3 installation via mailman-bundler

Mark Sapiro mark at msapiro.net
Tue Sep 29 19:28:44 CEST 2015

On 09/28/2015 03:31 PM, Take wrote:
> I've been struggling for couple of days to get mailman3 up and running
> on my Debian Jessie -host. So far I'm in the situation that everything
> should (more or less) work, I can create lists and receive confirmation
> emails etc.
> However, every post I send to the testing-list I created end up in
> shunting, from log file I get this:
> Sep 29 00:59:34 2015 (21017) Traceback (most recent call last):
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py",
> line 165, in _one_iteration
>     self._process_one_file(msg, msgdata)
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py",
> line 258, in _process_one_file
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/incoming.py",
> line 63, in _dispose
>     process(mlist, msg, msgdata, start_chain)
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/chains.py",
> line 86, in process
>     link.function(mlist, msg, msgdata)
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py",
> line 182, in _process
>     autorespond_to_sender(mlist, msg.sender, language)):
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py",
> line 83, in autorespond_to_sender
>     address = user_manager.create_address(sender)
>   File
> "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/email/validate.py",
> line 64, in validate
>     raise InvalidEmailAddressError(email)
> mailman.interfaces.address.InvalidEmailAddressError
> So, apparently something is wrong with member addresses? Since I'm
> dealing with fresh installation there's only two of my own addresses,
> both valid (checked via bin/mailman members mylist at example.com)

No. The address which is the problem is the sender address of the post
that is being held. Mailman is attempting to notify the poster that her
post is being held for moderation and the poster's address appears to be
invalid. This is normally the address in the From: header of the post,
but can be another address depending on the message itself and the
[mailman] -> sender_headers configuration.

> Additionally, for some reason my debug.log is empty. I couldn't find any
> reference from documentation nor from sample configuration files on how
> to switch debugging on, is there documentation about mailman.cfg and
> options I can (or should) have there?

The debug information is the traceback from the 'error' log which you
post above. I'm not completely sure about MM 3, but in MM 2.1 in order
to write anything to a debug log, you actually have to insert the
logging calls in the code.

Questions about Mailman 3 are better posted to the
mailman-developers at python.org list
<http://mail.python.org/mailman/listinfo/mailman-developers>. Please
join that list if you are not already a member and post there.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list