From 9c279f769584557a08638c40abb5187b8142ed8c Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Thu, 16 Sep 2004 00:24:15 +0000 Subject: [ 665569 ] make Postfix bounce detection work with newer postfix TK: Being a postfix user myself, this patch looks reasonable. Thanks to James Henstridge (jhenstridge). --- Mailman/Bouncers/Postfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Bouncers') diff --git a/Mailman/Bouncers/Postfix.py b/Mailman/Bouncers/Postfix.py index 447e326c..14876645 100644 --- a/Mailman/Bouncers/Postfix.py +++ b/Mailman/Bouncers/Postfix.py @@ -71,7 +71,7 @@ def findaddr(msg): def process(msg): - if msg.get_type() <> 'multipart/mixed': + if msg.get_type() not in ('multipart/mixed', 'multipart/report'): return None # We're looking for the plain/text subpart with a Content-Description: of # `notification'. -- cgit v1.2.3