On 7/30/17 4:15 PM, Noel Jones wrote:
On 7/30/2017 9:18 AM, deoren wrote:
On 7/30/17 7:12 AM, Wietse Venema wrote:
deoren:
If I have the following, does that free up using
smtpd_recipient_restrictions for just spam/blacklist/whitelist
rules?

smtpd_relay_restrictions =
       permit_mynetworks,
       permit_sasl_authenticated,
       reject_unauth_destination,

Thank you for your help.

That would make 'OK' safe in smtpd_recipient_restrictions.

     Wietse


Thank you for confirming! I appreciate your help.


I prefer to use permit_auth_destination rather than OK for
whitelisting.  Using permit_auth_destination is an always safe
"deliver here" action that doesn't depend on other rules to prevent
unintentional open relay.

Wow, I completely missed that access tables allow the use of restrictions as an action. Thanks for sharing!

Refs (for anyone stumbling across this thread in the future):

http://www.postfix.org/postconf.5.html#permit_auth_destination
http://www.postfix.org/postconf.5.html#check_sender_access
http://www.postfix.org/access.5.html

Reply via email to