Page 1 of 1

Store all spool & user data outside VM

Posted: 16 Feb 2021 19:57
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.

Re: Store all spool & user data outside VM

Posted: 16 Feb 2021 22:37
by shawniverson
With nfs, things are possible :) you could mount /var/spool/MailScanner/quarantine on nfs somewhere, for example

Re: Store all spool & user data outside VM

Posted: 17 Feb 2021 12:30
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. :)