Quellcode durchsuchen

Forwarding hosts: treat soft reject like greylist

Michael Kuron vor 8 Jahren
Ursprung
Commit
3d9c161be1
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      data/conf/rspamd/local.d/force_actions.conf

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

@@ -12,11 +12,11 @@ rules {
   WHITELIST_FORWARDING_HOST_NO_REJECT {
     action = "add header";
     expression = "WHITELISTED_FWD_HOST";
-    require_action = ["soft reject", "reject"];
+    require_action = ["reject"];
   }
   WHITELIST_FORWARDING_HOST_NO_GREYLIST {
     action = "no action";
     expression = "WHITELISTED_FWD_HOST";
-    require_action = ["greylist"];
+    require_action = ["greylist", "soft reject"];
   }
 }