about summary refs log tree commit homepage
path: root/lib/PublicInbox/MDA.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-10-01 19:20:03 +0000
committerEric Wong <e@80x24.org>2015-10-01 19:20:03 +0000
commita9534e6b5cfdc9b59de3311e334b85c84a90d246 (patch)
tree80214e6c900055b428188b2290d9401cd37b9d0d /lib/PublicInbox/MDA.pm
parent6c074ee45d9948a0900ff6661d2fa3d10f2becdf (diff)
downloadpublic-inbox-a9534e6b5cfdc9b59de3311e334b85c84a90d246.tar.gz
This is probably unsafe
Diffstat (limited to 'lib/PublicInbox/MDA.pm')
-rw-r--r--lib/PublicInbox/MDA.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm
index 8c2d6ed2..25d6ae55 100644
--- a/lib/PublicInbox/MDA.pm
+++ b/lib/PublicInbox/MDA.pm
@@ -70,14 +70,6 @@ sub set_list_headers {
                         x-confirm-reading-to x-pmrqc)) {
                 $simple->header_set($h);
         }
-
-        # Remove any "DomainKeys" (or similar) header lines.
-        # Any modifications (including List-Id) will cause a message
-        # to appear invalid
-        foreach my $h (qw(domainkey-signature dkim-signature
-                        authentication-results)) {
-                $simple->header_set($h);
-        }
 }
 
 # returns a 3-element array: name, email, date