Table of Contents

Applications - Mail - Mutt

Mutt

muttrc

muttrc builder (dead link)

Gavin Costello - Mutt Configuration
kurokatta - Muttrc
.muttrc from Oleg Broytman - My dotfiles

Colors

Solarized color palette. GitHub - altercation/mutt-colors-solarized (Requires a mutt linked to slang not ncurses.)

Configuring Colors from The Woodnotes Guide to the Mutt Email Client

ArchWiki - Mutt - Colors

Non-Geek's Linux Handbook - Mutt Color Configuration
Pastebin - .muttrc - Grey Blue & Red By: a guest on Aug 2nd, 2015

View HTML e-mail in mutt

Install lynx.

Add to ~/.mailcap:

text/html; lynx -dump -width=78 -nolist %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html

Add to ~/.muttrc:

auto_view text/x-vcard text/html text/enriched

Taken from: Deadlypenguin - Mutt and Lynx

Open IMAPS mailbox

Add to ~/.muttrc:

set spoolfile="imaps://IMAP_SERVEER_FQDN/INBOX"
set imap_user="USERNAME"
set folder="imaps://MAP_SERVEER_FQDN/"

Source: Mutt and IMAP

Sort mailbox from newest to oldest

Add to ~/.muttrc:

set sort=reverse-date-sent

Compile on macOS

Tested on macOS Tahoe 25.6.

This assumes:

Do the following:

  1. Install the Xcode Command Line tools.
  2. Download the mutt .tar.gz file from http://www.mutt.org/download.html.
  3. Open Terminal.
  4. Create and change to a directory to extract the mutt .tar.gz to:
    mkdir ~/compile
    cd ~/compile
  5. Extract the mutt .gar.gz:
    tar xzvf ~/Downloads/mutt-2.4.1.tar.gz
  6. Change to the extracted mutt directory:
    cd mutt-2.4.1
  7. Clone the https://github.com/jeroen/apple-libressl-sdk repository to get the missing LibreSSL header files for SSL/TLS (and IMAPS) support:
    git clone git clone https://github.com/jeroen/apple-libressl-sdk
  8. Configure mutt with:
    1. Base location the mutt directory in your home directory (~/mutt)
    2. The mailbox file in your home directory.
    3. IMAP support
    4. SMTP support
    5. SSL/TLS support using the apple-libressl-sdk directory
      ./configure --prefix=$HOME/mutt --with-homespool=mutt/mailbox --enable-imap --enable-smtp --with-ssl=apple-libressl-sdk
  9. Compile and install with:
    make install
  10. Create a ~/.muttrc file with the desired settings.
  11. Start mutt from a terminal with:
    ~/mutt/bin/mutt