Use S3 for email storage?

Razva

Member
Aug 30, 2012
16
1
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.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston
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.
 

Razva

Member
Aug 30, 2012
16
1
3
cPanel Access Level
Root Administrator
cPanel doesn't support NFS mounts for /home and you will encounter issues creating or using the email accounts if this is implemented.
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!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston
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.
 

Razva

Member
Aug 30, 2012
16
1
3
cPanel Access Level
Root Administrator
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.
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.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston