]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Raise `LONG_SUBJ` threshold 559/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 17 Mar 2016 06:59:55 +0000 (09:59 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 17 Mar 2016 06:59:55 +0000 (09:59 +0300)
rules/misc.lua

index f3476ee810f1e5df8991d8cf3325a4caac5a055f..87687720a32111b99eecd40bed2d156c4d325549 100644 (file)
@@ -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 util.strlen_utf8(sbj) > 150 then
+    if sbj and util.strlen_utf8(sbj) > 200 then
       return true
     end
     return false