procmail
[Top] [All Lists]

Filtering On Multiple IP Partial Address

2001-01-28 00:30:34
I'd like to modify the following recipe to filter on Multiple IP Partial Addresses:

:0fhw
* !^X-Loop: user(_at_)domain\(_dot_)com
* ^Received:.*HOWTODOTHISPART???
* ! ^Old-Postmark:
| formail -R 'From ' Old-Postmark:
 :0a
 ! `cat /u/mydir/forwardinglist.txt`

1. Can I have more than one * ^Received:.*blahblah line in the recipe?  If not,

2. I'm stuck on the syntax to match on all 3 of these in one "Received:.*" line:

    A.  ([202.1xx.xxx.xxx])  Any IP# that is 202.1 something...

    B.  ([202.9x.xxx.xxx])    Any IP# that is 202.9 something...

    C.  ([211.7x.xx.xxxxx])  Any IP# that is 211.7 something...

Thanks much for any assistance.

Eric

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