[Postfixbuch-users] Falscher Username geht über PAM

Philipp Neuhaus neuhaus at dodekatex.de
Mi Nov 23 20:47:02 CET 2005


Hallo,

ich habe ein Problem mit meinem Postfix:

SELECT password FROM mailbox WHERE username='neuhaus'

Das kommt bei der Datenbank an. Eigentlich sollte es
"neuhaus at provider.de" heißen, was im Mailclient auch eingetragen ist.

Konfiguration: Postfix saslauthd pam_mysql (mit crypted Kennwörtern in
der Datenbank)

postconf | grep sasl:
broken_sasl_auth_clients = yes
lmtp_sasl_auth_enable = no
lmtp_sasl_password_maps =
lmtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_auth_enable = no
smtp_sasl_password_maps =
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = $var_smtp_sasl_opts
smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
smtpd_recipient_restrictions = permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options

cat /etc/postfix/sasl/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login
saslauthd_path: /var/run/saslauthd/mux

cat /etc/pam.d/smtp:
auth required pam_mysql.so user=postfix passwd=xxx host=127.0.0.1
db=mailserver table=mailbox usercolumn=username passwdcolumn=password
crypt=1
account sufficient pam_mysql.so user=postfix passwd=xxx host=127.0.0.1
db=mailserver table=mailbox usercolumn=username passwdcolumn=password
crypt=1

Hat jemand eine Idee?

Grüße
Philipp




Mehr Informationen über die Mailingliste Postfixbuch-users