mancyb...@gmail.com: > So i need a method of whitelisting ANY email that comes to domain.com, > however i need it to take place before any of the recipient > restrictions, they want no RBL or postgrey blocking at all.
Birta Levente: > If you want to whitelist recipient domain you need to check recipient > access: > > http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions > > smtpd_recipient_restrictions = > reject_unauth_destination, > check_recipient_access somemapfile, > reject_rbl_client b.barracudacentral.org, > reject_rbl_client cbl.abuseat.org, > reject_rbl_client bl.mailspike.net, > check_policy_service unix:postgrey/socket > > > somemapfile: > domain.com OK This is correct, by placing the whitelist after reject_unauth_destination. Otherwise you would have an exploitable open relay. Wietse