[opendmarc-users] pct=0 question

Sistemisti Posta sistemisti-posta at csi.it
Wed Nov 11 05:31:35 PST 2020


On 11/11/2020 13:19, Dominic Raferd has written:
[...]
> I redirect mails that would have failed like this (this is for postfix):
> 
> milter_header_checks.pcre:/^Authentication-Results: 
> my_authserv_id.*dmarc=fail \(p=reject/ REDIRECT dmarcfail at localhost

Thank you Dominic to point this.

I'm not sure to understand. I follow your example with "p=reject" and 
RejectFailures=true.

See at 
https://github.com/trusteddomainproject/OpenDMARC/blob/master/opendmarc/opendmarc.c 
on line 3121:

if (ret != SMFIS_TEMPFAIL && ret != SMFIS_REJECT)
	{
		snprintf(header, sizeof header,
		[...]

So, with RejectFailures=true the header will not be written to the 
mail... and the milter_header_check will not find it.

mumble mumble...

Marco


More information about the opendmarc-users mailing list