How do I migrate my email from my shared account to my linux dedicated server?


Important Notes:

This guide covers how to log into your shared account with FTP, copy the mail files, and then use winSCP to transfer the files to your dedicated server

To use this guide, you will need two applications:

Filezilla - which can be downloaded HERE

WinSCP - which can be downloaded HERE

 

Getting Started

  1. You must first connect to your shared account using FTP (Filezilla).

  2. Once connected you will see a 'Mail' directory. This directory houses the email addresses and emails. There is a 'Mail' directory for each domain. Simply browse to the domain that you would like to migrate and copy the 'Mail' directory to your local computer.

  3. Now that the emails are backed up on your local computer, you'll need to create the domains and mail boxes in Plesk.

  4. With the email addresses created in Plesk, all that is left is moving the email from your local computer to your dedicated server. You'll need to connect to the server using winSCP. Login using your Root username and password. This information can be found in the Welcome to Codero.com email that you received when you got your dedicated server.

  5. Once connected with WinSCP just navigate to:



    /var/qmail/mailnames

    Once in this directory you will see directories for each of your domains. If you had a domain called “domain.com” you would see it listed in this directory.

  6. Go into the first domain that you plan on migrating:



    /var/qmail/mailnames/domain.com
  7. In this directory you will see directories for each of the email addresses (mailboxes). Go ahead and browse into the first email address that you would like to migrate, in the below example the address “admin@domain.com” is the address that will be migrated first:



    /var/qmail/mailnames/domain.com/admin
  8. Now just browse into the Maildir directory:



    /var/qmail/mailnames/domain.com/admin/Maildir/
  9. The Maildir directory is where you will copy the contents of each addresses contents. If you are transferring admin@domain.com from your shared server you will see three directories inside of the 'admin@domain.com' folder that you backed up to your local computer.

    These three directories are 'cur', 'new', and 'tmp'. To finish migrating the email for admin@domain.com, just copy those three directories from your local computer to the appropriate Maildir directory.

     

    Take note of both the local and remote directories. In the above screen shot, simply drag the folders from the left screen (the local directory) to the right side (the remote or dedicated server).


This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.comchat with us online or give us a call at 866-2-CODERO.

Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)