[Rspamd-Users] Recurring message in rspamd.log

Alexander Moisseev moiseev at mezonplus.ru
Mon Mar 25 06:25:28 UTC 2024


On 25.03.2024 1:17, Steve Witten wrote:
> 
> *${CONFDIR}/statistic.conf*
> 
> classifier "bayes" {
>>    tokenizer {
>>      name = "osb";
>>    }
...
>>    #  min_balance = 0.9; # Keep diff for spam/ham learns for at least this
>> value
>>    #}
>>    .include(try=true; priority=1)
>> "$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
>>    .include(try=true; priority=10)
>> "$LOCAL_CONFDIR/override.d/classifier-bayes.conf"
>> }
>> .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/statistic.conf"
>> .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/statistic.conf"
>>
> 
> *${CONFDIR}/local.d/classifier-bayes.conf*
> 
> classifier "bayes" {
>>    tokenizer {
>>      name = "osb";
>>    }
...
>> }

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.

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



More information about the Users mailing list