Topic: Backup and restore individual emails

==== Required information ====
- iRedMail version: .0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu  12.04
- Related log if you're reporting an issue:

I have box format - lette= file
# Mail location and mailbox format.
mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/

I want to restore a single letter or several letters to selected users. How to do it?


Re: Backup and restore individual emails

iRedMail stores mail in plain file, so just find the emails you want to restore in backup copy, then copy them to user's mailbox with correct file owner (vmail:vmail) and permission (0700).


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3 (edited by Xan 2013-11-25 17:16:46)

Re: Backup and restore individual emails

Assume a user accidentally deleted emails of 100 Mb.  Then he receives or sends still what that letter. A few days later I restored him these letters. What will happen to the counter and the counter volume of letters mailbox?