Mulitple accounts get messed up
Sebastian at SSpaeth.de
Thu Nov 17 07:50:14 GMT 2011
On Mon, 14 Nov 2011 22:17:08 +0100, <ji at jordiinglada.net> 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
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project