浏览代码

[Rspamd] Replace 00 bad domains by bad regex map (wip)

andryyy 4 年之前
父节点
当前提交
fe483d882d
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      data/conf/rspamd/local.d/multimap.conf

+ 5 - 4
data/conf/rspamd/local.d/multimap.conf

@@ -163,10 +163,11 @@ SMTP_LIMITED_ACCESS {
   symbols_set = ["SMTP_LIMITED_ACCESS"];
 }
 
-BAD_REGEX_00 {
-  type = "content";
-  filter = "headers"
+BAD_SUBJECT_00 {
+  type = "header";
+  header = "subject";
   regexp = true;
-  map = "http://nullnull.org/bad-header-regex.txt";
+  map = "http://nullnull.org/bad-subject-regex.txt";
   score = 20.0;
+  symbols_set = ["BAD_SUBJECT_00"];
 }