Re: [Exim] smtp auth + pam

Top Page
Delete this message
Reply to this message
Author: Giuliano Gavazzi
Date:  
To: asbjorn, exim users
Subject: Re: [Exim] smtp auth + pam
At 12:52 +0100 2003/03/09, Asbjørn Høiland Aarrestad wrote:
>
>I have compiled exim with support for PAM, and that worked fine.
>
>my authenticators are:
>plain:
> driver= plaintext
> public_name = PLAIN
> server_condition = "${if pam{$1:$2}{yes}{no}}"
> server_set_id = $2


$2 contains the user id and $3 the password, so your condition would
be more appropriately:

server_condition = "${if pam{$2:$3}{yes}{no}}"

I do not know if this is the correct syntax for authentication using
pam, as I am not using it, but these are the correct arguments.

>login:
> driver = plaintext
> public_name= LOGIN
> server_prompts = "Username:: : Password::"
> server_condition = "${if pam{$1:$2}{yes}{no}}"
> server_set_id = $1
>


this is in principle correct.

I just saw your email saying that you've got it working now, however
this must either be with another config or you are not using plain,
as the above is incorrect.

Giuliano