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.*123.123.123.123

somemailbox

puts the any email who's received line contains 123.123.123.123 into

the email box somemailbox.

What if I wanted to put all email from IP number ranging from

123.123.123.123 to 223.223.223.223 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 *