On 3/2/23 9:39 AM, Ben Collver wrote:
# Fix your mutt
IMHO Mutt doesn't need to be fixed.
At some point in the recent past, mutt changed the way it generates Message-ID header values. Instead of the perfectly good old way of
doing it, the developers switched to using base64-encoded random
bytes. The base64 dictionary contains the / character, ...
The use of the forward slash character in a Message-ID: is explicitly
allowed in RFC 2822.
§ 3.6.4. Identification fields
...
message-id = "Message-ID:" msg-id CRLF
...
msg-id = [CFWS] "<" id-left "@" id-right ">" [CFWS]
id-left = dot-atom-text / no-fold-quote / obs-id-left
id-right = dot-atom-text / no-fold-literal / obs-id-right
...
§ 3.2.4. Atom
...
atext = ALPHA / DIGIT / ; Any character except controls,
"!" / "#" / ; SP, and specials.
"$" / "%" / ; Used for atoms
"&" / "'" /
"*" / "+" /
"-" / "/" /
"=" / "?" /
"^" / "_" /
"`" / "{" /
"|" / "}" /
"~"
...
dot-atom-text = 1*atext *("." 1*atext)
...
I don't see any problem with what the Mutt developers have done.
Specifically
Message-ID -> msg-id
msg-id -> id-left / id-right
id-left/id-right -> dot-atom-text
dot-atom-text -> atext
atest -> "/"
... which causes unnecessary difficulties when linking to these
messages on lore.kernel.org, since the / character needs to be escaped
as %2F for everything to work properly.
This seems like a down stream implementation problem that doesn't
properly handle something that's RFC compliant.
Mutt developers seem completely [2]uninterested in changing this,
I see no reason for the Mutt developers to change a perfectly valid and
RFC compliant behavior.
so please save everyone a lot of trouble and do the following if
you're using mutt for your kernel development needs (should work for
all mutt versions):
I would suggest exploring other options to make your task simpler. Can
you streamline the encoding, possibly with a helper?
Take this up with the lore.kernel.org webmaster / hostmaster and ask
them to set up something to more gracefully handle the "/" character.
I'm confident that they can put some sort of rewrite in place to handle
this more gracefully.
This does not seem like a Mutt problem to me. What's more is that your proposed solution doesn't address any other MUAs that may behave in a
similar RFC compliant manner.
--
Grant. . . .
unix || die
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)