Accidently deleted mail box of an email account , how can we retrieve that specific mail box of a email account as we have the daily backup from cpanel without disturbing the existing mails
Please let me know how to retrieve it
Accidently deleted mail box of an email account , how can we retrieve that specific mail box of a email account as we have the daily backup from cpanel without disturbing the existing mails
Please let me know how to retrieve it
Hello,
Try the following steps,
1. Extract the backup of the particular user and cd to the extracted folder ( tar -xvzf cpmove-user.tar.gz )
2. There you can see a homedir.tar file; now untar it ( tar -xvf homedir.tar )
3. When untar is over, you can see a "mail" directory.
4. switch to it and you can see the domain.com directory; cd to it and list the files / directroies
5. Now you can see your mail user's email box. Copy it and paste it to /home/user/mail/domain/.com/
6. Make sue a symlink is created /home/user/mail/ to that email folder. You can refer other email account and see those symlinks for reference.
6. Try to send a test mail.
7. Done!
Thank you.
Hello
Let me just check as you posted and come back as domain is sizing around 40GB