Seeing that no one has any major issues with my plans, I'm wondering if someone with some scripting skills can help me automate the task.
I know that I can export from the command line like the following
And that I can likewise import mailboxes on the new server:
/opt/zimbra/bin/zmmailbox -z -m email@example.com getRestURL “//?fmt=tgz” > /tmp/account.tgz
If I could have a script that would cycle through all of the accounts on the old server and export them as separate files, having the email address/user as the file name, I'd be cooking.
/opt/zimbra/bin/zmmailbox -z -m firstname.lastname@example.org postRestURL “//?fmt=tgz&resolve=reset” /tmp/account.tgz
Thanks in advance!