Hi,
Sorry for the ambiguity!
I am using imapsync with the script below which reads from the list users from a text file (LDAP dump)
Code:
cat /root/users.txt | while read line; do
imapsync --authmech1 PLAIN --authuser1 adminuser1 --password1 secret1 --ssl1 --ssl2 authmech2 PLAIN --authuser2 adminuser2 --password secret2
--user1 "${line}" --user2 "${line}" --host1 oldserver --host2 localhost --port1 992 --subscribe --syncinternaldates --buffers$
done It works great for everything including the sent folders etc but I'm not sure how to get around the fact the in reality folders in cyrus are as such.
user.thesubmitter.inbox
user.thesubmitter.trash
etc....
what happens is if for example I have a shared folder in cyrus that I have access to called user.jobs with many other users it gets migrated into zimbra as a folder under my own account and then again as a unique folder under each other user's account who have access. I have used the prefix option for INBOX. but I'm not sure how that would help here as the key is to get the folders to be moved so they are on the same level as the user's inbox so even as imapsync goes through each user's folders it will keep finding the shared folder and only need to transfer it once.
Thanks In Advance