소스 검색

[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"];
 }