aboutsummaryrefslogtreecommitdiffstats
path: root/rules/subject_checks.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-07 15:41:23 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-07 15:41:23 +0000
commitd9f3f32336c7b8b063359c6d54a99e07dbead766 (patch)
treeb5bebc37da7d7d0daaad42d47fb1249f5bb79aff /rules/subject_checks.lua
parentf358aec84f8bc2aa38c17a79d79b7a0b26faa4a0 (diff)
downloadrspamd-d9f3f32336c7b8b063359c6d54a99e07dbead766.tar.gz
rspamd-d9f3f32336c7b8b063359c6d54a99e07dbead766.zip
[Minor] Add some mime only rules
Diffstat (limited to 'rules/subject_checks.lua')
-rw-r--r--rules/subject_checks.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/subject_checks.lua b/rules/subject_checks.lua
index d5760ed25..c1492815f 100644
--- a/rules/subject_checks.lua
+++ b/rules/subject_checks.lua
@@ -52,6 +52,7 @@ rspamd_config.SUBJ_ALL_CAPS = {
end,
score = 3.0,
group = 'subject',
+ type = 'mime',
description = 'All capital letters in subject'
}
@@ -64,5 +65,6 @@ rspamd_config.LONG_SUBJ = {
end,
score = 3.0,
group = 'subject',
+ type = 'mime',
description = 'Subject is too long'
} \ No newline at end of file