Explorar o código

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

andryyy %!s(int64=4) %!d(string=hai) anos
pai
achega
fe483d882d
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  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"];
 }