#1093221 mutt drops RFC822/2822/5322 comments for display and replies

Package:
mutt
Source:
mutt
Description:
text-based mailreader supporting MIME, GPG, PGP and threading
Submitter:
Vincent Lefevre
Date:
2025-01-16 15:45:01 UTC
Severity:
normal
Tags:
#1093221#5
Date:
2025-01-16 15:41:45 UTC
From:
To:
I've reported the following bug upstream:

Consider a mailbox with a message as follows:

    From x@y.invalid Thu Jan 16 09:54:16 2025
    From: Name (comment) <x@y.invalid>
    Subject: msg

Mutt 2.2.13 displays

    From: Name <x@y.invalid>

instead of

    From: Name (comment) <x@y.invalid>

This has the effect to hide important information when it is put under
the form of a RFC822/2822/5322 comment, such as added after address
rewriting to solve DMARC's failures[*], which is done by the Sympa
mailing-list management software. The comment is also dropped when
replying to the "From:" address (and obviously, if this is copy-pasted).

[*] https://dmarcreport.com/blog/solving-dmarcs-failures-with-mailing-lists/

So, as a user, one may not notice that the address has actually been
rewritten, and as a consequence, one may send a private message to the
whole mailing-list. Experience showed that when the comment had not
been added yet here at ENS-Lyon, many users sent private messages to
the lists. A comment under the form "original-address via list-name
Mailing List" is now added, but Mutt does not show it, contrary to
other MUAs.