summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-24 16:44:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-24 16:44:10 +0000
commitd667c6b4ac9d23c1e2346d4286595f2d8503a640 (patch)
tree8ea2368a33a71455c962580ad36d4cd873f9b15a
parent71a604c15029ef7d710530f76908e41d64184908 (diff)
downloadrspamd-d667c6b4ac9d23c1e2346d4286595f2d8503a640.tar.gz
rspamd-d667c6b4ac9d23c1e2346d4286595f2d8503a640.zip
Use more permissive value for parts_differ.
-rw-r--r--conf/lua/rspamd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/rspamd.lua b/conf/lua/rspamd.lua
index e8b585837..795e639a6 100644
--- a/conf/lua/rspamd.lua
+++ b/conf/lua/rspamd.lua
@@ -22,7 +22,7 @@ reconf['R_WHITE_ON_WHITE'] = string.format('(!(%s) & (%s))', r_bgcolor, r_font_c
reconf['R_FLASH_REDIR_IMGSHACK'] = '/^(?:http:\\/\\/)?img\\d{1,5}\\.imageshack\\.us\\/\\S+\\.swf/U'
-- Different text parts
-reconf['R_PARTS_DIFFER'] = 'compare_parts_distance(85)';
+reconf['R_PARTS_DIFFER'] = 'compare_parts_distance(50)';
reconf['R_EMPTY_IMAGE'] = function (task)
parts = task:get_text_parts()