Re: [exim] smtp authentication using default domain

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: alexis
Ημερομηνία:  
Προς: Jeremy Harris
Υ/ο: exim-users
Αντικείμενο: Re: [exim] smtp authentication using default domain
already did matching

${if and {
            {cond1}
            {cond2}
            {cond3}
            {cond4}
            }
    {yes}{no}
  }


matches, so thats why im asking.

thanks again

On 7/1/07, Jeremy Harris <jgh@???> wrote:
> 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
>
>
>