From: Vsevolod Stakhov Date: Tue, 20 Aug 2019 09:14:37 +0000 (+0100) Subject: [Rework] Slashing: Turn off postfilters when passthrough result is set X-Git-Tag: 2.0~378 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c4b68a09b471b45ff4f53fa4c76cd35d696908c;p=rspamd.git [Rework] Slashing: Turn off postfilters when passthrough result is set --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index afc741af9..9069d3f85 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -2035,8 +2035,7 @@ lua_task_set_pre_result (lua_State * L) RSPAMD_TASK_STAGE_CLASSIFIERS_PRE | RSPAMD_TASK_STAGE_CLASSIFIERS_POST); rspamd_symcache_disable_all_symbols (task, task->cfg->cache, - SYMBOL_TYPE_IDEMPOTENT | SYMBOL_TYPE_IGNORE_PASSTHROUGH | - SYMBOL_TYPE_POSTFILTER); + SYMBOL_TYPE_IDEMPOTENT | SYMBOL_TYPE_IGNORE_PASSTHROUGH); } } else {