On 03/06/2014 15:33, mancyb...@gmail.com wrote:
Hi I have the same configuration and situation as the following:
http://serverfault.com/questions/132750/postfix-whitelist-before-recipient-restrictions
In short:
"
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.
"
but the accepted answer has two contradictions:
first he suggest to use "check_sender_access"
but in the example he uses "check_client_access",
then he uses "smtpd_recipient_restrictions"
but in the comments someone points out why not to use
"smtpd_sender_restrictions" ..
Can you please clarify which is the best method ?
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
--
Levi