How to Move Email from cPanel to a New Hosting Provider
Changing hosting providers is common. Moving a website is usually straightforward — moving email is not.
Email migration requires careful handling of mailboxes, credentials, and message data. If done incorrectly, it can lead to lost emails or service downtime. Before migration, validate your server → IMAP validator.
How cPanel Stores Email
- Dovecot for IMAP access
- Exim for SMTP delivery
- Mail stored in Maildir format per account
Each mailbox is independent and must be recreated on the new hosting before migration.
Before You Start
- IMAP hostname (old and new)
- Port (usually 993 SSL/TLS)
- Full email address as username
- Password for each mailbox
- Estimated mailbox size
You can validate IMAP connectivity using: IMAP Server Validator
Migration Methods
Manual Migration (Email Client)
- Add old account to Thunderbird (IMAP)
- Add new account
- Drag folders manually
- Wait for upload
Limitations
- Very slow for large mailboxes
- Requires your computer to stay online
- No reliable progress tracking
- Risk of interruption
Server-to-Server IMAP Migration
A more reliable method is direct IMAP transfer:
Old IMAP server → New IMAP server
- faster for large mailboxes
- no dependency on local machine
- preserves folder structure
- more stable
👉 You can run this using PostMaster.
Step-by-Step Process
1. Create Mailboxes
Create all accounts on the new hosting.
2. Verify IMAP Access
Server: mail.yourdomain.com Port: 993 Encryption: SSL/TLS
3. Check Storage
Ensure sufficient disk space.
4. Run Test
Always test before full migration.
5. Start Migration
- Keep old hosting active
- Do not change MX yet
- Avoid mailbox changes
6. Verify Results
Compare message counts and folders.
7. Switch MX Records
- Update DNS
- Wait for propagation
- Monitor email flow
Common Problems
- Wrong IMAP port
- Firewall blocking connections
- Incorrect passwords
- Timeouts on large mailboxes
Conclusion
Manual migration works for small mailboxes, but server-to-server IMAP migration is the safest and most reliable approach.
👉 For a controlled migration, use PostMaster.