Regional SPAM Blocking in Postfix
Mailing List
ml at adamdein.com
Sun Jul 12 14:52:03 MDT 2009
> 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
I found a great site with easy to download CIDR lists for specific
countries:
http://www.countryipblocks.net/
For instance, to curl/wget the CIDR IP block list for Nigeria, you can
use the URL http://www.remotetm.net/e_country_data/NG_cidr.txt
They update their IP databases daily (according to their website).
I'm going to make a simple cron script to pull down my selected list of
countries and generate iptables rules from them. I prefer to just
blackhole such annoyances vs. bounce them.
--Adam
More information about the PLUG
mailing list