Skip to content

Instantly share code, notes, and snippets.

@pmcfernandes
Last active Feb 25, 2021
Embed
What would you like to do?
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@gmail.com"
set realname = "Your name"
# My credentials
set smtp_url = "smtp://email@gmail.com@smtp.gmail.com:587/"
set smtp_pass = "your great password"
set imap_user = "email@gmail.com"
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