1

Topic: Deleted mailbox account

==== Required information ====
- iRedMail version: 1.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Centos 6.4
- Related log if you're reporting an issue: N/A
====

Dear sir,

I was accidently deleted an account in iRedAdmin, is there any possibility to recover back the deleted account.
Thanks in advance.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Deleted mailbox account

Unfortunately, you cannot recover it with iRedAdmin-Pro. But you can recover it from your daily backup, iRedMail generates a daily cron job to backup mail accounts daily under /var/vmail/backup, i hope you have this cron job running. Check it.

3

Re: Deleted mailbox account

Dear ZhangHuangbin,

How am I going to recover from the backup file.
Thanks in advance.

4

Re: Deleted mailbox account

You have backup file? Great.

*) Backup file is a plain SQL file compressed with bzip2, you can uncompress it with 'bunzip2', open it with your favourite text editor (vi/vim, emacs, etc), search this file with email address of your deleted user.

*) You should find two records, one in table 'mailbox', another one in table 'alias'. now you have required data to re-create this user.

5

Re: Deleted mailbox account

Thank you Mr. Zhang, you've helped me.