[exim] Bounce messages are missing headers and message body …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ben Sanders
Ημερομηνία:  
Προς: exim-users@exim.org
Αντικείμενο: [exim] Bounce messages are missing headers and message body for non local users
Hello all,

I've got a fully updated Exim smarthost (4.92.3) running on CentOS 7 - It accepts mail from trusted networks to send outbound messages, no significant config changes from the defaults, all sending mail perfectly fine.

Our much older version of exim on Debian behaves differently when bouncing email however, it includes the full headers and message body to all senders.

The newer version of exim on CentOS seems to treat local and remote senders differently. If the sender is on a trusted network, bounces only include the SMTP error section e.g:

" 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.5.5.5]
    SMTP error from remote mail server after RCPT TO:<null@??? >:
    550 No such person at this address
"


Even when explicitly setting the below defaults to true, the messages headers and message body are missing from the bounce.

bounce_return_message = true
bounce_return_body = true

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?

Is there a way to ensure exim includes the message header and body for all bounces it generates?

Thanks in advance,

--
BenAd