======Applications - Mail - Mutt======
[[http://www.mutt.org/|Mutt]] \\
=====muttrc=====
[[http://muttrcbuilder.org/|muttrc builder]] (dead link) \\
[[http://myhome.iolfree.ie/~gavcos/muttrc.html|Gavin Costello - Mutt Configuration]] \\
[[http://www.kurokatta.org/doc/muttrc|kurokatta - Muttrc]] \\
[[http://phdru.name/Software/dotfiles/muttrc.html|.muttrc]] from [[http://phdru.name/Software/dotfiles/|Oleg Broytman - My dotfiles]] \\
====Colors====
[[http://ethanschoonover.com/solarized|Solarized]] color palette. [[https://github.com/altercation/mutt-colors-solarized|GitHub - altercation/mutt-colors-solarized]] (Requires a mutt linked to slang not ncurses.)
[[http://therandymon.com/woodnotes/mutt/node58.html|Configuring Colors]] from [[http://therandymon.com/woodnotes/mutt/using-mutt.html|The Woodnotes Guide to the Mutt Email Client]] \\
[[https://wiki.archlinux.org/index.php/Mutt#Colors|ArchWiki - Mutt - Colors]] \\
[[http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html|Non-Geek's Linux Handbook - Mutt Color Configuration]] \\
[[http://pastebin.com/LQ2Th550|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: [[http://blog.deadlypenguin.com/blog/2009/04/21/mutt-and-lynx/|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: [[http://mutt.sourceforge.net/imap/|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:
* You don't have or want to install mutt via [[https://ports.macports.org/port/mutt/|MacPorts]] or [[https://formulae.brew.sh/formula/mutt|Homebrew]].
* You know how or already have installed the Xcode Command line tools. (Hint: type 'clang' in a Terminal and follow the prompts.)
* You keep up with new mutt releases and downlooad, compile, and install the new version in the same way to replace your current (vulnerable) version.
* mutt should be installed in ~/mutt.
Do the following:
- Install the Xcode Command Line tools.
- Download the mutt .tar.gz file from http://www.mutt.org/download.html.
- Open Terminal.
- Create and change to a directory to extract the mutt .tar.gz to:mkdir ~/compile
cd ~/compile
- Extract the mutt .gar.gz:tar xzvf ~/Downloads/mutt-2.4.1.tar.gz
- Change to the extracted mutt directory:cd mutt-2.4.1
- 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
- Configure mutt with:
- Base location the mutt directory in your home directory (~/mutt)
- The mailbox file in your home directory.
- IMAP support
- SMTP support
- 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
- Compile and install with:make install
- Create a ~/.muttrc file with the desired settings.
- Start mutt from a terminal with:~/mutt/bin/mutt