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

Pàgina inicial
Delete this message
Reply to this message
Autor: Holger Mauermann
Data:  
A: exim-users
Assumpte: 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