Knowledge Base

Archiving in cPanel

Archiving in cPanel

  • Access the Archive Interface

  1. Log in to your cPanel account.

  2. In the Email section, click Archive.

  3. When the interface opens, you’ll see sections including Overview, Default Archive Configuration, Manage Archiving, IMAP Access, Download Archives, Access Webmail, and Manage Disk Usage.


  • Enable Default Archive Configuration

To set a default archiving rule across all your domains:

  1. In the Default Archive Configuration section, select the archive type you want — for example, Incoming, Outgoing, or Mailing Lists.

  2. Choose the Retention Period (how long archived messages are stored).

  3. Click Apply to All My Domains to enforce this configuration on all domains under your account.


  •  Manage Archiving per Domain

In the Manage Archiving table, you can configure archiving for each domain individually.

Field Description
Domain The domain for which you are managing archive settings.
Archive Type Choose which messages to archive: Incoming, Outgoing, Mailing Lists, or All.
Retention Period The length of time messages are stored in the archive before deletion.

To adjust a domain’s configuration:

  1. Locate the domain in the table.

  2. Select the desired Archive Type and Retention Period.

  3. The system will automatically apply the updated settings.


  • IMAP Access to Archives

You can access archived messages through any IMAP-compatible email client.

Automatic Setup

  • Use the IMAP Access link next to a domain.

  • Choose between secure (SSL/TLS) and non-secure options.

  • Follow the setup script to add the archive mailbox automatically.

Manual Configuration

  • Mail server username: [email protected]

  • Incoming Mail Server (SSL): mail.example.com, port 993

  • Incoming Mail Server (non-SSL): mail.example.com, port 143

Once configured, the archive folders (e.g., archive-incoming.2025-10-29) will appear in your IMAP client.


  •  Download Archives

To save a copy of your archived messages locally:

  1. Click Download Archives beside the relevant domain.

  2. Choose one of the available download options:

    • All Archives

    • Incoming

    • Outgoing

    • Mailing Lists

  3. The system generates a ZIP file containing the requested messages for download.

  • Access via Webmail and Manage Disk Usage

To manage or review archived messages directly:

  • Click Access Webmail next to the domain to open the webmail interface.

  • To manage disk space:

    1. In Webmail, click the archive’s email address (top-right corner).

    2. Select Manage Disk Usage.

    3. Filter messages by age, size, or viewed status.

    4. Click Delete Permanently to remove unwanted archived messages.

Please rate this article to help us improve our Knowledge Base.

0 0