Re: [Exim] exim + MySQL problem

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dariusz Sznajder
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] exim + MySQL problem
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?

>      {no}{yes} \
>    }
>   retry_use_local_part
>   transport=mysql_delivery


Result is probably something like this:
    > ${if eq{}{        }{no}{yes}}
    yes


--
Dariusz Sznajder