From: Vsevolod Stakhov Date: Wed, 3 Apr 2019 09:19:19 +0000 (+0100) Subject: [Minor] Add message-id for Vade spam verdict X-Git-Tag: 1.9.1~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2;p=rspamd.git [Minor] Add message-id for Vade spam verdict --- 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)