From: Vsevolod Stakhov Date: Fri, 5 Aug 2016 15:05:42 +0000 (+0100) Subject: [Feature] Remove old ugly rules X-Git-Tag: 1.3.2~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4a6d929b11b35dd97f05e7c8c01e3dec7ed71849;p=rspamd.git [Feature] Remove old ugly rules --- 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