email config
This commit is contained in:
parent
2071f81da1
commit
cab192d15a
2 changed files with 22 additions and 10 deletions
10
bindings.el
10
bindings.el
|
@ -468,6 +468,16 @@
|
||||||
"f" #'chezmoi-find
|
"f" #'chezmoi-find
|
||||||
"w" #'chezmoi-write)
|
"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!
|
||||||
:map dired-mode-map
|
:map dired-mode-map
|
||||||
"h" #'dired-up-directory
|
"h" #'dired-up-directory
|
||||||
|
|
22
config.el
22
config.el
|
@ -255,10 +255,15 @@
|
||||||
(mu4e-refile-folder . "/matt@emenel.ca/Archive")
|
(mu4e-refile-folder . "/matt@emenel.ca/Archive")
|
||||||
(mu4e-spam-folder . "/matt@emenel.ca/Spam")
|
(mu4e-spam-folder . "/matt@emenel.ca/Spam")
|
||||||
(smtpmail-smtp-user . "matt@emenel.ca")
|
(smtpmail-smtp-user . "matt@emenel.ca")
|
||||||
(user-mail-address . "matt@emenel.ca") ;; only needed for mu < 1.4
|
(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 . "---"))
|
(mu4e-compose-signature . "---"))
|
||||||
t)
|
t)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(after! mu4e
|
(after! mu4e
|
||||||
(setq
|
(setq
|
||||||
mu4e-index-cleanup t
|
mu4e-index-cleanup t
|
||||||
|
@ -267,6 +272,12 @@
|
||||||
message-kill-buffer-on-exit t)
|
message-kill-buffer-on-exit t)
|
||||||
(setq mu4e-bookmarks nil)
|
(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
|
;; spam
|
||||||
(mu4e-bookmark-define
|
(mu4e-bookmark-define
|
||||||
"maildir:/matt@emenel.ca/Spam"
|
"maildir:/matt@emenel.ca/Spam"
|
||||||
|
@ -296,15 +307,6 @@
|
||||||
(add-hook! mu4e-compose-mode
|
(add-hook! mu4e-compose-mode
|
||||||
(ws-butler-mode -1)))
|
(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)
|
(use-package! kbd-mode)
|
||||||
|
|
||||||
(server-start)
|
(server-start)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue