[Vmail-discuss] smtp auth

Jens Kutilek kuti@xxxxxx
Tue, 13 Nov 2001 18:22:34 +0100


> Is there anyone who is running exim smtp auth with the vmail/sql
> data?

I'm not using plaintext passwords, but {crypt} passwords. My Auth 
configuration looks like this:

fixed_login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = "${if crypteq{$2} \
     {${lookup mysql{SELECT password_hash \
                     FROM popbox \
                     WHERE local_part='${local_part:$1}' \
                     AND domain_name='${domain:$1}'}}} \
     {yes}{no}}"
  server_set_id = $1

# End of Exim configuration file


bye,
Jens.