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