https://bugs.exim.org/show_bug.cgi?id=2568

            Bug ID: 2568
           Summary: Error messages (DSN) are inconsistent and misleading
           Product: Exim
           Version: 4.93
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Delivery in general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

In Exim 4.94.RC0 error messages (DSN) are sometimes inconsistent and
misleading.
For the following example the aliases file for domain example.com contains:

a: b, c

Adresses [email protected] and [email protected] does not exists. If a mail is 
sent to
[email protected] the error message (DSN) looks like:

-------------------------------
[...]
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:

  [email protected]
    (ultimately generated from [email protected])
    Unknown user
  [email protected]
    (ultimately generated from [email protected])
    Unknown user

[...]
Content-type: message/delivery-status
[...]

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0

[...]
-------------------------------

The "text/plain" part is correct and as expected. But the
"message/delivery-status" part does not show the failing non-existing addresses
but the parent address twice. This is neither useful nor the "final recipient".
The "message/delivery-status" part should look like this:

-------------------------------
Content-type: message/delivery-status
[...]

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0
-------------------------------

git bisect points to commit 436bda2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to