On 2016-04-19 08:52, li...@lazygranch.com wrote:
From what I can tell, if you whitelist a domain, the policyd-spf check
is skipped. Now I white listed domains to stop the RBL from blocking
them, but it would be nice to see if SPF passes.
Am I right about the SPF being skipped?
While I'm at it, can you whitelist specific users at a domain, that is
the full email address, or only the domain itself.
You could move your RBL excludes to a restriction class
smtpd_restriction_classes = rbl_exclude1, rbl_exclude2, ...
rbl_exclude1 =
check_client_access pcre:rbl_exclude1.pcre,
reject_rbl_client zen.spamhaus.org,
smtpd_recipient_restrictions =
...
rbl_exclude1,
...
See also http://www.postfix.org/RESTRICTION_CLASS_README.html
--
Christian Kivalo