procmail
[Top] [All Lists]

Trashing a /20 and a /17 class

2000-09-03 00:39:31
I need to trash all mail sent from these IPs:

200.225.144/20 (from 200.225.144.* to 200.225.159.*)
200.226.0/17 (from 200.226.0.* to 200.226.127.*)

How can I resume these two lines into one (or two) recipe(s)?

Something like this?

#For a /20 class -> 200.225.144.* to 200.225.159.*
:0
* ^Received: 200\.225\.1[4-5][4-9]
/dev/null

#For the second class I'm a little confused...
:0
* ^Received: 200\.226\.????????
/dev/null


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