procmail
[Top] [All Lists]

How to block a range of IP's?

2002-12-30 10:16:23
I realize this may be a backwards way of doing this on my own, but in the
past few weeks, I've received so much spam from coretel.net and
aibusiness.net that I want to block their IP addresses, which are usually
buried in the headers somewhere:

Whois has started ...

INTERWEB HOSTING INC CORETEL-INTERWEB-BLK1 (NET-209-163-100-0-1)
                                209.163.100.0 - 209.163.100.255
Core Communications, Inc. CORETEL-BLK01 (NET-209-163-96-0-1)
                                209.163.96.0 - 209.163.111.255

# ARIN Whois database, last updated 2002-12-29 20:00
# Enter ? for additional hints on searching ARIN's Whois database.

Whois has started ...

PG & C Leasing, INC PGCNETBLK2 (NET-209-236-0-0-1)
                                209.236.0.0 - 209.236.63.255
One Stop Data Inc. NETBLK-OSD-209-236-2 (NET-209-236-36-0-1)
                                209.236.36.0 - 209.236.39.255

# ARIN Whois database, last updated 2002-12-29 20:00
# Enter ? for additional hints on searching ARIN's Whois database.

A typical header looks like this:
Return-Path: <diet_master(_at_)colo-jan(_dot_)com>
Delivered-To: jefferis-petersonsales:net-submit(_at_)petersonsales(_dot_)net
X-Envelope-To: submit(_at_)petersonsales(_dot_)net
Received: (qmail 75137 invoked from network); 30 Dec 2002 07:36:55 -0000
Received: from robo71.colo-han.com (HELO robo71.colo-jan.com) (209.236.38.71)
by foma.pair.com with SMTP; 30 Dec 2002 07:36:55 -0000
To: submit(_at_)petersonsales(_dot_)net
Date: Mon, 30 Dec 2002 02:36:48 -0500
Message-ID: <1041233808(_dot_)8566(_at_)robo71(_dot_)colo-jan(_dot_)com>
X-Mailer: Pine.LNX.3.96
From: Diet Master<Diet_Master(_at_)colo-jan(_dot_)com>
Subject: Lose 22.5lbs in 3 weeks for FREE!
Mime-Version: 1.0
Content-Type: text/html


So if I want to block a range in the received from IP's, what would be the
best way to go about this procedure?

Thanks
Jeff
~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.com
Tel . 724-458-7169
ICQ 19112253

"One man gives freely, yet grows all the richer; another withholds what he
should give, and only suffers lack." -  Proverbs 11:24 


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>