<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/offline-mode (imap)



Hi,

> is it possible to use mutt in offline mode when using imap? idea is to
> pass mails to the mta without being connected to the imap server.

I am doing something similar on my laptop (Mac OS X, Linux would be
similar, and I'm not sure about Windows) :

- mail is synchronized from an IMAP server to a local Maildir, using
  offlineimap. Then, mutt is configured to access the Maildir instead of
  the server. Moving e-mail between mailboxes is supported, the only
  thing missing is creation of mailboxes while disconnected. As a perk,
  maildir access is very fast (especially with hcache enabled).

- then, apparently you have an mta installed, this will work for sending
  mail.

BTW, there is one thing that is not optimal with my config : nothing is
automatic (i.e. I have to synchronize the mailboxes and flush the MTA
queue manually) - but it is very easy to map the whole thing to a key
within Mutt.

The optimal solution would be for mutt to behave differently according
to whether it is disconnected (=> Maildir) or connected (=> IMAP, with
ideally synchronization of the maildir on the fly). But the right place
to implement that is within mutt, and as far as I know it is not
implemented there.

One cool project could be a "virtual IMAP server" or "caching IMAP
proxy" that does just that - I looked for one and found nothing ... If
anyone knows one, please inform the list !

HTH,

  /vincent

-- 
Vincent Beffara
UMPA - ENS-Lyon
46 allée d'Italie
69364 Lyon Cedex 07
Tél : 04 72 72 85 25