From 76b2c8daa0d71012c64dd470d624d0dc55fc3a61 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 14 Jan 2024 14:48:44 +0100 Subject: [PATCH] [emacs] Do not append Message-Id to emails. --- COPYING | 4 ++-- emacs/.config/emacs/conf/conf-email.el | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/COPYING b/COPYING index b9dbfee..a39643c 100644 --- a/COPYING +++ b/COPYING @@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - Copyright (C) 2022-2023 Jakub Czajka + Copyright (C) 2022-2024 Jakub Czajka This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -651,7 +651,7 @@ Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - guix Copyright (C) 2022-2023 Jakub Czajka + guix Copyright (C) 2022-2024 Jakub Czajka This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. diff --git a/emacs/.config/emacs/conf/conf-email.el b/emacs/.config/emacs/conf/conf-email.el index ff410b0..0e225c5 100644 --- a/emacs/.config/emacs/conf/conf-email.el +++ b/emacs/.config/emacs/conf/conf-email.el @@ -1,4 +1,4 @@ -;; Copyright (c) 2022-2023 Jakub Czajka +;; Copyright (c) 2022-2024 Jakub Czajka ;; License: GPL-3.0 or later. ;; ;; conf-email.el - configuration for the email client. @@ -18,6 +18,8 @@ (mail-specify-envelope-from t) (message-sendmail-envelope-from 'header) (mail-envelope-from 'header) + ;; Do not append Message-Id. I will be added by the mail server. + (message-required-mail-headers '(From Subject Date)) :config ;; `dummy' is not a real password entry. It exists solely for this advices. (define-advice message-send-mail-with-sendmail (:before ()) -- 2.39.5