[Mailman-Developers] 2 Bouncer exceptions

Luca Maranzano liuk@publinet.it
Tue, 11 Sep 2001 15:11:16 +0200


Hi,

here again with an error report, from logs/error 2 distinct errors:

=========
Sep 11 13:10:48 2001 (8707) Bouncer exception: 'None' object has no attribute 'lower'
Sep 11 13:10:48 2001 (8707) Traceback (most recent call last):
  File "/home/mailman/Mailman/Bouncers/BouncerAPI.py", line 71, in ScanMessages
    mlist.RegisterBounce(addr, msg)
  File "/home/mailman/Mailman/Bouncer.py", line 93, in RegisterBounce
    this_dude = Utils.FindMatchingAddresses(email, self.bounce_info)
  File "/home/mailman/Mailman/Utils.py", line 298, in FindMatchingAddresses
    p_matches = GetPossibleMatchingAddrs(name)
  File "/home/mailman/Mailman/Utils.py", line 262, in GetPossibleMatchingAddrs
    name = name.lower()
AttributeError: 'None' object has no attribute 'lower'
=========

Grepp'ing in the mail.info log file for the exact time I found an entry saying that
the command it was executing was:

"|/home/mailman/mail/wrapper mailowner listname"

I'm not sure this may be correlated with the error, but I've no other clue :)

===================
Sep 11 13:26:07 2001 (8707) Bouncer exception: not enough arguments; expected 1, got 0
Sep 11 13:26:07 2001 (8707) Traceback (most recent call last):
  File "/home/mailman/Mailman/Bouncers/BouncerAPI.py", line 71, in ScanMessages
    mlist.RegisterBounce(addr, msg)
  File "/home/mailman/Mailman/Bouncer.py", line 123, in RegisterBounce
    self.HandleBouncingAddress(addr, msg)
  File "/home/mailman/Mailman/Bouncer.py", line 214, in HandleBouncingAddress
    text = text + '\n\n--' + boundary + \
TypeError: not enough arguments; expected 1, got 0
===================

Instead for this error I've found something in the logs/bounce (listname and
email address has been modified):

Sep 11 13:26:07 2001 (8707) LISTNAME: XXXXXXX@tiscalinet.it - 2 more allowed over 345719 secs
Sep 11 13:26:07 2001 (8707) LISTNAME: YYYYYYY@tiscalinet.it - exceeded limits
Sep 11 13:26:07 2001 (8707) LISTNAME: disabled YYYYYYY@tiscalinet.it

I'm using latest CVS, as always let me know if you need more infos!

Hoping to be useful :)

--Luca