diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-04-26 15:51:59 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-04-26 15:51:59 +0300 |
commit | 7a67de1f4201e502ce2aecc1e12499b7565d047f (patch) | |
tree | e2b65b359c49676de6c445650854f699aba31505 /rules | |
parent | 1da60b154838b21d158888e7e992285595be1aca (diff) | |
download | rspamd-7a67de1f4201e502ce2aecc1e12499b7565d047f.tar.gz rspamd-7a67de1f4201e502ce2aecc1e12499b7565d047f.zip |
[Minor] Combine `header` and `headers` metric groups
Diffstat (limited to 'rules')
-rw-r--r-- | rules/misc.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rules/misc.lua b/rules/misc.lua index 0707887f5..9bd6b85f6 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -115,7 +115,7 @@ rspamd_config.SUBJ_ALL_CAPS = { return false end, score = 3.0, - group = 'headers', + group = 'header', description = 'All capital letters in subject' } @@ -129,7 +129,7 @@ rspamd_config.LONG_SUBJ = { end, score = 3.0, - group = 'headers', + group = 'header', description = 'Subject is too long' } @@ -142,7 +142,7 @@ rspamd_config.BROKEN_HEADERS = { return false end, score = 1.0, - group = 'headers', + group = 'header', description = 'Headers structure is likely broken' } @@ -171,7 +171,7 @@ rspamd_config.HEADER_RCONFIRM_MISMATCH = { end, score = 2.0, - group = 'headers', + group = 'header', description = 'Read confirmation address is different to from address' } @@ -202,7 +202,7 @@ rspamd_config.HEADER_FORGED_MDN = { end, score = 2.0, - group = 'headers', + group = 'header', description = 'Read confirmation address is different to return path' } @@ -245,7 +245,7 @@ rspamd_config.MULTIPLE_UNIQUE_HEADERS = { end, score = 5.0, - group = 'headers', + group = 'header', description = 'Repeated unique headers' } @@ -332,6 +332,6 @@ rspamd_config.MISSING_FROM = { return false end, score = 2.0, - group = 'headers', + group = 'header', description = 'Missing From: header' } |