Knowledge Base
MilesWeb / cPanel, Email FAQ

Steps to Migrate Office 365 Emails to cPanel

Approx. read time : 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/pass1 –host2 –port2 993 –ssl2 –user2 –passfile2 /etc/secret2/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.

Nehal Khatri
Nehal is an ardent content writer. She's passionate about crafting content that's simple but adds value. Her insatiable interest in writing has allowed her to explore her skills. She is adept and can write for different types of content formats.