<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi.<BR>
<BR>
This is my third or forth attempt at seeking assistance with this idea I have. Perhaps I'm not explaining myself correctly or what I want is simply not possible but I haven't had a single response so I have no idea if it's either...<BR>
<BR>
GOAL: Synchronize select folders -including it's subdirs- from an IMAP server to select subfolders on another IMAP server.<BR>
<BR>
I'm almost there with this config:<BR>
<BR>
1 [general]<BR>
2 accounts = testing1<BR>
3 maxsyncaccounts = 2<BR>
4 metadata = ~/.oli-test<BR>
5 <BR>
6 [Account testing1]<BR>
7 localrepository = testing1-Local<BR>
8 remoterepository = testing1-Remote<BR>
9 <BR>
10 <BR>
11 <BR>
12 <BR>
13 <BR>
14 [Repository testing1-Remote]<BR>
15 type = IMAP<BR>
16 remotehost = mail.domain1.com<BR>
17 remoteuser = user@domain1.com<BR>
18 remotepass = pass<BR>
19 nametrans = lambda foldername: re.sub('^INBOX\.*', 'INBOX.fake_inbox', foldername)<BR>
20 folderfilter = lambda foldername: foldername in ['INBOX', 'INBOX.fake_inbox.sub1', 'INBOX.fake_inbox.sub2', 'INBOX.fake_inbox.Sent']<BR>
21 <BR>
22 [Repository testing1-Local]<BR>
23 type = IMAP<BR>
24 remotehost = mail.domain2.com<BR>
25 remoteuser = <A HREF="mailto:testing1@plecavalier.com">user@domain2.com</A><BR>
26 remotepass = pass<BR>
27 nametrans = lambda foldername: re.sub('^INBOX\.*', 'INBOX.fake_inbox', foldername)<BR>
28 folderfilter = lambda foldername: foldername in ['helpsys', 'INBOX.fake_inbox.sub1', 'INBOX.fake_inbox.sub2', 'INBOX.fake_inbox.Sent']<BR>
<BR>
So with this I get the desired effect of the my root becoming INBOX.fake_inbox in my mailbox. this fixed my initial issue of my INBOXs to colliding.<BR>
<BR>
PROBLEM: I can't get sub1 and 2 to sync.<BR>
<BR>
QUESTION: Any idea why?<BR>
<BR>
BACKGROUND NFO: OfflineIMAP 6.2.0, remote is Courier and local is Cyrus<BR>
<BR>
Thanks in advance for any advice.<BR>
<BR>
Phil
</BODY>
</HTML>