Moving email to MdmHost has two parts: copying the old messages, and switching the domain's MX records so new mail arrives in cPanel. Done in the right order, nobody misses a message. If you are moving a whole cPanel account from another cPanel host, our team can usually transfer it for you including email; just open a ticket.
Before you start
- A list of the mailboxes to move and their passwords on the old provider.
- IMAP access enabled on the old provider (Gmail and Outlook.com need IMAP turned on, and may need an app password).
- Thunderbird installed on a computer (free; it can connect to both servers at once).
Create the mailboxes in cPanel
- Open cPanel → Email → Email Accounts → + Create.
- Create each address with the same name it had before. Set a quota large enough for the old mail.
- See create email accounts for details.
Your domain still delivers to the old provider at this point; the new mailboxes are empty.
Lower the MX TTL
A day before the switch, lower the TTL of the MX record at your current DNS provider to 300 seconds, so the change takes effect quickly later.
Copy messages with Thunderbird
- In Thunderbird add the old mailbox as an IMAP account (old provider's settings).
- Add the new mailbox as an IMAP account. Because DNS still points elsewhere, use the MdmHost server hostname from Connect Devices as server, port
993SSL/TLS for incoming and465SSL/TLS for outgoing. See email settings. - Let the old account download fully. Right-click each folder → Properties → Synchronization or use File → Offline → Download/Sync Now so large folders are complete.
- Select all messages in an old folder (Ctrl+A), right-click → Copy To → the matching folder in the new account. Repeat for Inbox, Sent and important folders. For subfolders, you can drag a whole folder onto the new account's Inbox.
- Check the message counts match.
Tip: For dozens of mailboxes, a server-side tool such as imapsync is faster. Ask our support team; we can help with larger migrations.
Switch the MX records
- Moving the domain's DNS to MdmHost: change the nameservers at the registrar to the MdmHost nameservers. cPanel already has the right MX, SPF and DKIM records.
- Keeping DNS elsewhere: set MX to
mail.example.com(priority 0), with an A record formailpointing to your account's shared IP, and copy the SPF and DKIM records from cPanel → Email Deliverability.
Make sure cPanel → Email → Email Routing is set to Local Mail Exchanger. More in MX records and email routing.
Final sync and reconnecting devices
- For one or two days, check the old mailbox for late messages and copy them across again.
- Update phones and computers to the new server settings, or remove and re-add the accounts.
- Cancel the old email service only after you have confirmed everything arrived.
Troubleshooting
- Copy stops with "quota exceeded": raise the mailbox quota in cPanel.
- Gmail labels duplicated: Gmail shows one message in several labels; copy only real folders and "All Mail" if needed.
- New mail still arrives at old provider: DNS caches; wait for the old TTL to expire.
