sa-learn and HA Cluster

degan

Member
Sep 25, 2019
19
0
6
Wuerzburg/Germany
Hey all,

i have here 2 nodes in an HA Cluster. On node 1 I used the command sa-learn to learn spam mails:
"sa-learn --dbpath /var/lib/amavis/.spamassassin --progress --spam /var/spam/"

I noticed, that on node 1 the folder "/var/lib/amavis" exists, but on node 2 it is not.
Have i do the sa-learn on both nodes or must i sync the database?

Thanks a lot
 
* PMG does not use amavisd (I would recommend that you remove the package from the node which has amavisd installed).
* the path of the spamassassin config is '/root/.spamassassin'
* there is not HA integration of the bayes database - train spamassassin on each of your nodes with the same spam/ham samples

I hope this helps!
 
  • Like
Reactions: degan

About

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!