Re: [exim] Help with multiple condition ACL needed

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Peter Bowyer
Data:  
Para: exim-users
Assunto: Re: [exim] Help with multiple condition ACL needed
On 19/12/06, Marc Sherman <msherman@???> wrote:
> Exim User wrote:
> >
> > condition = "${if and { \
> >               { >{$spam_score_int}{150}} \
> >               { eq{${domain}{mydomain.com}}}\
> >               } \
> >               {1}{0}}"

> >
> >
> > All I get is
> >> temporarily rejected after DATA: failed to expand ACL string,
> >> missing 2nd string in {} after "eq" inside "and{...}" condition
>
> As the error states, eq takes two string params, and you've only given
> it one. You need an extra }{ between ${domain} and {mydomain.com}.


....and when you've fixed that, you'll find that $domain isn't valid
in a DATA acl for reasons discussed here at least once a week...

Peter

--
Peter Bowyer
Email: peter@???