How to Migrate Office 365 Emails to cPanel?

To start the migration process, you will need the following details:

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

If you don’t have the imapsync tool, please install it using the following command:

sudo yum install imapsync

You can start the migration process from Office 365 to cPanel inside the terminal using the following command. Run the command on the cPanel server:

imapsync –host1 outlook.office365.com –port1 993 –ssl1 –user1 ruksar@thatisfun.in –passfile1 /etc/secret1 –host2 eternity.herosite.pro –port2 993 –ssl2 –user2 ruksar@thatisfun.in –passfile2 /etc/secret2

Here’s another example command:

imapsync –host1 outlook.office365.com –port1 993 –ssl1 –user1 ruksar@thatisfun.in –passfile1 /home/yourusername/pass1 –host2 eternity.herosite.pro –port2 993 –ssl2 –user2 ruksar@thatisfun.in –passfile2 /home/yourusername/pass2

Make sure to replace ‘yourusername‘ with your actual username:

  • Store your Office 365 account password in this file.

/home/yourusername/pass1

  • Store your cPanel account password in this file.

/home/yourusername/pass2

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

Was this article helpful?

Related Articles