dkim and Mailscanner

Mark Sapiro mark at
Fri Dec 4 18:08:35 UTC 2015

On 12/04/2015 05:20 AM, Maarten wrote:
> Thanks for your reply. It's for outgoing mail, the messages gets signed
> but it doesn't pass the dkim test.  When I take out mailscanner and just
> let it go through postfix I get a pass. So seems like Mailscanner
> changes the body/hash of the dkim headers?

So it seems.

> I have the same settings for adding multiple headers:
> Multiple Headers = add
> Place New Headers At Top Of Message = yes

In my case, for outgoing mail I my rules say Place New Headers At Top Of
Message = no.

> I just send plain text mails nothing with links in them. I'll have
> another look at my logs.
> gmail:
> Authentication-Results:;
>        spf=pass ( domain of mailinglists at designates as permitted sender) smtp.mailfrom=mailinglists at;
>        dkim=neutral (body hash did not verify)

OK, but as I said, it works for me, so I don't know what the problem is
in your case.

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list