Cantech Knowledge Base

Your Go-To Hosting Resource

Steps to Migrate Office 365 Emails to cPanel

Migrating emails from Office 365 (Microsoft 365) to cPanel has many steps and can be done using manual methods or specialized migration tools. This blog explains how to Migrate Office 365 in step-by-step instructions.

Firstly install imapsync tool with the below command:

sudo yum install imapsync

Start the migration process from Office 365 to cPanel in the terminal by running below command on cPanel Server

imapsync –host1 outlook.office365.com –port1 993 –ssl1 –user1 [email protected] –passfile1 /etc/secret1 –host2 eternity.herosite.pro –port2 993 –ssl2 –user2 [email protected] –passfile2 /etc/secret2

imapsync –host1 outlook.office365.com –port1 993 –ssl1 –user1 [email protected] –passfile1 /home/shnikarts/pass1 – Store your gmail account password in this file –host2 eternity.herosite.pro –port2 993 –ssl2 –user2 [email protected] –passfile2 /home/shnikarts/pass2

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

By following the above steps you can easily migrate office 365 mails to cPanel.

Improve your hosting experience with Cantech’s cPanel VPS hosting

With Cantech’s cPanel VPS Hosting you can enjoy full control on multiple sites, and user friendly intuitive interface. Avail high speed 1 gbps connectivity with improved security and storage powered by KVM technology for maximum performance.

Contact us today and transform your hosting experience !

June 11, 2025