From 4a807040a2607ccaa8c992f707ff085cd3bab5ca Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 22 May 2021 21:38:48 +0200 Subject: refactor(tazjin/emacs): Switch to sending mail via lieer This drops the msmtp requirement from my configuration; there's still some cleanup to be done but I need to double-check this in a few environments first. Change-Id: I298f4ff77b45cb214fbccee84e9bbd861508d11a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3132 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/emacs/config/mail-setup.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'users/tazjin/emacs/config') diff --git a/users/tazjin/emacs/config/mail-setup.el b/users/tazjin/emacs/config/mail-setup.el index 1167bcadd372..7fbece1b102a 100644 --- a/users/tazjin/emacs/config/mail-setup.el +++ b/users/tazjin/emacs/config/mail-setup.el @@ -25,8 +25,10 @@ (setq notmuch-show-empty-saved-searches t) ;; Mail sending configuration -(setq send-mail-function 'sendmail-send-it) ;; sendmail provided by MSMTP -(setq notmuch-always-prompt-for-sender t) +(setq sendmail-program "gmi") ;; lieer binary supports sendmail emulation +(setq message-sendmail-extra-arguments + '("send" "--quiet" "-t" "-C" "~/mail/account.tazjin")) +(setq send-mail-function 'sendmail-send-it) (setq notmuch-mua-user-agent-function (lambda () (format "Emacs %s; notmuch.el %s" emacs-version notmuch-emacs-version))) (setq mail-host-address (system-name)) -- cgit 1.4.1