My list of banned mail servers

by on Sep.16, 2007, under General Info

Just in case anyone cares, here’s the list of servers I refuse to accept mail from. This is a very large list, (over 22,500 hosts and networks) and is fairly restrictive. It covers all IP address space in China, Korea, most of Holland, and many others that have spammed my servers.

If you find yourself listed here, don’t email me. I don’t care. It’s my mailserver, and I’ll accept mail from whomever I please.  :P  

P.S. If you are listed here by individual IP address, you suck. Stop spamming people. Loser.

Anyway, here’s the list:

http://www.cryptednets.org/bannedmailservers.csv

If you use OpenBSD’s PF, and want to use it in a table, copy the list to “/etc/bannedmail” and then you can add the list like so:

# pfctl -t <bannedmail> -T add `cat /etc/bannedmail`

then, just disallow these IP’s from connecting to your mail server:

First, add the table to the pf.conf:

table <bannedmail> persist file "/etc/bannedmail"

and

block drop in quick on $ext_if from <bannedmail> to any

or

rdr on $ext_if proto tcp from !<bannedmail> to $ext_if port 25 -> $mailserver port 25

:

Comments are closed.


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

CryptedNets is proudly powered by

Entries (RSS) and Comments (RSS)
Register - Login

Visit our friends!

A few highly recommended friends...