Linux Addict wrote:
Hello, I have clients sending mails to an non-existent email address/domain, emailerm...@exchange.example.net. I want to discard any mail sent to this address. I looked at smtpd_recipient_restrictions, but cant figure out how to get this done. Please help me!!

~LA

Haven't tried this, just something to research further:

in main.cf:
smtpd_recipient_restrictions =
        ....other options....
        check_recipient_access hash:/etc/postfix/recipient_access
        ....other options....

in recipient_access:
        emailerm...@exchange.example.net DISCARD


Further reading:
http://www.postfix.org/RESTRICTION_CLASS_README.html
http://www.postfix.org/postconf.5.html#check_recipient_access
http://www.postfix.org/access.5.html

J.P.

Reply via email to