From a99ae786dba4d65d690fddf42ad7ff28b27fbe21 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Mon, 15 May 2023 07:01:13 +0200 Subject: [PATCH] adjust `antivirus.conf` for Rspamd (#3331) See #3320 --- target/rspamd/local.d/actions.conf | 6 ++++++ target/rspamd/local.d/antivirus.conf | 2 ++ 2 files changed, 8 insertions(+) diff --git a/target/rspamd/local.d/actions.conf b/target/rspamd/local.d/actions.conf index 38632624..b214c339 100644 --- a/target/rspamd/local.d/actions.conf +++ b/target/rspamd/local.d/actions.conf @@ -1,3 +1,9 @@ # documentation: https://rspamd.com/doc/configuration/metrics.html#actions +# and https://rspamd.com/doc/configuration/metrics.html + +#greylist = 4; +#add_header = 6; +#rewrite_subject = 7; +#reject = 15; subject = "***SPAM*** %s" diff --git a/target/rspamd/local.d/antivirus.conf b/target/rspamd/local.d/antivirus.conf index 78c44051..ecd2dae1 100644 --- a/target/rspamd/local.d/antivirus.conf +++ b/target/rspamd/local.d/antivirus.conf @@ -11,4 +11,6 @@ ClamAV { symbol = "CLAM_VIRUS"; log_clean = true; max_size = 25000000; + timeout = 10; + retransmits = 2; }