Exim PAM Authentication: All Users Unknown

Home » CentOS » Exim PAM Authentication: All Users Unknown
CentOS No Comments

Hi,

how come that exim can not authenticate users using PAM?

=====================
PLAIN:
driver = plaintext
server_set_id = $auth2
server_prompts = :
server_condition = ${if pam{$auth2:$auth3}{yes}{no}}
server_advertise_condition = ${if def:tls_cipher }
server_debug_print = “auth: $1 $2 $3”

=====================
2969 SMTP<< AUTH PLAIN AGp2AGdsdWViaXJk 2969 PLAIN authenticator server_condition: 2969 $auth1 2969 $auth2 = user 2969 $auth3 = password 2969 $1 2969 $2 = user 2969 $3 = password 2969 auth: user password 2969 Running PAM authentication for user “user”
2969 PAM error: Authentication failure
2969 expanded string: no
2969 SMTP>> 535 Incorrect authentication data

=======================
unix_chkpwd[2928]: check pass; user unknown unix_chkpwd[2928]: password check failed for user (user)
exim: pam_unix(exim:auth): authentication failure; logname= uid