]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add default score for cloudmark
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Nov 2021 11:56:20 +0000 (11:56 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Nov 2021 11:56:20 +0000 (11:56 +0000)
lualib/lua_scanners/cloudmark.lua

index 66d93203dffcbe98a84842221b3ea36f9d207b48..fc109cb84b96e834eef22bf0cdc10be649124b87 100644 (file)
@@ -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