From 05bd1291a8012ba334781bb7d6ea5bcc8cbcdac9 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Fri, 30 Jul 2021 17:33:19 +0000 Subject: [PATCH] Make BAYES filter learn more before acting --- config/rspamd/APKBUILD | 4 ++-- config/rspamd/statistic.conf | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/rspamd/APKBUILD b/config/rspamd/APKBUILD index 705a15d..b392c4b 100644 --- a/config/rspamd/APKBUILD +++ b/config/rspamd/APKBUILD @@ -3,7 +3,7 @@ . ../APKBUILD-config.template -pkgver=2021.07.03.02 +pkgver=2021.07.03.03 pkgrel=0 _baseconf=" rspamd.conf @@ -74,7 +74,7 @@ eacbbe96fdfea9112b633bdf5471fcf8b2c297513685397759d588ad47905cf225dae3e4262dacb1 5dc7a2976b71d09739aec02081b77d80e442ff5d5ad4781a456028a0d5076865b8d7768a2ff3e301b6d1ed99772339db385fe11dcc7be88086e25f11ed11e3a7 composites.conf 6f25c81b7d8155bb92dd461b65fe3a89cc26ea2caed729c24dc539378ddd578e565a0943bed763cd4238fd49bcb1209dc7002333d0d91eebb9633c6d0fe47442 groups.conf 99d6b2b173ac5b62977562bb3f2d04cf29d3d94329a4b2abc120e6cca6da79d5ac2a35a16832f62b8e1fed331b6724f21b5e1aab076bd3c57b28b2261302238a logging.conf -b4612fd65243fa19bdff6f6696afc95f508b0680d23c735e1b3b6f96eef6dd5c5ba2240230ea27d33d3ed3a476317083b7f2b6f590ef2cb685f6c54fd6b5a211 statistic.conf +e40a35928fe429c98301a4fd25d6fb71801ad0a78fa244423726df0bf069950756c77a1d03c77b8dcdae8eda27d3dd95ab67964fad005b90547fafb12718c28d statistic.conf 301315c98f2816a9542a410352bf3eb7f025a57f8ccc37666f51a3371580cba06344197c2f2a4049d402472ba7c9a542a21e6938ac022030e95a472e8bba33b6 workers.conf 2adbbed7442b2efad0c78aa735e562da68c992114b8b1b12258d39234cda66d198dddeaa5246f0b897b6174fc7b52430fada1bd1cd5870142b72d935c4f6e12f spamtrap.map " diff --git a/config/rspamd/statistic.conf b/config/rspamd/statistic.conf index 8d66c8b..a775b74 100644 --- a/config/rspamd/statistic.conf +++ b/config/rspamd/statistic.conf @@ -4,12 +4,12 @@ classifier "bayes" { name = "osb"; } backend = "redis"; - min_tokens = 11; - min_learns = 5; + min_tokens = 20; + min_learns = 50; new_schema = true; store_tokens = true; signatures = false; - expire = 2592000; + expire = 604800; statfile { symbol = "BAYES_HAM"; spam = false;