Re: [exim] ACL problem in 4.64

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ian Eiloart
日付:  
To: Nicklas Hardman, exim-users
題目: 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