From 73b48fc13ef6b8132d1c684bc9bb30dca640c445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Tue, 16 Oct 2018 22:59:25 +0200 Subject: [PATCH] [Rspamd] Remove deprecated attachments_only in AV module [Rspamd] Remove old symbol score --- data/conf/rspamd/local.d/antivirus.conf | 2 +- data/conf/rspamd/local.d/metrics.conf | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/data/conf/rspamd/local.d/antivirus.conf b/data/conf/rspamd/local.d/antivirus.conf index 157c3cb9..9f9650a9 100644 --- a/data/conf/rspamd/local.d/antivirus.conf +++ b/data/conf/rspamd/local.d/antivirus.conf @@ -1,5 +1,5 @@ clamav { - attachments_only = true; + scan_mime_parts = true; symbol = "CLAM_VIRUS"; type = "clamav"; log_clean = true; diff --git a/data/conf/rspamd/local.d/metrics.conf b/data/conf/rspamd/local.d/metrics.conf index 1e5a0fb3..5eded9c6 100644 --- a/data/conf/rspamd/local.d/metrics.conf +++ b/data/conf/rspamd/local.d/metrics.conf @@ -26,12 +26,6 @@ group "MX" { one_shot = "true"; } } - -symbol "SPOOFED_SENDER" { - description = "Sender is not authenticated but part of mailcow managed domains"; - score = 1.0; -} - symbol "CTYPE_MIXED_BOGUS" { score = 0.0; }