Re: [Exim] Exim SMTP AUTH + Mysql

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tamas TEVESZ
Data:  
Para: Jon
CC: exim-users
Assunto: Re: [Exim] Exim SMTP AUTH + Mysql
On Mon, 21 Jan 2002, Jon wrote:

> I was just wondering if anyone was able to get this going and if they could
> lend me a hand. I tried reading all the documentation and just got lost.


where exactly ?

cram:
        driver = cram_md5
        public_name = CRAM-MD5
        server_secret = ${lookup mysql{select clear from mail where
         email = '${quote_mysql:$1}' and can_send = 'y'}}
        server_set_id = $1


plain:
        driver = plaintext
        public_name = PLAIN
        server_condition = ${lookup mysql{select if(count(*), "1",
         "0") from mail where email = '${quote_mysql:$2}' and clear
         = '${quote_mysql:$3}' and can_send = 'y'}}
        server_set_id = $2


login:
        driver = plaintext
        public_name = LOGIN
        server_prompts = Username:: : Password::
        server_condition = ${lookup mysql{select if(count(*), "1",
          "0") from mail where email = '${quote_mysql:$1}' and clear =
          '${quote_mysql:$2}' and can_send = 'y'}}
        server_set_id = $1




--
[-]