From: Vsevolod Stakhov Date: Fri, 15 Jul 2016 09:53:10 +0000 (+0100) Subject: [Fix] Another fix for postfilters X-Git-Tag: 1.3.0~75 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce6199422c354b48c4b77310ced1350acc2b5cef;p=rspamd.git [Fix] Another fix for postfilters --- diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 61060e29c..2642b607a 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -1448,6 +1448,11 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task, checkpoint = task->checkpoint; } + if (stage == RSPAMD_TASK_STAGE_POST_FILTERS && checkpoint->pass < + RSPAMD_CACHE_PASS_POSTFILTERS) { + checkpoint->pass = RSPAMD_CACHE_PASS_POSTFILTERS; + } + msg_debug_task ("symbols processing stage at pass: %d", checkpoint->pass); start_events_pending = rspamd_session_events_pending (task->s);