Moving web hosting providers or backing up cPanel webmail before cancellation? Learn how to export Roundcube and Horde mailboxes to Outlook PST.
On This Page (8 sections) ▾
- 1. Why cPanel Webmail Export Is Inherently Difficult
- 2. The Enterprise Solution: Standalone IMAP Socket Extraction
- 3. Step-by-Step cPanel Webmail Backup Walkthrough
- 4. Extracting Maildir from Full cPanel Backup Archives (cpmove / tar.gz)
- 5. Triggering Backups via cPanel UAPI & Cron Automation
- 6. Technical Comparison: cPanel Backup Methods
- 7. Frequently Asked Questions
- 8. Summary
⚡ Quick Direct Answer: How to Backup cPanel Webmail to Local PST
- cPanel File Manager (Raw Maildir): In cPanel File Manager, navigate to
/home/username/mail/yourdomain.com/user/and download thecurandnewfolders containing raw EML messages. - Desktop Outlook IMAP Export: Add your cPanel email to Outlook via IMAP (Port 993 SSL) and run File > Open & Export > Import/Export > Export to PST.
- Standalone Direct Backup: Use Prism IMAP Backup Tool to download all cPanel folders directly into a local PST archive with automated retry logic for large mailboxes.
Switching web hosting companies, shutting down a business domain, or hitting shared hosting storage limits almost always triggers an urgent need:
How do you take an offline backup of all cPanel webmail accounts before the host deletes everything?
Standard Roundcube and Horde webmail interfaces do not include a universal "Download All Folders as PST" button.
Roundcube lets you export single messages as .eml files one by one. If you have thousands of emails across nested subfolders, manual webmail export is impractical.
Meanwhile, downloading a full cPanel backup tarball leaves you with Linux Maildir files that Microsoft Outlook does not open natively.
┌────────────────────────────────────────────────────────┐
│ CPANEL WEBMAIL TO OUTLOOK PST PIPELINE │
├────────────────────────────────────────────────────────┤
│ cPanel Host Server (Roundcube / Dovecot) │
│ └──> Direct TLS 1.3 IMAP Stream (Port 993) │
│ └──> Standalone 64-Bit MAPI Engine │
│ └──> Native Unicode PST File │
└────────────────────────────────────────────────────────┘Here is the exact SysAdmin guide to backing up your entire cPanel webmail mailbox directly into a native Microsoft Outlook PST database.
Why cPanel Webmail Export Is Inherently Difficult
Web hosting providers optimize cPanel for lightweight browser email, not bulk data extraction. When users attempt manual backups, they hit three persistent walls:
- HTTP Web Server Timeouts: Attempting to zip a 5 GB mailbox inside Roundcube triggers web server Gateway Timeouts (HTTP 504) after 300 seconds.
- Missing Outlook Compatibility: Webmail native exports produce flat
.emlor Unix.mboxarchives. Outlook requires proprietary Unicode.pstcontainers to preserve folder trees, calendar entries, and message states. - Bandwidth Throttling & Drops: Standard desktop clients trying to sync large cPanel accounts over IMAP frequently crash due to hosting provider connection limits or fail2ban IP blocks.
The Enterprise Solution: Standalone IMAP Socket Extraction
Instead of relying on webmail browser sessions, connect directly to the mail subsystem via encrypted IMAP sockets using the Prism IMAP Backup Tool.
It connects straight to Dovecot or Postfix on port 993, streaming raw RFC 822 messages and generating clean 64-bit Unicode PST archives on your local workstation without requiring desktop Outlook.
┌───────────────────────────┐ ┌──────────────────────────────┐ ┌───────────────────────────┐
│ cPanel Mail Host │ ───> │ Prism IMAP Backup Tool │ ───> │ Local External Hard Drive │
│ (mail.yourdomain.com:993)│ │ (Multi-Threaded Socket Pipe) │ │ (Native Unicode PST) │
└───────────────────────────┘ └──────────────────────────────┘ └───────────────────────────┘Step-by-Step cPanel Webmail Backup Walkthrough
Step 1: Gather Your cPanel Mail Connection Details
Log into cPanel, navigate to Email Accounts, and click Connect Devices next to the target email address. Note these parameters:
- Incoming Mail Server:
mail.yourdomain.com(or your host server hostname) - IMAP Port:
993(SSL/TLS enforced) - Username: Full email address (e.g.,
info@yourdomain.com) - Password: The mailbox password
Step 2: Ingest the Account into the IMAP Backup Engine
- Launch Prism IMAP Backup Tool on your Windows or Mac PC.
- In the Server Hostname field, enter
mail.yourdomain.com. - Set the port to
993and verify that SSL/TLS Encryption is checked. - Enter your email and password, then click Quick Connect.
- For bulk migrations: Click Enterprise CSV Batch to upload a list of multiple departmental mailboxes at once.
Step 3: Lazy-Load and Filter the Remote Folder Hierarchy
The utility connects to the cPanel host in seconds, displaying your complete directory tree:
INBOXSent ItemsDraftsJunkCustom Folders & Subfolders
Use the pre-flight hygiene filters to exclude spam directories, filter by date ranges, or strip out attachments exceeding 25 MB if you want to keep the archive compact.
Step 4: Choose Outlook PST as Target Format
In the format selection menu, choose PST (Microsoft Outlook Unicode).
- Auto-Split Threshold: Configure automatic splitting (e.g., split at 10 GB, 20 GB, or 45 GB) to prevent oversized files that trigger Outlook performance degradation.
- Header Fidelity: All RFC headers (Message-ID, To, From, CC, Date, Delivery Hops) and read/unread flags are mapped to native MAPI attributes.
Step 5: Start Backup & Monitor Progress
Click Start Backup. The tool launches a multi-threaded streaming pipeline with progress tracking and error handling.
Every processed message UID is recorded in an ACID-compliant local SQLite checkpoint database. If your internet connection drops during a large download, relaunching the job resumes immediately from the exact message where it stopped.
Free Trial Evaluation: The demo edition downloads up to 50 items per folder, allowing administrators to verify server connectivity, authentication, folder mapping, and PST integrity before purchasing a license.
Extracting Maildir from Full cPanel Backup Archives (cpmove / tar.gz)
If you cannot connect via IMAP because your hosting account is suspended or bandwidth is restricted, you can extract your email archives directly from a full cPanel backup tarball:
- Download Full cPanel Backup: In cPanel, navigate to Files > Backup > Download a Full Account Backup.
- Extract the Archive: On Windows or Linux, decompress
backup-MM.DD.YYYY_hh-mm-ss_username.tar.gz:
tar -xzvf backup-*.tar.gz- Locate Maildir Data: Inside the extracted directory tree, navigate to:
homedir/mail/[yourdomain.com]/[email_user]/
- Offline Conversion: Feed this directory directly into the Prism Maildir Converter Tool. The offline parser reconstructs all subfolders and saves them directly to an Outlook PST file without needing an active internet connection.
Triggering Backups via cPanel UAPI & Cron Automation
System administrators with SSH access or cPanel Terminal can automate mailbox backups using cPanel's native UAPI:
# Query mailbox disk consumption via cPanel UAPI
uapi --user=cpaneluser Email get_disk_usage domain=company.com
# Create an on-demand archive of the mail folder via CLI
tar -czf /home/cpaneluser/mail_backup_$(date +%F).tar.gz /home/cpaneluser/mail/company.com/This snippet packages the raw mail store into a timestamped compressed archive, suitable for off-site backup or local conversion.
Technical Comparison: cPanel Backup Methods
| Metric / Feature | Roundcube Webmail Export | Manual Desktop Outlook Sync | Prism IMAP Backup Tool |
|---|---|---|---|
| Output Container | Loose .eml files | Local .ost / .pst | Native Unicode PST (Standalone) |
| Server Timeout Resilience | Fails above 500 MB | Frequent socket timeouts | SQLite-Backed Auto-Resume Engine |
| Transfer Speed | Bandwidth Throttled | Client Synchronized | Optimized Multi-Threaded Streaming |
| Batch Mailbox Support | ❌ Single folder only | ❌ Manual profile setup | ✅ Automated Multi-User CSV Batch |
| PST File Splitting | ❌ Not available | ❌ Manual archive only | ✅ Automatic 2GB–50GB Splitting |
| Bypass Hosting Ban | ❌ N/A | ❌ High risk of IP ban | ✅ Configurable Thread Throttling |
Frequently Asked Questions
Can I open the resulting PST file in Microsoft Outlook?
Yes. The output PST file adheres strictly to the Microsoft Open Specifications for Outlook Data Files ([MS-PST]), ensuring full compatibility with Outlook Classic (including Outlook 2024, 2021, 2019, 2016, and Microsoft 365 desktop apps via File > Open & Export > Open Outlook Data File). In New Outlook for Windows, local .pst files can be opened and searched by navigating to Settings > Files > Outlook Data Files > Add file, provided Classic Outlook is also installed on the machine with matching architecture (32-bit or 64-bit) and the account holds an active Microsoft 365 subscription. For full bulk mailbox import, users should use Outlook Classic or sync messages via Exchange Online.
What if my web hosting account is suspended or expired?
If your hosting plan is completely suspended, IMAP port access is typically blocked. If you managed to download a cPanel full backup tarball (backup.tar.gz) before suspension, you can extract the raw mail/ directory and use our Maildir Converter Tool to convert the Maildir files offline without server access.
Does the backup require Microsoft Outlook to be installed on my machine?
No. The engine features a standalone 64-bit binary parser that constructs valid Unicode PST files directly on Windows or macOS without relying on Outlook, Office, or Windows MAPI DLLs.
Can I safely delete emails from cPanel after backing them up to PST?
Yes. Once you verify that the exported .pst file opens and displays your folder hierarchy in Outlook, you can safely log into cPanel Email Accounts, click Manage > Email Disk Usage, and remove messages older than 1 year to reclaim hosting storage space.
Will all subfolders like Sent, Drafts, and custom client tags be preserved?
Yes. The tool queries cPanel IMAP namespaces directly, mapping INBOX.Sent, INBOX.Drafts, and custom tags into their exact folder equivalents in the destination PST file.
Summary
Never leave critical business communications trapped on shared cPanel hosting servers without a verified offline copy. Using the Prism IMAP Backup Tool provides an encrypted, standalone local archive, ensuring complete data ownership and offline accessibility.
Related Guides: Backing up Yahoo or Zoho mailboxes? Read How to Backup Yahoo Mail to PST & Hard Drive and How to Download Zoho Mail to PDF and PST. Moving cPanel mail directly to the cloud? See How to Migrate cPanel Webmail Roundcube to Microsoft 365.
IMAP Backup Tool
Backup, convert, export, and migrate any IMAP mailbox — cPanel, Gmail, Yahoo, Zoho, Zimbra, Exchange — to local and cloud formats (PST, PDF, MBOX, EML, Office 365, Gmail). Standalone 64-bit engine with SQLite resume, Port 993 SSL/TLS, and zero Outlook required. Free trial for Windows 11 & Mac.