sa-learn and HA Cluster

degan

Active Member
Sep 25, 2019
22
0
41
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