From 19d0eedeba82189054b5c97303f52a0659adfc3d Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 24 Nov 2019 16:08:58 +0100 Subject: [PATCH] [Rspamd] Add FORGED_W_BAD_POLICY --- data/conf/rspamd/local.d/composites.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/conf/rspamd/local.d/composites.conf b/data/conf/rspamd/local.d/composites.conf index a6706f70..d0b9c4d5 100644 --- a/data/conf/rspamd/local.d/composites.conf +++ b/data/conf/rspamd/local.d/composites.conf @@ -30,3 +30,7 @@ BAD_WORD_BAD_TLD { expression = "FISHY_TLD & ( BAD_WORDS | BAD_WORDS_DE )" score = 10.0; } +FORGED_W_BAD_POLICY { + expression = "( ~g+:policies | ~R_SPF_NA) & ( ~FROM_NEQ_ENVFROM & ~FORGED_SENDER )" + score = 3.0; +}