Hi,
I am running postfix . I have a list of domains for which i am currently receiving emails.
I want to block/reject all the emails with recipient contains these domains.Can i get a detail example how to reject emails in postfix for particular list of domains.
I have a bit of idea that we can use smtp_recipient_restriction parameter with access files containing domains to reject email for .
Can someone give me an example of it ?
i have domains like:
example1.com
example2.com
for which i am allowing to accept emails for delivery but now i want to have them rejected.
anything@example1.com reject
anything@example2.com reject
Please can someone give me exact parameters in postfix to use and what other parameters i need to tweak or keep in mind to make this working ?
Thanks for the help in advance.