From 6e44ac9fb40e426d9c9bcb140e9244b670553cb0 Mon Sep 17 00:00:00 2001 From: heraklit256 <37872459+heraklit256@users.noreply.github.com#> Date: Thu, 27 Sep 2018 16:35:46 +0200 Subject: leaving original symbols if DNSWL composite rules are triggered Without policy = "leave", rspamd replaces the original symbols in log and message header (if enabled), which makes debugging more hard and is not used in this case. --- conf/composites.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/composites.conf b/conf/composites.conf index 2b4c57072..37ae2ed36 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -85,16 +85,19 @@ composites { expression = "RECEIVED_PBL & -RCVD_VIA_SMTP_AUTH"; description = "Relayed through ZEN PBL IP without sufficient authentication (possible indicating an open relay)"; score = 2.0; + policy = "leave"; } RCVD_DKIM_ARC_DNSWL_MED { expression = "(R_DKIM_ALLOW | ARC_ALLOW ) & RCVD_IN_DNSWL_MED"; description = "Sufficiently DKIM/ARC signed and received from IP with medium trust at DNSWL"; score = -1.5; + policy = "leave"; } RCVD_DKIM_ARC_DNSWL_HI { expression = "(R_DKIM_ALLOW | ARC_ALLOW ) & RCVD_IN_DNSWL_HI"; description = "Sufficiently DKIM/ARC signed and received from IP with high trust at DNSWL"; score = -3.5; + policy = "leave"; } .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf" -- cgit v1.2.3