------------------------------------------------------------
revno: 1380
fixes bug: https://launchpad.net/bugs/1161610
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Thu 2013-03-28 14:20:32 -0700
message:
Fixed a bug where BounceRunner could create and leave behind zero length
bounce-events files. (LP: 1161610)
modified:
Mailman/Queue/BounceRunner.py
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/BounceRunner.py'
--- Mailman/Queue/BounceRunner.py 2008-06-22 19:28:05 +0000
+++ Mailman/Queue/BounceRunner.py 2013-03-28 21:20:32 +0000
@@ -244,6 +244,7 @@
return
# If that still didn't return us any useful addresses, then send it on
# or discard it.
+ addrs = filter(None, addrs)
if not addrs:
syslog('bounce',
'%s: bounce message w/no discernable addresses: %s',
@@ -254,7 +255,8 @@
# BAW: It's possible that there are None's in the list of addresses,
# although I'm unsure how that could happen. Possibly ScanMessages()
# can let None's sneak through. In any event, this will kill them.
- addrs = filter(None, addrs)
+ # addrs = filter(None, addrs)
+ # MAS above filter moved up so we don't try to queue an empty list.
self._queue_bounces(mlist.internal_name(), addrs, msg)
_doperiodic = BounceMixin._doperiodic
=== modified file 'NEWS'
--- NEWS 2013-03-26 01:58:00 +0000
+++ NEWS 2013-03-28 21:20:32 +0000
@@ -58,6 +58,9 @@
Bug Fixes and other patches
+ - Fixed a bug where BounceRunner could create and leave behind zero length
+ bounce-events files. (LP: 1161610)
+
- Added recognition for another Yahoo bounce format. LP: #1157961
- Changed configure's method for getting Python's include directory from
distutils.sysconfig.get_config_var('CONFINCLUDEPY') to
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org