summaryrefslogtreecommitdiffstats
path: root/conf/metrics.conf
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-31 10:22:52 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-08-31 10:22:52 +0200
commit28866f60631a43caa580686d11731e51587d2e5a (patch)
tree587be224bc643d859a58c50ef71d87bc259d69eb /conf/metrics.conf
parentdacfdb076ba21ef1c3be5c9d7bb87723f74d952b (diff)
downloadrspamd-28866f60631a43caa580686d11731e51587d2e5a.tar.gz
rspamd-28866f60631a43caa580686d11731e51587d2e5a.zip
[Minor] Finish reworking rules
Diffstat (limited to 'conf/metrics.conf')
-rw-r--r--conf/metrics.conf108
1 files changed, 0 insertions, 108 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 1294ca2f1..7ece1c542 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -37,18 +37,6 @@ metric {
weight = 0.30;
description = "Sender is forged (different From: header and smtp MAIL FROM: addresses)";
}
- symbol "MIME_HTML_ONLY" {
- weight = 0.2;
- description = "Messages that have only HTML part";
- }
- symbol "FM_FAKE_HELO_VERIZON" {
- weight = 2.0;
- description = "Fake helo for verizon provider";
- }
- symbol "MISSING_TO" {
- weight = 2.0;
- description = "To header is missing";
- }
symbol "R_MIXED_CHARSET" {
weight = 5.0;
description = "Mixed characters in a message";
@@ -91,15 +79,6 @@ metric {
group "subject" {
max_score = 6.0;
-
- symbol "LONG_SUBJ" {
- weight = 6.0;
- description = "Subject is too long";
- }
- symbol "SUBJ_ALL_CAPS" {
- weight = 3.0;
- description = "No lower case letters in subject";
- }
}
group "mua" {
@@ -109,70 +88,6 @@ metric {
}
}
- group "body" {
- symbol "R_WHITE_ON_WHITE" {
- weight = 4.0;
- description = "White color on white background in HTML messages";
- }
- symbol "HTML_SHORT_LINK_IMG_1" {
- weight = 3.0;
- description = "Short html part with a link to an image";
- }
- symbol "HTML_SHORT_LINK_IMG_2" {
- weight = 1.0;
- description = "Short html part with a link to an image";
- }
- symbol "HTML_SHORT_LINK_IMG_3" {
- weight = 0.5;
- description = "Short html part with a link to an image";
- }
- symbol "R_PARTS_DIFFER" {
- weight = 1.0;
- description = "Text and HTML parts differ";
- }
-
- symbol "R_EMPTY_IMAGE" {
- weight = 2.0;
- description = "Message contains empty parts and image";
- }
- symbol "DRUGS_MANYKINDS" {
- weight = 2.0;
- description = "Drugs patterns inside message";
- }
- symbol "DRUGS_ANXIETY" {
- weight = 2.0;
- description = "";
- }
- symbol "DRUGS_MUSCLE" {
- weight = 2.0;
- description = "";
- }
- symbol "DRUGS_ANXIETY_EREC" {
- weight = 2.0;
- description = "";
- }
- symbol "DRUGS_DIET" {
- weight = 2.0;
- description = "";
- }
- symbol "DRUGS_ERECTILE" {
- weight = 2.0;
- description = "";
- }
- symbol "ADVANCE_FEE_2" {
- weight = 3.300000;
- description = "2 'advance fee' patterns in a message";
- }
- symbol "ADVANCE_FEE_3" {
- weight = 2.120000;
- description = "3 'advance fee' patterns in a message";
- }
- symbol "R_LOTTO" {
- weight = 8.0;
- description = "Lotto signatures";
- }
- }
-
group "rbl" {
symbol "DNSWL_BLOCKED" {
weight = 0.0;
@@ -577,22 +492,6 @@ metric {
}
}
- group "date" {
-
- symbol "DATE_IN_FUTURE" {
- weight = 4.0;
- description = "Message date is in future";
- }
- symbol "DATE_IN_PAST" {
- weight = 1.0;
- description = "Message date is in past";
- }
- symbol "MISSING_DATE" {
- weight = 1.0;
- description = "Message date is missing";
- }
- }
-
group "hfilter" {
symbol "HFILTER_HELO_BAREIP" {
weight = 3.00;
@@ -774,13 +673,6 @@ metric {
one_shot = true;
}
}
- group "url" {
- symbol "R_SUSPICIOUS_URL" {
- weight = 6.0;
- description = "Obfusicated or suspicious URL has been found in a message";
- one_shot = true;
- }
- }
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/metrics.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/metrics.conf"