[opendmarc-users] Host lists in 'IgnoreHosts' file still being scanned, with headers added. How to exclude specific domains from scanning?

hal469 at xsmail.com hal469 at xsmail.com
Thu Apr 12 12:52:47 PDT 2018


I'm running

	opendkim: OpenDKIM Filter v2.11.0

and

	opendmarc: OpenDMARC Filter v1.4.0

I use them as Pre-queue milters in a Postfix setup.

They work fine.

I want to exclude the milter scan for email sent from specific domains.

For OpenDKIM, the method's clear:

	/etc/opendkim/opendkim.conf
+		ExemptDomains /etc/opendkim/exempt_domains

	/etc/opendkim/exempt_domains
		some-domain.com

It works as expected. Emails FROM: *@some-domain.com are *not* processed by opendkim milter; no opendkim filter headers are added.

For OpenDMARC, the quivalent, I thought, was to use IgnoreHosts; So I 

	/etc/opendmarc/opendmarc.conf
+		IgnoreHosts /etc/opendmarc/ignore_hosts

	cat /etc/opendmarc/ignore_hosts
		some-domain.com

AFter daemon/server restart, still, inbound email appears to be processed; in headers I still see

	...
	DMARC-Filter: OpenDMARC Filter v1.4.0 mail.mydomain.com 30NDmG1Zj9c4gfd
	Authentication-Results: opendmarc.mail.mydomain.com/30NDmG1Zj9c4gfd; dmarc=pass (p=none dis=none) header.from=some-domain.com
	...

How do I exempt this domain from being OpenDMARC scanned?





More information about the opendmarc-users mailing list