[Mimedefang] DKIM and boilerplate conflict

Richard Laager rlaager at wiktel.com
Fri Feb 23 11:44:44 EST 2018


On 02/22/2018 09:16 PM, Randy Candy wrote:
>                 my $signature = $dkim->signature()->as_string();
>                 $signature =~ s/^DKIM-Signature:\s+//i;
>                 action_add_header('DKIM-Signature', $signature);

On a related note... I just implement DKIM signing a few days ago, and I
got broken messages until I stripped the CRs from the signature. See the
third line below:

my $signature = $dkim->signature()->as_string();
$signature =~ s/^DKIM-Signature:\s+//i;
$signature =~ s/\015//g;
action_add_header('DKIM-Signature', $signature);

-- 
Richard



More information about the MIMEDefang mailing list