Sometimes It looks that migrating the mail server is very Critical but when we talk about the cPanel, migration of mail Server is Very easy. Mail Server Setup is done at the time of Installing cPanel it self, Only the thing which we have to look is the migration of Mail Accounts along with all mails (Inbox, sent, deleted etc.)
Migration of all the email accounts can be done is few minutes only, you Just need to copy mail releated data from older cPanel to the new one and with that all you mail accounts along with respective emails will be migrated.
Let’s See how we can do it in 2 Simple steps.
Step 1: Compress and Download mail data.
Login to cPanel and Go to File Manager. Inside that Follow the path as below.
File Manager => mail ==> <your_domain>
All the domain added to the cPanel will have separate folder inside the mail folder. For this article, take an example of “devopsage.tk“
Now Compress “devopsage.tk” folder Inside the mail folder and download it. This folder will have all the email data that you need to import back to the new cPanel, but this will not contain your email Account User’s and password. In order to migrate the Username and password of the email Account along with all emails, download the below folder as well.
FileManager => etc => <your_domain>
Make a Zip of it and Download.
Now Login to the New cPanel and Upload these folder their exactly at the same path.
For email data,
FileManager => Mail => <Upload here>
For Username and password
FileManager => etc => <Upload here>
So that’s it, you are done with migrating all your emails of all email Account’s to the new cPanel Account.
If you Like Our Content here at Devopsage, then please support us by sharing this post.
Please Like and follow us at, LinkedIn, Facebook, Twitter, and GitHub
Also, Please comment on the post with your views and let us know if any changes need to be done.
How to Install WordPress on Top of LAMP Stack on Ubuntu and Redhat/CentOS7 Server.
How to Install and Setup WHM and cPanel On CentOS7 – Part 1
Basic WHM Configuration and Hosting a Website in cPanel Account – Part 2
How to Create Email and FTP Account in cPanel – Part3
How to Redirect Primary Domain to a Specific Folder in cPanel.
Issue – cPanel Email Going to Spam.
Unable to Login cPanel FTP with Failed to Retrieve Directory Listing Error
How to Migrate WordPress Website to cPanel – Part 4
How to use an SSL Certificate for your cPanel Website for Free – Part 6
Redirect HTTP to HTTPS for your Website on cPanel – Part 7
How to Upgrade and Downgrade MariaDB Version in WHM/cPanel – Part 8
cPanel – phpMyAdmin asking for Username and Password. Error – Access Denied.
I followed this step carefully. However, the old email message did not show when I login to the new server email account.
Only welcome message is there.
Can you please guide me further.