[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
Gerald Galster
list+rspamd at gcore.biz
Thu Jun 26 00:29:25 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
>
> [...]
>
> 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.
Sounds similar to this thread:
https://lists.rspamd.com/pipermail/users/2024-December/003604.html
> Anyway: How can I silence these messages the correct way?
Try to ensure keydb is available before rspamd starts for the time being.
Best regards,
Gerald
More information about the Users
mailing list