aboutsummaryrefslogtreecommitdiffstats
path: root/rules/content.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-30 17:25:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-30 17:25:29 +0100
commit80d82fd1bde27d3db317dcdd6d1dc8a25968e24e (patch)
tree6b8fdf06b86faba3bf20a5bf41b6aaa63d40ecf3 /rules/content.lua
parent034d18670b8ec22a21bb54c967f11d329f9ab98e (diff)
downloadrspamd-80d82fd1bde27d3db317dcdd6d1dc8a25968e24e.tar.gz
rspamd-80d82fd1bde27d3db317dcdd6d1dc8a25968e24e.zip
[Minor] Improve PDF_SUSPICIOUS rule
Diffstat (limited to 'rules/content.lua')
-rw-r--r--rules/content.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/content.lua b/rules/content.lua
index d95eeec63..2b8a03ba5 100644
--- a/rules/content.lua
+++ b/rules/content.lua
@@ -30,7 +30,7 @@ local function process_pdf_specific(task, part, specific)
end
if specific.suspicious then
- suspicious_factor = suspicious_factor + 0.7
+ suspicious_factor = suspicious_factor + specific.suspicious
end
if suspicious_factor > 0.5 then