On 06/06/99 Brendan Cully uttered the following other thing:
> Hi all,
> 
> I'm trying to figure out how to use IMAP in mutt and after the basics
> I'm somewhat stumped. I've just upgraded to 0.95.6i since it is
> supposed to have better IMAP capabilities.
> 
> I can connect to my IMAP inbox just fine using {imapserver} as my
> spool, but every time I change folders the connection is closed and
> reopened. I can't set my mail folder to, for instance,
> {imapserver}Mail, because then whenever I try to go to folder view I
> get an error (as if mutt is trying to stat the folder as a local
> directory).

This is a known problem in the stable branch.  Hmm, perhaps we should
put some code in browser.c to notice that a folder is imap, and so to
avoid it.
 
> My IMAP setup is something like this:
> set spoolfile={imapserver}
> set imap_user=brendan
> set imap_pass=password
> mailboxes {imapserver} {imapserver}Mail/mutt-users
> 
> anything I can do to optimise this setup?
> 
> In particular I feel I'm probably doing something wrong if every time
> I change folders the connection to the server is closed and reopened.

I don't believe the connection is closed and reopened, at least it
shouldn't in 0.95.6.  It might say something that it doesn't mean...

You can run mutt with -d 2 and see the debug info in ~/.muttdebug0 and
see if the login command is sent more than once.  I shouldn't be.

About the only way to "optimize" the setup is to go with the devel
branch of code.  It adds support for browsing IMAP folders.

Brandon
-- 
 [Brandon Long                              http://www.fiction.net/blong/]
 "Every program has at least one bug and can be shortened by at least one 
    instruction -- from which, by induction, one can deduce that every
      program can be reduced to one instruction which doesn't work."

Reply via email to