[Eisfair] Mail -> Weiterleitung an übergeordneten Mailserver
Kulzer, Wilhelm
wilhelm.kulzer at gmx.net
Di Feb 3 17:58:06 CET 2026
> Schalte mal MAIL_DO_DEBUG in der Mailkonfiguration an. Da dies ein
> optionaler Parameter ist, musst den erst mit F4 einblenden.
>
> Das sollte in exim den Loglevel auf all heben.
Teste ich gleich.. :-)
Jetzt habe ich aber ein seltsames und reproduzierbares Phänomen entdeckt:
Wenn ich eine Testmail losschicke mit:
echo "email test" | mail -s "subject 123" root at localhost
so landet diese wieder in der Exim-Queue.
Am Email-Relais sehe ich folgendes:
---------------------------------------
20260203.174057.823: info: smtp connection from 10.111.109.100:53744
20260203.174057.823: info: tx>>: "220 mrelais.domain.com -- Service ready"
20260203.174057.823: info: rx<<: "EHLO ri2108.localhost"
20260203.174057.823: info: tx>>: "250-mrelais.domain.com says hello"
20260203.174057.823: info: tx>>: "250-AUTH CRAM-SHA512 CRAM-SHA256
CRAM-SHA1 CRAM-MD5 PLAIN LOGIN"
20260203.174057.823: info: tx>>: "250-VRFY"
20260203.174057.824: info: tx>>: "250-PIPELINING"
20260203.174057.824: info: tx>>: "250 8BITMIME"
20260203.174057.845: info: rx<<: "AUTH CRAM-MD5"
20260203.174057.847: info: tx>>: "334
PDIxNDkuMTc3MDEzNjg1N0BGVFMtUjk0MC5yY3JiZy5kZT4="
20260203.174057.847: info: rx<<: [authentication response not logged]
20260203.174057.848: info: successful authentication of remote client
using mechanism [cram-md5] and plaintext secret for [relais_ri2108] from
line 46
20260203.174057.848: info: tx>>: "235 authentication successful"
20260203.174057.848: info: rx<<: "MAIL FROM:<srv at domain.com>
AUTH=root at localhost"
20260203.174057.848: info: tx>>: "250 sender <srv at domain.com> OK"
20260203.174057.848: info: new content file [656.1770136857.1.content]
20260203.174057.849: info: rx<<: "RCPT TO:<verteiler at domain.com>"
20260203.174057.849: info: tx>>: "250 recipient <verteiler at domain.com> OK"
20260203.174057.849: info: rx<<: "DATA"
20260203.174057.849: info: tx>>: "354 start mail input -- end with
<CRLF>.<CRLF>"
20260203.174057.914: info: rx<<: [message content not logged]
20260203.174057.914: info: rx<<: "."
20260203.174057.915: info: new envelope file [656.1770136857.1.envelope.new]
20260203.174057.917: info: smtp connection closed: peer shutdown:
10.111.109.100:53744
20260203.174057.929: info: forwarding: [client disconnect]
20260203.174057.931: info: forwarding: no messages to send
---------------------------------------
Mache ich nun in der Exim-Queue ein (r)esend, so wird die Email
anstandslos versendet..?!? - Hä?!?
---------------------------------------
20260203.174409.994: info: smtp connection from 10.111.109.100:34974
20260203.174409.994: info: tx>>: "220 mrelais.domain.com -- Service ready"
20260203.174409.994: info: rx<<: "EHLO ri2108.localhost"
20260203.174409.994: info: tx>>: "250-mrelais.domain.com says hello"
20260203.174409.994: info: tx>>: "250-AUTH CRAM-SHA512 CRAM-SHA256
CRAM-SHA1 CRAM-MD5 PLAIN LOGIN"
20260203.174409.994: info: tx>>: "250-VRFY"
20260203.174409.994: info: tx>>: "250-PIPELINING"
20260203.174409.994: info: tx>>: "250 8BITMIME"
20260203.174410.016: info: rx<<: "AUTH CRAM-MD5"
20260203.174410.016: info: tx>>: "334
PDMxMDY4LjE3NzAxMzcwNTBARlRTLVI5NDAucmNyYmcuZGU+"
20260203.174410.017: info: rx<<: [authentication response not logged]
20260203.174410.017: info: successful authentication of remote client
using mechanism [cram-md5] and plaintext secret for [relais_ri2108] from
line 46
20260203.174410.017: info: tx>>: "235 authentication successful"
20260203.174410.017: info: rx<<: "MAIL FROM:<srv at domain.com>
AUTH=root at localhost"
20260203.174410.017: info: tx>>: "250 sender <srv at domain.com> OK"
20260203.174410.017: info: new content file [656.1770137050.2.content]
20260203.174410.018: info: rx<<: "RCPT TO:<verteiler at domain.com>"
20260203.174410.018: info: tx>>: "250 recipient <verteiler at domain.com> OK"
20260203.174410.018: info: rx<<: "DATA"
20260203.174410.019: info: tx>>: "354 start mail input -- end with
<CRLF>.<CRLF>"
20260203.174410.084: info: rx<<: [message content not logged]
20260203.174410.084: info: rx<<: "."
20260203.174410.085: info: new envelope file [656.1770137050.2.envelope.new]
20260203.174410.088: info: tx>>: "250 message processed"
20260203.174410.095: info: rx<<: "QUIT"
20260203.174410.095: info: tx>>: "221 OK"
20260203.174410.096: info: smtp connection closed: smtp protocol done:
10.111.109.100:34974
20260203.174410.096: info: forwarding: [client disconnect]
20260203.174410.101: info: forwarding [656.1770137050.2]
20260203.174410.129: info: smtp connection to 185.136.xxx.yyy:587
20260203.174410.148: info: rx<<: "220 front2 SMTP Server (Flowmailer
SMTP Service) ready"
20260203.174410.148: info: tx>>: "EHLO mrelais.domain.com"
20260203.174410.166: info: rx<<: "250-front2 Hello mrelais.domain.com
[195.145.xxx.yyy])"
20260203.174410.166: info: rx<<: "250-PIPELINING"
20260203.174410.166: info: rx<<: "250-ENHANCEDSTATUSCODES"
20260203.174410.167: info: rx<<: "250-8BITMIME"
20260203.174410.167: info: rx<<: "250-SIZE 31457280"
20260203.174410.167: info: rx<<: "250-STARTTLS"
20260203.174410.167: info: rx<<: "250-AUTH LOGIN PLAIN"
20260203.174410.167: info: rx<<: "250 AUTH=LOGIN PLAIN"
20260203.174410.167: info: tx>>: "STARTTLS"
20260203.174410.185: info: rx<<: "220 2.0.0 Ready to start TLS"
20260203.174410.218: info: tls protocol established with
185.136.xxx.yyy:587 protocol TLSv1.3 cipher TLS_AES_128_GCM_SHA256
20260203.174410.218: info: tx>>: "EHLO mrelais.domain.com"
20260203.174410.297: info: rx<<: "250-front2 Hello mrelais.domain.com
[195.145.xxx.yyy])"
20260203.174410.297: info: rx<<: "250-PIPELINING"
20260203.174410.297: info: rx<<: "250-ENHANCEDSTATUSCODES"
20260203.174410.297: info: rx<<: "250-8BITMIME"
20260203.174410.297: info: rx<<: "250-SIZE 31457280"
20260203.174410.297: info: rx<<: "250-AUTH LOGIN PLAIN OAUTHBEARER XOAUTH2"
20260203.174410.297: info: rx<<: "250 AUTH=LOGIN PLAIN OAUTHBEARER XOAUTH2"
20260203.174410.298: info: tx>>: "AUTH PLAIN [not logged]"
20260203.174410.318: info: rx<<: "235 Authentication successful"
20260203.174410.318: info: successful authentication with remote server
over tls using mechanism [plain] and plaintext secret for [_secret_]
from line 48
20260203.174410.318: info: tx>>: "MAIL FROM:<srv at domain.com>
AUTH=CNgGVZExF31xb94g"
20260203.174410.337: info: rx<<: "250 2.1.0 Sender <srv at domain.com> OK"
20260203.174410.337: info: tx>>: "RCPT TO:<verteiler at domain.com>"
20260203.174410.355: info: rx<<: "250 2.1.5 Recipient
<verteiler at domain.com> OK"
20260203.174410.355: info: tx>>: "DATA"
20260203.174410.373: info: rx<<: "354 Ok Send data ending with
<CRLF>.<CRLF>"
20260203.174410.373: info: tx>>: [17 line(s) of content]
20260203.174410.374: info: tx>>: "."
20260203.174410.461: info: rx<<: "250 Queued as
d78bd750599d4a238e6a8a9b3a891b90"
20260203.174410.461: info: deleting envelope
[656.1770137050.2.envelope.busy]
20260203.174410.462: info: deleting content [656.1770137050.2.content]
20260203.174410.462: info: forwarding: no more messages to send
20260203.174410.462: info: tx>>: "QUIT"
---------------------------------------
Jetzt bin ich komplett verwirrt..
Schöne Grüße,
Wilhelm
Mehr Informationen über die Mailingliste Eisfair