[TriLUG] Documentation on mutt and IMAP

Jeremy Portzer jeremyp at pobox.com
Mon Dec 16 17:41:57 EST 2002


On Mon, 2002-12-16 at 16:21, Dan Monjar wrote:
> I use it to access my work mail from home.... I got the Mutt source, 
> configured --with-imap and --with-ssl and then added these lines to my 
> .muttrc:
> 
> 	set certificate_file = "~/.mutt/certs"
> 	set imap_user = "user"
> 	set imap_pass = "password"
> 	macro index ",d" "c imaps://xxxx.myimapserver.com/INBOX\n"
> 
> So, I fireup Mutt... hit ',' then 'd' and I am logged into my IMAP inbox 
> over a TLS/SSL connection.  The first time Mutt will ask you what to do 
> with the cert...
> 
> Of course, use your real username and password.  The ',d' shortcut isn't 
> necessary but it is an ugly line to have to remember.  This is using the 
> latest 'i' version of Mutt, BTW.
> 

An alternative to setting that macro is to set the "spoolfile" variable,
ie:
	set spoolfile=imaps://USER@moya.trilug.org/INBOX ;

Then mutt will load the INBOX automatically.  See
http://mutt.sourceforge.net/imap/

--Jeremy




More information about the TriLUG mailing list