On Tue, 11 Dec 2001, Amy Tanner wrote:

> On Tue, Dec 11, 2001 at 10:29:35AM -0000, Joseph Key (jkey at tomobiki.dyndns.org) wrote:
> > "Austad, Jay" <austad at marketwatch.com> said:
> > 
> > > On almost the same note, does anyone know of a console email app that does
> > > IMAP without the use of fetchmail?  I want one that only grabs the headers,
> > > and then only retreives the whole message when I select it.
> > > 
> > 
> > mutt will do IMAP. 
> > 
> > My question is how do you get mutt to start with the IMAP server selected 
> > instead of the local mail file. When I start mutt I need to change to the 
> > IMAP server to get my mail correctly.
> 
> in your muttrc, add:
> 
> set spoolfile={username at mailserver.domain.com}INBOX
> 
> ...substituting whatever you normally type to change to your IMAP server
> for the spoolfile value.

You can also access it like this:
set spoolfile=imap://username@mailserver.domain.com/INBOX

And if you're paranoid (like me) and your server supports simap, you can have an encrypted connection:

set spoolfile=imaps://username@mailserver.domain.com/INBOX

Of course you need to have a version of mutt compiled with SSL support. (mutt -v)