------------------------------------------------------------
revno: 1108
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Sun 2008-06-22 12:28:05 -0700
message:
Another BounceRunner loop detection change (rev 1106 wasn't quite right).
modified:
Mailman/Queue/BounceRunner.py
=== modified file 'Mailman/Queue/BounceRunner.py'
--- a/Mailman/Queue/BounceRunner.py 2008-06-22 16:53:02 +0000
+++ b/Mailman/Queue/BounceRunner.py 2008-06-22 19:28:05 +0000
@@ -209,8 +209,10 @@
return
# Is this a possible looping message sent directly to a list-bounces
# address other than the site list?
- # Use the From: because message may not have a unix_from.
- if msg.get('from') == Utils.get_site_email(extra='bounces'):
+ # Check From: because unix_from might be VERP'd.
+ # Also, check the From: that Message.OwnerNotification uses.
+ if (msg.get('from') ==
+ Utils.get_site_email(mlist.host_name, 'bounces')):
# Just send it to the sitelist-owner address. If that bounces
# we'll handle it above.
outq.enqueue(msg, msgdata,
--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org