Re: [Exim] AUTH + SQL: MD5?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Johannes M. Posel
Date:  
À: Tamas TEVESZ
Sujet: Re: [Exim] AUTH + SQL: MD5?
Hi there Tamas,

First of all, thanks for responding!

Going back 08:55 27.05.2002...

> cram:
>         driver = cram_md5
>         public_name = CRAM-MD5
>         server_secret = ${lookup mysql{select clear from mail where email = '${quote_mysql:$1}'}}
>         server_set_id = $1
> note that you need the cleartext password here.


I've tried ti implement it, but this is what I get back:

2002-05-27 10:44:35 Authentication failed for pd95879d4.dip.t-dialin.net (217.88.121.212) [217.88.121.212]: 435 Unable to authenticate at present: unknown variable name "quote_mysql"

I'm running Exim 3.36, perhaps this is why it doesn't work?

Here's the AUTH I used:

cram:
        driver = cram_md5
        public_name = CRAM-MD5
        server_secret = ${lookup mysql{select password from accounts \
           where username = '{$quote_mysql:$1}'}}
        server_set_id = $1


Thanks,
 Johannes                            mailto:jmp@its-toasted.org


--

M ust
C onsult
S omeone
E xperienced.
~ Michael Holzt in <slrn82u9c7.gq.kju@???>