Re: [Exim] exim + MySQL problem

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dawid Szymański
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] exim + MySQL problem
On Mon, 29 Jul 2002 07:55:26 +0200
Dawid Szymański <dawszy@???> wrote:

> Yes tried, it doesnt change anything, sql queries are ok.


Ok, I've found sollution here it is (is it proper way?):

mysql_user:
        driver = accept
        condition = ${lookup mysql{SELECT home FROM users WHERE email='${local_part}@${domain}' AND active = '1'}{yes}{no}}
        retry_use_local_part
        transport       = mysql_delivery



--

Regards,
Dawid Szymanski