There are a few posts around here about using dnsbl's so I figured I would add what I needed on the config files and see what happens. So here is a snip of what I am using (its the /etc/postfix/main.cf): ---- smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, permit ---- But when I do the sbl test it says its going through perfectly fine. Am I missing something? I am using input from this post: http://www.howtoforge.com/forums/showthread.php?t=7802&highlight=smtpd_recipient_restrictions
It must be Code: smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, permit (note the whitespace at the beginning of lines 2 - 6) instead of Code: smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, permit
Nope... that didnt work. The only way I can get it to work is by adding the reject_rbl_client to the smtp_sender_restrictions and then it works. that make sense? Here is what I tried: Code: smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject_rbl_client sbl-xbl.spamhaus.org, permit When I do that, and do the sbl test, it says its not working. But when i have it in the smtp_sender_restrictions it works...like this: Code: smtpd_sender_restrictions = reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client relays.ordb.org, permit
That's strange. Are there any errors in your mail log? Which Postfix version do you use? You can find out by running Code: postconf -d | grep mail_version