diff options
Diffstat (limited to 'Mailman/Handlers/Cleanse.py')
-rw-r--r-- | Mailman/Handlers/Cleanse.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py index 65c5df69..1f6bcb6f 100644 --- a/Mailman/Handlers/Cleanse.py +++ b/Mailman/Handlers/Cleanse.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2005 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 @@ -47,3 +47,12 @@ 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'] |