Enable per user learning and controller worker

This commit is contained in:
Alex D. 2021-03-12 10:12:58 +00:00
parent 1c8496bd35
commit 8556f0ca36
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 8 additions and 7 deletions

View File

@ -5,8 +5,8 @@ _configpath="/etc/rspamd/redxen"
. ../APKBUILD-config.common
pkgver=2021.02.14
pkgrel=6
pkgver=2021.03.09
pkgrel=0
_baseconf="
rspamd.conf
composites.conf
@ -66,5 +66,5 @@ dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b235
667ec0331c811730e096e27f5e8659062239f46e3ccd148411984bb4d83b8770cc0d7d3c74dd5a2da71781e9b99d4bcb5a700cbd5f56ae8e17f7c4e50519ffb2 composites.conf
5f193596d1d9827b194a2ea4a9b06b729450ca7e77e8049ad9c53be99b5e28fc95fd69a2c4b639691bacd6aef099f8c69ee364f1ecd902f256f64c25ad9d3374 groups.conf
78df39cbc6e09cdc5e01d27e123d82aa677a70a6f5d59ba0be8d0ce6af012c5311e4a2527e4fbc586f9cdd8da033e9f05e2371970fa23db60eaa8c16c8e85f05 logging.conf
84ee76d9e8cb3a945a0c29876ccad40e1f16399e711c4941f46f89f4c1a7cd80808ea4241da04921c4f916a13ee845e0711e63664ad8d94fdcbb6fb3e9354646 statistic.conf
3e662e1409b789ffdafa82949466f529f789ffafc4cdeb4cdf89068ba033b0ee736a94704edac75d8a9937abe065a23320cd87fd5f23acfdb68a22e871f8f7cb workers.conf"
da374e2af4c413e911ab4dbcaa516c491dd8d0785435736c6f577a0900e3dd83e8a28f8ef3f16230808ab64c0d6dea883e737352a556ecc91daaf5ab3ac5901e statistic.conf
d2b081a91d14eab3bb60544a802e4778c4f977ee2db3b9cd0e475f74d7d7860960e17fdaea0ceb962a8bb84785e73b47db36b490a8f8400fa6cff287d4a0b588 workers.conf"

View File

@ -6,6 +6,7 @@ classifier "bayes" {
backend = "redis";
min_tokens = 11;
min_learns = 5;
per_user = true;
new_schema = true;
store_tokens = true;
signatures = false;
@ -20,7 +21,7 @@ classifier "bayes" {
}
autolearn {
spam_threshold = 7;
ham_threshold = 0;
ham_threshold = -0.5;
check_balance = true;
min_balance = 0.9;
}

View File

@ -5,8 +5,8 @@ worker "normal" {
}
worker "controller" {
enabled = false;
count = -1;
enabled = true;
count = 1;
bind_socket = "localhost:7512";
}