[exim-dev] [Bug 2568] New: Error messages (DSN) are inconsis…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 2568] New: Error messages (DSN) are inconsistent and misleading
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: unallocated@???
          Reporter: heiko@???
                CC: exim-dev@???


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 b@??? and c@??? does not exists. If a mail is sent to
a@??? 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:

  b@???
    (ultimately generated from a@???)
    Unknown user
  c@???
    (ultimately generated from a@???)
    Unknown user


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

Action: failed
Final-Recipient: rfc822;a@???
Status: 5.0.0

Action: failed
Final-Recipient: rfc822;a@???
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;b@???
Status: 5.0.0

Action: failed
Final-Recipient: rfc822;c@???
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.