public
anonymous / gist:5055224
Created

mu4e setup

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
(setq mu4e-mu-binary "/usr/local/bin/mu"
mu4e-sent-folder "/[Gmail].Sent Mail"
mu4e-drafts-folder "/[Gmail].Drafts"
mu4e-trash-folder "/[Gmail].Trash"
mu4e-refile-folder "/Archives"
mu4e-use-fancy-chars nil)
 
(setq user-mail-address "foo"
user-full-name "bar"
mail-user-agent 'message-user-agent
message-kill-buffer-on-exit t)
 
(require 'smtpmail)
 
(setq message-send-mail-function 'smtpmail-send-it
starttls-use-gnutls t
starttls-gnutls-program "gnutls-cli"
starttls-extra-arguments '("--insecure")
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials (expand-file-name "~/.authinfo")
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
smtpmail-debug-info t)
 
(setq mu4e-html2text-command "w3m -dump -T text/html")
 
(setq mu4e-bookmarks
'(("flag:unread AND NOT flag:trashed AND NOT maildir:/[Gmail].Trash" "Unread messages" 117)
("date:today..now AND NOT flag:trashed AND NOT maildir:/[Gmail].Trash" "Today's messages" 116)
("date:7d..now" "Last 7 days" 119)))

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.