You're viewing a single post. I have much more to say! The main blog page is a good starting point.
Thursday, June 15, 2006 ★ 14:29 ★ Category Linux
If you use Mutt to access an IMAP server that runs on the same host, there’s no need to provide a password to login to your IMAP server. Put the following in your ~/.mutt/muttrc (adapt it to your own setup):
set spoolfile = imap://buttercup.townsville/INBOX.inbox set folder = imap://buttercup.townsville/INBOX. set tunnel="imapd 2>/dev/null"
The trick is the tunnel setting. Put ssh -q hostname in front of it if you use ssh keys without a password and want to log into a remote IMAP host. Example:
set tunnel="ssh -q buttercup.townsville imapd 2>/dev/null"
Oh, and my hostnames come from the Powerpuff Girls show.
Random photo from Turkey (May, 2005)
Wouter Bolsterlee, also known as uws, a postmodern geek living in the Netherlands. Read more about me…
Unless stated otherwise, all material on this site is available under a Creative Commons Share-Alike license.