Home /

Mailbox Migration Through Virtualmin: A Step by Step Guide

How to Migrate Emails from one Server to another Server through Virtualmin

Step 1


In Virtualmin, emails will be located at the following location.

#pwd /home/virtualserver/homes

Cross check mail boxes and their size in source server.

#du -sh *


Step 2

Copy desired mailbox directory on destination server through scp.

#scp   -rv   DESIRED_MAILBOX   [email protected]DESTINATION_IP:/home/mailbackup/
Step 3

Cross check the copied data on destination server.

# cd /home/mailbackup/
# ls
# du -sh *


Step 4

Create mail address on destination server through virtualmin if it does not exist.


Step 5

Rename automatically created mailbox directory and move the backup directory in place of that.

#mv  dummy   dummyold
#mv  dummy   /home/virtualserver/homes/

Change directory ownership,

#chown   -R   dummy.inboxcart:inboxcart   dummy
#service    postfix    restart

Now email box has been migrated and you may cross check the mails on Destination server.


Now, here you can see that your desired mailbox data has been restored and you can access related mails by following the above mentioned steps.

Related Posts
Sarv Guide : Domain...

Sender reputation is dependent on IP & Domain which when combined build Sender Reputation. This guide explains the...

Ramesh Choudhary07 Mar, 2017
How to Install mongoDB 3.0...

Wondering how to install mongoDB 3.0 on CentOS release 6.5? Here's the step by step guide. Read Now!

Piyush Sharma18 May, 2017
NFS Client-Server...

This post will highlight the information related to network file system and its application through 3 different steps.

Piyush Sharma31 Mar, 2017

Want Actionable Email Marketing Tips That Actually Work?

Sign up below to get access to email marketing best tips and insights
we only share with our subscribers.

We guarantee 100% privacy. Your information will not be shared.

Ready to Get Started?

Enjoy the experience, Sarv is the right choice for you and your business!

© 2021 Sarv. All rights reserved.