I´m trying to import user mailboxes from the terminal but I always get the wrong dates in the mail messages (all dates get the date the import was, not the mail message header date).
Here is what I do:
1) Export a users mailbox when logged into his web client:
2) Move the ZIP to the new Zimbra server
3) Import the users mailbox from the Servers terminal with:
I tried the adding "/tb" to the username to try fixing the dates but it was not recognized by the server (no such account).
zmmailbox -z -m firstname.lastname@example.org postRestURL “//?fmt=zip&resolve=reset” /tmp/username_domain.zip
Any ideas to fix the dates/time stamp?
** Edit **
I also tried CURL with the same results... wrong dates:
Running on Zimbra 6.0.8_GA_2261.FOSS
curl -k -u admin:password --data-binary @/tmp/username_domain.zip "https://mydomain2.com:email@example.com/?fmt=zip&resolve=skip"