[Mimedefang] Netblock 222

Damrose, Mark mdamrose at elgin.edu
Mon Oct 10 12:52:54 EDT 2005


I've been getting a bunch of spam from zombied hosts in the 222.x.x.x range.
Much of it get blocked by spamhaus and other lists, but there's been enough
left that it's noticeable.  Whois says that this netblock is assigned to
"Air Force Logistics Command".  The senders of the spam vary, but none of
them are domains that have spf.

Does anybody see any downside to doing something like:
sub filter_sender($$$$) {
    my ($sender, $ip, $hostname, $helo) = @_;

    if ( ($ip =~ /^222\./) && ($sender !~ /af\.mil\>?/i) ) {
        return ('REJECT', 'Not USAF address');
    }

    return ('CONTINUE', 'OK');

}


More information about the MIMEDefang mailing list