Re: [Exim] exim + MySQL problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Dariusz Sznajder
CC: exim-users
Assumpte: 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.