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!

Use S3 for email storage?

Discussion in 'E-mail Discussion' started by Razva, Apr 4, 2018.

  1. Razva

    Razva Member

    Joined:
    Aug 30, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello,

    I would like to use a cPanel install only for emails. No HTTP, no FTP, no Ruby etc. Just email.

    In order to store email data I would like to use S3 via S3FS*.

    So here's the question: should I set the entire /home directory to be stored on S3 (set via WHM -> Home directories to be created) OR only the /mail directory for each user?

    Thanks,
    Razvan

    * Yes, I know that this is not an "officially cPanel supported option" but - considering the implications for other dedicated options like OpenXchange & Zimbra - I cannot find a better solution at this point.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,424
    Likes Received:
    96
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    cPanel doesn't support NFS mounts for /home and you will encounter issues creating or using the email accounts if this is implemented.

    We do note in our installation documentation that we only develop and test cPanel on filesystems that support flock here: cPanel Installation Requirements. I would encourage you to open or vote for the feature request that is present at features.cpanel.net when it is no longer undergoing maintenance.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Razva

    Razva Member

    Joined:
    Aug 30, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I'm fully aware that cPanel doesn't supports NFS mounts, but can you please let me know what could be the possible consequences for such a scenario, especially when for the "mail" folder which doesn't has any symlinks and - in theory - doesn't continuously write logs?

    I'm willing to take a risk, but before doing so I want to be aware of the implications.

    Thank you!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,424
    Likes Received:
    96
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Razva

    it's possible if you create this you won't be able to create or use email accounts. Since you're planning on doing this strictly for email I don't believe this solution would work for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Razva

    Razva Member

    Joined:
    Aug 30, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Yeah that would really be a bad thing. :)

    Can you please provide some minimum information about this and why/what could go wrong? I'm ready to dig deeper into this, but in order to do so I need a starting point.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,424
    Likes Received:
    96
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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