]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
leaving original symbols if DNSWL composite rules are triggered
authorheraklit256 <37872459+heraklit256@users.noreply.github.com#>
Thu, 27 Sep 2018 14:35:46 +0000 (16:35 +0200)
committerheraklit256 <37872459+heraklit256@users.noreply.github.com#>
Thu, 27 Sep 2018 14:35:46 +0000 (16:35 +0200)
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

index 2b4c57072e70a7da2dd3cb83a6daaa1e7a6beb77..37ae2ed36669ecfc42e7cdc044b51c272e998c64 100644 (file)
@@ -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"