浏览代码

[Rspamd] Scan the whole message to be able to trigger Sanesecurity rules
[Rspamd] Increase add_header and greylist score

andryyy 6 年之前
父节点
当前提交
94d7952802
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 4 1
      data/conf/rspamd/local.d/antivirus.conf
  2. 2 2
      data/conf/rspamd/local.d/metrics.conf

+ 4 - 1
data/conf/rspamd/local.d/antivirus.conf

@@ -1,5 +1,8 @@
 clamav {
-  scan_mime_parts = true;
+  # Scan whole message
+  scan_mime_parts = false;
+  #scan_text_mime = true;
+  #scan_image_mime = true;
   symbol = "CLAM_VIRUS";
   type = "clamav";
   log_clean = true;

+ 2 - 2
data/conf/rspamd/local.d/metrics.conf

@@ -1,7 +1,7 @@
 actions {
 	reject = 15;
-	add_header = 5;
-	greylist = 4;
+	add_header = 8;
+	greylist = 7;
 }
 
 symbol "MAILCOW_AUTH" {