procmail
[Top] [All Lists]

Re: Trashing a /20 and a /17 class

2000-09-03 16:11:08
At 19:14 2000-09-03 -0300, Hermann Wecke wrote:

:0
* ^Received: 200\.225\.1(4[4-9]|5[0-9])\.
/dev/null

BTW, until you actually get it figured, it is a good idea to file the results into a file, that way, a goof-up doesnt trashbin everything...

The header:
Received: from smtp-1.ig.com.br (smtp-1.ig.com.br [200.225.157.60]) by

I didn't even catch on the syntax of the match - I homed in purely on the numerics issue, ignoring that your original regexp was expecting the digits at the very beginning of the header.

You need:

* ^Received:.*200\.225\.1(4[4-9]|5[0-9])

and

* ^Received:.*200\.226\.(0|0?[0-9]?[0-9]|1[0-1][0-9]|12[0-7])\.


---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395


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