postfix specify limited relay domain while allowing sasl-auth relay
- by tylerl
I'm trying to set up postfix to allow relaying under a limited set of conditions:
The destination domain is one of a pre-defined list
-or-
The client successfully logs in
Here's the relevant bits o' config:
smtpd_sasl_auth_enable=yes
relay_domains=example.com
smtpd_recipient_restrictions=permit_auth_destination,reject_unauth_destination…