Hi, i get errors in the rspamd gui after updating to 3.1. Never saw this error before. 2.11.2021, 12:32:13 controller 55476 csession db5296 learn error: all learn conditions denied learning spam in default classifier In the rspamd.log it is this chapter: Code: 2021-11-02 12:37:23 #55478(normal) <6c2ef4>; task; rspamd_stat_classifier_is_skipped: learn condition for classifier bayes returned: already in class spam; probability 100.00%; skip classifier 2021-11-02 12:37:23 #55478(normal) <6c2ef4>; task; rspamd_task_process: learn error: all learn conditions denied learning spam in default classifier 2021-11-02 12:37:23 #55478(normal) <6c2ef4>; task; rspamd_task_write_log: id: <XBJKPs7XVlJoGQ1Or1en0VmCjmFhxyLFXpSPS583_IM.ZDh-Ztvg7Q1-WTU0hqODY0QaskQWtC_BOK8aGn-zV34@reducecrackpot.co>, qid: <098591141701>, ip: 185.121.123.212, from: <[email protected]>, (default: T (reject): [15.88/8.00] [URIBL_BLACK(7.50){liftcomplain.gripe:url;},BAYES_SPAM(5.10){100.00%;},SEM_URIBL_FRESH15(3.00){liftcomplain.gripe:url;},MIME_HTML_ONLY(0.20){},BAD_REP_POLICIES(0.10){},MX_GOOD(-0.01){},ARC_NA(0.00){},ARC_SIGNED(0.00){DOMAIN.de:s=default:i=1;},ASN(0.00){asn:213035, ipnet:185.121.123.0/24, country:NL;},DMARC_NA(0.00){reducecrackpot.co;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MID_RHS_MATCH_FROM(0.00){},MIME_TRACE(0.00){0:~;},PRECEDENCE_BULK(0.00){},RBL_VIRUSFREE_BOTNET(0.00){185.121.123.212:from;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},RWL_MAILSPIKE_NEUTRAL(0.00){185.121.123.212:from;},R_DKIM_NA(0.00){},R_SPF_ALLOW(0.00){+a;},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 8753, time: 2230.882ms, dns req: 33, digest: <07d617e91559ca38db00b78efdbeecbf>, rcpts: <[email protected]>, mime_rcpts: <[email protected]>, settings_id: ispc_spamfilter_user_36 2021-11-02 12:37:23 #55478(normal) <6c2ef4>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 2 regexps matched, 176 regexps total, 47 regexps cached, 0B scanned using pcre, 11.54KiB scanned total I suggest after skipping, because rspamd knows the spam it throws this message. But why it writes down an error and how can i get rid of this?
I got the update yesterday with apt-get Rspamd daemon version 3.1 https://www.pro-linux.de/cgi-bin/DBApp/check.cgi?ShowApp..14885.100
Strange, rspam.com tells nothing about released 3.1, but apt get has it available. Code: # LANG=C apt policy rspamd rspamd: Installed: 3.0-2~buster Candidate: 3.1-1~buster Version table: 3.1-1~buster 500 500 http://rspamd.com/apt-stable buster/main amd64 Packages *** 3.0-2~buster 100 100 /var/lib/dpkg/status 2.7-1~bpo10+1 100 100 http://deb.debian.org/debian buster-backports/main amd64 Packages 1.8.1-2+b2 500 500 http://mirror.hetzner.de/debian/packages buster/main amd64 Packages 500 http://deb.debian.org/debian buster/main amd64 Packages
Yeah, no release notes yet, but there is a changelog, I'd imagine the issue in this ticket is due to "[Rework] Rework learn and add classify condition".
The log messages seem to simply say that learning was skipped because the message being learning is already classified as spam, it's not indicating an error. Possibly the message in rspamd could be changed to sound less alarming.