How To Reject By Email Address In Postfix

Author: , December 17th, 2010

Edit /etc/postfix/access and add entries like: baduser@baddomain.com 550 No such user here Then run the following command: postmap /etc/postfix/access Edit /etc/postfix/main.cf: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, {any other options already there…} Then run the following command: postfix reload