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!

changing mail default path

Discussion in 'E-mail Discussion' started by wurlJAM, Oct 27, 2015.

  1. wurlJAM

    wurlJAM Registered

    Joined:
    Oct 27, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    hnd
    cPanel Access Level:
    Website Owner
    Hi there!
    Im hosting email service at bluehost.com, the thing is. The mail folder size limit is (30gb) and it's 90% full so we purchased more storage (60gb) so i need to.change the default mail storage route from

    /home/securka4/mail <- 30gb
    To
    /home/securka4/Mail <- 60gb
    The cpanel access is very limited so I'm connecting via ssh so far what I've researched I need to:

    Set the mail_location in conf.d/10-mail.conf as determined by the instructions in FindMailLocation.

    My question is... is my approach correct?
    I need to be 100% sure it will work to make the switch because the email service needs to be running all day, meaning I can't interrupt the service if I screw up.
     
  2. RWH Tech

    RWH Tech Well-Known Member

    Joined:
    Oct 1, 2015
    Messages:
    86
    Likes Received:
    16
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I'd mount the 60GB in /home/securka4/mail instead, but I think you'd have a little downtime as you copied the data to a temp mount and re mounted it in the right place.
    Perhaps someone with more WHM experience will have a more elegant solution.
     
  3. wurlJAM

    wurlJAM Registered

    Joined:
    Oct 27, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    hnd
    cPanel Access Level:
    Website Owner
    ok so what i did was,


    1 rsync'ed both folders

    2 unmount /home/securka4/Mail <- 60gb

    3 mount /home/securka4/mail <- 30gb on /home/securka4/Mail

    4 mounted the 60gb drive on to /home/securka4/mail

    And that pretty much did it, thank you though I thought about that approach and tried it once, but i did it through cpanel and didn’t worked so entering through ssh did it
     
  4. RWH Tech

    RWH Tech Well-Known Member

    Joined:
    Oct 1, 2015
    Messages:
    86
    Likes Received:
    16
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Cool beans.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,429
    Likes Received:
    1,960
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I am happy to see you were able to find a suitable workaround to the issue. Thank you for updating us with the outcome.
     
    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