Confirm Spamhaus Checks?

Kurt Wall kwall
Thu Feb 24 22:50:51 PST 2005


On Monday 21 February 2005 13:56, Matthew Carpenter enlightened us 
thusly:
> Postfix is in the middle of a transition, when two different RBL
> config lines can be used.  One is legacy, one is the future of
> Postfix.  I forget which is which, but it seemed backwards to me
> which was going to be the one going forward.  I believe it was the
> "maps_rbl_domains" which is deprecated.  Here is the one I use the
> most:
>
> smtpd_client_restrictions = reject_rbl_client dnsbl.njabl.org,
> reject_rbl_client bl.spamcop.net, reject_rbl_client relays.ordb.org

Thank you, Matthew. 'reject_rbl_client' is the blessed directive going
forward. My current config is:

header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks
smtpd_recipient_restrictions = permit_mynetworks,
        reject_rbl_client sbl-xbl.spamhaus.org,
        reject_unauth_destination,
        check_sender_access hash:/etc/postfix/access,
        reject_rhsbl_client sbl-xbl.spamhaus.org,
        permit

The list of patterns in body_checks grows by 2 or 3 new patterns each 
day. If nothing else, it's been an interesting exercise with regexps and
their PCRE variation.

Kurt


More information about the Linux-users mailing list