diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-11-12 11:56:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-11-12 11:56:20 +0000 |
commit | 4a1d4f4f3deb5355abeb181cf1f54808ea7c4aa5 (patch) | |
tree | c6c74bc85fded9c798b14fd492da43ccb464f6e0 /lualib | |
parent | 86ad40d95035264206b0c22117bdb0058648cbc2 (diff) | |
download | rspamd-4a1d4f4f3deb5355abeb181cf1f54808ea7c4aa5.tar.gz rspamd-4a1d4f4f3deb5355abeb181cf1f54808ea7c4aa5.zip |
[Minor] Add default score for cloudmark
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_scanners/cloudmark.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |