Nickolai Dobrynin wrote:

> I've been using GNUS v5.13 with built-in IMAP, and I would like to
> cache my entire e-mail storage locally. I would like to use caching in
> a way that makes the e-mails visible to other clients outside
> GNUS. Maildir seems like a good choice for this.

Hello, are you aware of the solution where dovecot is run locally
on-demand (there’s no daemon) and stores mail in Maildir format?
I think that there are several people here besides me who are using it.

Email is fetched with an IMAP-to-IMAP synchronizer like mbsync from the
isync package.

Gnus accesses mail through IMAP by running dovecot on-demand.  I use the
following:

(setq my-nnimap-shell-program
      "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/%s/ 
2>>$HOME/.dovecot.err")

Other email clients can either access the Maildir directly, or talk to
the local dovecot like Gnus or the sync program.

Cheers
Christoph

Reply via email to