bouncing users create Email dupes with 2.0 beta5

Bug #265193 reported by Marcmerlin
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
High
Barry Warsaw

Bug Description

I saw
http://sourceforge.net/bugs/?func=detailbug&bug_id=111176&group_id=
103
but my report seems slight different, so here it is:

Ok, so I had a mail server configuration and a list with 13 non local
users.
Because mailman telnets to port 25 instead or running sendmail directly,
the
Emails to non local users got bounced (we do not relay).

The problem is that mailman apparently thought the Email didn't go
through
at all, and resent the whole Email 14 times, until the all the 13 users
got
removed from the list.
The bug didn't happen when the users were still in "first"
or "0 more
allowed" mode, it happened when they started to be actually
unsubscribed.

Here's the mailman bounce log of when this happened:
Aug 12 19:02:02 2000 (31157) Flash: <email address hidden> - exceeded limits
Aug 12 19:02:02 2000 (31157) Flash: removed <email address hidden>
Aug 12 19:03:01 2000 (31181) Flash: <email address hidden> - first
Aug 12 19:03:01 2000 (31181) Flash: <email address hidden> - exceeded limits
Aug 12 19:03:02 2000 (31181) Flash: removed <email address hidden>
Aug 12 19:04:01 2000 (31205) flash: address <email address hidden> not a
member.
Aug 12 19:04:01 2000 (31205) Flash: <email address hidden> - first
Aug 12 19:04:01 2000 (31205) Flash: <email address hidden> - exceeded
limits
Aug 12 19:04:01 2000 (31205) Flash: removed <email address hidden>
Aug 12 19:05:02 2000 (31230) flash: address <email address hidden> not a
member.
Aug 12 19:05:02 2000 (31230) flash: address <email address hidden> not a
member.
Aug 12 19:05:02 2000 (31230) Flash: <email address hidden> - first
Aug 12 19:05:02 2000 (31230) Flash: <email address hidden> - exceeded limits
Aug 12 19:05:02 2000 (31230) Flash: removed <email address hidden>
Aug 12 19:06:01 2000 (31255) flash: address <email address hidden> not a
member.
Aug 12 19:06:01 2000 (31255) flash: address <email address hidden> not a
member.
Aug 12 19:06:01 2000 (31255) flash: address <email address hidden> not a
member.
(...)
Aug 12 19:14:02 2000 (31456) Flash: <email address hidden> - first
Aug 12 19:14:02 2000 (31456) Flash: <email address hidden> - exceeded limits
Aug 12 19:14:02 2000 (31456) Flash: removed <email address hidden>
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) flash: address <email address hidden> not a
member.
Aug 12 19:15:01 2000 (31483) Flash: <email address hidden> - first

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

Revision history for this message
Bug Importer (bug-importer) wrote :

I may be seeing this as well. It didn't occur to me that it might be
related to removing users from the list...
I thought the traceback from mailman/logs/error might help. This same
traceback repeats, erm, lots... ;-)

Aug 22 17:05:05 2000 (16140) Delivery exception: I/O operation on closed
file
Aug 22 17:05:05 2000 (16140) Traceback (innermost last):
  File "/home/httpd/mailman/Mailman/Handlers/HandlerAPI.py",
line 82, in do_pipeline
    func(mlist, msg, msgdata)
  File "/home/httpd/mailman/Mailman/Handlers/SMTPDirect.py",
line 106, in process
    mlist.RegisterBounce(recip, msg, saveifdirty=0)
  File "/home/httpd/mailman/Mailman/Bouncer.py", line 144, in
RegisterBounce
    self.HandleBouncingAddress(addr, msg)
  File "/home/httpd/mailman/Mailman/Bouncer.py", line 242, in
HandleBouncingAddress
    msg.rewindbody()
  File "/home/httpd/mailman/Mailman/pythonlib/rfc822.py", line
104, in rewindbody
    self.fp.seek(self.startofbody)
ValueError: I/O operation on closed file

It appears I got an extra delivery for every one of these...

Revision history for this message
Parsley-users (parsley-users) wrote :

(I wasn't logged in before, now I am... prev. comment was mine)

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

This has been fixed post-2.0beta5.

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.