Jefferis Peterson asked:
I'm trying to block a range of IP's
[snip]
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?
I presume you're looking for something like this:
* ^Received: from.* 209\.163\.(9[6-9]|10[0-9]|11[01])\....
or
* ^Received: from.* 209\.163\.(9[6-9]|1(0[0-9]|1[01]))\....
(I'm not sure whether it's more efficient to "factor" out the 1
as in the second example, but I'm sure someone will chime in.)
Hope that helps,
Stan
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail