info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Have message-ID set by my email server rather than by Message


From: Lars-Johan Liman
Subject: Re: Have message-ID set by my email server rather than by Message
Date: Sat, 09 Dec 2023 08:03:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)

Hi!

Message-ID is one of the very few _mandatory_ header lines, so a message
without one is not a valid RFC 5322 (the sucessor of RFC 822) message.
Therefore the message "must not/cannot" leave your computer without one.
It has to be set on the computer if it's being shipped by a mail-related
protocol ((E)SMTP/LMTP/IMAP/POP[23]/...).

What you _can_ do (if I remember my sendmail.cf right, it's been a few
years since I taught that course ... ;-) ) is to _modify_ the Message-ID
header in your mail server. "If it looks like it's coming from the
computer, then modify Message-ID to look like ... (bla)". But I wouldn't
recommend it. Message-ID is supposed to be set by the sending software
(the Mail User Agent (MUA)) and it's supposed to uniquely identify the
message across all messages in the world ... ever. Modifying it would
make it very difficult to trace and debug how the message traverses the
Internet (which includes your computer). You can probably also influence
exactly how Emacs generates the Message-ID, but again, it's probably not
a good idea to mess with that.

Can I ask what problem you see with having your Emacs generate the
Message-ID?

                                Best regards,
                                  /Lars-Johan Liman


rameiko87@posteo.net 2023-12-08 18:44 [+0000]:
> Hello everyone! I'm on Emacs 29.1 and I use Message and sendmail for
> writing emails. I don't load Gnus but I do the easy C-x m. I can't get
> Emacs not to add Message-ID to my outgoing mail! I would be very
> grateful if some of you could help me out a little, I'm kind of a
> beginner. I set https://bpa.st/QLDQ and yet every email I write
> contains a message-ID which is set by emacs, rather than my email
> server.

> If I customize message-user-fqdn then the Message-ID will reflect
> that. Therefore whatever is setting my message ID despite the config
> telling Message not to, is taking it from the variable
> message-user-fqdn!

> Help is very much appreciated!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]