How to disable “Sender address rejected:Domain not found” for a single Domain in Postfix

postfix

I know the sender address verification in Postfix is a good thing. However, I would like to disable this check for one certain domain from which I get mails but which does not exist in DNS. How can I do that?

Best Answer

Have a look at: http://www.kutukupret.com/2009/12/28/postfix-selective-sender-addresss-verification/

The idea is to create an smtpd restriction class which does not verify the sender address and use the access map so that only the domain you don't want to check matches that class.