Is there any way to print/predict the Message-ID that mutt will assign to the mail currently being composed?It looks like it consists of a timestamp, a random string (is it?) and the hostname from muttrc, but it's unclear when this is generated.
Show Message-ID for mail being written
mutt
The message identifier is generated if necessary when the envelope is prepared, i.e. just before mutt sends the email. There doesn't seem to be a way of seeing the generated identifier within mutt before the message is sent. If you manually specify your own identifier in the composed message, mutt will use that...The generated identifier itself contains the following information (see mutt_gen_msgid() in sendlib.c), as of the current development tip:year;month;day in month;hour;minute;second;a single character between 'A' and 'Z';mutt's process identifier;the host's FQDN.In the version I currently have on Debian though there is indeed a random string (instead of the single character and process identifier).In any case the identifier isn't predictable accurately!