Change web and maildir paths

Discussion in 'Installation/Configuration' started by recin, Oct 30, 2019.

  1. recin

    recin Active Member

    I have a new ispconfig installation in a VPS with Ubuntu 18.04 with only a couple mails and webs for testing.
    In addition to root disk, I have an extra resizable volume mounted on /mnt/data where I want to store mails and web.
    I changed /var/www and /var/vmail to /mnt/data/www and /mnt/data/vmail respectively from ispconfig config and It make the folders in the new path but I notice that it keeps creating folder structure in /var/vmail with files like .quotausage.

    Is this normal? I dont want to have mail folders dispersed, can I use a soft link from /var www and vmail to /mnt/data instead of changing paths?
    Thanks in advance
    Last edited: Oct 30, 2019
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    No, use a bind mount.
  3. recin

    recin Active Member

    Thanks, that's exactly what I need.
    Shouldn't I add the quota to the new fstab partition like it is in the original?

    ,usrjquota=quota.user,,jqfmt=vfsv0 1

    If so, can I deleted it from the boot partition?

Share This Page