Mutt IMAP Client
Mutt is a text-mode email client (it runs in a terminal window.) Here’s its manual, and you can find lots of cheat-sheets and quick-start guides online.
Using CSAIL Ubuntu
Systemwide defaults are correct – simply run mutt
. If you work with
very large folders, though, see below. The CSAIL Ubuntu machine
login.csail.mit.edu
is a good place to run mutt
, so you can just
ssh YOURUSERNAME@login.csail.mit.edu
mutt
(obviously, replacing YOURUSERNAME
with your CSAIL username)
and everything should work.
Other systems
These are the only entries you really need in your .muttrc to begin reading IMAP mail. The first time you try to read your mail, you will be presented with a certificate from imap.csail.mit.edu. You will be asked if you want to accept it once or always. Go ahead and accept it always. It will be stored in ~/.mutt_certificates. This will be used to negotiate the starttls connection with the IMAP server. This will encrypt both your password authentication (though that can be separately encrypted as well) as well as the transfer of your messages. There are many more configuration options available, goto http://www.mutt.org/doc/manual. Also, check out the links to sample .muttrc files as well as an online interactive .muttrc file builder at http://www.mutt.org/links.html#config
set hostname="csail.mit.edu"
set spoolfile={imap.csail.mit.edu}
set folder=imap://imap.csail.mit.edu/INBOX.
set certificate_file="~/.mutt_certificates"
Speeding up mutt with large IMAP folders
If any of your IMAP folders are large, you’ll also want to create the
directory $HOME/.mutt_cache
with the command
mkdir ~/.mutt_cache
and add the line
set header_cache="~/.mutt_cache"
to your .muttrc
file. That will tell mutt
to cache the headers of
each message locally so it doesn’t have to re-fetch the headers from the
IMAP (mailbox) server each time you look at that folder. For large
folders, it can be the difference between taking a couple seconds to
open a folder and taking a couple minutes.