This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Country Code RBLs

In the feature-request site, Alan Toews commented:
People wishing to just stop email by country can do this now using RBLs. Just google for country code rbl and you should find a few hints.
 
Has anyone used this successfullly?

Cheers - Bob


This thread was automatically locked due to age.
Parents
  • Hi, here's what I'm using in sendmail.mc on RHEL 5.4 with Sendmail 8.13.8 for SpamHaus and SpamCop:


    FEATURE(`enhdnsbl', `sbl-xbl.spamhaus.org',`"550 Rejected: " $&{client_addr} " listed at zen.spamhaus.org as " $`'1" - see www.spamhaus.org/.../bl

    dnl use RBLs   (spamcop.net/.../294.html)
    FEATURE(`enhdnsbl', `bl.spamcop.net', `"550 Rejected: Spam blocked see: spamcop.net/bl.shtml


    may have misremembered about what happens if the RBL is unavailable; the official docs for the enhdnsbl feature say that it will temporarily reject with a 451 if the rbl lookup fails. Still, this is not as bad as a complete rejection if the RBL outage is only temporary. Shutdown RBLs may still be problematic [:P]

    My notes say that removing the 't' option was the solution. I haven't confirmed this however.

    I'm using MailScanner too, btw.

    Also read SpamCop.net - SpamCop FAQ: Sendmail as there's some warnings about newer Sendmails and IPv6.

    Barry
Reply
  • Hi, here's what I'm using in sendmail.mc on RHEL 5.4 with Sendmail 8.13.8 for SpamHaus and SpamCop:


    FEATURE(`enhdnsbl', `sbl-xbl.spamhaus.org',`"550 Rejected: " $&{client_addr} " listed at zen.spamhaus.org as " $`'1" - see www.spamhaus.org/.../bl

    dnl use RBLs   (spamcop.net/.../294.html)
    FEATURE(`enhdnsbl', `bl.spamcop.net', `"550 Rejected: Spam blocked see: spamcop.net/bl.shtml


    may have misremembered about what happens if the RBL is unavailable; the official docs for the enhdnsbl feature say that it will temporarily reject with a 451 if the rbl lookup fails. Still, this is not as bad as a complete rejection if the RBL outage is only temporary. Shutdown RBLs may still be problematic [:P]

    My notes say that removing the 't' option was the solution. I haven't confirmed this however.

    I'm using MailScanner too, btw.

    Also read SpamCop.net - SpamCop FAQ: Sendmail as there's some warnings about newer Sendmails and IPv6.

    Barry
Children
No Data