Autor: Lars Timmann
Data:
Dla: exim-users@exim.org
Temat: [exim] Problem with logging of the delivery under Ubuntu
Hi exim-users,
I feel a little bit stupid because I cannot figure out what my problem
is. I debugged many exim problems successful but this time I have no idea.
My problem is that two servers with identical exim configurations log
different.
One server is a Solaris machine with a self compiled exim which does all
things right. It logs the delivery as it should be like this:
2015-09-04 10:32:08 1ZXmPm-0000bN-I7 => ngmailtrip-3@???
F=<ngmailtrip-3@???> R=mysql_maildir_router
T=mysql_maildir_transport S=1277
2015-09-04 10:32:08 1ZXmPm-0000bN-I7 Completed
The Ubuntu server just logs the incoming mail and exigrep complains:
2015-09-04 07:26:29 1ZXjW3-0004ML-Gm <= ngmailtrip-3@???
H=rzicinga2.domain.tld (localhost.localdomain) [IP]:42580 I=[IP]:465
P=esmtpsa X=TLS1.2:RSA_AES_128_CBC_SHA256:128
A=db_plain:ngmailtrip-3@??? S=648
id=1441344383.af99bedi6nw40b4r.checksmtpsend@rzicinga T="Nagios Message
SMTP IP ID 1441344383." from <ngmailtrip-3@???> for
ngmailtrip-3@???
But no delivery log entry.
If I pump the mail into exim with:
# date | exim user@???
I get complete log entries:
2015-09-04 10:48:54 1ZXmg2-0001CW-6T <= root@??? U=root P=local
S=341 from <root@???> for user@???
2015-09-04 10:48:54 1ZXmg2-0001CW-6T => user@???
F=<root@???> R=virusscan_director1 T=virusscan_transport_1 S=452
H=rzav4.domain.tld [139.11.12.54] C="250 ok: Message 4766363 accepted"
DT=0s
2015-09-04 10:48:54 1ZXmg2-0001CW-6T Completed
So this problem occurs only when the message is received via tcp.
Any ideas how to debug it?
Thanks,
Lars