commit 4a1d4f4: [Minor] Add default score for cloudmark

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Nov 12 21:21:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-11-12 11:56:20 +0000
URL: https://github.com/rspamd/rspamd/commit/4a1d4f4f3deb5355abeb181cf1f54808ea7c4aa5

[Minor] Add default score for cloudmark

---
 lualib/lua_scanners/cloudmark.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_scanners/cloudmark.lua b/lualib/lua_scanners/cloudmark.lua
index 66d93203d..fc109cb84 100644
--- a/lualib/lua_scanners/cloudmark.lua
+++ b/lualib/lua_scanners/cloudmark.lua
@@ -83,7 +83,7 @@ local function cloudmark_config(opts)
 
   if cloudmark_conf.upstreams then
 
-    cloudmark_conf.symbols = {cloudmark_conf.symbol_spam}
+    cloudmark_conf.symbols = {{ symbol = cloudmark_conf.symbol_spam, score = 5.0 }}
     lua_util.add_debug_alias('external_services', cloudmark_conf.name)
     return cloudmark_conf
   end


More information about the Commits mailing list