]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix rule
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 25 Apr 2017 09:08:12 +0000 (10:08 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 1 May 2017 13:03:04 +0000 (14:03 +0100)
rules/regexp/headers.lua

index 12a2b624982770a6a53aa9ce4c9dae16352c3bbd..593052a3833939f440c52845c544338fcb93e24f 100644 (file)
@@ -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'