aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortkikuchi <>2005-12-31 06:15:33 +0000
committertkikuchi <>2005-12-31 06:15:33 +0000
commit1fa0ad72206f3a49736ee915e3c9010e91a7e611 (patch)
tree1ffc8361142431976a5a9355d3e3ab0397d7baeb
parent55b1deac614a8c48b81358cdd68f312924280e97 (diff)
downloadmailman2-1fa0ad72206f3a49736ee915e3c9010e91a7e611.tar.gz
mailman2-1fa0ad72206f3a49736ee915e3c9010e91a7e611.tar.xz
mailman2-1fa0ad72206f3a49736ee915e3c9010e91a7e611.zip
Don't use 'X-List-Administrivia', second part.
-rw-r--r--Mailman/Handlers/SpamDetect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/SpamDetect.py b/Mailman/Handlers/SpamDetect.py
index 4aa476df..352b18fc 100644
--- a/Mailman/Handlers/SpamDetect.py
+++ b/Mailman/Handlers/SpamDetect.py
@@ -106,7 +106,7 @@ def process(mlist, msg, msgdata):
# Now do header_filter_rules
# TK: Collect headers in sub-parts because attachment filename
# extension may be a clue to possible virus/spam.
- if msg.is_multipart() and not msg.get('x-list-administrivia',''):
+ if msg.is_multipart():
headers = ''
for p in msg.walk():
g = HeaderGenerator(StringIO())