Re: [Exim] SMTP auth, MySQL & passwords stored in clear

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Holger Mauermann
Data:  
Para: exim-users
Assunto: Re: [Exim] SMTP auth, MySQL & passwords stored in clear
Konrad Michels wrote:
> The other thing that has got me flummoxed is getting the same
> authenticator working for cram_md5 - I just can't seem to get the
> mysql lookup syntax right.


mysql_cram:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${lookup mysql{SELECT password FROM users \
                  WHERE user = '${quote_mysql:$1}'} {$value} fail}
  server_set_id=$1



--
Holger Mauermann                            GnuPG/PGP Key ID: 0x8EA8C301