Re: [Exim] exim + MySQL problem

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Dariusz Sznajder
CC: exim-users
題目: 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.