From: Vsevolod Stakhov Date: Fri, 12 Nov 2021 11:56:20 +0000 (+0000) Subject: [Minor] Add default score for cloudmark X-Git-Tag: 3.2~269 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4a1d4f4f3deb5355abeb181cf1f54808ea7c4aa5;p=rspamd.git [Minor] Add default score for cloudmark --- 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