[oclug] Mutt and IMAP

Rod rod451 at gmx.net
Thu Jan 8 19:13:57 EST 2004


On Thu, Jan 08, 2004 at 04:03:22AM -0500, Vic Gedris wrote:
> On Thu, Jan 08, 2004 at 02:59:52AM -0500, Vic Gedris wrote:
> > 
> > Hey...
> > 
> > When using mutt with IMAP, it it possible to tell it to reference mail
> > folders as, for example, OCLUG instead of INBOX.OCLUG?
> > 
> > I just switched over to using IMAP and it's mostly OK so far, but having
> > to use the INBOX.whatever notation is terribly annoying.
> 
> A helpful person on irc.freenode.net #mutt gave me the simple solution
> to this:
> 
> I just appended "INBOX." to my folder setting in ~/.muttrc
> set folder="{localhost}INBOX."

localhost would reference local mailboxes not those on the IMAP server
wouldn't it?

Here's what works for me (and I'm no expert).  My mail lives on my mail
server in my home dir in a "Mail" directory

here's the snippet from one of my mutt rc files

set spoolfile={mailserver.at.myplace}inbox
set folder={mailserver.at.myplace}Mail
set mbox={mailserver.at.myplace}Mail/Read

To reference mail folders on the IMAP server, I just prepend with an
equals "=" sign ie. "c =oclug"  (and generally tab complete)  For those
most frequent folders I use a macro

ie.  macro index ",o" "c=oclug\n"

> Still a few more things I need to figure out with mutt, but my alarm
> clock goes off in 3 hours. ;-)

The tweaking never ends with mutt :)

mutt rocks,
Rod
  
> 
> Cheers,
> Vic
> 
> -- 
> Vic Gedris             |  Linux and Free Software:  http://oclug.on.ca
> vic-at-gedris.org      |  Bikes and HPVs:     http://hpv.tricolour.net
> http://vic.dyndns.org  |  GNU Privacy Guard (GPG) Key-ID:     D77B43FB





More information about the OCLUG mailing list