Email Migration Guide

Migrate from cPanel to RuangMail

Move cPanel-based hosting mailboxes to RuangMail using SmarterMail Mailbox Migration and a controlled DNS cutover.

Easy30-90 minutes
Diagram of migrating email from cPanel 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 cPanel Email. 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. 1Record active email addresses, aliases, forwarders, and mailing lists in cPanel.
  2. 2Make sure you have access to cPanel, the domain DNS manager, and the RuangMail dashboard.
  3. 3Lower the TTL for MX, SPF, DKIM, and DMARC records to 300 seconds at least a few hours before cutover.

Export and Prepare from cPanel Email

  1. 1Sign in to cPanel, open Email Accounts, and make sure each mailbox can still sign in through webmail or IMAP.
  2. 2Record the old IMAP hostname, usually mail.yourdomain.com or the hosting server hostname.
  3. 3For large mailboxes, download a local backup from File Manager or use a mail client for an additional copy.

Import to RuangMail

  1. 1Create the same domain and email accounts in RuangMail before moving the MX records.
  2. 2Sign in to mail.ruangmail.com, open Settings > Connectivity > Mailbox Migration, then choose migration from the old IMAP server.
  3. 3Migrate priority mailboxes first, such as info@, admin@, sales@, and operational team accounts.

DNS Cutover

  1. 1After the main data has been copied and the resynchronization is complete, point the domain 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 so webmail, the portal, and auto-configuration use RuangMail.
  3. 3Add SPF include:_spf.workspace.org, DKIM from the dashboard, and an initial DMARC policy of p=none to keep sending reputation healthy.

Validate After Migration

  1. 1Send a test email from Gmail to the RuangMail account, then reply from RuangMail webmail.
  2. 2Check the Inbox, Sent, Drafts, Trash, and custom folders to make sure the mailbox structure was copied.
  3. 3Monitor bounce logs for the first 24 hours before closing the old email hosting service.

Important Notes

  • Do not immediately delete email accounts in cPanel after the MX records move. Keep them for at least 3-7 days as a fallback.
  • If the website is still hosted on cPanel, do not remove its A/CNAME records while changing email records.