From 8cd4ae1e349f926b0a738e2165e54ead5c5b129a Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Fri, 23 Jun 2023 16:19:37 +0200 Subject: [PATCH] Improved Scores --- data/conf/rspamd/local.d/composites.conf | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/data/conf/rspamd/local.d/composites.conf b/data/conf/rspamd/local.d/composites.conf index b342bca61..cc458ea06 100644 --- a/data/conf/rspamd/local.d/composites.conf +++ b/data/conf/rspamd/local.d/composites.conf @@ -78,23 +78,29 @@ CLAMD_SPAM_FOUND { CLAMD_BAD_PDF { expression = "CLAM_SECI_PDF & !MAILCOW_WHITE"; description = "Bad PDF Found, Securite bad PDF Flag set through ClamAV"; - score = 6; + score = 8; } CLAMD_BAD_JPG { expression = "CLAM_SECI_JPG & !MAILCOW_WHITE"; description = "Bad JPG Found, Securite bad JPG Flag set through ClamAV"; - score = 3; -} - -CLAMD_BAD_HTML { - expression = "CLAM_SECI_HTML & !MAILCOW_WHITE"; - description = "Bad HTML Found, Securite bad HTML Flag set through ClamAV"; score = 8; } -CLAMD_BAD_JS { +CLAMD_ASCII_MALWARE { + expression = "CLAM_SECI_ASCII & !MAILCOW_WHITE"; + description = "ASCII malware found, Securite ASCII malware Flag set through ClamAV"; + score = 8; +} + +CLAMD_HTML_MALWARE { + expression = "CLAM_SECI_HTML & !MAILCOW_WHITE"; + description = "HTML malware found, Securite HTML malware Flag set through ClamAV"; + score = 8; +} + +CLAMD_JS_MALWARE { expression = "CLAM_SECI_JS & !MAILCOW_WHITE"; - description = "Bad JS Found, Securite bad JS Flag set through ClamAV"; + description = "JS malware found, Securite JS malware Flag set through ClamAV"; score = 8; } \ No newline at end of file