Re: [Exim] SMTP AUTH, relaying and MySQL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tamas TEVESZ
Date:  
À: Roger Hĺkansson
CC: exim-users
Sujet: Re: [Exim] SMTP AUTH, relaying and MySQL
On Thu, 18 Apr 2002, Roger Hĺkansson wrote:

 > login:
 >         driver = plaintext
 >         public_name = LOGIN
 >         server_prompts = Username:: : Password::
 >         server_condition = ${lookup mysql{select if(count(*), "1",
 >           "0") from mailusers where id = '$1' and base64 =
 >           '$2' and can_send = 'Y'}}
 >         server_set_id = $1
 > ----------------------------

>
> Does it seem right?


at a glance, yes. but ${quote_mysql: the variables.

> Any clue to why exim doesn't like plaintext driver?


i suppose you didn't compile it in ?

--
[-]