virtualmin e-mails storage partition (how change)

3 posts / 0 new
Last post
#1 Mon, 02/27/2012 - 07:05
morpheus747

virtualmin e-mails storage partition (how change)

Hi i have problems i have two partitions in my server and the emails now save all in the home partition and i need to change the folder to /var how can i do this? how can i change the e-mail storage partitions? how can i migrate the actual /home mails to the new /var

tnx!

Mon, 02/27/2012 - 12:14
andreychek

Howdy,

There isn't a simple way to do that, unfortunately... Virtualmin was designed to be able to store email on the system in $HOME/Maildir for each user. There isn't a simple way to change that to use an alternate location for email.

If you need a larger partition for /home -- my recommendation would be to replace /home with a larger drive.

-Eric

Mon, 02/27/2012 - 16:12
Locutus

Yep, emails belong to a specific user, so they logically and strategically belong in the user's homedir. :)

Once you put a larger drive in your server, you can easily migrate the existing homedir to it using rsync. I've done similar things multiple times already... Though when using virtual machines, replacing virtual hard disks is a bit easier. :)

Topic locked