$HOME is where the <3 is
git clone git://
Log | Files | Refs | README | LICENSE

commit db55ff42d497a024adbf3add9696249d93ddcdd5 (patch)
parent f5d324b749fd5a869c39bf79f70d663524191464
Author: Alex Karle <>
Date:   Mon,  7 Feb 2022 00:06:51 -0500

mutt: Add basic muttrc for mbsync+opensmtpd usage

In my current setup, I'm syncing my mail locally via mbsync
and using opensmtpd(8) to send mail, so all mutt needs to do
is give me a nice MUA :)

There's a ways to go on recreating my old mailcap file, but the
thing I use most frequently is the w3m auto_view, which is a
necessity for 21st century email (unfortunately...).

A.mailcap | 2++
A.muttrc | 33+++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/.mailcap b/.mailcap @@ -0,0 +1,2 @@ +# .mailcap -- tell mutt how to open MIME types +text/html; w3m -T text/html; copiousoutput diff --git a/.muttrc b/.muttrc @@ -0,0 +1,33 @@ +# .muttrc -- mutt(1) config + +# Account setup (see also: .mbsyncrc) +set from="" +set realname="Alex Karle" +set mbox_type="Maildir" +set folder="~/mail" +set spoolfile="=INBOX" +set record="=Sent" +set postponed="=Drafts" + +# Cache headers for a speedier startup +set header_cache="~/.cache/mutt" + +# Bcc myself so I show up in the INBOX threads +my_hdr Bcc: $from + +# Sort by threads, then by date +set sort=threads +set sort_aux=reverse-last-date-received + +# I don't use IMAP/SMTP in mutt, but if I decide to, force TLS (can't hurt to set!) +set ssl_force_tls=yes + +# Show a bit of the index in the pager (nice to see position in thread) +set pager_index_lines=6 + +# Monochrome coloring +color index bold white black ~N + +# Convert text/html to plaintext via mailcap, but prefer plaintext if there +auto_view text/html +alternative_order text/plain text/html