lsilinux
02.01.04, 22:24
Hallo,
ich bin schon irgendwie verzeifelt. Habe im Internet nachgeforscht, das forum hier habe ich auch durchgesucht, hat aber nichts geholfen Also:
ich bin beim Bauen von Postfix (2.0.16) mit Smtp_auth nach der Anleitung unter http://postfix.state-of-mind.de/patrick.koetter/smtpauth/.
Postfix habe ich installiert und der funzt auch wenn SASL-Einstellungen deaktiviert sind ganz prima. Mit der Authentifizierung hat aber Postfix SASL2-Probleme und zwar er findet den saslauthd nicht, wenn ich mich unter telnet session mit Auth Plain einloggen möchte.
ftserver:/home/test# telnet 192.168.0.156 25
Trying 192.168.0.156...
Connected to 192.168.0.156.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
ehlo example.com
250-mail.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
AUTH PLAIN xxxxxxxxxxxxxxxxxxx (Hier steht natürlich was richtiges)
535 Error: authentication failed
Die Fehlermeldung sieht so aus:
Jan 2 19:50:33 mailserver postfix/smtpd[4302]: connect from unknown[192.168.0.209]
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: SASL authentication failure: Password verification failed
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: unknown[192.168.0.209]: SASL PLAIN authentication failed
Postfix läuft laut master.cf nicht im Chroot-umgebung.
Die Einstellungen für Sasl in main.cf sehen so aus:
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noplaintext
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
Die Datei /usr/lib/sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login
Wer kann mir helfen? Für die Hilfe bin ich dankbar im Voraus.
ich bin schon irgendwie verzeifelt. Habe im Internet nachgeforscht, das forum hier habe ich auch durchgesucht, hat aber nichts geholfen Also:
ich bin beim Bauen von Postfix (2.0.16) mit Smtp_auth nach der Anleitung unter http://postfix.state-of-mind.de/patrick.koetter/smtpauth/.
Postfix habe ich installiert und der funzt auch wenn SASL-Einstellungen deaktiviert sind ganz prima. Mit der Authentifizierung hat aber Postfix SASL2-Probleme und zwar er findet den saslauthd nicht, wenn ich mich unter telnet session mit Auth Plain einloggen möchte.
ftserver:/home/test# telnet 192.168.0.156 25
Trying 192.168.0.156...
Connected to 192.168.0.156.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
ehlo example.com
250-mail.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
AUTH PLAIN xxxxxxxxxxxxxxxxxxx (Hier steht natürlich was richtiges)
535 Error: authentication failed
Die Fehlermeldung sieht so aus:
Jan 2 19:50:33 mailserver postfix/smtpd[4302]: connect from unknown[192.168.0.209]
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: SASL authentication failure: Password verification failed
Jan 2 19:50:54 mailserver postfix/smtpd[4302]: warning: unknown[192.168.0.209]: SASL PLAIN authentication failed
Postfix läuft laut master.cf nicht im Chroot-umgebung.
Die Einstellungen für Sasl in main.cf sehen so aus:
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noplaintext
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
Die Datei /usr/lib/sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login
Wer kann mir helfen? Für die Hilfe bin ich dankbar im Voraus.