Re: [exim] Saslauthd and PAM

Top Page
Delete this message
Reply to this message
Author: Stanislaw Halik
Date:  
To: exim-users
Subject: Re: [exim] Saslauthd and PAM
Chris Hills <chills@???> wrote:
> Jan 21 15:58:46 xxx saslauthd[22591]: do_auth         : auth failure: 
> [user=testuser] [service=] [realm=] [mech=pam] [reason=PAM auth error]


> How does one specify the service name that should be used with saslauthd?


try:

plain:
driver = plaintext
public_name = PLAIN
server_prompts = :
server_condition = ${if saslauthd{{$2}{$3}{smtp}}{1}{0}}
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$1}{$2}{smtp}}{1}{0}}

--
Stanisław Halik, http://tehran.lain.pl