Jason R Cowart skrev den 2019-12-12 01:10:

smtpd_recipient_restrictions =
check_client_access cidr:/etc/postfix/access/restricted-local-only.cidr,
    check_recipient_access hash:/etc/postfix/access/recipient,

Any thoughts?  Thanks in advance.

make check_resipient_access reused in check_sender_access, eg do not accept senders that are known to be local as sender if its not sasl authed

just not so it have same key value

recipient: f...@example.com foo
sender: f...@example.com REJECT

with postfixadmin i just do another mysql/postgresql lookup so whats exits localy is not accepted as envelope sender

Reply via email to