Mulitple accounts get messed up

Jordi Inglada jordi.inglada at
Thu Nov 17 09:23:42 GMT 2011


Thanks for your help. Now I undestrand the problem. In the meanwhile,
what I have done is just keep as IMAP type my main account and move to
Maildir type the other accounts. This works for me using the

By now this is OK for me, but I will keep in mind your suggestion for
further optimization (and for when I'll have some spare time to test!).

Thanks again very much to everybody for your help.


Sebastian Spaeth <Sebastian at> wrote:
> On Mon, 14 Nov 2011 22:17:08 +0100, <ji at> wrote:
>> Hi Daniel,
>> Thanks for your answer.
>> I have tried using something like 
>> localfolders = ~/Maildir/AC1
> The localfolders setting only makes sense in a "Maildir" type repository
> and not in IMAP one.
> Are you really surprised that you end up with all accounts being
> synchronized? I mean that is what you actually request...
> If you don't want them to be mixed up you'll need to use namespaces and
> filters to prevent that Remote1/INBOX gets synced with Local1/INBOX and
> then Local2/INBOX (which points to the same folders as Local1) to
> Remote2/INBOX.
> If you specify this in Remote1 repository:
> nametrans = lambda foldername: re.sub('^INBOX/IMAP1', '', foldername)
> and this in Local1:
> folderfilter = lambda foldername: foldername.startswith('INBOX/IMAP1')
> You will sync the content of serverA into its own namespace on the local
> side, and it will prevent all unrelated local folders from trickling
> into the Remote side.
> Does something like this work for you?
> Sebastian
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at
> OfflineIMAP homepage:

18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel. +33.(0) - Fax. +33.(0)

More information about the OfflineIMAP-project mailing list