[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim smtp auth



On Fri, May 16, 2003 at 08:34:28AM +0200, Timo Jaitner wrote:

> host_auth_accept_relay = *
> AUTH_CRAM_MD5=yes
> AUTH_PLAINTEXT=yes

jepp

> remote_smtp:
> driver = smtp
> authenticate_hosts = mindsplit.net

Das ist ganz nett, aber zum _senden_ von mail gedacht, nicht zum
empfangen.

> fixed_login:
>  driver = plaintext
>  public_name = LOGIN
>  server_condition = "${if and {{eq{$2}{ph10}}{eq{$3}{secret}}}{yes}{no}}"
>  server_set_id = $2
>  server_prompts = "Username:: : Password::"
> 
> login:
>   driver = plaintext
>   public_name = LOGIN
>   client_send = ": username : password"

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if
  crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
  server_set_id = $1

login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = "${if
  crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
  server_set_id = $1


In /etc/exim/passwd dann die gecrypteten pwds.

cu
ulf

-- 
Ulf Volmer
www.die-datenschmiede.de
02271-837590



Reply to: