Re: [exim] ACL problem in 4.64

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ian Eiloart
Dátum:  
Címzett: Nicklas Hardman, exim-users
Tárgy: Re: [exim] ACL problem in 4.64


--On 21 December 2006 09:11:58 +0100 Nicklas Hardman
<Nicklas.Hardman@???> wrote:

> Hi all
> I need help with the following
> After upgrading to 4.64 i get
>
> "temporarily rejected after DATA: failed to expand ACL string "${if or
> {{eq {$sender_address_domain}{hb.se}} {>={$message_size}{100k}}}
> {0}{1}}": integer expected but "" found inside "or{...}" condition"
>
> I have this in SA ACL as:
>
> warn  message   = X-Spam-Score: $spam_score ($spam_bar)
>         condition = ${if or {{eq {$sender_address_domain}{hb.se}}
> {>={$message_size}{100k}}} {0}{1}}
>         spam      = nobody:true
>         hosts     = ! +relay_from_hosts

>



So, "eq {$sender_address_domain}{hb.se}" needs to be replaced with
something that resolves to a boolean. Perhaps: "${if
eq{$sender_address_domain}{hb.se}{1}{0}}" would work?

--
Ian Eiloart
IT Services, University of Sussex