]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Remove old ugly rules
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Aug 2016 15:05:42 +0000 (16:05 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 5 Aug 2016 15:06:22 +0000 (16:06 +0100)
rules/misc.lua

index 6c3b732b1f0ecf176f5ec60f6175d1b655e61261..cb57054041854dc8cfe982fef68085278816aaba 100644 (file)
@@ -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