[Postfixbuch-users] SASL2 Problem

Andreas Winkelmann ml at awinkelmann.de
Di Apr 13 15:28:26 CEST 2004


Am Dienstag, 13. April 2004 13:44 schrieb real.reto at bluewin.ch:

> >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 wie es im Buch steht, 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

Patrick hatte dazu geschrieben, dass diese Konfiguration falsch ist.

> >
> >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

Und ich hatte dazu geschrieben, dass die smtpd.conf nicht gefunden wurde. Und 
Dich nach Deiner Distribution gefragt....

-- 
	Andreas




Mehr Informationen über die Mailingliste Postfixbuch-users