]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] autolearnstats: fix false-positive learned detection 5946/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 19 Mar 2026 16:42:45 +0000 (19:42 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 19 Mar 2026 16:42:45 +0000 (19:42 +0300)
commit7103a28d9aff81eecbec910734062ca5e539e3c5
tree7f34eb4683f9f93bc9114f14e8178db24d20beba
parentafae35f8783389254ad1a611d146b10d410e64ee
[Minor] autolearnstats: fix false-positive learned detection

 rspamd_stat_check_autolearn emits error log lines sharing the
 same function prefix as its success messages. Narrow re_confirmed
 to match only success lines, which start with <MSG-ID>: autolearn.
lualib/rspamadm/autolearnstats.lua