Re: [Exim] Simple syntax error?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Paul Furness
Päiväys:  
Vastaanottaja: Chris Edwards
Kopio: Exim Users
Aihe: Re: [Exim] Simple syntax error?
D'oh!

That's so obvious I should be shot.

Oh, I also realised why messages with a score of 6.0 weren't being
caught - I said > 6.0, not >5.9.

I think I have my cheese brain on, today.

Thanks.


On Wed, 2004-03-24 at 16:35, Chris Edwards wrote:
> On Wed, 24 Mar 2004, Paul Furness wrote:
>
> |   warn  message = X-Spam-Quarantine: Yes
> |         spam = nobody:true
> |         condition = ${if >{$spam_score_int}{60}{${if
> |                                      <{$spam_score_int}{80}{1}{0}}}{0}}

>
> Could use two conditions, as they must all be satisfied for the action to
> occur:
>
>   warn    message = X-Spam-Quarantine: Yes
>     spam = nobody:true
>     condition = ${if > {$spam_score_int}{60}{yes}{no}}
>     condition = ${if < {$spam_score_int}{80}{yes}{no}}

>
>