Mail-Server geht nicht mehr

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
junitiv
Beiträge: 23
Registriert: 11.03.2018 12:59:49

Mail-Server geht nicht mehr

Beitrag von junitiv » 04.05.2019 21:43:24

Hallo,
ich habe vor ein paar Wochen mein Server Aktualisiert.
Dabei auch Postfix und Dovecot. Seit dem habe ich extreme Probleme mit dem versenden und dem empfangen von E-Mail.

In den Log's steht nichts, aber meine Fritzbox gibt mir den Fehler aus:

Code: Alles auswählen

E-Mail-Zustellung gescheitert. SMTP-Server meldet: "553 5.7.1 <admin@domain.tld>: Sender address rejected: not owned by user admin@domain.tld".
Die config von beiden Diensten sind immer noch die selben, die vorher funktionieren.

Hätte einer eine Idee wo das Problem liegt? Und ja ich verstehe, was "not owned by user admin@domain.tld"" heißt, macht für mich aber sein Sinn.

Gruß André

Benutzeravatar
TRex
Moderator
Beiträge: 8084
Registriert: 23.11.2006 12:23:54
Wohnort: KA

Re: Mail-Server geht nicht mehr

Beitrag von TRex » 04.05.2019 22:54:35

junitiv hat geschrieben: ↑ zum Beitrag ↑
04.05.2019 21:43:24
In den Log's steht nichts
[x] doubt

Da steht schon was drin, nur kannst du damit nichts anfangen. Fang doch mal mit tail -f /var/log/mail.log an und führe aus, was nicht funktioniert (sowas wie Mail senden/abrufen, und speichere jedesmal die erscheinenden Zeilen ab). Als nächstes wird vermutlich jemand nach der Ausgabe von postconf -n fragen, damit man einen Blick auf die Config werfen kann. Die Glaskugel ist leider gerade in Reparatur.
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

junitiv
Beiträge: 23
Registriert: 11.03.2018 12:59:49

Re: Mail-Server geht nicht mehr

Beitrag von junitiv » 06.05.2019 21:24:54

Hallo,

das einzige was in der mail.log steht:

Code: Alles auswählen


May  6 21:19:39 juni postfix/smtpd[5937]: warning: unknown[193.169.254.61]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
May  6 21:19:39 juni postfix/smtpd[5937]: lost connection after AUTH from unknown[193.169.254.61]

May  6 21:21:14 juni postfix/anvil[5824]: statistics: max connection rate 2/60s for (smtps:31.17.172.110) at May  6 21:16:05
May  6 21:21:14 juni postfix/anvil[5824]: statistics: max connection count 1 for (smtp:193.169.254.69) at May  6 21:11:14
May  6 21:21:14 juni postfix/anvil[5824]: statistics: max cache size 3 at May  6 21:19:36
postconf -n

Code: Alles auswählen

alias_maps = $alias_database
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
compatibility_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
default_destination_concurrency_limit = 20
disable_vrfy_command = yes
inet_interfaces = all
local_destination_concurrency_limit = 2
local_transport = local
mailbox_size_limit = 0
message_size_limit = 94371840
mydestination =
mydomain = juni.rocks
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
relayhost =
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_protocols = !SSLv2, !SSLv3
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client_hostname
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient
smtpd_relay_restrictions =
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth_dovecot
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated, reject_unknown_helo_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain
smtpd_tls_cert_file = /etc/letsencrypt/live/smtp.juni.rocks/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/smtp.juni.rocks/privkey.pem
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3inet_protocols = ipv4
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 0
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 104
virtual_transport = dovecot
virtual_uid_maps = static:5000

Gruß André

Antworten