diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-29 12:21:35 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-29 12:21:35 +0200 |
commit | 0e1514071a9f1e9a5a616997176f7eb8c4b9d17a (patch) | |
tree | b5dd7aa642fe6cdf318ea28c2b510daae0dbd301 /conf | |
parent | 86ff659737387b39018be311ae5ea6d2c98e768d (diff) | |
download | rspamd-0e1514071a9f1e9a5a616997176f7eb8c4b9d17a.tar.gz rspamd-0e1514071a9f1e9a5a616997176f7eb8c4b9d17a.zip |
[Minor] Rein in excess QP/base64 symbols
Diffstat (limited to 'conf')
-rw-r--r-- | conf/metrics.conf | 70 |
1 files changed, 38 insertions, 32 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf index 8a4eef978..944131080 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -26,6 +26,44 @@ metric { greylist = 4; } + group "excessqp" { + max_score = 2.4; + symbol "FROM_EXCESS_QP" { + weight = 1.2; + description = "From that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; + } + symbol "TO_EXCESS_QP" { + weight = 1.2; + description = "To that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; + } + symbol "REPLYTO_EXCESS_QP" { + weight = 1.2; + description = "Reply-To that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; + } + symbol "CC_EXCESS_QP" { + weight = 1.2; + description = "Cc that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; + } + } + group "excessb64" { + max_score = 3.0; + symbol "FROM_EXCESS_BASE64" { + weight = 1.5; + description = "From that contains encoded characters while base 64 is not needed as all symbols are 7bit"; + } + symbol "TO_EXCESS_BASE64" { + weight = 1.5; + description = "To that contains encoded characters while base 64 is not needed as all symbols are 7bit"; + } + symbol "REPLYTO_EXCESS_BASE64" { + weight = 1.5; + description = "Reply-To that contains encoded characters while base 64 is not needed as all symbols are 7bit"; + } + symbol "CC_EXCESS_BASE64" { + weight = 1.5; + description = "Cc that contains encoded characters while base 64 is not needed as all symbols are 7bit"; + } + } group "header" { symbol "MISSING_SUBJECT" { weight = 2.0; @@ -87,38 +125,6 @@ metric { weight = 2.0; description = "To header is missing"; } - symbol "FROM_EXCESS_BASE64" { - weight = 1.5; - description = "From that contains encoded characters while base 64 is not needed as all symbols are 7bit"; - } - symbol "FROM_EXCESS_QP" { - weight = 1.2; - description = "From that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; - } - symbol "TO_EXCESS_BASE64" { - weight = 1.5; - description = "To that contains encoded characters while base 64 is not needed as all symbols are 7bit"; - } - symbol "TO_EXCESS_QP" { - weight = 1.2; - description = "To that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; - } - symbol "REPLYTO_EXCESS_BASE64" { - weight = 1.5; - description = "Reply-To that contains encoded characters while base 64 is not needed as all symbols are 7bit"; - } - symbol "REPLYTO_EXCESS_QP" { - weight = 1.2; - description = "Reply-To that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; - } - symbol "CC_EXCESS_BASE64" { - weight = 1.5; - description = "Cc that contains encoded characters while base 64 is not needed as all symbols are 7bit"; - } - symbol "CC_EXCESS_QP" { - weight = 1.2; - description = "Cc that contains encoded characters while quoted-printable is not needed as all symbols are 7bit"; - } symbol "R_MIXED_CHARSET" { weight = 5.0; description = "Mixed characters in a message"; |