I'm trying to export all of our users' mailboxes to .pst (aka .zdb) format so that our archival software can work with them.
I have a functional, if not super elegant, way of doing this.
Step #1: grant an administrative account permissions to access the mailbox:
Step #2: Open Outlook using the admin account and select "Open Other User's Mailbox", and point it at the appropriate account. Outlook proceeds to open it and create a .zdb file with the whole mailbox in it.
zmmailbox -z -m firstname.lastname@example.org modifyFolderGrant / account email@example.com rwixda
The problem is, the file that gets created is called "Zimbra1.zdb", "Zimbra2.zdb", etc. If I was doing one account at a time I would just go in there and I could rename it. But need to do 100+ at a time. It gets untenable trying to manage that many files without knowing which mailbox they came from. Is there some way to either change the file names or figure out after the fact which mailbox is in which .zdb file?
I'm also interested in alternate suggestions for creating .pst file dumps of mailboxes.
Thanks so much!