From 95cbfe366130023acaa42f59617dd6d9e11a53bc Mon Sep 17 00:00:00 2001 From: andryyy Date: Fri, 21 Apr 2017 10:19:07 +0200 Subject: [PATCH] Move mail to spam when DKIM fails, ignore when white/blacklist and honor other actions --- data/conf/rspamd/local.d/force_actions.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/conf/rspamd/local.d/force_actions.conf diff --git a/data/conf/rspamd/local.d/force_actions.conf b/data/conf/rspamd/local.d/force_actions.conf new file mode 100644 index 00000000..7b97e437 --- /dev/null +++ b/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"]; + } +}