Hi All,
I created an small bash script to teach the bayes of all the users.
https://bitbucket.org/jordivn/wes-scripts/src/master/LearnBayesUserBased.sh
LearnBayesUserBased.sh
Script for teaching SA Bayes on an directadmin server. It loops thru every user => domain => mailbox => mailfolder. Only handmade folders (others then default) are used for HAM. Known spamboxes are used for SPAM. It downloads the spam file from http://artinvoice.hu/spams/$spamfile and teached it at SPAM. Then sync the journal and dumps the magic. All saved in an log (/var/log/sa-learn/) per user.
This can help to speed up the learning of the first 200 ham and spam messages for users who just enabled SA.
You could use this script in an daily cron. Then is speeds up the refreshment of the bayes tokens.
Feel free to use it. (At own risk ofcourse)
I created an small bash script to teach the bayes of all the users.
https://bitbucket.org/jordivn/wes-scripts/src/master/LearnBayesUserBased.sh
LearnBayesUserBased.sh
Script for teaching SA Bayes on an directadmin server. It loops thru every user => domain => mailbox => mailfolder. Only handmade folders (others then default) are used for HAM. Known spamboxes are used for SPAM. It downloads the spam file from http://artinvoice.hu/spams/$spamfile and teached it at SPAM. Then sync the journal and dumps the magic. All saved in an log (/var/log/sa-learn/) per user.
This can help to speed up the learning of the first 200 ham and spam messages for users who just enabled SA.
You could use this script in an daily cron. Then is speeds up the refreshment of the bayes tokens.
Feel free to use it. (At own risk ofcourse)