aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 16:05:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 16:06:22 +0100
commit4a6d929b11b35dd97f05e7c8c01e3dec7ed71849 (patch)
tree047ecf4d4fc62ac16668dfea868c9073052790ee /rules
parent1dc23f0aef838ead2485d71df6c0d46fd6a7b032 (diff)
downloadrspamd-4a6d929b11b35dd97f05e7c8c01e3dec7ed71849.tar.gz
rspamd-4a6d929b11b35dd97f05e7c8c01e3dec7ed71849.zip
[Feature] Remove old ugly rules
Diffstat (limited to 'rules')
-rw-r--r--rules/misc.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index 6c3b732b1..cb5705404 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -25,12 +25,6 @@ local reconf = config['regexp']
-- Uncategorized rules
local subject_re = rspamd_regexp.create('/^(?:(?:Re|Fwd|Fw|Aw|Antwort|Sv):\\s*)+(.+)$/i')
--- Local rules
-local r_bgcolor = '/BGCOLOR=/iP'
-local r_font_color = '/font color=[\\"\']?\\#FFFFFF[\\"\']?/iP'
-reconf['R_WHITE_ON_WHITE'] = string.format('(!(%s) & (%s))', r_bgcolor, r_font_color)
-reconf['R_FLASH_REDIR_IMGSHACK'] = '/^(?:http:\\/\\/)?img\\d{1,5}\\.imageshack\\.us\\/\\S+\\.swf/U'
-
-- Local functions