Hi list,

I already have this setup in main.cf,

smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client_hostname, reject_unknown_sender_domain, hash:/etc/postfix/sender-access

the content in sender-access:

$ cat sender-access
targitt.com   reject
outlcck.net   reject
twilio.com    reject
...


That works for me.

Just two more questions:

1. can sender be a specified email such as u...@outlcck.net?
2. in postfix setup, how can I reject all messages to a local user (this user has a valid dovecot account)?


Thanks.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to