Skip to content

Instantly share code, notes, and snippets.

Created February 28, 2013 08:36
Show Gist options
  • Save anonymous/5055224 to your computer and use it in GitHub Desktop.
Save anonymous/5055224 to your computer and use it in GitHub Desktop.
mu4e setup
(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)))
@Richard-CAID
Copy link

I am working to configure my Mu4e. It is my first time setting up email in Emacs (Spacemacs), ver. 27.2. Mu and maildir are working and I can sync emails into folders. Mu4e is not configured yet. Mu4e requires smptmail and starttls but there are no packages for these in maildir-utils packages I have downloaded (Opensuse Tumbleweed repository). Research indicates that starttls has not been part of emacs for a few years and I have found no clues about what happened to smtpmail. Will you help me out on sorting through this hurdle??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment