Store all spool & user data outside VM

Questions and answers about how to do stuff
Post Reply
mobamobamoba
Posts: 11
Joined: 31 May 2017 13:39

Store all spool & user data outside VM

Post by mobamobamoba »

Is there a way to have the Postfix spool, all mail, all spamassassin/mailscanner user mods, etc. be stored off the VM and on a network share? If not, maybe this could move to a feature request because if the VM gets corrupt for whatever reason, restoring a backup unfortunately means you lose all the mail data between when the VM corruption and the backup date. If everything were off the VM, this wouldn't be an issue and, I'm guessing, would make for simpler migration between versions.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Store all spool & user data outside VM

Post by shawniverson »

With nfs, things are possible :) you could mount /var/spool/MailScanner/quarantine on nfs somewhere, for example
mobamobamoba
Posts: 11
Joined: 31 May 2017 13:39

Re: Store all spool & user data outside VM

Post by mobamobamoba »

I kept running into permissions issues with /var/spool/MailScanner and a billion Google pages later I still couldn't figure out how to solve them. :)
Post Reply