Hi Folks

I have tried to setup a whitelist for some domains, the idea is to have the whitelisted domains bypass RBL and spamassassin checks (ie. deliver everything!).

/etc/postfix/main.cf
smtpd_recipient_restrictions =
                             permit_mynetworks,
                             permit_sasl_authenticated,
                             permit_auth_destination,
check_recipient_access hash:/etc/postfix/whitelist-recipient,//
                             reject_non_fqdn_hostname,
                             reject_non_fqdn_sender,
                             reject_non_fqdn_recipient,
                             reject_unknown_sender_domain,
                             reject_unauth_destination,
                             reject_rbl_client zen.spamhaus.org,
                             reject_rbl_client dnsbl.njabl.org,
                             reject_rhsbl_sender dsn.rfc-ignorant.org,
                             permit

/etc/postfix/whitelist-recipient
domain1.com OK
domain2.com OK

With the above implemented, I still get RBL checks performed on the whitelist domains. Could this be accomplished by using "check_recipient_access" in the "smtpd_sender_restrictions" stanza? I have setup a "all_spam_to" for these domains in spamassassin but it would be nice if I can bypass it all together for the domains in question, although my main concern is bypassing RBLs Also my thoughts are it might be redundant having "reject_rbl_client" and "reject_rhsbl_sender" under "smtpd_recipient_restrictions" - can anyone comment?

Thanks for your time, appreciate it

Cheers
Derek

Reply via email to