Using IMAP with Mutt
I find that most GUI based clients tend to have issues with IMAP. Even the usually lightning fast kmail tends to have sluggish response times when dealing with remote mail folders. Same goes for Thunderbird and host of other mail clients that I tried. On the other hand Mutt performs awesome, and gives me exactly what I want: a lean IMAP client for a low traffic account.
How do you set up Mutt to work with imap? It is actually amazingly simple. You just need to add two lines to your .muttrc:
set folder="imaps://username@example.com"
set spoolfile="imaps://username@example.com/INBOX"
If you don’t feel like typing in your password every time you can also put it there:
set imap_pass="mypassword"
Also, my favorite line which disables that annoying Mutt prompt that asks if you want to move the read mail messages:
set mbox="!"
Maybe this will help someone who is looking for a good IMAP client. Mutt is really awesome in that area. Fast simple, and small. There even exists a working port for windows, but you are probably better off using the cygwin based version instead.
Related Posts:


May 21st, 2007 at 3:23 pm (4434) [Quote]
[…] I previously covered Mutt several times, showing you how to set it up for IMAP and how to send out emails without full blown sendmail or exim setup just using basic SSMTP. There is also Pine which is a damn fine mail client too - if you can deal with editing your messages in pico. […]
Posted usingMay 22nd, 2007 at 12:44 am (4447) [Quote]
A far better, reliable and robust approach would be to use “OfflineIMAP” instead of the builtin IMAP-functionality of mutt.
Posted using Unbranded Firefox 2.0.0.3 onJune 25th, 2007 at 3:46 pm (4935) [Quote]
Thanks for the tip. I had to change “imaps” to “imap” for it to work though.
Posted usingSeptember 5th, 2007 at 7:41 pm (6068) [Quote]
Thanks
Posted usingI was looking for the “set mbox=”!”" option
September 5th, 2007 at 10:19 pm (6071) [Quote]
Glad I could help.
Posted using