aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/vadesecure.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-03 10:19:19 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-03 10:19:19 +0100
commit25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2 (patch)
treedbf1074635670dd8389977432494dc2b2354aa4f /lualib/lua_scanners/vadesecure.lua
parent038039fc3599792d01863eae66d6ebc7f12cc7dc (diff)
downloadrspamd-25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2.tar.gz
rspamd-25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2.zip
[Minor] Add message-id for Vade spam verdict
Diffstat (limited to 'lualib/lua_scanners/vadesecure.lua')
-rw-r--r--lualib/lua_scanners/vadesecure.lua4
1 files 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)