[Rspamd-Users] learn error: all learn conditions denied learning ham in default classifier

Larry Nedry rspamd at bluestreak.net
Mon Feb 21 15:03:13 UTC 2022


On 2/21/22 8:02 AM, Jürgen Echter via Users wrote:
> Am Montag, Februar 21, 2022 13:55 CET, schrieb Larry Nedry <rspamd at bluestreak.net>:
>   I'm experiencing the same error, when training spam:
> HTTP error: 404, all learn conditions denied learning spam in default
> classifier
>
>
> On 2/21/22 7:19 AM, Tony Blue wrote:
>> Has someone an idea for me? Or is my question wrong here?
>>
>> Am 13.02.2022 um 17:13 schrieb Tony Blue:
>>> Hallo,
>>>
>>> please excuse my bad english - but I am not a native Speaker.
>>>
>>> If I try to teach a mail as "ham" via the web interface
>>> (http://my-ip:11334/#scan), I get the following error messages.
>>>
>>>
>>> ...
>>>
>>> Feb 13 16:57:43 firstmail rspamd[1161]: <bdbec3>; csession;
>>> rspamd_stat_classifier_is_skipped: learn condition for classifier bayes
>>> returned: already in class ham; probability 100.00%; skip classifier
>>>
>>> Feb 13 16:57:43 firstmail rspamd[1161]: <bdbec3>; csession;
>>> rspamd_task_process: learn error: all learn conditions denied learning
>>> ham in default classifier
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/usersHi,
>
> this sounds like a different problem.
>
> Maybe related to this:
>
> https://github.com/rspamd/rspamd/issues/3956#issuecomment-962220447
>    

The issue described in the link that you provided has the same error 
message and was resolved:
https://github.com/rspamd/rspamd/commit/58037bbffc0e3fd7873b6b411ea2c3aeb0f3ea91

I'm running Rspamadm 3.1. I guess that fix hasn't made it into the 
latest release yet.



More information about the Users mailing list