Re: [exim] Current solutions for smtp auth via pam

Pàgina inicial
Delete this message
Reply to this message
Autor: Jochen Gensch
Data:  
A: exim-users
Assumpte: Re: [exim] Current solutions for smtp auth via pam
Marc Sherman schrieb:

> saslauthd is a daemon which is run as root, and allows apps (such as
> exim) to authenticate using SASL without root privileges. SASL, in
> turn, can be configured to authenticate using PAM.


Ok, I have tried that right now, but cannot get it working. Maybe
someone can direct me to the right direction...

Exim authenticators:

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


fixed_login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = User Name : Password
    server_condition = server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
    server_set_id = $1



Exim log:

2006-01-15 22:09:29 fixed_plaintext authenticator failed for
([127.0.0.1]) [10.0.0.7]: 535 Incorrect authentication data
(set_id=web601p1)
2006-01-15 22:09:29 fixed_login authenticator failed for ([127.0.0.1])
[10.0.0.7]: 435 Unable to authenticate at present (set_id=web601p1):
server_condition = 0


sasl log:

Jan 15 22:09:29 ms saslauthd[13349]: in openpam_read_chain():
/etc/pam.d/(0): invalid facility 'óFH' (ignored)

Jochen