python error in LogMsg() called from RegisterBounce (PR#162)

Bug #265261 reported by Bug Importer
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

Jitterbug-Id: 162
Submitted-By: <email address hidden>
Date: Thu, 18 Nov 1999 10:03:14 -0500 (EST)
Version: 1.1
OS: Solaris 7

One of our mailman lists consistently generates an 'unknown mailer error 1'
sent to postmaster. This happens everytime a message is posted to this
list.
I've included the python traceback from ~mailman/logs/error below. These
message indicate that the problem is in the LogMsg() function when it is
called from the RegisterBounce() function in Bouncer.py.

One clue to solving the problem may be that the list administrator changed
the value of one of the Bounce Options. They changed:

    Maximum number of messages your list gets in an
    hour. (Yes, bounce detection finds this info useful)

from the default of '5' to '20'.

By the way, we are now using mailman 1.1 but this problem was occurring
with
1.0 also.

Nov 18 07:47:34 1999 post: Traceback (innermost last):
post: File "/usr/local/mailman/scripts/mailowner", line 45, in
?
post: if not mlist.bounce_processing or not mlist.ScanMessage(msg):
post: File "/usr/local/mailman/Mailman/Bouncer.py", line 449,
in ScanMessage
post: self.RegisterBounce(who, msg)
post: File "/usr/local/mailman/Mailman/Bouncer.py", line 149,
in
RegisterBounc
e
post: report + ("%d more allowed over %d secs"
post: File "/usr/local/mailman/Mailman/MailList.py", line 834,
in LogMsg
post: logf.write(msg % args + '\n')
post: TypeError : not enough arguments for format string

====================================================================
Audit trail:
None

[http://sourceforge.net/tracker/index.php?func=detail&aid=214139&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

Probably no longer relevant.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.