Synching two IMAP folders with different Folder structure
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
I try to synch two IMAP folders. Folder 1 on server 1 is called "Test",
folder 2 on server 2 is called "INBOX.Test".
Unfortunately offlineimap tries to create a new folder "Test" on server 1
which fails.
This is part of my config:
---------
[Repository WebDe]
type = IMAP
remotehost = imap.web.de
ssl = no
# remoteport = 993
remoteuser = account1
remotepass = pass1
maxconnections = 1
holdconnectionopen = yes
folderfilter = lambda foldername: foldername in ['Test']
nametrans = lambda foldername: re.sub('^', 'INBOX\.', foldername)
[Repository Fastmail]
type = IMAP
remotehost = mail.messagingengine.com
ssl = no
remoteuser = account2
remotepass = pass2
nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername)
folderfilter = lambda foldername: foldername in ['INBOX.Test']
-----------
Any ideas someone?
Thanks,
Christof
- Synching two IMAP folders with different Folder structure,
Christof Baumgärtner <=
|
|