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
-
You must first connect to your shared account using FTP (Filezilla).
-
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.
- Now that the emails are backed up on your local computer, you'll need to create the domains and mail boxes in Plesk.
-
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.
- Once connected with WinSCP just navigate to:
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.
- Go into the first domain that you plan on migrating:
|
| /var/qmail/mailnames/domain.com |
|
-
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 |
|
- Now just browse into the Maildir directory:
|
| /var/qmail/mailnames/domain.com/admin/Maildir/ |
|
- 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).
Related Articles
No related articles were found.
Attachments
No attachments were found.
Visitor Comments
No visitor comments posted.
Post a comment
Post Comment for "How do I migrate my email from my shared account to my linux dedicated server?"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.