Re: [exim] Saslauthd and PAM

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Stanislaw Halik
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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