On Wed, May 5, 2010 at 8:44 AM, Ron White <[email protected]> wrote:
>
> each subcondition inside an "and{...}" condition must be in its own {}
>
> and {>={$spam_score_int}{$acl_m_spamscore}} {eq {$acl_m_spamscan}{2}}
> ...
> condition = ${if and {>={$spam_score_int}{$acl_m_spamscore}} {eq
> {$acl_m_spamscan}{2}}}
>
> But that gives me:
> temporarily rejected after DATA: failed to expand ACL string "${if and
> {>={$spam_score_int}{$acl_m_spamscore}} {eq {$acl_m_spamscan}{2}}}":
> each subcondition inside an "and{...}" condition must be in its own {}
(Untested) Try adding another layer of braces around the conditions
being passed to the and{} :
${if and {{>={$spam_score_int}{$acl_m_spamscore}} }
{{eq{$acl_m_spamscan}{2} }} }
Expanding it logically:
${if
and{
{ >={$spam_score_int}{$acl_m_spamscore} }
}
{
{ eq{$acl_m_spamscan}{2} }
}
}
--
Regards... Todd
I seek the truth...it is only persistence in self-delusion and
ignorance that does harm. -- Marcus Aurealius
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/