diff options
Diffstat (limited to 'rules/misc.lua')
-rw-r--r-- | rules/misc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/misc.lua b/rules/misc.lua index e7d047b3f..f3476ee81 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -127,7 +127,7 @@ rspamd_config.SUBJ_ALL_CAPS = { rspamd_config.LONG_SUBJ = { callback = function(task) local sbj = task:get_header('Subject') - if sbj and string.len(sbj) > 200 then + if sbj and util.strlen_utf8(sbj) > 150 then return true end return false |