Migration of email accounts from one Cpanel to Another


Moving an email account (including old emails) from one cPanel server to another is pretty easy to do yourself if you have some knowledge of cPanel and FTP.

I will be using the OLD HOSTING CPANEL and NEW HOSTING CPANEL terms.

Step 1: Create a new email account on the NEW SERVER with the same address and password

You can do this by going into the cPanel on the NEW SERVER and click on Email Accounts.

create all email id similar to older one and password for each user.

Step 2: Download the files off of the OLD SERVER

FTP onto the OLD SERVER and download the files needed. From the root directory, go to “mail/domain.com/emailaccountname”. Here you will see a bunch of files. All you really need to copy are the new and cur directories.

If you have a lot of emails this could take a while.

Step 3: Transfer files to NEW SERVER

When the files are downloaded in step 2 place the new and cur directories in the “root/mail/domain.com/ emailaccountname” of the respective account on the NEW SERVER. The folder should already be created since you already created the account in step 1.

Go get some coffee. This step will take awhile as well.

Step 4: Reset Mail Quota

Now if you check the NEW SERVER you will see that your emails are transferred but your quota says 0/xxx MB. To update a wrong mail quota in cPanel: FTP to the OLD SERVER, open up the maildirsize file at “root/mail/domain.com/emailAccount” and copy all of the contents and paste them into the maildirsize file on the NEW SERVER.

You may have luck copying the maildirsize file on the OLD SERVER and pasting it on the NEW SERVER, however this did not work for me.

Step 5: Change DNS

If you followed all of the steps up to this point you should have all the files transferred, but you still need to point your DNS records to the NEW SERVER in order to have mail go there. When you update your records it could take up to 24 hours to take effect.

Step 6: Test

Finally, send a test email to the account. If that works send an email from the account. You’re done!

You will have email software like RoundCube,etc comes with cpanel and Hosting. For me, namespark.in provides horde,RoundCube, squirrelmail etc.You can import address book also in that tools and share with all your email ids.

 


About vtm

Well done is better than Well Said!!! Web Enthusiast, Blogger, Open source contributor!!! And Web/Software Consultant for Personal and Business

Leave a comment

Your email address will not be published. Required fields are marked *

12 − 9 =