From: Vsevolod Stakhov Date: Thu, 15 Nov 2018 15:08:29 +0000 (+0000) Subject: [Fix] Disable headernames in bayes temporarily X-Git-Tag: 1.8.2~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa934c88f35c402aa01d5c039bb11040cb2afa63;p=thirdparty%2Frspamd.git [Fix] Disable headernames in bayes temporarily --- diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index e06bd1fe36..e4f95a514e 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -185,6 +185,7 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx, } /* Use more precise headers order */ +#if 0 cur = g_list_first (task->headers_order->head); while (cur) { hdr = cur->data; @@ -197,6 +198,7 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx, cur = g_list_next (cur); } +#endif /* Use metatokens plugin from Lua */ lua_getglobal (L, "rspamd_plugins");