From Microsoft 365 to WebOké: what to clean up in your DNS and at Microsoft
Moving your email from Microsoft 365 to WebOké? Copying your mailboxes is covered in Moving email to WebOké with the email migration tool. This article covers the rest: what to change in your domain's DNS, what to clean up at Microsoft, and in what order. If you skip this, mail will keep arriving at Microsoft or Outlook will keep signing in to Microsoft.
What to watch out for
- The accepted domain. As long as your domain is listed in Microsoft 365 as an accepted domain, Microsoft delivers mail between users in your environment internally, without looking at the MX records. If a colleague who is still on Microsoft emails another colleague, that mail ends up in the old mailbox. So move everyone over on the same day and remove the domain from Microsoft after the switch.
- Autodiscover. Outlook looks up its settings via
autodiscover.jouwdomein.nl. If that points toautodiscover.outlook.comwith a CNAME record, Outlook will keep knocking on Microsoft's door, even when you add a new account. - Quick setup replaces records. Quick setup for WebOké Mail sets up your records in one click, but it replaces the existing MX and SPF records. You'll need to add any other senders in your SPF record back yourself afterwards. See Quick email setup in the DNS.
Step by step
- Back up your DNS. Make a DNS backup first, so you can always go back. See Restoring DNS and making a DNS backup. Also write down which services send mail on behalf of your domain, such as your website, webshop or newsletter service.
- Set up mailboxes and make the first copy. Create the mailboxes at WebOké and copy your mail with the email migration tool. For Microsoft, you sign in with Sign in with Microsoft and a code.
- SPF for the transition. There can be only one SPF record. Add WebOké to that same record, so both are allowed to send during the transition days, for example:
v=spf1 a mx include:webawere.nl include:spf.protection.outlook.com ~all
Keep the includes for your other senders. The SPF builder has buttons for WebOké and Microsoft 365, see DNS helpers: MX, SPF, DMARC, CAA and SRV. - The switchover, for everyone at once. Point the MX records to WebOké and remove Microsoft's old MX. Set delivery to WebOké: on the Email settings card, the Delivery switch is then set to WebOké, and in DirectAdmin, under MX Records, the option Use this server to handle my e-mails is enabled. Quick setup for WebOké Mail does this in one go; afterwards, add the Microsoft include and your other senders back to the SPF record. At the same time, delete the
autodiscoverCNAME record that points toautodiscover.outlook.com. See After the move: MX records and your devices. - Second copy. Run the migration again a day later. Mail that has already been copied is skipped.
- Outlook and devices. Add your WebOké mailbox as a new account (IMAP) and then remove the old Microsoft account. If Outlook for Windows still keeps signing in to Microsoft, create a new Outlook profile with only your WebOké mailbox. See Outlook for Windows (new and classic) and, at Microsoft, Create an Outlook profile.
- After a few weeks: clean up. Once everything works, clean up your DNS and Microsoft (see below), and only then cancel your licences.
What to clean up in the DNS
| Record | During the transition | After the switch |
|---|---|---|
| MX | To WebOké | WebOké only |
| SPF (TXT) | One record with WebOké and include:spf.protection.outlook.com | Remove include:spf.protection.outlook.com, keep your other senders |
DKIM (CNAME) selector1._domainkey and selector2._domainkey | Leave them; they don't interfere with WebOké's DKIM key | Remove |
CNAME autodiscover to autodiscover.outlook.com | Remove at the switchover | Gone |
TXT MS=ms... (verification) | Leave it | Remove after the domain has been removed from Microsoft |
Other Microsoft records, such as enterpriseregistration and lyncdiscover | Leave them | Remove, if you had them |
Then use the Email check to verify that MX, SPF, DKIM and DMARC are set up correctly. If you have a DMARC record with p=quarantine or p=reject, send a test email before the switchover to check that your mail arrives properly signed via WebOké.
Removing the domain from Microsoft
In the Microsoft 365 admin center, go to Settings, Domains, select the domain and click Remove domain. Your users will then get their .onmicrosoft.com address back, also as their sign-in name. So make your last copy with the migration tool first. See, at Microsoft, Remove a domain and Manage accepted domains in Exchange Online.
Want to learn more? Take the free course Switching to a European cloud, lesson 4.3 The switch in the DNS: MX, SPF, DKIM and DMARC.
