Re: [Exim] SMTP AUTH, relaying and MySQL

Góra strony
Delete this message
Reply to this message
Autor: Roger Hakansson
Data:  
Dla: exim-users
Temat: Re: [Exim] SMTP AUTH, relaying and MySQL
----- Original Message -----
From: "Tamas TEVESZ" <ice@???>
To: "Roger Hĺkansson" <hson@???>
Cc: <exim-users@???>
Sent: Thursday, April 18, 2002 12:24 PM
Subject: 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.


I'm kind of new to Exim, so this might be a supid question...
Why?
Is it to prevent the case where you have ' in your mailadress?

>
> > Any clue to why exim doesn't like plaintext driver?
>
> i suppose you didn't compile it in ?


Yep, I found it 1 minute after I sent the mail...