SOLVED Restore email from backup?

fullfatdesigns

Well-Known Member
Aug 1, 2014
72
11
8
cPanel Access Level
Root Administrator
Hi

I recently migrated a clients email from an imap server on her cpanel account to an office365. Whilst doing this I missed the emails in the inbox folder and only copied over the subfolders.

I have a backup, and I can see all the mailbox folders, but which file do I need for the inbox?

Regards
Wayne
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
465
113
UK
cPanel Access Level
Root Administrator
Assuming you are using maildir, have a look in /home/<user>/mail/<domain.tld>/<mailname>/cur

So if the cPanel user was myclient and the email address was [email protected] you would be looking for

/home/myclient/mail/domain.tld/clientname/cur

Hope this helps
 
  • Like
Reactions: cPanelMichael

fullfatdesigns

Well-Known Member
Aug 1, 2014
72
11
8
cPanel Access Level
Root Administrator
Thanks for your reply.

It took me a while to realise, just because I'd deleted the clients mailbox from her laptop, the emails were still on the server, so I no longer need to use the backup. Thanks for your reply though.

Regards
Wayne
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello Wayne,

I'm glad to see it worked out. I've marked this thread as solved.

Thank you.