From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A5AFA200EA; Thu, 1 Oct 2015 22:22:37 +0000 (UTC) Date: Thu, 1 Oct 2015 22:22:37 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] mda: keep DKIM crap Message-ID: <20151001222237.GB23598@dcvr.yhbt.net> References: <20151001222143.GA23598@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151001222143.GA23598@dcvr.yhbt.net> List-Id: This is probably unsafe --- lib/PublicInbox/MDA.pm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm index 8c2d6ed..25d6ae5 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 -- EW