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 serverCode:http://mydomain.com/user/username@mydomain.com/?fmt=zip&query=is:anywhere
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).Code:zmmailbox -z -m username@mydomain2.com 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.FOSSCode:curl -k -u admin:password --data-binary @/tmp/username_domain.zip "https://mydomain2.com:7071/home/username@domain.com/?fmt=zip&resolve=skip"


LinkBack URL
About LinkBacks


