Quote:
|
Originally Posted by raj2569 This is the imapcopy log: Code: From software : 2 CAPABILITY
To software : 2 CAPABILITY
From capability : QUOTA STARTTLS NAMESPACE IDLE THREAD=ORDEREDSUBJECT ACL SORT UIDPLUS CHILDREN ACL2=UNION IMAP4REV1 THREAD=REFERENCES
To capability : ID QUOTA NAMESPACE STARTTLS IDLE LOGIN-REFERRALS UNSELECT LITERAL+ UIDPLUS CHILDREN IMAP4REV1
From separator : [.]
To separator : [/]
++++ Calculating sizes ++++
From Folder [INBOX] Size: 46569342 Messages: 1585
From Folder [INBOX.Drafts] Size: 4079 Messages: 3
From Folder [INBOX.Junk] Size: 3014 Messages: 1
From Folder [INBOX.Sent] Size: 10812495 Messages: 1211
From Folder [INBOX.Trash]
++++ Calculating sizes ++++
To Folder [Drafts] Size: 0 Messages: 0
To Folder [INBOX] Size: 46488614 Messages: 1572
To Folder [INBOX/Drafts] Size: 4079 Messages: 3
To Folder [INBOX/Junk] Size: 3014 Messages: 1
To Folder [INBOX/Sent]
To Folder [Junk] Size: 0 Messages: 0
To Folder [Sent] Size: 0 Messages: 0
To Folder [Trash] Size: 0 Messages: 0 It seems for zimbra all folders are in the root level rather than as subfolder of [INBOX] Any idea how to configure imapcopy not to create subfolders?
raj |
The answer to this comes from the imapsync FAQ (
http://www.linux-france.org/prj/imapsync/FAQ), as I was just trying to figgure this out my self:
Q. Give examples about --regextrans2
R. Examples:
1) To remove INBOX. in the name of destination folders:
--regextrans2 's/^INBOX\.(.+)/$1/'
2) To sync a complete account in a subfolder called FOO:
--regextrans2 's/^INBOX(.*)/INBOX.FOO$1/'