aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-11-04 14:41:26 -0800
committerMark Sapiro <msapiro@value.net>2007-11-04 14:41:26 -0800
commit54f06c64004d154746c26aebbd28da65e716f438 (patch)
treed281c33276767429873636c904f1db7782e26afd /Mailman/Handlers
parentea71f5ee9f0dc3386b523bcfcb2fc72b18462b36 (diff)
downloadmailman2-54f06c64004d154746c26aebbd28da65e716f438.tar.gz
mailman2-54f06c64004d154746c26aebbd28da65e716f438.tar.xz
mailman2-54f06c64004d154746c26aebbd28da65e716f438.zip
Added removal of Authentication-Results: header.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/CleanseDKIM.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/Handlers/CleanseDKIM.py b/Mailman/Handlers/CleanseDKIM.py
index 0c548a9a..c4b06613 100644
--- a/Mailman/Handlers/CleanseDKIM.py
+++ b/Mailman/Handlers/CleanseDKIM.py
@@ -29,8 +29,8 @@ from Mailman import mm_cfg
def process(mlist, msg, msgdata):
- if not mm_cfg.REMOVE_DKIM_HEADERS:
- return
- del msg['domainkey-signature']
- del msg['dkim-signature']
+ if mm_cfg.REMOVE_DKIM_HEADERS:
+ del msg['domainkey-signature']
+ del msg['dkim-signature']
+ del msg['authentication-results']