[Rspamd-Users] lua; lua_bayes_redis.lua:145: cannot get bayes statistics for BAYES_HAM: cannot upload script from file: bayes_stat.lua to any server
Michael Grimm
trashcan at ellael.org
Wed Jun 25 13:57:02 UTC 2025
[ FreeBSD stable/14-n271784 and rspamd 3.12.1 and keydb 6.3.4]
I find a lot of the following log lines starting with 3.12.1:
| lua; lua_bayes_redis.lua:145: cannot get bayes statistics for BAYES_HAM: cannot upload script from file: bayes_stat.lua to any server
| lua; lua_bayes_redis.lua:145: cannot get bayes statistics for BAYES_SPAM: cannot upload script from file: bayes_stat.lua to any server
Actually I do not want to use Bayesian statistics at all, and the WebUI shows...
mySERVER BAYES_SPAM redis 0 0
BAYES_HAM redis 0 0
… and my keydb database shows zero keys as well ...
keydb-cli -s /var/run/keydb/keydb.sock keys "BAYES_*"
(empty array)
… ever since running rspamd.
I tried to disable statistics in local.d/statistics.conf by 'enabled = false;', but to no avail.
BUT:
1) if I restart rspamd a second time after firing up my FreeBSD service jail
*or*
2) if I do start keydb *before* starting rspamd
those messages stop appearing. Weird, dunno why.
Anyway: How can I silence these messages the correct way?
Regards,
Michael
More information about the Users
mailing list