How To Reject By Email Address In Postfix

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
Leave Your Comment
All fields marked with "*" are required.