aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Cleanse.py
diff options
context:
space:
mode:
authormsapiro <>2006-01-15 21:01:35 +0000
committermsapiro <>2006-01-15 21:01:35 +0000
commit2a3818c340bbc53a12dd34d3e1e5a218af6458bd (patch)
tree597495e66d6cfcdd7ed6eba8e122f69a7f6f8a5a /Mailman/Handlers/Cleanse.py
parentbcb2dda2f3d228b13b395c2ebdcfc370e94aed09 (diff)
downloadmailman2-2a3818c340bbc53a12dd34d3e1e5a218af6458bd.tar.gz
mailman2-2a3818c340bbc53a12dd34d3e1e5a218af6458bd.tar.xz
mailman2-2a3818c340bbc53a12dd34d3e1e5a218af6458bd.zip
Moving deletion of Domainkey-Signature: and DKIM-Signature: headers to a
new handler to be included in both GLOBAL_PIPELINE and OWNER_PIPELINE.
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/Cleanse.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py
index ea5a7fbf..8033d41f 100644
--- a/Mailman/Handlers/Cleanse.py
+++ b/Mailman/Handlers/Cleanse.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2006 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
@@ -50,12 +50,3 @@ def process(mlist, msg, msgdata):
del msg['x-confirm-reading-to']
# Pegasus mail uses this one... sigh
del msg['x-pmrqc']
- # Remove any "DomainKeys" (or similar) header lines. The values contained
- # in these header lines are intended to be used by the recipient to detect
- # forgery or tampering in transit, and the modifications made by Mailman
- # to the headers and body of the message will cause these keys to appear
- # invalid. Removing them will at least avoid this misleading result, and
- # it will also give the MTA the opportunity to regenerate valid keys
- # originating at the Mailman server for the outgoing message.
- del msg['domainkey-signature']
- del msg['dkim-signature']