PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sasl2 rimap Problem



wertzug
08.04.04, 13:28
Hallo Leute,

ich hab nen Mailserver mit postfix und currier-imap. Nun möchte ich das sich die Clients per SASL2 authentifizieren können. Ich möchte SASL2 so einstellen, dass es sich beim IMAP Server einloggt. Ich habe SASL2 installiert und folgende einstellungen gemacht:

main.cf:

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtpd_recipient_restrictions = reject_unknown_sender_domain,permit_sasl_authentic ated,permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
smtpd_sasl_security_options= noanonymous
broken_sasl_auth_clients = yes


/usr/lib/sasl2/smtpd.conf :

pwcheck_method: rimap
mech_list: PLAIN LOGIN

Wenn ich nun saslauthd -a rimap -O localhost ausführe und dann mit einem Client connecte, erhalte ich in /var/log/mail folgenden Fehler:

Apr 8 14:26:54 mail2 postfix/smtpd[17300]: connect from unknown[195.141.0.1]
Apr 8 14:26:59 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:26:59 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:26:59 mail2 postfix/smtpd[17300]: warning: SASL authentication failure: no secret in database
Apr 8 14:26:59 mail2 postfix/smtpd[17300]: warning: unknown[195.141.0.1]: SASL CRAM-MD5 authentication failed
Apr 8 14:27:00 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:27:00 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:27:00 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unknown password verifier
Apr 8 14:27:00 mail2 postfix/smtpd[17300]: warning: SASL authentication failure: Password verification failed
Apr 8 14:27:00 mail2 postfix/smtpd[17300]: warning: unknown[195.141.0.1]: SASL PLAIN authentication failed
Apr 8 14:27:01 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:27:01 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Invalid argument
Apr 8 14:27:01 mail2 postfix/smtpd[17300]: warning: SASL authentication problem: unknown password verifier
Apr 8 14:27:01 mail2 postfix/smtpd[17300]: warning: unknown[195.141.0.1]: SASL LOGIN authentication failed

Wer kann mir helfen?

Gruss