commit 25a716e: [Minor] Add message-id for Vade spam verdict
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Apr 3 10:49:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-04-03 10:19:19 +0100
URL: https://github.com/rspamd/rspamd/commit/25a716e97810a1c1f80f3d1cbae5a3dfd97cecb2
[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)
More information about the Commits
mailing list