aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers
diff options
context:
space:
mode:
authortkikuchi <>2004-09-16 00:24:15 +0000
committertkikuchi <>2004-09-16 00:24:15 +0000
commit9c279f769584557a08638c40abb5187b8142ed8c (patch)
tree2511863c91d73307d4df07b7306abc647aaf4160 /Mailman/Bouncers
parentf8f03e6533c3fe9be22a7fb637e97de2c311693c (diff)
downloadmailman2-9c279f769584557a08638c40abb5187b8142ed8c.tar.gz
mailman2-9c279f769584557a08638c40abb5187b8142ed8c.tar.xz
mailman2-9c279f769584557a08638c40abb5187b8142ed8c.zip
[ 665569 ] make Postfix bounce detection work with newer postfix
TK: Being a postfix user myself, this patch looks reasonable. Thanks to James Henstridge (jhenstridge).
Diffstat (limited to 'Mailman/Bouncers')
-rw-r--r--Mailman/Bouncers/Postfix.py2
1 files changed, 1 insertions, 1 deletions
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'.