From b5339a7e5160032eee074c56d06be2cc89bb0863 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 15 Jul 2021 08:59:56 -0400 Subject: fix(gs/emacs): Pass --read-envelope-from to sendmail Change-Id: I8e4c0171336cad3ed817956b07b371aba706ab9f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3248 Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/emacs.d/email.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/users/grfn/emacs.d/email.el b/users/grfn/emacs.d/email.el index 9510dd3ed1..83076898b4 100644 --- a/users/grfn/emacs.d/email.el +++ b/users/grfn/emacs.d/email.el @@ -11,7 +11,10 @@ :key "w") (:name "personal" :query "tag:inbox and tag:important and path:personal/**" :key "p")) - message-send-mail-function 'message-send-mail-with-sendmail) + message-send-mail-function 'message-send-mail-with-sendmail + message-sendmail-f-is-evil 't + message-sendmail-envelope-from 'header + message-sendmail-extra-arguments '("--read-envelope-from")) (add-hook! notmuch-message-mode-hook #'notmuch-company-setup)) @@ -25,7 +28,10 @@ :key "w") (:name "personal" :query "tag:inbox and tag:important and path:personal/**" :key "p")) - message-send-mail-function 'message-send-mail-with-sendmail) + message-send-mail-function 'message-send-mail-with-sendmail + message-sendmail-f-is-evil 't + message-sendmail-envelope-from 'header + message-sendmail-extra-arguments '("--read-envelope-from")) (set-popup-rule! "^\\*notmuch-saved-search-" :ignore t) -- cgit 1.4.1