diff options
author | msapiro <> | 2006-03-01 02:34:10 +0000 |
---|---|---|
committer | msapiro <> | 2006-03-01 02:34:10 +0000 |
commit | 2f940a523ff299df85e6df9fe7fb74c23eb0eb21 (patch) | |
tree | 0984aa801fecaa2bae0767666fa55c31585d27cc /Mailman/Queue/BounceRunner.py | |
parent | 505c0fa8e08a38483753c1d3cfbdbfa93c85cf42 (diff) | |
download | mailman2-2f940a523ff299df85e6df9fe7fb74c23eb0eb21.tar.gz mailman2-2f940a523ff299df85e6df9fe7fb74c23eb0eb21.tar.xz mailman2-2f940a523ff299df85e6df9fe7fb74c23eb0eb21.zip |
Changed BouncerAPI.py to return Stop from a Bouncer and changed
BounceRunner.py to discard the bounce when Stop returned. Changed
DSN.py to recognize Action: headers with comments. Changed Qmail.py
to recognize an observed different starting string.
Diffstat (limited to 'Mailman/Queue/BounceRunner.py')
-rw-r--r-- | Mailman/Queue/BounceRunner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Queue/BounceRunner.py b/Mailman/Queue/BounceRunner.py index 3fe09ca3..682466b0 100644 --- a/Mailman/Queue/BounceRunner.py +++ b/Mailman/Queue/BounceRunner.py @@ -206,6 +206,9 @@ class BounceRunner(Runner, BounceMixin): # That didn't give us anything useful, so try the old fashion # bounce matching modules. addrs = BouncerAPI.ScanMessages(mlist, msg) + if addrs is BouncerAPI.Stop: + # This is a recognized, non-fatal notice. Ignore it. + return # If that still didn't return us any useful addresses, then send it on # or discard it. if not addrs: |