Add option to skip SPF checks on exempt domains based on /etc/postfix/exempt_spf_domains

This commit is contained in:
Scott Savarese 2018-07-26 00:42:40 -04:00 committed by Scott Kitterman
commit b916c542c6
2 changed files with 57 additions and 0 deletions

6
README
View file

@ -36,6 +36,12 @@ relay_addresses on line 78 using standard CIDR notation in a space separated
list. For these addresses, 'X-Comment: SPF skipped for whitelisted relay' is
prepended and logged. IPv6 localhost is also skipped.
A configuration file, /etc/postfix/exempt_spf_domains, can be used to
ignore domains that have broken SPF configurations that would normally
fail. For those domains, add the domain to the file (one per line), and
restart postfix so that the policy server can reload its configuration.
The policy server will ignore the domain going forward.
Error conditions within the policy server (that don't result in a crash) or from
Mail::SPF will return DUNNO.