Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  cPanel  >  Steps to Migrate Office 365 Emails to cPanel
Top Scroll

Steps to Migrate Office 365 Emails to cPanel

 2 min

In this guide, we will discuss the Office 365 to cPanel migration process.

To start with the process, you first need the below details:

  • Office 365 mail account, username and password.
  • cPanel mail user account and password.

If you don’t have imapsync tool, please install it with the below command:

sudo yum install imapsync

You can start with the migration process from Office 365 to cPanel inside the terminal by using the command.

Note: Run the command on cPanel server.

imapsync --host1 --port1 993 --ssl1 --user1 --passfile1 /etc/secret1 --host2 --port2 993 --ssl2 --user2 --passfile2 /etc/secret2

imapsync –host1 –port1 993 –ssl1 –user1 –passfile1 /home/shnikarts/pass1host2 –port2 993 –ssl2 –user2 –passfile2 /home/shnikarts/pass2

Then you need to replace the Office 365 email to the cPanel username.

Here, Replace shnikarts to account username.

/home/shnikarts/pass1 – Store your gmail account password in this file

/home/shnikarts/pass2 – Store your cpanel account password in this file

This is how you can migrate Office 365 email to cPanel server.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.