Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed email server with "dovecot, postfix, postfixadmin" etc. Now I mounted new driver. All my mails are in folder /home/vmail/ user is: vmail uid=5000 gid=500.

I like to move those files to new mounted drive. What is the right way to do it? Making symbolic link to /media/emaildrive from /home/vmail or configure postfix and dovecot to use /media/emaildrive/vmail?

share|improve this question

cp -Rp /home/vmail /mnt/newdrive
mv /home/vmail /home/vmailbackup

edit fstab to mount the new drive at /home/vmail
init 6

should work appropriately...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.