--On 21 December 2006 09:11:58 +0100 Nicklas Hardman 
<[EMAIL PROTECTED]> 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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to