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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Holger Mauermann
Dátum:  
Címzett: exim-users
Tárgy: 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