Re: [Exim] SMTP AUTH, relaying and MySQL

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tamas TEVESZ
Ημερομηνία:  
Προς: Roger Hĺkansson
Υ/ο: exim-users
Αντικείμενο: 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 ?

--
[-]