Re: [Exim] Simple syntax error?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Chris Edwards
Dátum:  
Címzett: Paul Furness
CC: Exim Users
Tárgy: Re: [Exim] Simple syntax error?
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}}




--
--
Chris Edwards, Glasgow University Computing Service