From 25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 3 Apr 2019 10:19:19 +0100 Subject: [PATCH] [Minor] Add message-id for Vade spam verdict --- lualib/lua_scanners/vadesecure.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/lua_scanners/vadesecure.lua b/lualib/lua_scanners/vadesecure.lua index 99ac19b30..64660ff41 100644 --- a/lualib/lua_scanners/vadesecure.lua +++ b/lualib/lua_scanners/vadesecure.lua @@ -166,8 +166,8 @@ local function vade_check(task, content, digest, rule) end if rule.log_spamcause and obj.spamcause then - rspamd_logger.infox(task, 'vadesecure returned verdict="%s", score=%s, spamcause="%s"', - verdict, obj.score, obj.spamcause) + rspamd_logger.infox(task, 'vadesecure verdict="%s", score=%s, spamcause="%s", message-id="%s"', + verdict, obj.score, obj.spamcause, task:get_message_id()) else lua_util.debugm(rule.name, task, 'vadesecure returned verdict="%s", score=%s, spamcause="%s"', verdict, obj.score, obj.spamcause) -- 2.39.5