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

Mark Sapiro mark at msapiro.net
Thu Oct 1 21:22:35 CEST 2015


On 10/01/2015 11:39 AM, Take wrote:
> On 09/29/2015 08:28 PM, Mark Sapiro wrote:
>> 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.
> 
> I'll verify this again, however I'm suspecting that this is a some sort
> of bug in mailman configuration, since the domain I'm using for testing
> is dedicated to mailman and (as far as I can understand) mailman should
> take care of it's own email addresses automatically.


The email address of the sender of the post doesn't pass the test in
mailman/email/validate.py. This means it contains a space or begins with
a '-' or contains or a non-printable ascii character or an ascii
printable character in the set

][()<>|;^,

It also must be a fully qualified address with at least one '.' in the
domain.


> As I browsed trough the code I saw calls to function log.debug(), which
> suggested to me that there should be atleast something on the debug log,
> but since the documentation (atleast the ones I have found) for mailman3
> are shallow at best I couldn't confirm if there's any configuration
> options to specifically enable debugging.


log.debug() will write a 'debug' level log message to the log file which
is defined in the 'log' instance.

For example, just to pick one, the module mailman/mta/connection.py contains

log = logging.getLogger('mailman.smtp')

and a few calls to log.debug(). In this case, all those calls will write
to the 'smtp' log with level = debug


>> 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.
> 
> I assumed that user-list is for stable releases, which mailman3 has been
> for couple of months now, but I'll subscribe to developers list as well
> and post results from my debugging to there. Thank you for your time, I
> really appreciate it.


We are trying to get there. We will have a mailman3-users at mailman3.org
list running under Mailman 3, but we're not quite there yet. In the mean
time mailman-developers at python.org is the best place for Mailman 3 issues.

-- 
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