postfix + smtp-auth

Post Reply
Message
Author
Remo

postfix + smtp-auth

#1 Post by Remo »

Hallo!

Ich habe ein Problem mit Postfix + SMTP-Auth.
Mein Postfix soll meine e-mails an einen smarthost weiterleiten, welcher sie dann weiterversendet.
Das würde auch soweit funktionieren, jedoch verlangt mein smarthost (mail.gmx.de) SMTP-Auth.
Deshalb hab ich in meine /etc/postfix/main.cf folgendes geschrieben:

smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

und in die Datei /etc/postfix/sasl_password:

mail.gmx.de MYUSERNAE:MYPASS

und das ganze dann mit 'postmap /etc/postfix/sasl_passwd' abgerundet.

Doch anscheinend hab ich wohl irgendetwas vergessen. Denn es ist alles
noch wie vorher. Mein smarthost verlangt SMTP-Auth und Postfix tut nichts.

Wo liegt der Fehler? Kann mir jemand weiterhelfen?

MfG, Remo

Remo

Re: postfix + smtp-auth

#2 Post by Remo »

Ich bin's nochmal.

Kann mir wirklich keiner helfen, oder ist die Frage falsch gestellt?

Was ich noch an Informationen anbieten könnte, wäre folgender Log-Eintrag:

Nov 2 20:35:09 darksun postfix/smtp[14888]: 5CBB81DFC8: to=<m-0@gmx.de>, relay=mail.gmx
.net[213.165.64.20], delay=16, status=bounced (host mail.gmx.net[213.165.64.20] said: 55
1 {mp001} Need to authenticate via SMTP-AUTH-Login (in reply to MAIL FROM command))

D.h.: der smarthost verlangt smtp-auth, mein Problem:
Warum tut postfix das nicht einfach? Die nötigen Informationen sollte er doch haben!?!

MfG, Remo

S. Pfeffer

Re: postfix + smtp-auth

#3 Post by S. Pfeffer »

Betrifft jetzt nicht Dein genaues Problem, ist vielleicht ein work around. Da ich auch GMX-User bin habe ich fetchmail als deamon gestartet und lasse die ausgehende Post mit einem postconnect in der fetchmailrc versenden. Die Authentifizierung kann man bei GMX umstellen (in meinem Fall pop before smtp).

MfG

S. Pfeffer

Post Reply