Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Some advice regarding custom storage for mail location

Discussion in 'E-mail Discussion' started by AmVu, Jan 27, 2015.

  1. AmVu

    AmVu Registered

    Joined:
    Dec 31, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    There seems to be no real info (Or I just cant find it) regarding custom storage lcoation for mail.

    It seems most have a VM with xGBs of diskspace and they whack everything onto the same location.

    Running dovecot currently and still in the process of migrating to cpanel. So I would like to know if someone has a working solution (cpanel update friendly) where they have custom (lets say SSD storage for mail). I have read alot about symlinks breaking backups (deemed not viable). Hardlinks isnt an option as you cant hardlink something over a different file system.

    Hacking the account creation scripts doesnt seem viable either. (I suck at deciphering perl).

    I would ideally want mail to live in eg /mailstore and the rest of the info lives in /home as per normal. Any advice?
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    We're way off in unsupported territory but my thought would be to make LVM's on the SSD you can grow and shrink for each user. Then write you a post create account hook in bash (yep that'll work) to mount the LVM for the mail folder.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice