![Postfix + Dovecot-Fehler: NOQUEUE: Ablehnung: RCPT von localhost[127.0.0.1]:](https://rvso.com/image/782101/Postfix%20%2B%20Dovecot-Fehler%3A%20NOQUEUE%3A%20Ablehnung%3A%20RCPT%20von%20localhost%5B127.0.0.1%5D%3A.png)
Ich habe für meine neue Mastodon-Instanz ein Postfix/Dovecot-Setup eingerichtet, das nur ausgehende E-Mails versendet.
Mein Mail-Log:
Nov 20 04:51:57 simplysocial postfix/smtpd[23374]: connect from localhost[127.0.0.1]
Nov 20 04:51:57 simplysocial postfix/smtpd[23374]: warning: unknown smtpd restriction: "spermit_sasl_authenticated"
Nov 20 04:51:57 simplysocial postfix/smtpd[23374]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration error; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<simplysocial.online>
Nov 20 04:51:57 simplysocial postfix/cleanup[23378]: 8AC2622534: message-id=<[email protected]>
Nov 20 04:51:57 simplysocial postfix/qmgr[23370]: 8AC2622534: from=<[email protected]>, size=1316, nrcpt=1 (queue active)
Nov 20 04:51:57 simplysocial postfix/smtpd[23374]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Mein /etc/dovecot/conf.d/10-master.conf
:
https://pastebin.com/iwU6iFz5
/etc/postfix/master.cf
:
Linkbeschreibung hier eingeben
Hat jemand eine Ahnung, was schief läuft, und kann es beheben?
Übrigens kann ich das Senden über die Befehlszeile erfolgreich testen mail
.
Antwort1
okay, alles gut, grundsätzlich musste ich ein paar Zeilen auskommentieren:
/etc/postfix/master.cf
:
submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_sasl_security_options=noanonymous
-o smtpd_sasl_local_domain=$myhostname
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o smtpd_sender_login_maps=hash:/etc/postfix/virtual
-o smtpd_sender_restrictions=reject_sender_login_mismatch
# -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
der Vollständigkeit halber hier die Mastodon-Konfiguration in Bezug auf SMTP:
SMTP_SERVER=localhost
SMTP_PORT=587
SMTP_LOGIN=
SMTP_PASSWORD=
[email protected]
SMTP_AUTH_METHOD=plain
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_ENABLE_STARTTLS_AUTO=true
Und hier ist meine ursprüngliche Referenz:https://doc.dovecot.org/configuration_manual/howto/postfix_and_dovecot_sasl/