Since version 20230322, neomutt doesn’t just generate a unique Message-ID
header for sent e-mails – it makes it just a bunch of random characters. This causes trouble to various people.
Personally, I’ve decided to revert the change by placing a patch in /etc/portage/patches/mail-client/neomutt/revert-random-message-id.patch
file (I love Gentoo!). (If you’re interested, it reverts commits a603c9471c513414cd4742b926df985fc9be991c
, dec21e6a22867a0b9838f0338c3693cc6310847a
and 0e9c4e8599b49bfa04df8ab1928af55876169017
).
Alternativelly, it’s possible to almost undo the change by this configuration line in neomuttrc
:
send-hook . "my_hdr Message-ID: <\`date +%Y%m%d%H%M%S\`.\`tr -cd '[:digit:][:lower:]' < /dev/urandom | head -c 16\`@\`hostname\`>"
(Inspired by nabijaczleweli’s.)
This generates basically the same message IDs, just the time differs by the gap between finishing composing the text of your e-mail and actually sending it.
Tagged with: neomutt
Written: 2023-12-31