postfix und smtp_auth
Posted: 2004-09-22 09:39
Hallo,
ich habe ein Problem mit Postfix 2.0.14. Ich möchte postfix so einrichten, dass das versenden nur mit Authentifizierung geht. (Verwende Suse 9.0)
/etc/postfix/main.cf
und die sasl2/smtpd.conf
Dann habe ich einen User "usersending" angelegt mit:
Wenn ich mich jetzt via Outlook Express 6 anmelde um eine Mail zu versenden kommt ein Fehler.
/var/log/mail
Ok, habe ich mir gedacht. Da meine User eh wegen qpopper einen unix-user haben, versuchst du das ganze mal mit der shadow.
Also hab ich die sasl2/smtpd.conf geändert:
dann bekomme ich aber dummerweise in /var/log/mail folgendes:
Am liebsten wäre mir, wenn es mit der shadow funktionieren würde...
Hat jemand eine Idee?
ich habe ein Problem mit Postfix 2.0.14. Ich möchte postfix so einrichten, dass das versenden nur mit Authentifizierung geht. (Verwende Suse 9.0)
/etc/postfix/main.cf
Code: Select all
...
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject
...Code: Select all
pwcheck_method: saslauthd
mech_list: plain login
Code: Select all
saslpasswd2 -a smtpd -c usersending/var/log/mail
Code: Select all
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: < p54816610.dip.t-dialin.net[84.129.102.16]: AUTH LOGIN
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: smtpd_sasl_authenticate: sasl_method LOGIN
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: smtpd_sasl_authenticate: uncoded challenge: Username:
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: > p54816610.dip.t-dialin.net[84.129.102.16]: 334 VXNlcm5hbWU6
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: < p54816610.dip.t-dialin.net[84.129.102.16]: dXNlcnNlbmRpbmc=
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: smtpd_sasl_authenticate: decoded response: usersending
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: smtpd_sasl_authenticate: uncoded challenge: Password:
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: > p54816610.dip.t-dialin.net[84.129.102.16]: 334 UGFzc3dvcmQ6
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: < p54816610.dip.t-dialin.net[84.129.102.16]: MTI1IVRuMTMk
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: smtpd_sasl_authenticate: decoded response: 125!Tn13$
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: warning: p54816610.dip.t-dialin.net[84.129.102.16]: SASL LOGIN authentication failed
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: > p54816610.dip.t-dialin.net[84.129.102.16]: 535 Error: authentication failed
Also hab ich die sasl2/smtpd.conf geändert:
Code: Select all
pwcheck_method: shadow
mech_list: plain loginCode: Select all
Sep 22 09:15:22 oslo107 postfix/smtpd[14803]: warning: SASL authentication problem: unknown password verifierHat jemand eine Idee?