Hi Graeme,
The thing is outlook\office365 handles bounces fine when using an old mailserver (It's one I'm trying to replace and this missing headers issue is the last sticking point). Don't judge me, I inherited it, the old Exim server is running 4.72. When that bounces messages back i get an additional section in the bounce titled: ------ This is a copy of the message, including all the headers. ------ Which of course contains all the headers and message all readable in Outlook. So it must be possible to get bounces to include headers and the message... Do any of the watchers on this thread get full message and headers when receiving bounces from an up-to-date exim smarthost? Below is the equivilent log from the Exim 4.72 server Any ideas how the same behaviour can be forced on the up-to-date exim server? Best regards, Ben 2019-10-23 09:24:26 1iNBwB-0004mu-Ep <= [email protected] H=localhost (serv.d) [127.0.0.1] P=esmtp S=376 T="Testing" 2019-10-23 09:25:06 1iNBwB-0004mu-Ep ** [email protected] R=dnslookup T=remote_smtp: SMTP error from remote mail server after RCPT TO:<[email protected]>: host example.tld [5.77.39.169]: 550 No such person at this address 2019-10-23 09:25:06 1iNBx4-0004oF-O3 <= <> R=1iNBwB-0004mu-Ep U=Debian-exim P=local S=1337 T="Mail delivery failed: returning message to sender" 2019-10-23 09:25:06 1iNBwB-0004mu-Ep Completed 2019-10-23 09:25:07 1iNBx4-0004oF-O3 => [email protected] R=dnslookup T=remote_smtp H= example-sender-tld.mail.protection.outlook.com [104.47.4.36] X=TLS1.0:RSA_AES_256_CBC_SHA1:32 2019-10-23 09:25:07 1iNBx4-0004oF-O3 Completed -----Original Message----- From: Graeme Sent: 22 October 2019 11:49 To: [email protected] Subject: Re: [exim] Bounce messages are missing headers and message body for non local users On 21 Oct 2019, at 10:55, Ben Sanders via Exim-users <[email protected]> wrote: <snip> > 2019-10-18 17:26:11 1iLV4t-0001kM-7V <= <> R=1iLV4D-0001jX-T2 U=exim P=local > S=2113 <snip> > 2019-10-18 17:36:49 1iLVFB-0001vY-Du <= <> R=1iLVEX-0001ur-1U U=exim P=local > S=2104 The bounces are ostensibly the same size, +/- a few bytes - so Exim is doing what we would expect. > 2019-10-18 17:36:51 1iLVFB-0001vY-Du => [email protected] R=dnslookup > T=remote_smtp H=example-sender-com.mail.protection.outlook.com [104.47.xx.xx] > X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes K C="250 2.6.0 > <[email protected]> [InternalId=8705898711624, > Hostname=AM4PR02MB3025.eurprd02.prod.outlook.com] 10056 bytes in 0.063, > 155.065 KB/sec Queued mail for delivery" You're delivering to an outlook.com address. The issue will lie there, not locally to you. Outlook+Exchange has a long history of not displaying NDR-type content in the way other server+client pairings do. Graeme -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
