From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13259 invoked from network); 9 Dec 2023 07:03:36 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 9 Dec 2023 07:03:36 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBrMy-0000wn-RP; Sat, 09 Dec 2023 02:03:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBrMu-0000wb-IP for info-gnus-english@gnu.org; Sat, 09 Dec 2023 02:03:20 -0500 Received: from mail.cafax.se ([2a00:801:11:25::22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBrMs-0008Jf-HS for info-gnus-english@gnu.org; Sat, 09 Dec 2023 02:03:20 -0500 Received: from floptop.liman.net (vpn01-stb.sth.netnod.se [192.71.80.86]) (Authenticated sender: liman@cafax.se) by mail.cafax.se (Postfix) with ESMTPSA id 53246486B0; Sat, 9 Dec 2023 08:03:12 +0100 (MET) Received: from floptop.liman.net (localhost [IPv6:::1]) by floptop.liman.net (Postfix) with ESMTP id 7E95D27402A7; Sat, 9 Dec 2023 08:03:11 +0100 (CET) (envelope-from info-gnus-english@cafax.se) From: Lars-Johan Liman To: rameiko87@posteo.net Cc: info-gnus-english@gnu.org Subject: Re: Have message-ID set by my email server rather than by Message References: <02faa3f8a25dc94c6e745ba7e119711a@posteo.net> Date: Sat, 09 Dec 2023 08:03:11 +0100 In-Reply-To: <02faa3f8a25dc94c6e745ba7e119711a@posteo.net> (rameiko's message of "Fri, 08 Dec 2023 18:44:40 +0000") Message-ID: <22jzpnyi1c.fsf@floptop.liman.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:801:11:25::22; envelope-from=info-gnus-english@cafax.se; helo=mail.cafax.se X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org 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!