restore mails existent in store

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
lethargos
Posts: 19
Joined: Thu Oct 20, 2016 12:32 pm

restore mails existent in store

Post by lethargos »

Hi,
I have a bunch of e-mails in /opt/zimbra/store/0/mailbox_id/msg that I cannot see when I log in with the user's account on webmail. These e-mails have been deleted. Is there a way to restore them so that I can see them properly in the user's mailbox?

Thank you.

I'm using ZCS 8.6.0
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: restore mails existent in store

Post by DualBoot »

Hello,

you can try with the zmlmtpinject command.

Regards,
bill77se
Advanced member
Advanced member
Posts: 92
Joined: Sat Sep 13, 2014 2:19 am

Re: restore mails existent in store

Post by bill77se »

Hello,

A Zimbra doesn't start, I succed to copy the the store with all the mesages, then I've put it back in the store the messages and try the comand zmlmtpinject /opt/zimbra/bin/zmlmtpinject -d ./ -r user@domain.com, I receive an mail injected but no details no text inside its come from the unknown user.

Please help me to restore my emails.

Regards
Vishnu
Zimbra Employee
Zimbra Employee
Posts: 8
Joined: Mon Oct 17, 2022 10:37 am

Re: restore mails existent in store

Post by Vishnu »

Hi,
Can you try zmlmtpinject command like

/opt/zimbra/bin/zmlmtpinject /opt/zimbra/store/#/#/msg/0/* -r user@domain.com

and also you can follow this https://wiki.zimbra.com/wiki/Lmtpinject
bill77se
Advanced member
Advanced member
Posts: 92
Joined: Sat Sep 13, 2014 2:19 am

Re: restore mails existent in store

Post by bill77se »

Hi there,

Thank you for help but with this command isn't sorted by date or send box, inbox, subfolders, contacts.

Its there any way to srt this out!?!?!?

Regards
Post Reply