Migrate Proxmox Mail Gateway Spam Database New System


Oct 14, 2020
Hello, iam installed new fresh installation PMG 8.0, and restore the backup from old 6.0 version.
Then iam copy the spam folders and content (/var/spool/pmg/spam) with SCP to new server...

The spam quarantine emails database does not appear, ---Administration --->>spam quarantine
It is still empty.
I have copied all the folders and subfolders ((/var/spool/pmg/spam) from the previous system, is there a command to recreate the quarantine database?
Last edited:
No - the quarantine is not part of the backup/restore - as the mails stored there are transitory - and it usually does not make sense to keep them around.
How long is your Quarantine life-time - why do you want to migrate the quarantine?
Hello, thank you very much for responding.
The truth is that I wanted to keep it for internal registration and for Bayesian filter self-learning. and I wanted to use those messages so that the new system learns from the old system's spam messages.

my old system quarantine database is 1 year...

so this is not necessary to keep for spam self-learning?
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!