On 04-Dec-2002 at 15:35:32 Owen Creger wrote:
> I think I got it with regexps
> I want to determine if IP address is NOT from 10.10.32.0/24 10.10.33.0/24
> or 10.223.196.0/24
>
> condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
> {$received_protocol}{spam-scanned}} {!match
> {$sender_host_address}{/^10\.(10\.(32|33))|(222\.196)\./}} } {1}{0}}"
^^^
>
> Does my regexps look correct?
>
Almost; minor point. You have 10.223 mentioned but the regexp states 10.222.
John.
------------------------------------------------------------------------
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers