Re: [exim] Call to spamassasin conditionally

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Stanislaw Halik
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Call to spamassasin conditionally
On Fri, May 12, 2006, Christian Gregoire wrote:
> acl_check_data:
> warn message = X-Spam-Score-Reached: YES
> spam      = joe:true
> condition = ${if >{$spam_score_int}{140}{1}{0}}


> which adds the X-Spam-Score-Reached header whenever the score reaches 14.


> But is there a way to conditionally call Spamassassin ?


sure.

warn message   = X-Spam-Score-Reached: YES
     condition = ${if <{$message_size}{80k}}
     spam      = joe:true
     condition = ${if >{$spam_score_int}{140}}


-- sh