Skip to content

Instantly share code, notes, and snippets.

@pmcfernandes
Last active February 25, 2021 20:18
Show Gist options
  • Save pmcfernandes/39013903195e6640b485624b9d7a7192 to your computer and use it in GitHub Desktop.
Save pmcfernandes/39013903195e6640b485624b9d7a7192 to your computer and use it in GitHub Desktop.
mutt install & config
text/html; "$BROWSER" %s &; test=test -n "$DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
# About Me
set from = "[email protected]"
set realname = "Your name"
# My credentials
set smtp_url = "smtp://[email protected]@smtp.gmail.com:587/"
set smtp_pass = "your great password"
set imap_user = "[email protected]"
set imap_pass = "your great password"
# My mailboxes
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
# Where to put the stuff
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
# Etc
set mail_check = 30
set move = no
set imap_keepalive = 900
set sort = threads
set editor = "nano"
set sort_aux = last-date-received
set sort = reverse-threads
alternative_order text/plain text text/html #prefer plaintext over dumped html
auto_view text/html #load html emails with links
# GnuPG bootstrap
# source ~/.mutt/gpg.rc
sudo apk add mutt w3m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment