e-mail account restore procedure(open source)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
Rambabu
Posts: 4
Joined: Tue Apr 17, 2018 10:48 am

e-mail account restore procedure(open source)

Post by Rambabu »

One of our users e-mail account has been deleted automatically from zimbra server.As observed that even the e-mail account was deleted from the server but all corresponding entries of that particular e-mail account is still avilable in the database.Here the problem is we are unable to resotre or recreate the same e-mail account with that avilable database entries.

Please help me in this regard.
Rambabu
Posts: 4
Joined: Tue Apr 17, 2018 10:48 am

Re: e-mail account restore procedure(open source)

Post by Rambabu »

Unble understand the accounts listing data in zimbra administration portal, because we have checked the below areas in zimbra mysql database against the deleted account.
1. verified mailbox table in zimbra database[

Code: Select all

MariaDB [zimbra]> select id, account_id from mailbox where id=217;
+-----+--------------------------------------+
| id  | account_id                           |
+-----+--------------------------------------+
| 217 | 076a258c-6b02-4797-b2a6-b7e7d17bb9ed |
+-----+--------------------------------------+
1 row in set (0.00 sec)
2. Not finding with zmprove

Code: Select all

[zimbra@t-mail root]$ zmprov ga marketing@xxxxxxxx.com
ERROR: account.NO_SUCH_ACCOUNT (no such account: marketing@xxxxxxxx.com)
3. While creating the account

Code: Select all

Unknown error!
Message: entry not found - unable to create entry: ldap host=mailx00156.xxxxxxxx.com:389: no such object Error code: ldap.ENTRY_NOT_FOUND Method: [unknown] Details:soap:Receiver
Please find the additional information on the issue.
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: e-mail account restore procedure(open source)

Post by DualBoot »

Hello,

you should show the full command you used to create the account.
But as far as I know, you have orphan entry into your SQL databases, this means that only LDAP entry has been remove from a delete action.
You can retrieve the account by recreating it with the same account Id.

Regards,
Slumdog
Posts: 5
Joined: Sat Feb 03, 2024 10:00 am

Re: e-mail account restore procedure(open source)

Post by Slumdog »

Hi, I'm having the same problem.
After a force reboot some accounts are seen as orphan and not showing in Gui.
In mysql they are present.
Im using zxsuite, so restoring with account_restored@ works, but when trying to rename to original, it says that account allready exists.
Zextras support says it's a Zimbra problem and they do not give support.

Please advise, how we can restore these accounts?
Post Reply