Hallo alle, hoffe, jemand kann mir helfen. Ich habe mit diversen Artikeln aus diversen Foren versucht, für meinen V-Server in postfix den Strato SMTP Server als relayhost zu definieren. Aber es will nicht klappen.
Folgendes habe ich in der main.cf zusammen getragen:
1 2 3 4 5 6 7 8 9 | relayhost = smtp.strato.de:465 smtp_tls_security_level = encrypt smtp_use_tls = yes smtp_enforce_tls = yes smtpd_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = static:webmaster@mydomain.de:password # smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_tls_wrappermode = yes |
Ich habe smtp_sasl_password_maps in der main.cf als static definiert. Alternativ habe ich es auch mit sasl_passwd versucht. Inhalt der sasl_passwd:
1 | smtp.strato.de:465 webmaster@mydomain.de:password |
Aber egal, was ich mache, bekomme ich immer diese Fehlermeldung:
1 | Apr 22 16:19:25 h2779534 postfix/smtp[22845]: 0F95826C0C79: to=<myrecepient@gmx.de>, relay=smtp.strato.de[81.169.145.133]:465, delay=0.32, delays=0.21/0.01/0.09/0.02, dsn=5.7.0, status=bounced (host smtp.strato.de[81.169.145.133] said: 530 5.7.0 User not authenticated (in reply to MAIL FROM command)) |
Ich habe ebenfalls schon Port 25 und Port 587 versucht. Dort komme ich nicht mal so weit:
1 2 3 | Apr 22 16:03:34 h2779534 postfix/smtp[21753]: SSL_connect error to smtp.strato.de[81.169.145.133]:25: -1 Apr 22 16:03:34 h2779534 postfix/smtp[21753]: warning: TLS library problem: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794: Apr 22 16:03:34 h2779534 postfix/smtp[21753]: B2D2426C0C7C: Cannot start TLS: handshake failure |
Ich gehe also davon aus, dass Port 465 erstmal der richtige wäre.
Der in der sasl_passwd bzw. über static definierte Benutzer kann sich bei Strato sowohl im Web-Frontend anmelden, als auch per IMAP/SMTP-Client. Username und Passwort sind also richtig.
Ich verzweifle gerade etwas. Was mache ich falsch?
Danke für Hilfe!
VG Alex