diff options
author | msapiro <> | 2006-03-09 22:09:34 +0000 |
---|---|---|
committer | msapiro <> | 2006-03-09 22:09:34 +0000 |
commit | 3be589fc2d15a40f065ae06da28a94873ebc742e (patch) | |
tree | 1f2a807783b0175024cbccf979104f28e2d865bc /Mailman | |
parent | cf200cb0707f4eb75bfb2f44d6d4798f401c3089 (diff) | |
download | mailman2-3be589fc2d15a40f065ae06da28a94873ebc742e.tar.gz mailman2-3be589fc2d15a40f065ae06da28a94873ebc742e.tar.xz mailman2-3be589fc2d15a40f065ae06da28a94873ebc742e.zip |
Add test in BounceRunner for non-fatal, VERPed bounce. Bug 1421285.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Queue/BounceRunner.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Queue/BounceRunner.py b/Mailman/Queue/BounceRunner.py index 682466b0..bb0e49da 100644 --- a/Mailman/Queue/BounceRunner.py +++ b/Mailman/Queue/BounceRunner.py @@ -197,7 +197,11 @@ class BounceRunner(Runner, BounceMixin): 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: |