procmail
[Top] [All Lists]

| vs. ? And another basic question

2003-01-07 19:10:40
Question 1:

In this rc,  how does ? Differ in function from the | :
* $ $OR 
^Received:.*[[(]209\.236\.([0-9]|[1-5][0-9]|6[0-3])\.[0-9][0-9]?[0-9]?[])]

I presume that the " | "is the standard  'or'  so that the third set of
numbers could be a single character, or 2, but how does that differ from the
4th set of numbers which are separated by the ? Instead of the |


Question 2:
Can you shorten the IP address to cover 0-255
I was wondering if you need to include the last digits:
Received:.*[[(]212\.154\.3[2-6]?[])]
I've identified a spammer who owns 212.154.32 to .36  /0 -255 in those
ranges. 

I was wondering if the following recipe covers all those ip's or do you need
to add in factors for the last 3 digits?
* ^Received:.*[[(]212\.154\.3[2-6]?[])]

~~~~~~~~~~~~
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