[Rspamd-Users] Recurring message in rspamd.log

Steve Witten caponecicero at gmail.com
Mon Mar 25 14:31:54 UTC 2024


See inline...

On Sun, Mar 24, 2024 at 11:27 PM Alexander Moisseev via Users <
users at lists.rspamd.com> wrote:

> On 25.03.2024 1:17, Steve Witten wrote:
> >
> > *${CONFDIR}/statistic.conf*
> >
> > classifier "bayes" {
> >>    tokenizer {
> >>      name = "osb";
> >>    }
>

<snip />


> This is not correct.
> 1. Remove the 'classifier "bayes" {}' block declaration from the
> classifier-bayes.conf since the classifier-bayes.conf contents is included
> inside the block in statistic.conf .
> 2. There is no need to duplicate options already defined in
> classifier-bayes.conf as files are merged.
>

This was NOT the problem at all...

Check if Redis is running, responding to requests and match Rspamd
> configuration (# rspamadm configdump redis).
>

This was the problem.  I had been running redis as a server behind a
unix-domain socket (/var/run/redis/redis.sock) and configured rspamd
appropriately.  The socket had appropriate ownership and permissions.  I
changed redis to run behind an internet-domain socket (localhost:6329),
modified rspamd appropriately, restarted everything and the problem went
away.

Using a unix-domain socket for redis USED to work perfectly...so something
changed.  I would suggest that this is a bug.

-- 
Steve Witten


More information about the Users mailing list