Emails from one account are missing

Hyflex

Member
May 7, 2015
16
0
1
London
cPanel Access Level
Reseller Owner
Hi,

I'm having an issue with my email accounts where several years worth of emails are "missing" but the folder /home/ACCOUNT/mail/DOMAIN.COM/ is exactly the same size so they do exist, they're just not being detected/registered/imported by my new webhost.

- 2011-2014: Hosted with Bluehost Shared Server
- 2014-2014: Hosted with Vidahost Shared Server
- 2014-2017: Hosted with Vidahost VPS
- 2017: Hosted with Kickassd

All of my emails that I received whilst being hosted with Bluehost are already accessible with my new host and likewise all of my emails that I have received so far with my new host are accessible.

Bare in mind we did NOT use the cPanel Transfer tool when switching hosting from Vidahost to Kickassd, this was my request due to numerous issues caused by the tool when switching from Bluehost to Vidahost and again when we switched from Vidahost Shared to Vidahost VPS.

I assume it's some sort of configuration setting causing the mail server not to detect/register/import the emails that I received when I was hosted with Vidahost...

Any ideas what is wrong and how to resolve the issue without needing to do an IMAP migration?
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
Sorry to hear that @Hyflex,

Could you share the method used to transfer? It sounds like rsync was used and perhaps not all UID's match on the source/destination. Try correcting permissions as below:
Code:
# /scripts/mailperm --verbose $username
You may also consider opening a ticket with us so we can check the issue directly.

Thanks,
 

Hyflex

Member
May 7, 2015
16
0
1
London
cPanel Access Level
Reseller Owner
Hi @cPWilliamL,

It was simply a copy of the accounts from /home/ACCOUNTXXX/etc/DOMAIN.COM to the corresponding directory on the new server. As for the actual messages this was done by copying them from /home/ACCOUNTYYY/mail/DOMAIN.COM. This was done manually by zipping the directory and transferring it to new server where it was unpacked.

Note: ACCOUNTXXX and ACCOUNTYYY have different usernames.
 
Last edited:

Hyflex

Member
May 7, 2015
16
0
1
London
cPanel Access Level
Reseller Owner
Hi,

Any ideas what is going wrong with this, it's quite unusual and really quite annoying because I am unable to access all my old emails easily.
 

sktest123

Well-Known Member
Jan 31, 2017
99
6
8
kochin
cPanel Access Level
Root Administrator
Have you done the mail permission check, you can also do it via whm .
Also you mentioned different account names ????
Please note
/home/x/etc correspons to /home/x/mail
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter

Hyflex

Member
May 7, 2015
16
0
1
London
cPanel Access Level
Reseller Owner
Have you done the mail permission check, you can also do it via whm .
Also you mentioned different account names ????
Please note
/home/x/etc correspons to /home/x/mail
I have no idea what I was mentioning there... let me reword

1) I zipped the following:
Accounts: /home/ACCOUNTXXX/etc/DOMAIN.COM
Mails: /home/ACCOUNTXXX/mail/DOMAIN.COM

2) I copied & extracted the zips to:
/home/ACCOUNTYYY/etc/DOMAIN.COM
/home/ACCOUNTYYY/mail/DOMAIN.COM

We did run a permission fix but that didn't fix it.


It was from cpanel to cpanel, not sure what I am supposed to be seeing.