Auteur: Suresh Ramasubramanian
Date:
À: Chris Huff, exim-users
Sujet: Re: [Exim] Bad Authentication ACL, used for relay - 4.20
At 04:38 AM 9/11/2003, Chris Huff wrote:
>begin authenticators
>
>auth_login:
> driver = plaintext
> public_name = LOGIN
> server_condition = "${if eq
> {${lookup{$1}lsearch{/usr/local/exim4/exim.passwd}{$value}}} {$2} {yes} {no}}"
> server_set_id = $1
> server_prompts = "Username:: : Password::"
Try this.
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
{crypteq{$2}{${extract{1}{:} \
{${lookup{$1}lsearch{/usr/local/etc/exim/exim.passwd} \
{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $1