From 7ce28bd6e90278133fd9facabd0c043af8ac2ed7 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Thu, 9 Mar 2023 08:28:18 +0000 Subject: [PATCH] Fix some small errors --- core/rspamd/conf/antivirus.conf | 2 +- core/rspamd/conf/external_services_group.conf | 72 +++++++++---------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/core/rspamd/conf/antivirus.conf b/core/rspamd/conf/antivirus.conf index 6964d17a..3c3a2887 100644 --- a/core/rspamd/conf/antivirus.conf +++ b/core/rspamd/conf/antivirus.conf @@ -3,7 +3,7 @@ clamav { scan_mime_parts = true; symbol = "CLAM_VIRUS"; type = "clamav"; - servers = "{{ ANTIVIRUS_ADDRESS }}"; + servers = "{{ ANTIVIRUS_ADDRESS }}:3310"; {% if ANTIVIRUS_ACTION|default('discard') == 'reject' %} action = "reject" {% endif %} diff --git a/core/rspamd/conf/external_services_group.conf b/core/rspamd/conf/external_services_group.conf index bd9f9b45..3b7f2d96 100644 --- a/core/rspamd/conf/external_services_group.conf +++ b/core/rspamd/conf/external_services_group.conf @@ -2,41 +2,41 @@ {% if SCAN_MACROS == 'True' %} # local.d/external_services_group.conf - description = "Oletools content rules"; - symbols = { - "OLETOOLS" { - weight = 1.0; - description = "OLETOOLS found a Macro"; - one_shot = true; - }, - "OLETOOLS_MACRO_FOUND" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_AUTOEXEC" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_FLAG" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_VBASTOMP" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_A" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_W" { - weight = 0.0; - one_shot = true; - }, - "OLETOOLS_X" { - weight = 0.0; - one_shot = true; - }, - } +description = "Oletools content rules"; +symbols = { + "OLETOOLS" { + weight = 1.0; + description = "OLETOOLS found a Macro"; + one_shot = true; + }, + "OLETOOLS_MACRO_FOUND" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_AUTOEXEC" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_FLAG" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_VBASTOMP" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_A" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_W" { + weight = 0.0; + one_shot = true; + }, + "OLETOOLS_X" { + weight = 0.0; + one_shot = true; + }, +} {% endif %} .include(try=true,priority=1,duplicate=merge) "/overrides/external_services_group.conf"