From 17222eac94f1e06580dcaad6b1b55ff54203f5b5 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 13 Jan 2019 23:02:09 +0100 Subject: [PATCH] [Rspamd] Set max_size for AV [Rspamd] Set higher/lower scores for local fuzzy matches --- data/conf/rspamd/local.d/antivirus.conf | 1 + data/conf/rspamd/local.d/fuzzy_group.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/conf/rspamd/local.d/antivirus.conf b/data/conf/rspamd/local.d/antivirus.conf index 8c46821f..c8d31d1e 100644 --- a/data/conf/rspamd/local.d/antivirus.conf +++ b/data/conf/rspamd/local.d/antivirus.conf @@ -7,4 +7,5 @@ clamav { type = "clamav"; log_clean = true; servers = "clamd:3310"; + max_size = 20971520; } diff --git a/data/conf/rspamd/local.d/fuzzy_group.conf b/data/conf/rspamd/local.d/fuzzy_group.conf index 6b3390c6..f3effe4e 100644 --- a/data/conf/rspamd/local.d/fuzzy_group.conf +++ b/data/conf/rspamd/local.d/fuzzy_group.conf @@ -3,9 +3,9 @@ symbols = { weight = 2.0; } "LOCAL_FUZZY_DENIED" { - weight = 10.0; + weight = 15.0; } "LOCAL_FUZZY_WHITE" { - weight = -3.4; + weight = -10.0; } }