diff options
author | tkikuchi <> | 2004-09-16 00:24:15 +0000 |
---|---|---|
committer | tkikuchi <> | 2004-09-16 00:24:15 +0000 |
commit | 9c279f769584557a08638c40abb5187b8142ed8c (patch) | |
tree | 2511863c91d73307d4df07b7306abc647aaf4160 | |
parent | f8f03e6533c3fe9be22a7fb637e97de2c311693c (diff) | |
download | mailman2-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).
-rw-r--r-- | Mailman/Bouncers/Postfix.py | 2 |
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'. |