Re: [exim] Call to spamassasin conditionally

Página Inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
Para: exim-users
Assunto: 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