Email migration is a critical process, especially when you are moving them from one server to the other. Your main focus is on having minimal issues from user side and transfer mails without any downtime.
Transferring email accounts from one cPanel server to another one is not a very complicated affair, considering that you have some basic knowledge about cPanel and FTP.
We will use terms old cPanel server (the email accounts are on this server) and new cPanel server (email accounts need to be moved to this server). The domain name we will call it
mydomain.com Below are the steps to follow
Open your FTP client, connect to the cPanel account to reach the email accounts and the messages are located. Go to the etc/ folder (located under /home/cpaneluser/etc/). Here you will see a folder named mydomain.com (the name of the domain you want to transfer the accounts/messages for). Download this folder to your local PC. This folder contains the email addresses (server configuration setup, encrypted passwords, etc.) associated with the domain.
Now connect with FTP client to the cPanel where to which you want to transfer the accounts. Go to the etc/ folder and upload the previously downloaded mydomain.com folder.
The transfer of the email accounts is completed.
Repeat the process done in step 1. This time, you should go to the mail/ folder (located under /home/cpaneluser/mail/). Download the directory called mydomain.com to your PC. This directory contains the messages for mydomain.com. This may take some time to download depending on the size of messages on the cPanel.
Now connect to the other FTP account where you want to transfer the messages and upload the folder mydomain.com to the mail/ directory.
The transfer of your email accounts and messages is completed.