[vox-tech] procmail question: filtering ranges of IP's
Jeff Newmiller
vox-tech@lists.lugod.org
Sat, 9 Mar 2002 19:41:14 -0800 (PST)
On Sat, 9 Mar 2002, Peter Jay Salzman wrote:
[...]
> frankly i'd be happy to filter/spamcop any email coming from the range
> of IP's 210.201.132.232 to 210.210.132.239.
>
> question:
>
> with procmail, how does one reliably match an IP address in the headers
> which belongs to this range of IP's?
My guess would be
:0:
* ^Received:.*210\.2(0[0-9]|10)\.\d+\.\d+
/dev/null
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...2k
---------------------------------------------------------------------------