Email Migration Guide

Migrate from Microsoft 365 to RuangMail

A cutover guide from Exchange Online/Microsoft 365 to RuangMail using SmarterMail Mailbox Migration and secure DNS changes.

Advanced2-6 hours
Diagram of migrating Microsoft 365 to RuangMail

Safe DNS Order

1. Before Migration

Do not move the MX records yet. Keep the old email DNS active so new messages continue arriving at the old provider while data is imported into RuangMail. If possible, lower the DNS TTL to 300 seconds a few hours before cutover.

2. During Migration

In RuangMail, create the domain and mailboxes first. When entering the Server Address in SmarterMail, use the old server address that is still accessible, such as the old provider hostname or mail.yourdomain.com before moving the mail DNS.

3. After Data Is Copied

After the initial migration is complete, run a second sync for newly received email. Only then change the MX, mail CNAME, SPF, DKIM, DMARC, and autodiscover records to RuangMail.

If your old hostname is also mail.yourdomain.com, make sure it is not pointed to RuangMail before the migration is complete. If it has already changed, use the old provider's original server hostname so SmarterMail can still pull the source data.
SPF and DKIM are required after cutover. If either record is invalid, domain delivery may fail or be blocked. If the domain uses other sending services such as a website, newsletter, or CRM, combine SPF into a single TXT record. Do not create two separate SPF records.

RuangMail DNS Records After Migration

Use your own domain for hosts such as @, mail, _dmarc, and the DKIM selector from the RuangMail dashboard.

MX@ or primary domainmx1.mxfilter.net. priority 10SpamExperts Mail Exchange
MX@ or primary domainmx2.mxfilter.net. priority 10SpamExperts Mail Exchange
MX@ or primary domainmx3.mxfilter.net. priority 20SpamExperts Mail Exchange
MX@ or primary domainmx4.mxfilter.net. priority 20SpamExperts Mail Exchange
CNAMEmaileu1.workspace.org.SmarterMail webmail and portal
CNAMEautodiscovereu1.workspace.org.Auto-configuration / MAPI
TXT@ or primary domainv=spf1 include:_spf.workspace.org -allRuangMail sending SPF
TXT_dmarcv=DMARC1; p=none; sp=noneSafe initial DMARC policy for monitoring
TXTDKIM selector from the dashboardv=DKIM1; k=rsa; h=sha256; p=...DKIM is required to reduce blocking risk

How to Migrate from RuangMail SmarterMail Webmail

  1. 1Sign in to RuangMail webmail at mail.ruangmail.com using the destination email account you created.
  2. 2Click the Settings icon, then open Connectivity.
  3. 3On the Mailbox Migration card, click Migrate.
  4. 4Choose the matching source service, such as Microsoft 365. If there is no dedicated option, use Other Mail Server or IMAP.
  5. 5Fill in Items to Import. Email is generally available; contacts, calendars, tasks, and notes can be included only when supported by the source provider.
  6. 6Enter the old server in Server Address, choose IMAP for Type, use port 993, enable Require SSL, then enter the old account email and password.
  7. 7Do not enable Delete existing SmarterMail mailbox items unless you intentionally want to remove the existing RuangMail mailbox content and replace it with the migrated data.
  8. 8Start the migration and let it run in the background. You can continue using SmarterMail while it runs.

For migration from another SmarterMail server to RuangMail, MAPI/EWS must be enabled on the source server for contacts, calendars, tasks, and notes to transfer. With IMAP only, generally only email and mailbox folders are moved.

Before You Start

  1. 1Make sure you have access to Microsoft 365 Admin Center, Exchange Admin Center, and the domain DNS.
  2. 2Inventory users, shared mailboxes, aliases, distribution groups, and forwarding rules.
  3. 3Confirm requirements for contacts, calendars, OneDrive, and Teams because IMAP email migration does not move those data types.

Export and Prepare from Microsoft 365

  1. 1Make sure Exchange Online IMAP access is available for the accounts being migrated.
  2. 2Prepare an app password or compatible authentication method for the migration.
  3. 3Export PST files from Outlook for executive mailboxes or important archives as an additional backup.

Import to RuangMail

  1. 1Create the required email accounts, aliases, and shared identities in RuangMail.
  2. 2Sign in to mail.ruangmail.com, open Settings > Connectivity > Mailbox Migration, then choose Microsoft 365/Office or use outlook.office365.com if requested.
  3. 3Synchronize in stages: priority accounts, daily active accounts, then archived or rarely used accounts.

DNS Cutover

  1. 1After synchronization is complete, point the Microsoft 365 MX records to mx1.mxfilter.net, mx2.mxfilter.net, mx3.mxfilter.net, and mx4.mxfilter.net.
  2. 2Point the mail and autodiscover CNAME records to eu1.workspace.org, then remove Microsoft 365 from SPF if it no longer sends email.
  3. 3Add DKIM from the RuangMail dashboard and start with DMARC p=none before raising the policy to quarantine or reject.

Validate After Migration

  1. 1Test sending and receiving from Gmail, Outlook.com, and internal domains.
  2. 2Make sure Outlook desktop and mobile accounts use the RuangMail configuration.
  3. 3Monitor bounces, quarantine, and spam folders during the first few days.

Important Notes

  • Microsoft 365 shared mailboxes must be remapped as mailboxes or aliases according to the RuangMail setup.
  • IMAP migration does not move calendars, contacts, tasks, Teams, or Microsoft 365 files.