On Thu, 23 Dec 2010 16:05:11 -0800 (PST)
John Hardin <jhar...@impsec.org> wrote:

> On Thu, 23 Dec 2010, John Hardin wrote:
> 
> > On Thu, 23 Dec 2010, Keith De Souza wrote:
> >

> >>  How to I modify this so that it is for a range of IP addresses
> >> basically covering the /24 subnet.
> >
> > header IP_WL Received=~ /\[212.74.114.[0-9]{1,3}\]/
> 
> ...actually, you need to escape the periods too:
> 
>    header IP_WL Received=~ /\[212\.74\.114\.[0-9]{1,3}\]/
> 

And if you don't want it to be open to forgery

 X-Spam-Relays-Untrusted =~ /^[^\]]+ ip=212\.74\.114\./

Reply via email to