diff options
| author | bwarsaw | 2005-09-12 21:57:02 +0000 |
|---|---|---|
| committer | bwarsaw | 2005-09-12 21:57:02 +0000 |
| commit | 4163e47d41effb73904ff52d293ce1c40d60b696 (patch) | |
| tree | 69003f93a7c986bc5566e8affcb2207b6ff77d3d /Mailman/Handlers/Cleanse.py | |
| parent | 56692d114ee620e146504f6eda1aeecdd388ac3d (diff) | |
| download | mailman-4163e47d41effb73904ff52d293ce1c40d60b696.tar.gz mailman-4163e47d41effb73904ff52d293ce1c40d60b696.tar.zst mailman-4163e47d41effb73904ff52d293ce1c40d60b696.zip | |
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 65c5df69e..1f6bcb6f0 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'] |
