]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Move nresults_postfilters recording to after POST_FILTERS stage
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 14 Oct 2025 10:58:32 +0000 (11:58 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 14 Oct 2025 10:58:32 +0000 (11:58 +0100)
commitb4649ad851f67e64d2186100b9b53eb187f1f062
tree8a833132fad183654429cf5f94c83c7241fc30de
parent1930475a2358f61a9daba5900e8a6f9b977b2bc7
[Fix] Move nresults_postfilters recording to after POST_FILTERS stage

This fixes an issue where composite rules depending on statistics symbols
(like BAYES_SPAM) would fail to trigger. The nresults_postfilters counter
was being set too early (after COMPOSITES stage), preventing detection of
symbols added during autolearn or other post-filter processing.

Fixes #5674
src/libserver/task.c