Complete.Org: Mailing Lists: Archives: offlineimap: October 2004:
Synching two IMAP folders with different Folder structure
Home

Synching two IMAP folders with different Folder structure

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <offlineimap@xxxxxxxxxxxx>
Subject: Synching two IMAP folders with different Folder structure
From: Christof Baumgärtner <offlineimap@xxxxxxxx>
Date: Fri, 22 Oct 2004 21:28:14 +0200

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 



[Prev in Thread] Current Thread [Next in Thread]