Zimbra Restore Mails From Store Folder
Appearance
The mails can then be recovered by using zmmailbox as the Zimbra user.
Both the commands below give admin rights on zmmailbox prompt, so use any one.
zmmailbox -zadmin
or
zmmailbox adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password
After that we create the 'Recovery' folder, and add messages to that folder from our old store folder.
mbox> selectMailbox agmadmin@witalsee.com mbox agmadmin@witalsee.com> createfolder /Recovery mbox agmadmin@witalsee.com> addMessage /Recovery /opt/zimbra/store.old/0/809/msg/0
'/opt/zimbra/store.old/0/809/msg/0' is the path to the folder containing the mails. Some IDs may have a large amount of mails, resulting in 'msg/1', 'msg/2', etc. These will have to be run one-by-one.