Re: [Exim] exim + MySQL problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Dariusz Sznajder
CC: exim-users
Sujet: 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.