Regional SPAM Blocking in Postfix

Ryan Simpkins plug at ryansimpkins.com
Fri Jul 10 14:19:44 MDT 2009


I hate mistakes. Where is the edit button for e-mail? I want it to magically
login to everyone's mailboxes and fix a message. Order is important, and I
fat-fingered it. Here is the correct order:

smtpd_client_restrictions =
    cidr:/etc/postfix/personal_cidr,
    cidr:/etc/postfix/regional_cidr,
    reject_rbl_client zen.spamhaus.org,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client dnsbl.njabl.org

Your whitelists should happen before the regional_cidr check. I put certain
regional OKs in personal_cidr, therefore it needs to be checked first.

Someone asked where I got the original cidr list. I can't remember. I've had
it for years.

-Ryan



More information about the PLUG mailing list