RE: [Exim] Router conditional Statement for spamassassin

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Owen Creger
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: RE: [Exim] Router conditional Statement for spamassassin
Thx...OOPS typo it's correct in my new config however...

> -----Original Message-----
> From: John Horne [mailto:J.Horne@plymouth.ac.uk]
> Sent: Wednesday, December 04, 2002 10:44 AM
> To: exim-users@???
> Subject: RE: [Exim] Router conditional Statement for spamassassin
>
>
> 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

>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim details
> at http://www.exim.org/ ##
>