Re: [exim] Mail getting passed to SA even though conditions …

Pàgina inicial
Delete this message
Reply to this message
Autor: Richard.Hall
Data:  
A: srunschke
CC: exim-users
Assumpte: Re: [exim] Mail getting passed to SA even though conditions don't match
On Wed, 26 Oct 2005 srunschke@??? wrote:
[...]
> I wonder if I misunderstood anything or is there any problem
> in my configuration?


You need to test the size first, eg

>   warn  message = X-Spam-Report: $spam_report
>         hosts  = !+relay_from_hosts
>         spam = nobody
>         condition = ${if <{$message_size}{500k}{1}{0}}
>         condition = ${if >{$spam_score_int}{30}{1}{0}}


should be

  warn  message = X-Spam-Report: $spam_report
        hosts  = !+relay_from_hosts
        condition = ${if <{$message_size}{500k}{1}{0}}
        spam = nobody
        condition = ${if >{$spam_score_int}{30}{1}{0}}


(and I believe '500k' is OK, despite what Tony says. I could be wrong ...)

HTH,
Richard