Re: [Exim] CRAM-MD5 authenticator problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Avleen Vig
CC: exim-users
Betreff: Re: [Exim] CRAM-MD5 authenticator problem
On Mon, 1 Sep 2003, Avleen Vig wrote:

> 2003-09-01 07:00:25 fixed_cram authenticator failed for <ip> (something)
> [ip]: 435 Unable to authenticate at present (set_id=user@???):
> "${quote_mysql" is not a known operator (or a } is missing in a
> variable reference)


I presume you are using MySQL successfully elsewhere in your
configuration? If not, are you sure you compiled Exim with MySQL support?

> This is my authenticator:
> fixed_cram:
>         driver = cram_md5
>         public_name = CRAM-MD5
>         server_secret = ${lookup mysql{select password from users where username = '${quote_mysql:$1}'}{$value}fail}
>         server_set_id = $1


Certainly looks good! Try running a test using -bh with -d+expand. Also,
you could put in a server_debug_print statement to run other tests.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book