Comment 3 for bug 265707

Revision history for this message
Wig (wig) wrote :

I found a similiar problem and traced it down to the
code in ../Mailman/MailCommandHandler.py:

...
        # Note further that some misconfigured list managers
don't include any
 # of these clues, so there's little we can do to break
loops in that
 # case, except throttle the number of responses sent to any
one
 # requester in a day. That's a job for MM2.1.
 #!wig:org: precedence = msg.get('precedence', '').lower()
 precedence = msg.get('precedence', '')
 #!wig:org: ack = msg.get('x-ack', '').lower()
 ack = msg.get('x-ack', '')
 beenthere = msg.get('x-beenthere', '')

Apparently the message mailman received (subscriptions) did
not have the precedence and x-ack header line. Removing
the .lower() helps (but I have no clue about python,
so i guess that was only a short term fix).

Further processing of files in ~mailman/qfiles was failing.

Errormessage (from ~mailman/logs/error):
Traceback (innermost last):
Aug 07 07:52:01 2002 qrunner(16176): File
"/home/mailman/cron/qrunner", line 283, in ?
Aug 07 07:52:01 2002 qrunner(16176): kids = main(lock)
Aug 07 07:52:01 2002 qrunner(16176): File
"/home/mailman/cron/qrunner", line 253, in main
Aug 07 07:52:01 2002 qrunner(16176): keepqueued =
dispose_message(mlist, msg, msgdata)
Aug 07 07:52:01 2002 qrunner(16176): File
"/home/mailman/cron/qrunner", line 157, in dispose_message
Aug 07 07:52:01 2002 qrunner(16176):
mlist.ParseMailCommands(msg)
Aug 07 07:52:01 2002 qrunner(16176): File
"/home/mailman/Mailman/MailCommandHandler.py", line 123, in
ParseMailCommands
Aug 07 07:52:01 2002 qrunner(16176): precedence =
msg.get('precedence', '').lower()
Aug 07 07:52:01 2002 qrunner(16176): AttributeError :
'string' object has no attribute 'lower'