John Levine via Postfix-users: > Turns out it's more complicated than I thought, they want a restricted > sending address to be able to send only to particular recipients. > Suggestions?
Here is a non-intuitive solution, based on https://www.postfix.org/RESTRICTION_CLASS_README.html /etc/postfix/main.cf: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/restricted_senders smtpd_restriction_classes = joe_user_acl joe_user_acl = check_recipient_access hash:/etc/postfix/joe_user_recipients, reject /etc/postfix/restricted_senders: [email protected] joe_user_acl /etc/postfix/joe_user_recipients: [email protected] OK [email protected] OK But this is non-intuitive and gives me a headache. If milter-regex or postfwd can handle your use case, then that would be more intuitive. Wietse _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
