The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some advice regarding custom storage for mail location

Discussion in 'E-mail Discussions' 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:
    746
    Likes Received:
    11
    Trophy Points:
    18
    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!
     
Loading...

Share This Page