Migrate from cPanel (Bulk)
This guide explains Bulk migrate all your cPanel email accounts to TrekMail. so you can complete the TrekMail task with confidence.
Article details
Type, difficulty, plans, and last updated info.
▼
Article details
Type, difficulty, plans, and last updated info.
- Type
- Guide
- Difficulty
- Intermediate
- Plans
- Starter · Pro · Agency
- Last updated
- Apr 29, 2026
This guide covers migrating multiple cPanel-hosted email accounts to TrekMail at once.
Find your IMAP details
- Log in to cPanel.
- Go to Email Accounts.
- Click Connect Devices next to any account.
- Note down:
- Incoming server: Usually
mail.yourdomain.comor the server hostname. - Port: 993 (SSL) or 143 (STARTTLS).
- Username: Usually the full email address.
- Password: The cPanel email account password.
- Incoming server: Usually
All accounts on the same cPanel server share the same IMAP host and port.
Prepare your CSV
If all accounts are on the same cPanel server, you can set the host globally. Use Other IMAP as the provider and enter the server details in the form, then use the simple 3-column format:
source_email,source_password,destination_email
alice@oldhost.com,cpanel-pw-1,alice@yourdomain.com
bob@oldhost.com,cpanel-pw-2,bob@yourdomain.com
info@oldhost.com,cpanel-pw-3,info@yourdomain.com
If accounts span multiple cPanel servers, use the full 6-column format:
source_email,source_password,destination_email,source_host,source_port,source_security
alice@site1.com,pw1,alice@yourdomain.com,mail.site1.com,993,ssl
bob@site2.com,pw2,bob@yourdomain.com,mail.site2.com,993,ssl
Run the bulk import
- Go to Import > Bulk Import tab.
- Select Other IMAP and enter your server details (or check per-row mode).
- Paste your CSV or upload the file.
- Click Preview & Validate, then Start Migration.
Common issues
- "Connection refused" or certificate error — Try port 143 with TLS instead of 993 with SSL. Some shared hosts use self-signed certificates.
- "Authentication failed" — Some cPanel setups use just the username (e.g.,
alice) instead of the full email. Try both. - Slow transfers — Shared hosting often has bandwidth limits. Expect longer migration times compared to Gmail or Microsoft 365.
Related articles
Jump to nearby guides that continue the workflow.