We're currently running Zimbra NE 6.0.10 in a multi-server environment, and we encountered a problem (with an account import script) where archive accounts were duplicated.
Each account now has two zimbraArchiveAccount attributes, and thus two archive mailboxes. We need to consolidate or merge the archive mailboxes for each regular mailbox, and I'm looking for advice on the best way to approach this.
At the moment, I'm thinking of writing a script to enumerate all/each account, determine the zimbraArchiveAccount attribute values, remove the duplicate, merge/sync the archive mailboxes, and then delete the duplicate archive maibox. Sounds like imapsync is the tool to use here for syncing.
Has anyone else accomplished something similar? Any advice?