• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Import mailbox from Office 365

tizgal

New Pleskian
Hi,

I need to import a few mailboxes now hosted on Office 365 to Plesk.
The import fails with the message "Could not log in to the source mailbox via IMAP. Make sure that the username and password for the source mailbox are correct.".

I am sure about user, password, and IMAP server (outlook.office365.com 993).

Is Mail Import compatible with O365 authentication?
 
I think Office 365 has deactivated normal IMAP/IMAPS logins a while ago. Workarounds that temporarily worked are no longer possible. They only allow their own auth algorithms now.

What you can do instead is to open your mailbox in Outlook as you are used from Office 365 and then add your IMAP mailbox as an additional mail account to the same Outlook profile (very easy done through the "File" > "Account" menu in Outlook. Once you have both set up in the same profile, you can simply drag & drop emails from one into the other. Make sure to use "INBOX" as the prefix path for your IMAP mailbox in Outlook. I'd also have a full backup of your O365 mails before "moving" them. Rather copy then move, because if your internet line is unstable, you may accidentally lose mails over the process.
 
Make sure you even have IMAP enabled on the mailbox in 365 to begin with (It's off by default but you can turn it on per mailbox or through powershell to mass turn on, org policies also needs to allow it).

In all honestly, though, the best option is to export the emails to EML files, zip it up and throw it into roundcube, or export the mailbox as a PST and use a PST converter tool to convert to a MBOX file and upload it to roundcube.

(but if you want my honest opinion, Office 365 is a lot better then trying to self host your own email service, less headaches when it comes to other email providers black listing things and such).
 
Back
Top