Proposal for External Storage of Mail Data in VM Environment

Questions and answers about how to do stuff
Post Reply
cuthbertdavies
Posts: 1
Joined: 23 Feb 2024 09:00

Proposal for External Storage of Mail Data in VM Environment

Post by cuthbertdavies »

Is there a method for storing all Postfix spool, mail, spamassassin/mailscanner user mods, etc., off the VM and onto a network share? If not, perhaps this could be considered as a feature request. If the VM becomes corrupted for any reason, restoring a backup results in the loss of all mail data between the time of corruption and the backup date. Having everything off the VM would mitigate this issue and likely facilitate easier migration between versions.
User avatar
shawniverson
Posts: 3760
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Proposal for External Storage of Mail Data in VM Environment

Post by shawniverson »

You can set up your initial install before you install eFa however you want.

You could install your OS and create mount points for these various things, then install eFa once you have it the way you want. Of course, you'll incur any performance penalty that using a network share brings.
User avatar
pdwalker
Posts: 1581
Joined: 18 Mar 2015 09:16

Re: Proposal for External Storage of Mail Data in VM Environment

Post by pdwalker »

Serious question

How many times have you had a vm corrupted?

I've been running efa in a vm for 9 years now and I've had 0 crashes or corruptions.

Has anyone ever had a vm go bad? Is this a problem you really need to solve?

Efa only filters mail. It is not a mail server. Let's assume worst case and you have to completely restore a week old VM and thus EFA cannot show you the last week of messages - does it really matter?

Your mail server, which is the ultimate destination of the messages filtered by efa, will still have all their messages.

If you store important data on a network share, you run additional risks of having strange issues if your network ever has problems. In my experience, this increases your risk of having problems.
Post Reply