[Exim] Password SMTP Authentication

Pàgina inicial
Delete this message
Reply to this message
Autor: Terry Shows
Data:  
A: exim-users
Assumpte: [Exim] Password SMTP Authentication
I have successfully implemented SMTP authentication just like in the manual,
but now want to expand and have the authentication use the userid/password
from the /etc/password file.

I tried looking at the users group web site, but when I last looked, the
search option was non-functional.

My current authenticator says

login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = Username:: : Password::
    server_condition = \
      ${if and {{eq{$1}{wheeler}}{eq{$2}{email}}}{yes}{no}}
    server_set_id = $1


I have tried changing server_condition to:
    server_condition = \
      "${if and {{!eq{$1}{}}{!eq{$2}{}} {crypteq{$2}{${extract{1}{:} \
      {${lookup{$1}lsearch{/etc/passwd}{$value}{*:*}}}}}}}{1}{0}}"


to no avail. What am I doing wrong? I know it is a simple-stupid mistake,
but I can't see it.

Thank You

Terry Shows
Computer Software Specialists LLC
email: Terry.Shows@???