PDA

View Full Version : Clone userbased SA settings?


Sander
03-27-2008, 05:51 AM
Is it possible (maybe through database) to duplicate the spamassasin preferences (Learn Ham/Spam) from one user to another?

IWorx-Paul
03-27-2008, 06:06 AM
Hi,

Take a look at the sa-learn command. For example

sa-learn -u user@domain.com --backup > backup.txt
and
sa-learn -u user@domain.com --restore backup.txt

Paul

Sander
03-29-2008, 06:15 AM
Hi Paul,

Thanks for your quick reply, I already did this for several users now. Is it also possible to take (for instance) my spamsettings and apply them serverwide? and do users still have the ability to learn spam/ham then?

Considering the effectiveness of this functionality we are thinking of providing all our customers with a baseline set of spam rules.

Justec
03-29-2008, 09:04 PM
You can set this in NodeWorx for either per user or server wide.

Global Bayes Database:
Use the dropdown to enable or disable the Bayes global database. If enabled, all the Bayes data will be stored as a single global user. If disabled, each e-mail box user will have their own Bayes database to store bayesian data. "Disabled" is considered more effective for fighting Spam, but requires all e-mail users to train their messages individually, and uses more disk space, compared to the global database option.