[Mailman-Users] Monthly password reminders not working

Darren G Pifer dpifer at odu.edu
Thu Sep 22 17:28:40 CEST 2005


On Wed, 2005-09-21 at 14:01, John Dennis wrote:
> On Wed, 2005-09-21 at 13:44 -0400, Darren G Pifer wrote:
> > 
> > Anything else?
> Well, if it were me I'd edit the script and throw in a few print
> statements in a few judicious places to track what it was or wasn't
> doing since you're not getting any info in the logs.
> Python print statements are pretty easy, in its simplest form:
> print "value1=%s value2=%s" % (value1, value2)
> each %s is replaced by the matching value inside the parens, just make
> sure the indentation of the print statement lines up.

Thanks for the 'print' statement because I do not know python, but
it will be on my list to learn it.

I added this to my version of mailpasswds at line 237:

    print "msg=%s" % (msg)
    msg.send(sitelist, **{'errorsto': sitebounce,
                          '_nolist' : 1,
                          'verp'    : mm_cfg.VERP_PASSWORD_REMINDERS,

The output from the print statement shows that everything is in the
message but once it hands off to msg.send for the delivery that is
it. Where is msg.send located? Also, has anyone played with the
test_message.py script in the mailman/tests directory? I haven't seen
any documentation on the test code, a Google search offers no help and
the Mailman FAQ wizard comes up with zero hits.

Old Dominion University

More information about the Mailman-Users mailing list