There are some scenarios where you might want to migrate your G Suite emails to cPanel. Here is an article that explains how to migrate emails from G Suite to cPanel.
First, we need the following details:
- Username and password for your G Suite email account.
- Password and user account for the cPanel mail account.
Note: If you have not enabled IMAP settings in Gmail, enable it before proceeding with the migration process.
Steps to Enable IMAP Settings in Gmail
- Login to your Gmail account.
- Go to Settings >> Click on “Forwarding and POP/IMAP”
- Look for the "IMAP Access" option
- Then Enable the IMAP, if its disabled.
For ON Less Secure Apps Settings
- Click on Logo >>Manage your Gmail account >>Security >>Scroll down to the page to Less Secure App
- Click to Turn it ON.
Using the following command, you can install the imapsync tool if you don't have it already:
sudo yum install imapsync
Starting the Migration Process
Using the below command on the cPanel server, you can now begin the migration process.
imapsync --host1 imap.gmail.com --port1 993 --ssl1 --user1 gaurav@thatisfun.in --passfile1 /home/gaurav/pass1 --host2 eternity.herosite.pro --port2 993 --ssl2 --user2 gaurav@thatisfun.in --passfile2 /home/gaurav/pass2
The username for the account needs to be replaced with gaurav.
/home/gaurav/pass1 – Store your gmail account password in this file
/home/gaurav/pass2 – Store your cpanel account password in this file
You can migrate to cPanel from G Suite using this method!
Top comments (0)