[Rspamd-Users] Change of Bayes classifier and redis-DB

Reio Remma reio at mrstuudio.ee
Tue Oct 15 16:22:48 UTC 2019


On 15.10.2019 14:43, Wiethoff, Helge wrote:
> Hi,
>
> I have a problem with redis and rspamd. The memory usage of the redis DB grew
> linearly over months and I couldn't explain exactly why. Now shortly before the
> maximum load I updated to rspamd 2.0 and changed the bayes classifier: I changed
> my per-user-config (as shown here:
> https://rspamd.com/doc/configuration/statistic.html#redis-statistics) back to
> the default.
>
> After a reboot and a delete of the redis DB, the tokens are no longer saved:
>
> 2019-10-15 12:48:59 #2856(rspamd_proxy) <2af2d5>; proxy;
> rspamd_redis_finalize_process: cannot retreive stat tokens from Redis: skip
> obtaining bayes tokens for BAYES_SPAM: not enough learns 0; 200 required
> 2019-10-15 12:48:59 #2856(rspamd_proxy) <2af2d5>; proxy;
> rspamd_redis_finalize_process: cannot retreive stat tokens from Redis: skip
> obtaining bayes tokens for BAYES_HAM: not enough learns 0; 200 required
>
> Does anyone have any idea what to do?

Hello! I believe you need to re-train your bayes with ham and spam.

Good luck,
Reio


More information about the Users mailing list