wonder_wonder

Well-Known Member
Jan 16, 2019
105
37
28
Spain
cPanel Access Level
Root Administrator
Hello.
I know that, CWP is a unsupported control panel, I know this...
One of my client, have their site in this CWP.
I know migrate all (files, databases, account...) but the problem for me is the emails (the best important for this client) have about 13 emails accounts and I have a old backup of cpanel (before their migrate to cwp...after a time, return to me for work with cPanel).
I can restore this old backup of their cpanel account (this backup was made in centos7, and now I work with almalinux) I think isn't a problem.

And in this point I stoped.
How sincronize all mails?
Its possible with one rsync? Or other utility?

Thanks in advance!!
 

wonder_wonder

Well-Known Member
Jan 16, 2019
105
37
28
Spain
cPanel Access Level
Root Administrator
Thanks to all for the reply.
I don't know abot any of this tool, and ask this before read about.

Server1: CWP with the mails.
Server2: cPanel

I transfer all manually, but the mails with some of this tools, I need know the password of mais accounts or recreate mails accounts, mails and passwords from server1 to server2?

I don't know if I'm explained well...

Thanks and regards.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,030
313
cPanel Access Level
Root Administrator
In the past we have also recommended this tool as well:


Unfortunately there are not any automated tools built-in to cPanel at this time that will help with the migration. We do have some additional details on how to manually migrate accounts here:

 

wonder_wonder

Well-Known Member
Jan 16, 2019
105
37
28
Spain
cPanel Access Level
Root Administrator
Thanks for your answer.
I had seen those threads, and others too, I think it's going to be more complicated than I thought.
If I have full access to the entire old server, from what I see, the mail, folders, files ... etc ... I think that's what is called maildir has the same structure.
As I have an old cpanel backup (this account was already in cpanel) it would be to restore it and then with an rsync add the new emails, as I say, the structures and files are the same.
The problem would be if I did not have that previous backup of cpanel, which although it is from a long time ago, it serves the purpose for me.
I think with rsync I can.
But this is theory, until I put it into practice ...

Thanks.
 

wonder_wonder

Well-Known Member
Jan 16, 2019
105
37
28
Spain
cPanel Access Level
Root Administrator
I can put a screenshot of the CWP email structure (so it can serve other users and cPanel) but I see them the same, same structure, same files, everything the same.
Keep in mind that, my client told me that CWP if they have an import tool from cPanel and that was the one they used, after a while, they have decided to come back to me with cPanel.
I think that being the same structure and so on, it is possible that rsync works.

Then later I will put a capture (covering the sensitive data).
 
  • Like
Reactions: cPRex

wonder_wonder

Well-Known Member
Jan 16, 2019
105
37
28
Spain
cPanel Access Level
Root Administrator
First of all, sorry for the delay in this reply, lately I don't have time for everything :)
I have seen that the structure is the same, below I put a screenshot of the structure of the mail folder (it is in / var / vmail / account name / folders corresponding to the different mail accounts) and I see it the same as in cPanel. Once inside a folder of an email account, I see the same structure.
I have not done the test yet, I have to find one day that my client under cpanel does not have the server in production and can perform the tests, but I think that, having the email accounts created, an rsync will be enough: (I delete the owner name because is the name of the web ... :))
 

Attachments

cPJustinD

Administrator
Staff member
Jan 12, 2021
286
52
103
Houston
cPanel Access Level
Root Administrator
Hey there! Given the similarity in file structures, I don't foresee any reason it shouldn't work aside from ownerships. However, if there are issues with the permissions or ownerships, those can likely be corrected via chown and chmod.

If you encounter other issues or have any additional questions or concerns, please let us know!