Re: [exim] ACL problem in 4.64

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian Eiloart
Date:  
À: Nicklas Hardman, exim-users
Sujet: 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