summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-14 01:00:43 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-14 01:00:43 +0200
commitbfdd50550ed9b96c2100606a2490cc1b0cb5c5e9 (patch)
treeb3cfae1bb550abfd390220f3cd28ca4eccdc8d24 /.config
parent364c4ce73569c62d480a5715a2a3d8cd38b2bf80 (diff)
emacs: Fix sending email with mu4e
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/config.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index ea9baeb..97cbf7d 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -1033,9 +1033,15 @@ mixed on when I do and -don’t want it. I always want it in ~org-mode~ though.
(use-package mu4e
:ensure nil
:custom
+ (user-full-name "Thomas Voss")
(mu4e-change-filenames-when-moving t)
(mu4e-get-mail-command "mbsync -a -c /home/thomas/.config/isync/mbsyncrc")
(mu4e-maildir "~/mail")
+ (sendmail-program "/usr/bin/msmtp")
+ (send-mail-function 'smtpmail-send-it)
+ (message-sendmail-f-is-evil t)
+ (message-sendmail-extra-arguments '("--read-envelope-from"))
+ (message-send-mail-function 'message-send-mail-with-sendmail)
:config
(setq mm--mu4e-personal-context
(make-mu4e-context
@@ -1045,7 +1051,6 @@ mixed on when I do and -don’t want it. I always want it in ~org-mode~ though.
(when msg
(string-prefix-p "/mail@thomasvoss.com" (mu4e-message-field msg :maildir))))
:vars '((user-mail-address . "mail@thomasvoss.com")
- (user-full-name . "Thomas Voss")
(mu4e-drafts-folder . "/mail@thomasvoss.com/Drafts")
(mu4e-sent-folder . "/mail@thomasvoss.com/Sent")
(mu4e-refile-folder . "/mail@thomasvoss.com/Archive")