How to transfer email accounts and messages between cPanel servers?
Author: admin admin Reference Number: AA-00316 Views: 18751 Created: 2013-04-11 12:41 Last Updated: 2025-08-12 11:48 0 Rating/ Voters

How to Manually Transfer Email Accounts and Messages Between cPanel Servers

This article provides a comprehensive guide on how to manually migrate an email account and its associated messages from one cPanel server to another. This process involves creating the email account on the new server and then transferring the mailbox data.

Warning: This is a manual process that requires careful attention to detail. It is recommended to back up your data before attempting this procedure.


Overview of the Process

The transfer process is divided into two main parts:

  1. Creating the Email Account: You must first create the exact same email account on the destination cPanel server.

  2. Migrating the Mailbox Data: You will then transfer the email message files from the source cPanel server to the destination cPanel server.


Part 1: Create the Email Account on the New Server

The email account must exist on the destination server before you can transfer its data. The new email account must have the exact same name and domain as the original.

  1. Access the Destination cPanel:

    • Log in to your iFastNet client portal.

    • Navigate to the "Services" section and select your hosting plan for the new server.

    • Click "Login to cPanel" to access the destination server's control panel.

    • Alternatively, go to your domain's cPanel URL and log in with your credentials for the new hosting account.

  2. Create the Email Account:

    • In cPanel, scroll to the "Email" section and click on "Email Accounts."

    • Click the "Create" button.

    • Enter the full email address you wish to create (e.g., info@yourdomain.com).

    • Create and confirm a strong password for the new account.

    • Note: The password does not need to match the old account's password, but using the same one can help with consistency.

    • Set the storage space for the mailbox. It's recommended to set a generous quota to accommodate all the incoming email data.

    • Click "Create" to finalize the new email account.


Part 2: Transfer the Mailbox Data

After creating the email account, you need to copy the email messages from the old server to the new one. Email messages are stored in a specific directory structure on the server.

Step-by-Step Instructions:

  1. Locate the Mailbox Folder on the Source Server:

    • Access the source cPanel (the old server) using the methods described in Part 1.

    • In cPanel, find the "Files" section and click on "File Manager."

    • In the File Manager, navigate to the mail directory. The path will typically be /home/username/mail/.

    • Inside the mail directory, you will see a folder for your domain. Navigate into this folder.

    • Inside the domain folder, you will find a folder for your specific email account (e.g., info). This folder contains all the email messages and their associated files.

  2. Download the Mailbox Folder:

    You have two main options for downloading the files:

    • Method A: Using File Manager's "Compress" Feature (Recommended for smaller mailboxes)

      • Right-click on the email account folder (e.g., info) and select "Compress."

      • Choose "Zip Archive" as the compression type.

      • Click "Compress File(s)." This will create a compressed .zip file of your mailbox in the same directory.

      • Right-click the newly created .zip file and choose "Download."

      • Limitation: If the mailbox is very large (e.g., several gigabytes), this process can fail or take a very long time. In such cases, using FTP is the more reliable method.

    • Method B: Using an FTP Client (Recommended for large mailboxes)

      • Use an FTP client (like FileZilla) to connect to your source cPanel server.

      • Your FTP credentials are the same as your cPanel login.

      • Navigate to the /mail/yourdomain.com/ directory.

      • Locate the folder for the email account you are transferring.

      • Download this entire folder and all its contents to a local directory on your computer.

  3. Upload the Mailbox Folder to the Destination Server:

    • Method A (If you used the "Compress" feature):

      • Access the destination cPanel and its File Manager.

      • Navigate to the /mail/yourdomain.com/ directory.

      • Click "Upload" and select the .zip file you downloaded.

      • Once the file is uploaded, right-click it and choose "Extract." This will decompress the contents into the correct location, overwriting any empty files that were created when the email account was first made.

    • Method B (If you used an FTP client):

      • Connect to the destination cPanel server using your FTP client.

      • Navigate to the /mail/yourdomain.com/ directory.

      • Upload the entire email account folder you downloaded from the old server into this directory. The server's file system will merge the new files with the existing directory structure, populating the new mailbox with all the old messages.

Troubleshooting and Support

If you encounter any issues during this process, or if the transfer seems to have failed, you should contact customer support.

  • Go to the iFastNet support portal.

  • If this is your first time using the portal, you will need to register for an account.

  • Log in and "Open a New Ticket," providing a detailed description of the issue. Include the domain name, the email account you are trying to migrate, and the steps you have already taken.

Quick Jump Menu