Browse Source

Move mail to spam when DKIM fails, ignore when white/blacklist and honor other actions

andryyy 8 years ago
parent
commit
95cbfe3661
1 changed files with 7 additions and 0 deletions
  1. 7 0
      data/conf/rspamd/local.d/force_actions.conf

+ 7 - 0
data/conf/rspamd/local.d/force_actions.conf

@@ -0,0 +1,7 @@
+rules {
+  DKIM_FAIL {
+    action = "add header";
+    expression = "R_DKIM_REJECT & !MAILLIST & !MAILCOW_WHITE & !MAILCOW_BLACK";
+    require_action = ["no action", "greylist"];
+  }
+}