alexis wrote:
> How many "and" conditions can be inside an if?

As many as you like.

> 
> 
> Look
> 
> 5133 failed to expand:
> ${if and { {!eq{$1}{}} {!eq{$2}{}}
> {eq{${domain:$1}}{}{defaultnone}{${domain:$1}}}
> {crypteq{$2}{\{md5\}${lookup mysql{SELECT password FROM users WHERE
> username='${local_part:$1}' AND domain='${domain:$1}'}{$value}fail}}}
> } {yes}{no}}
> 
>  5133    error message: missing } at end of condition inside "and" group
>  5133 expansion failed: missing } at end of condition inside "and" group
> 
> i cannot realize where's missing that bracket.

So, match the braces, and see where it isn't right?

-Jeremy



-- 
## 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