Re: [exim] Bounce messages are missing headers and message b…

Góra strony
Delete this message
Reply to this message
Autor: Ben Sanders
Data:  
Dla: exim-users@exim.org
Temat: Re: [exim] Bounce messages are missing headers and message body for non local users
Many thanks Jeremy and Andrew,

Unfortunately the logs are not showing much to my untrained eye.  They are included below for reference.

Best regards,

Ben

Bounce to a local mailbox


2019-10-18 17:25:29 1iLV4D-0001jX-T2 <= user@??? H=([172.30.xx.xx]) [89.187.xx.xx] P=esmtp S=671 id=4d1a9a66-8d4f-f193-5c58-2813ccb753aa@???
2019-10-18 17:25:51 1iLV4D-0001jX-T2 [5.77.xx.xx] SSL verify error: certificate name mismatch: DN="/OU=Domain Control Validated/OU=PositiveSSL/CN=ice.example.tld" H="example.tld"
2019-10-18 17:26:11 1iLV4D-0001jX-T2 ** null@??? R=dnslookup T=remote_smtp H=example.tld [5.77.xx.xx] X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP error from remote mail server after RCPT TO:<null@???>: 550 No such person at this address
2019-10-18 17:26:11 1iLV4t-0001kM-7V <= <> R=1iLV4D-0001jX-T2 U=exim P=local S=2113
2019-10-18 17:26:11 1iLV4D-0001jX-T2 Completed
2019-10-18 17:26:11 1iLV4t-0001kM-7V => user <user@???> R=localuser T=local_delivery
2019-10-18 17:26:11 1iLV4t-0001kM-7V Completed


---------------8------------------8------------------- Bounce received to local mailbox
From MAILER-DAEMON Fri Oct 18 17:26:11 2019
Return-path: <>
Envelope-to: user@???
Delivery-date: Fri, 18 Oct 2019 17:26:11 +0100
X-Failed-Recipients: null@???
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@???>
To: user@???
Content-Type: multipart/report; report-type=delivery-status; boundary=1571415971-eximdsn-19389004
Subject: Mail delivery failed: returning message to sender
Date: Fri, 18 Oct 2019 17:26:11 +0100
Status: RO

Part 1:
Content-type: text/plain; charset=us-ascii

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  null@???
    host example.tld [5.77.xx.xx]
    SMTP error from remote mail server after RCPT TO:<null@???>:
    550 No such person at this address

Part 2:
Content-type: message/delivery-status


Part 3:
Content-type: message/rfc822

From user@??? Fri Oct 18 17:25:29 2019
Return-path: <user@???>
To: null@???
From: Ben Sanders - Admin <user@???>
Subject: testing
Date: Fri, 18 Oct 2019 17:25:29 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.1.2
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US

teinsgqwgew


A Test Message Here

---------------8------------------8-------------------




Bouncing to a remote Mailbox :


2019-10-18 17:36:09 1iLVEX-0001ur-1U <= user@??? H=([172.30.xx.xx]) [89.187.xx.xx] P=esmtp S=652 id=8f418835-b7fb-08c5-5238-041f69103898@???
2019-10-18 17:36:29 1iLVEX-0001ur-1U [5.77.xx.xx] SSL verify error: certificate name mismatch: DN="/OU=Domain Control Validated/OU=PositiveSSL/CN=ice.example.tld" H="example.tld"
2019-10-18 17:36:49 1iLVEX-0001ur-1U ** null@??? R=dnslookup T=remote_smtp H=example.tld [5.77.xx.xx] X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP error from remote mail server after RCPT TO:<null@???>: 550 No such person at this address
2019-10-18 17:36:49 1iLVFB-0001vY-Du <= <> R=1iLVEX-0001ur-1U U=exim P=local S=2104
2019-10-18 17:36:49 1iLVEX-0001ur-1U Completed
2019-10-18 17:36:51 1iLVFB-0001vY-Du => user@??? 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 <E1iLVFB-0001vY-Du@???> [InternalId=8705898711624, Hostname=AM4PR02MB3025.eurprd02.prod.outlook.com] 10056 bytes in 0.063, 155.065 KB/sec Queued mail for delivery"
2019-10-18 17:36:51 1iLVFB-0001vY-Du Completed

---------------8------------------8------------------- Bounce received at remote mailbox

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  null@???
    host example.tld [5.77.xx.xx]
    SMTP error from remote mail server after RCPT TO:<null@???>:
    550 No such person at this address



---------------8------------------8-------------------




       

-----Original Message-----
From: Jeremy 
Sent: 19 October 2019 11:11
To: exim-users@???
Subject: Re: [exim] Bounce messages are missing headers and message body for non local users

On 18/10/2019 18:32, Ben Sanders via Exim-users wrote:

> If the bounce returns to a local user however, I get the expected output, the normal section above with the SMTP error WITH the message header with message body.
>
> Why is exim behaving different for local and remote email addresses, is that expected?


I'd guess the processing sequence is different. Show us logs, as a
start.
--
Cheers,
Jeremy