How To Reject By Email Address In Postfix

Published Date Author: , Posted December 17th, 2010 at 9:04:06am

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

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.