rspamd 1.8.2-2
centos7
From time to time rspamd complains that the spam is already in the class spam in its logs
for example :
Nov 30 01:26:09 prometheus rspamd[2893]: <52f247>; proxy; rspamd_task_process: learn error: <[email protected]> has been already learned as sp
am, ignore it
This does not affect the work of rspamd except that the error fills the history tab in the rspamd UI, and other errors could not be displayed. @moisseev do you think we could filter this kind of lines and not display them ?
I expect that this line of logs is understood as a warn and not an error
Actually each time this line appears, an error is displayed in the tab history

In my opinion, it is not an error, actually. @vstakhov Can we just change its severity to notice?
yes, a notice should be good
Hi @vstakhov
thank for the 1.8.3 version today, do you think we could change the severity to something not an error, the history tab is full of learn error
I figured that the learn error comes after a virus detection found by clamav
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; lua; antivirus.lua:105: clamav: virus found: "Sanesecurity.Scam.12538.UNOFFICIAL"
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; proxy; rspamd_add_passthrough_result: <[email protected]>: set pre-result to reject (no score): 'clamav: virus found: "Sanesecurity.Scam.12538.UNOFFICIAL"' from antivirus(1)
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; surbl; process_dns_results: <[email protected]> domain [helgahanna.su] is in surbl sbl.spamhaus.org(200007f)
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; proxy; rspamd_check_group_score: maximum group score 12.50 for group surbl has been reached, ignoring symbol URIBL_SBL with weight 6.50
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; proxy; rspamd_stat_check_autolearn: <[email protected]>: autolearn spam for classifier 'bayes' as message's action is reject, score: 43.26
Dec 9 04:15:38 prometheus rspamd[25030]: <8fd7a1>; proxy; rspamd_task_process: learn error: <[email protected]> has been already learned as spam, ignore it
this is the full gist
set pre-result to reject (no score)
will try to set a score in /etc/rspamd/scores.d/nethserver_group.conf
symbols = {
symbol "CLAM_VIRUS" {
weight = 200.0;
description = "Clamav Antivirus found";
}
}
Most helpful comment
In my opinion, it is not an error, actually. @vstakhov Can we just change its severity to
notice?