Procmail Recipe Using Range of Character Classes

I'm trying to write a procmail recipe that sends email from a range of

IP addresses to a certain email box. For example:

:0 :

* ^Received.*


puts the any email who's received line contains into

the email box somemailbox.

What if I wanted to put all email from IP number ranging from to into the same box. At first I

thought this was the solution:

* ^Received.*[123-223].[123-223].[123-223].[123-223]

but it is not.

Leave a Reply

Your email address will not be published. Required fields are marked *