About the local repository

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Oct 5 17:01:35 BST 2011


On Wed, 5 Oct 2011 11:59:04 +0200, David Soulayrol <david.soulayrol at gmail.com> wrote:
> Is it correct to use the same local repository for multiple accounts?
> Does it have some drawbacks?

https://raw.github.com/spaetz/offlineimap/master/docs/MANUAL.rst

haring a maildir with multiple IMAP servers
--------------------------------------------

 Generally a word of caution mixing IMAP repositories on the same
 Maildir root. You have to be careful that you *never* use the same
 maildir folder for 2 IMAP servers. In the best case, the folder MD5
 will be different, and you will get a loop where it will upload your
 mails to both servers in turn (infinitely!) as it thinks you have
 placed new mails in the local Maildir. In the worst case, the MD5 is
 the same (likely) and mail UIDs overlap (likely too!) and it will fail to
 sync some mails as it thinks they are already existent.

 I would create a new local Maildir Repository for the Personal Gmail and
 use a different root to be on the safe side here. You could e.g. use
 `~/mail/Pro` as Maildir root for the ProGmail and
 `~/mail/Personal` as root for the personal one.

 If you then point your local mutt, or whatever MUA you use to `~/mail/`
 as root, it should still recognize all folders. (see the 2 IMAP setup
 in the `Use Cases`_ section.


Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20111005/9d846d7a/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list