From 2f940a523ff299df85e6df9fe7fb74c23eb0eb21 Mon Sep 17 00:00:00 2001
From: msapiro <>
Date: Wed, 1 Mar 2006 02:34:10 +0000
Subject: 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.

---
 Mailman/Queue/BounceRunner.py | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'Mailman/Queue')

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:
-- 
cgit v1.2.3