]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Merge pull request #2566 from heraklit256/composites-leave
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Oct 2018 18:57:38 +0000 (19:57 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Oct 2018 18:57:38 +0000 (19:57 +0100)
Minor Composite rule cleanup

1  2 
conf/composites.conf

index fc0918e004cea9aa4c2178e8c6e98d93430372d8,36490d3b726f53e3160f047c5a3e255ef52f6790..09ae5c1560b4959c0f7e8dcdad611f36c0e6b05c
@@@ -110,18 -110,15 +113,20 @@@ composites 
      PHISH_EMOTION {
          expression = "(PHISHING | DBL_PHISH | PHISHED_OPENPHISH | PHISHED_PHISHTANK) & (SUBJECT_ENDS_QUESTION | SUBJECT_ENDS_EXCLAIM)";
          description = "Phish message with subject trying to address users emotion";
-         score = 2.0;
+         score = 1.0;
+         policy = "leave";
      }
      HAS_ANON_DOMAIN {
 -        expression = "HAS_GUC_PROXY_URI | URIBL_RED | DBL_ABUSE_REDIR";
 +        expression = "HAS_GUC_PROXY_URI | URIBL_RED | DBL_ABUSE_REDIR | HAS_ONION_URI";
          description = "Contains one or more domains trying to disguise owner/destination";
-         score = 0.5;
+         score = 0.1;
+         policy = "leave";
      }
 +    BAD_REP_POLICIES {
 +      description = "Contains valid policies but are also marked by fuzzy/bayes/surbl/rbl";
 +      expression = "(~g-:policies) & (-g+:fuzzy | -g+:bayes | -g+:surbl | -g+:rbl)";
 +      score = 0.1;
 +    }
  
      .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
      .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"