RE: Amavis and OpenDMARC

"Dino Edwards" <[email protected]> Sat, 11 Nov 2023 08:03:20 -0500
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
>most DMARC's I find still use quarantine, what responses are you seeing for them?

I don’t have any p=quarantine examples right now.

>You also dont need to setup amavisd as a milter if its working fine already.

 

Well, I can see Damien’s point here. Originally with OpenDKIM the Postfix milter was setup in the following  order where 8891 is OpenDKIM and 54321 is OpenDMARC:

smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:54321

So OpenDKIM would insert the authentication headers and OpenDMARC would parse them. By using the amavis as content_filter i.e. post-queue, OpenDMARC never sees the authentication headers so it always fails but in the case of p=none it doesn’t make a difference and it passes anyway.

Unless I’m thinking about it wrong.