aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-25 10:08:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-25 10:44:18 +0100
commitcf52b4f1cee94112a58e36c076ea7004cb290c87 (patch)
treed1a0aa2bf7de7fa28115ee80a7db6490b775746a /rules/regexp
parentb50c3bbd1cc1fad33cce1b8c68f884c9be52231e (diff)
downloadrspamd-cf52b4f1cee94112a58e36c076ea7004cb290c87.tar.gz
rspamd-cf52b4f1cee94112a58e36c076ea7004cb290c87.zip
[Minor] Fix rule
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 12a2b6249..593052a38 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -94,7 +94,7 @@ reconf['R_RCVD_SPAMBOTS'] = {
-- Charset is missing in message
reconf['R_MISSING_CHARSET'] = {
re = string.format('content_type_is_type(text) & !content_type_has_param(charset) & !%s',
- r_cte_7bit),
+ 'compare_transfer_encoding(7bit)'),
score = 2.5,
description = 'Charset is missing in a message',
group = 'header'