Re: [exim] lookup_plain: server condition with passwd

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: 'Exim-users'
Subject: Re: [exim] lookup_plain: server condition with passwd
Mirko Gräfen wrote:

> i'm looking for the right syntax of the server condition for plain
> authenticator.


plain:
  driver = plaintext
  public_name = PLAIN
  server_advertise_condition = ${if def:tls_cipher}
  server_prompts = :
  server_condition = ${if eq {$3} \
    {${lookup {$2} lsearch {CFG/passwd} {$value}fail}}}
  server_set_id = $2


CFG is a macro for my exim config directory (/etc/exim).
server_advertise_condition is optional, but recommended (if you have TLS
set up at all).

>        server_condition = ${lookup{$2}passwd{/etc/passwd}{${if


/etc/passwd is a file with plain text passwords on your system?