1

Topic: Delited mail account

================ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.6
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi. My English is bad, I use translator .
Mail left from the previous admin. Have not had time to investigate.

I accidentally deleted the usual account v.mail@domain.com , then created the same v.mail@domain.com but letters weren't there.
Connected to the server via WinSCP and using the path to /var/vmail/vmail1/domain.com/V/m in folder v.mail-2016.01.29.11.17.14 ( there are two folders Maildir, sieve with files). And there is a folder v.mail-2018.01.16.11.18.16 it is empty. How can I quickly restore the mail to the user?  PunBB bbcode test PunBB bbcode test

Post's attachments

mail.png
mail.png 17.83 kb, 3 downloads since 2018-01-16 

mail2.png
mail2.png 6.98 kb, 1 downloads since 2018-01-16 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: Delited mail account

Few solutions, choose either one which is easier for you:

*) Copy all emails from old mailbox to the new one. Make sure all copied files are owned by user/group "vmail:vmail", permission 0700.

*) Update maildir path (/var/vmail/vmail1/domain.com/...) in SQL table "vmail.mailbox" of the newly created user to the same as deleted account.