On 2019-12-03 10:10, Henrik K wrote:

Anyway, that code is not identical to SA, which goes like this in 3.4:

my $msg = do { local $/; <STDIN> }; # Slurp
$msg =~ s/\012/\015\012/gs;
$dkim->PRINT($msg);

Your code would break with missing line terminator at message end I think.

https://metacpan.org/pod/Mail::DKIM sample perl code here there

i have sent in private sample that gives sa dkim invalid

and i use 3.4.2 on gentoo still, Mail-DKIM could be updated on gentoo but if thats the problem the sample perl code would aswell say invalid

Reply via email to