[Mailman-Developers] problems with mailman 2.0.12 qrunner failing to process any messages

Chris Dagdigian dag@sonsorol.org
Tue, 23 Jul 2002 11:18:13 -0400


Hi folks,

First off thanks for making such a great package.

I've been using mailman for a few years now to run mailing lists for 
various open source informatics efforts like biojava.org, biopython.org 
and bioperl.org.

We upgraded to 2.0.12 over the weekend and are now having trouble with 
mailman. It's basically stopped processing incoming email.

 From looking at google and various mailing man list archives it seems 
that my problem is very similar to what some people saw in v2.06 with 
mailman not being able to gracefully handle some error or bounce 
situations. The patches discussed however seem to be already in place 
with mailman 2.0.12 (specifically a change to Boucers/DSN.py).

Right now I'm manually moving .msg and .db files into and out of the 
qfiles directory so that I can at least get some mail out. This will 
hopefully also give me a small sample of "bad" emails that are 
triggering the problem.

I'm not a python person so I'd appreciate any tips on how to resolve 
this. Here are the specifics:

qrunner is bombing out with an error and leaving lots of unprocessed 
messages in the qfiles/ directory. The output from the 'error' logfile 
is as follows:

[mailman@pw600a ~/qfiles]$ tail ../logs/error
Jul 23 11:10:01 2002 qrunner(8882): Traceback (innermost last):
Jul 23 11:10:01 2002 qrunner(8882):   File "/home/mailman/cron/qrunner", 
line 283, in ?
Jul 23 11:10:01 2002 qrunner(8882):      kids = main(lock)
Jul 23 11:10:01 2002 qrunner(8882):   File "/home/mailman/cron/qrunner", 
line 253, in main
Jul 23 11:10:01 2002 qrunner(8882):      keepqueued = 
dispose_message(mlist, msg, msgdata)
Jul 23 11:10:01 2002 qrunner(8882):   File "/home/mailman/cron/qrunner", 
line 157, in dispose_message
Jul 23 11:10:01 2002 qrunner(8882):      mlist.ParseMailCommands(msg)
Jul 23 11:10:01 2002 qrunner(8882):   File 
"/home/mailman/Mailman/MailCommandHandler.py", line 123, in 
ParseMailCommands
Jul 23 11:10:01 2002 qrunner(8882):      precedence = 
msg.get('precedence', '').lower()
Jul 23 11:10:01 2002 qrunner(8882): AttributeError :  'string' object 
has no attribute 'lower


Regards,
Chris


-- 
Chris Dagdigian, <dag@sonsorol.org>
Independent life science IT & research computing consulting
Office: 617-666-6454, Mobile: 617-877-5498, Fax: 425-699-0193
Work: http://BioTeam.net PGP KeyID: 83D4310E  Yahoo IM: craffi