email config

This commit is contained in:
Matt Nish-Lapidus 2024-06-21 08:31:36 -04:00
parent 2071f81da1
commit cab192d15a
2 changed files with 22 additions and 10 deletions

View file

@ -468,6 +468,16 @@
"f" #'chezmoi-find
"w" #'chezmoi-write)
(map!
:map mu4e-main-mode-map
:localleader
:desc "Compose" "c" #'compose-mail)
(map!
:map mu4e-compose-mode-map
:localleader
:desc "Send message and exit" "s" #'message-send-and-exit)
(map!
:map dired-mode-map
"h" #'dired-up-directory

View file

@ -256,9 +256,14 @@
(mu4e-spam-folder . "/matt@emenel.ca/Spam")
(smtpmail-smtp-user . "matt@emenel.ca")
(user-mail-address . "matt@emenel.ca") ;; only needed for mu < 1.4
(smtpmail-default-smtp-server . "smtp.fastmail.com")
(smtpmail-smtp-server . "smtp.fastmail.com")
(smtpmail-local-domain . "fastmail.com")
(mu4e-compose-signature . "---"))
t)
(after! mu4e
(setq
mu4e-index-cleanup t
@ -267,6 +272,12 @@
message-kill-buffer-on-exit t)
(setq mu4e-bookmarks nil)
(setq sendmail-program "/opt/homebrew/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)
;; spam
(mu4e-bookmark-define
"maildir:/matt@emenel.ca/Spam"
@ -296,15 +307,6 @@
(add-hook! mu4e-compose-mode
(ws-butler-mode -1)))
;; (after! mu4e
;; (add-to-list 'mu4e-bookmarks
;; '( :name "Inbox"
;; :query "maildir:/INBOX"
;; :key ?i)
;; '( :name "Inbox Unread"
;; :query "maildir:/INBOX and flag:unread"
;; :key ?o)))
(use-package! kbd-mode)
(server-start)