aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers/GroupWise.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-06-15 12:39:31 -0700
committerMark Sapiro <mark@msapiro.net>2008-06-15 12:39:31 -0700
commitf0562e55bb47dd29a832bb8d6b6fed8d0555138c (patch)
treeba1f0a579043ec4221f75a2c3daf78336232a2a1 /Mailman/Bouncers/GroupWise.py
parentbb2624102c8d3c63b6b3e8b56f88fb1507ead034 (diff)
downloadmailman2-f0562e55bb47dd29a832bb8d6b6fed8d0555138c.tar.gz
mailman2-f0562e55bb47dd29a832bb8d6b6fed8d0555138c.tar.xz
mailman2-f0562e55bb47dd29a832bb8d6b6fed8d0555138c.zip
Made several improvements to bounce recognition.
Diffstat (limited to '')
-rw-r--r--Mailman/Bouncers/GroupWise.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Bouncers/GroupWise.py b/Mailman/Bouncers/GroupWise.py
index 7ef31256..74116135 100644
--- a/Mailman/Bouncers/GroupWise.py
+++ b/Mailman/Bouncers/GroupWise.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -46,6 +46,8 @@ def find_textplain(msg):
def process(msg):
if msg.get_type() <> 'multipart/mixed' or not msg['x-mailer']:
return None
+ if msg['x-mailer'][:3].lower() not in ('nov', 'ntm', 'int'):
+ return None
addrs = {}
# find the first text/plain part in the message
textplain = find_textplain(msg)