Re: [Exim] smtp auth + pam

Página Inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Para: Suresh Ramasubramanian
CC: Asbjørn Høiland Aarrestad, exim users
Assunto: Re: [Exim] smtp auth + pam
On Sun, 9 Mar 2003, Suresh Ramasubramanian wrote:

> It is not just that - I think mozilla tries something else first (not
> PLAIN or LOGIN - maybe CRAM-MD5?)


I looked at yur authenticators again, it looks like your
PLAIN-authenticator is broken. :)

> Because, I have this exim setup that authenticates PLAIN and LOGIN without
> any problems for assorted clients (outlook-*, other exims / sendmails etc)
> but fails miserably when I try to auth from mozilla.
>
> login:
>   driver = plaintext
>   public_name = LOGIN
>   server_prompts = "Username:: : Password::"
>   server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
>         {crypteq{$2}{${extract{1}{:} \

                                 ^ Looks fine

>         {${lookup{$1}lsearch{/usr/local/etc/exim/exim.passwd} \
>         {$value}{*:*}}}}}}}{1}{0}}"
>   server_set_id = $1

>
> plain:
>   driver = plaintext
>   public_name = PLAIN
>   server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
>         {crypteq{$3}{${extract{2}{:} \

                                 ^ Hu?

>         {${lookup{$2}lsearch{/usr/local/etc/exim/exim.passwd} \
>         {$value}{*:*}}}}}}}{1}{0}}"
>   server_set_id = $2


You replaced the "1" one time to often with "2" ;) Or do you have
different passwords for plain and login?

Nico