[Postfixbuch-users] Dringendes Problem: postfix / sasl /mysql geht auf einmal nicht

Patrick Ben Koetter p at state-of-mind.de
Mi Mai 23 11:24:27 CEST 2007


* Heiner Mueller <hm0 at gmx.net>:
> > Ich glaube, Dein Gedankengang ist falsch: Wenn MySQL sagt, das der von
> > saslauthd (PAM) genutzte User xyz nicht connecten darf, was hat das dann
> > mit
> > Postfix und chroot zu tun?
> 
> genau - ausserdem liefs bisher ja - und an postfix hab ich diesbezüglich nichts geändert.
> 
> hier noch ein auszug aus deb saslauthd-debug:
> 
> ----
> 
> /usr/sbin/saslauthd -a pam -d -V
> saslauthd[9574] :main            : num_procs  : 5
> saslauthd[9574] :main            : mech_option: NULL
> saslauthd[9574] :main            : run_path   : /var/run/saslauthd
> saslauthd[9574] :main            : auth_mech  : pam
> saslauthd[9574] :ipc_init        : using accept lock file: /var/run/saslauthd/mux.accept
> saslauthd[9574] :detach_tty      : master pid is: 0
> saslauthd[9574] :ipc_init        : listening on socket: /var/run/saslauthd/mux
> saslauthd[9574] :main            : using process model
> saslauthd[9574] :have_baby       : forked child: 9575
> saslauthd[9575] :get_accept_lock : acquired accept lock
> saslauthd[9574] :have_baby       : forked child: 9576
> saslauthd[9574] :have_baby       : forked child: 9577
> saslauthd[9574] :have_baby       : forked child: 9579
> saslauthd[9575] :rel_accept_lock : released accept lock
> saslauthd[9576] :get_accept_lock : acquired accept lock
> saslauthd[9575] :do_auth         : auth failure: [user=xxx] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]
> saslauthd[9576] :rel_accept_lock : released accept lock
> saslauthd[9577] :get_accept_lock : acquired accept lock
> saslauthd[9577] :rel_accept_lock : released accept lock
> saslauthd[9574] :get_accept_lock : acquired accept lock
> saslauthd[9577] :do_auth         : auth success: [user=yyy] [service=smtp] [realm=] [mech=pam]
> saslauthd[9577] :do_request      : response: OK
> saslauthd[9576] :do_auth         : auth failure: [user=zzz] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]
> saslauthd[9574] :rel_accept_lock : released accept lock
> saslauthd[9579] :get_accept_lock : acquired accept lock
> saslauthd[9574] :do_auth         : auth failure: [user=zzz] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]

Wenn PAM sich nicht an MySQL anmelden kann, kann in Folge SMTP AUTH nicht
funktionieren. Löse das PAM-Problem und Du bist einen Schritt weiter oder
schon am Ziel.

p at rick

-- 
Postfix - Einrichtung, Betrieb und Wartung
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



Mehr Informationen über die Mailingliste Postfixbuch-users