Re: [Exim] exim + MySQL problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Dariusz Sznajder
CC: exim-users
Tárgy: Re: [Exim] exim + MySQL problem
On Fri, 26 Jul 2002, Dariusz Sznajder wrote:

> On Fri, 26 Jul 2002, Patrick Boutilier wrote:
> > mysql_user:
> >   driver = accept
> >   condition = \
> >    ${if eq{} \
> >      { ${lookup mysql {SELECT home FROM passwd \
>         ^
> >          WHERE email='${local_part}@${domain}'}} \
>                                                   ^
> >      } \
>  ^^^^^^
> Are spaces a problem?


Sometimes. :-) In this case they will be. Not the ones after the
continuations, because those are ignored. But the others will be
included in the string. So {} will never match it.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.