Topic: Storing iRedMail files (/var/vmail) on a network drive
First post here, so apologies for extra detail.
I am running a large highly redundant network storage shared with different VMs. I wanted to migrate my iRedMail server to a setup in which all files from /var/vmail directory are stored remotely on the network storage, rather than on a local drive. That would add redundancy and also provide access to a pooled storage resource, both massive advantages to me.
I tried attaching the storage via fstab adding the following statement
//<IP>/Shared\040iRedMail /var/vmail cifs user=iredmail,pass=<pass>,auto,users 0 0
but even though I am able to get most of the functions working, I am running into (I think) permission issues, showing up "Server Error: STATUS: Internal error occurred. Refer to server log for more info" red error box in the right bottom corner when trying to access any folders.
After fighting a few hours with the problem, I am not sure whether such a setup is even supported at all, since all subfolders in /var/vmail directory do not seem to have proper ownership and inherit the permission from /var/vmail mount.
Has anybody looked into such a setup and made it work? Any pointers would be really welcome.
Thank you!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.