mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.88k stars 1.43k forks source link

can we setup mailinabox on AWS Instance with EFS attached to it. #1468

Open ngoyal16 opened 5 years ago

zatricky commented 5 years ago

If your aim is to provide HA or rapid failover, I'd say it's possible to use EFS - but I don't think it's supported. I'd be interested in your results.

For a single server, I don't see any particular reason why it wouldn't work. It'd be much the same as using NFS for your storage backend.

Note that due to file locking, some network-storage backends either wouldn't work or they'd work poorly. AWS' EFS does support file locking as far as I'm aware.

ngoyal16 commented 5 years ago

@zatricky actually, I need efs for many reasons.. one is that mailinabox fills my EBS volumes much faster. so if due to that I have to monitor the EBS volumes utilize by mailinabox server. and I am also running multiple servers for emails. so it's hard for me to track which one is out of the space. by using efs I don't have to worry about the size at least.

JoshData commented 5 years ago

See https://wiki2.dovecot.org/NFS.

ngoyal16 commented 5 years ago

@JoshData can you help me with how to implement this?

JoshData commented 5 years ago

I have my hands full with other aspects of this project.....