Forum Discussion
Dovecot mail server/cPanel to Office 365/Exchange Online Migration
Yes, you can do it easily but you have to export all of your emails & mailbox information available as Maildir files. As we all know that Maildir files are not supported to import into Office 365 email account. As Vasil suggested, you should try some third-party toolkit available in market at present. You can search Maildir Migrator in google which provides a direct option for you to do so. Others alternatives are also available like Bitrecover Maildir Converter but it will only convert Maildir to PST files, hence you need to know another way to upload PST to Office 365. I think the previous application i.e. Maildir Migrator is self-capable to do that task as it will only ask you Username & Password of your resultant Office 365 account. These are only a few example, its better for you to try some other alternatives rather than asking it on Microsoft Forums.
Regards,
technical_guruji And anyone who would even consider doing a migration to Exchange Online via PSTs needs to have their mind examined. PSTs should be eliminated whenever possible, and although it's certainly a good thing to ingest PSTs into Office 365, those PSTs should come from a PST eradication project and not a mailbox migration.