소스 검색

[Rspamd] Add fuzzy hashes to headers, if matched

andryyy 5 년 전
부모
커밋
537b7dad14
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      data/conf/rspamd/local.d/milter_headers.conf

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

@@ -1,4 +1,4 @@
-use = ["spam-header", "x-spamd-result", "x-rspamd-queue-id", "authentication-results"];
+use = ["spam-header", "x-spamd-result", "x-rspamd-queue-id", "authentication-results", "fuzzy-hashes"];
 skip_local = false;
 skip_local = false;
 skip_authenticated = true;
 skip_authenticated = true;
 routines {
 routines {
@@ -12,8 +12,8 @@ routines {
   }
   }
   authentication-results {
   authentication-results {
     header = "Authentication-Results";
     header = "Authentication-Results";
-    remove = 1;
     add_smtp_user = false;
     add_smtp_user = false;
+    remove = 1;
     spf_symbols {
     spf_symbols {
       pass = "R_SPF_ALLOW";
       pass = "R_SPF_ALLOW";
       fail = "R_SPF_FAIL";
       fail = "R_SPF_FAIL";