Explorar o código

[Rspamd] Add fuzzy hashes to headers, if matched

andryyy %!s(int64=5) %!d(string=hai) anos
pai
achega
537b7dad14
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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_authenticated = true;
 routines {
@@ -12,8 +12,8 @@ routines {
   }
   authentication-results {
     header = "Authentication-Results";
-    remove = 1;
     add_smtp_user = false;
+    remove = 1;
     spf_symbols {
       pass = "R_SPF_ALLOW";
       fail = "R_SPF_FAIL";