martinl
Goto Top

SMTP Relay Strato für Postfix meldet 530 Fehler

Hallo,

ich habe folgendes problem wo mir leider Google auch nicht mehr so recht weiterhilft.
Ich versuche in meiner Telefonanlage Postfix zum laufen zu bekommen und wollte dort Strato als relay nutzen.

Leider meldet er mir folgenden fehler(Mailadressen wurden ersetzt):

Jun  3 08:28:14 freepbx postfix/qmgr[2054]: A7B93143AE7: from=<mail@mail.de>, size=1092, nrcpt=1 (queue active)
Jun  3 08:28:14 freepbx postfix/smtp[3441]: A7B93143AE7: to=<mail2@mail.de.de>, relay=smtp.strato.de[81.169.145.133]:587, delay=568, delays=567/0.03/0.2/0.03, 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))
Jun  3 08:28:14 freepbx postfix/cleanup[3443]: 7138FAED03: message-id=<20240600062814.7138FAED03@freepbx.sangoma.local>
Jun  3 08:28:14 freepbx postfix/qmgr[2054]: 7138FAED03: from=<>, size=3075, nrcpt=1 (queue active)
Jun  3 08:28:14 freepbx postfix/bounce[3442]: A7B93143AE7: sender non-delivery notification: 7138FAED03
Jun  3 08:28:14 freepbx postfix/qmgr[2054]: A7B93143AE7: removed
Jun  3 08:28:14 freepbx postfix/smtp[3441]: 7138FAED03: to=<mail2@mail.de>, relay=smtp.strato.de[81.169.145.133]:587, delay=0.24, delays=0.01/0/0.2/0.03, 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))
Jun  3 08:28:14 freepbx postfix/qmgr[2054]: 7138FAED03: removed

Meine main.cf sieht folgendermaßen aus:
relayhost = [smtp.strato.de]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_wrappermode = yes
smtp_tls_security_level = encrypt


und so die relay_passwd:
[smtp.mailserver.de]:587 mail@mail.de:Passwort

Die Komandos postmap hash:/etc/postfix/relay_passwd und Postfix Reload wurden immer durchgeführt.


Hat jemand einen Rat wo bei mir der Fehler liegt ?

Content-Key: 4999023012

Url: https://administrator.de/contentid/4999023012

Printed on: June 26, 2024 at 06:06 o'clock

Member: tagol01
tagol01 Jun 03, 2024 at 09:49:23 (UTC)
Goto Top
Hallo

Fehler: User not authenticated

Deine relay_passwd passt nicht:
Ersetzte [smtp.mailserver.de] mit smtp.strato.de
Member: MartinL
MartinL Jun 03, 2024 updated at 10:01:22 (UTC)
Goto Top
das stand so drin oben war leider nur ein Kopierfehler.

Ich habe es aber trotzdem nochmal kontrolliert.

Es steht drin:

smtp.strato.de:587 name@mail.de:passwort

Fehler bleibt leider.
Member: tagol01
Solution tagol01 Jun 03, 2024 updated at 10:25:56 (UTC)
Goto Top
mhh - ich gebe keine Port Nummer an.

[mailrelay.domain.com] [username]:[password]

Ansonsten Debug Level erhöhen
Member: MartinL
MartinL Jun 03, 2024 at 10:29:37 (UTC)
Goto Top
Das gibts nicht das war es face-smile

habe den port weggelassen nun hat es funktioniert.

Vielen Dank nochmal.