I'm trying to block a range of IP's but I don't have access to the root
routines of the server. I'm getting pestered by:
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
On 12/31/02 9:35 AM, "Mark wrote:
This will match all class A addresses with a first octet value of 202 or 203
* ^Received: from.* 20[23]\.[0-9]+\.[0-9]+\.[0-9]
Adjust to your liking...
What is the difference between a class A and B or C. I was advise that I had
to hand list all addresses :
# pattern action
# When pattern matches a mail address, domain or host
# address, perform the corresponding action.
which appears to me like I would have to put each class C (or each
class B) on a separate line:
209.163.96.0 - 209.163.111.255
209.163.96 553 Drop Dead Spammer Scum
209.163.97 553 Drop Dead Spammer Scum
.
.
209.163.111 553 Drop Dead Spammer Scum
Since Coretel has a well defined range:
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
I'd like to create this with the least amount of hand coding. Your first
suggestion would seem to block too many. How would you set a range block
for the 3rd set of numbers below?
* ^Received: from.* 209\.163\.96-111\....
Is it possible?
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