Update of /cvsroot/mailman/mailman/Mailman/Queue
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29721

Modified Files:
        BounceRunner.py 
Log Message:
Add test in BounceRunner for non-fatal, VERPed bounce. Bug 1421285.

Index: BounceRunner.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Queue/BounceRunner.py,v
retrieving revision 2.33
retrieving revision 2.34
diff -u -d -r2.33 -r2.34
--- BounceRunner.py     1 Mar 2006 02:34:54 -0000       2.33
+++ BounceRunner.py     9 Mar 2006 22:10:12 -0000       2.34
@@ -197,7 +197,11 @@
             return
         # Try VERP detection first, since it's quick and easy
         addrs = verp_bounce(mlist, msg)
-        if not addrs:
+        if addrs:
+            # We have an address, but check if the message is non-fatal.
+            if BouncerAPI.ScanMessages(mlist, msg) is BouncerAPI.Stop:
+                return
+        else:
             # See if this was a probe message.
             token = verp_probe(mlist, msg)
             if token:

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to