]> Sergey Matveev's repositories - public-inbox.git/commitdiff
mda: keep DKIM crap
authorEric Wong <e@80x24.org>
Thu, 1 Oct 2015 19:20:03 +0000 (19:20 +0000)
committerEric Wong <e@80x24.org>
Thu, 1 Oct 2015 19:20:03 +0000 (19:20 +0000)
This is probably unsafe

lib/PublicInbox/MDA.pm

index 8c2d6ed25e2301959961b9b758463e0de9fbcab7..25d6ae556eb7bfc09f33c03e695630bb7c7b08cb 100644 (file)
@@ -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