summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d76a59323..3fa13456f 100644
--- a/Mailman/Bouncers/Postfix.py
+++ b/Mailman/Bouncers/Postfix.py
@@ -47,7 +47,7 @@ def process(mlist, msg):
msg2 = mimetools.Message(s)
if msg2.gettype() == 'text/plain':
desc = msg2.get('content-description')
- if string.lower(desc) == 'notification':
+ if desc and string.lower(desc) == 'notification':
return findaddr(msg2.fp)
# probably not a Postfix bounce
return None