aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-13 13:13:47 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-13 13:13:47 +0200
commitc45aaab61f20780e889a8e79d03c9eca23d7f4d6 (patch)
treea87605856dded7ba943ffbd4325751e6e3c8bce7 /rules/regexp
parent3a145180bc1398ab06f25fee22baa9cd8757caa3 (diff)
downloadrspamd-c45aaab61f20780e889a8e79d03c9eca23d7f4d6.tar.gz
rspamd-c45aaab61f20780e889a8e79d03c9eca23d7f4d6.zip
[Minor] Some linting for rules
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/headers.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 56f710650..ef0adc6b1 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -529,7 +529,6 @@ reconf['FM_FAKE_HELO_VERIZON'] = {
-- Forged yahoo msgid
local at_yahoo_msgid = 'Message-Id=/\\@yahoo\\.com\\b/iH'
-local at_yahoogroups_msgid = 'Message-Id=/\\@yahoogroups\\.com\\b/iH'
local from_yahoo_com = 'From=/\\@yahoo\\.com\\b/iH'
reconf['FORGED_MSGID_YAHOO'] = {
re = string.format('(%s) & !(%s)', at_yahoo_msgid, from_yahoo_com),
@@ -537,8 +536,6 @@ reconf['FORGED_MSGID_YAHOO'] = {
description = 'Forged yahoo msgid',
group = 'header'
}
-local r_from_yahoo_groups = 'From=/rambler.ru\\@returns\\.groups\\.yahoo\\.com\\b/iH'
-local r_from_yahoo_groups_ro = 'From=/ro.ru\\@returns\\.groups\\.yahoo\\.com\\b/iH'
-- Forged The Bat! MUA headers
local thebat_mua_v1 = 'X-Mailer=/^The Bat! \\(v1\\./H'
@@ -564,8 +561,6 @@ reconf['RCVD_DOUBLE_IP_SPAM'] = {
-- Quoted reply-to from yahoo (seems to be forged)
local repto_quote = 'Reply-To=/\\".*\\"\\s*\\</H'
-local from_yahoo_com = 'From=/\\@yahoo\\.com\\b/iH'
-local at_yahoo_msgid = 'Message-Id=/\\@yahoo\\.com\\b/iH'
reconf['REPTO_QUOTE_YAHOO'] = {
re = string.format('(%s) & ((%s) | (%s))', repto_quote, from_yahoo_com, at_yahoo_msgid),
score = 2.0,
@@ -577,8 +572,6 @@ reconf['REPTO_QUOTE_YAHOO'] = {
local xm_gnus = 'X-Mailer=/^Gnus v/H'
local xm_msoe5 = 'X-Mailer=/^Microsoft Outlook Express 5/H'
local xm_msoe6 = 'X-Mailer=/^Microsoft Outlook Express 6/H'
-local xm_mso12 = 'X-Mailer=/^Microsoft(?: Office Outlook 12\\.0| Outlook 14\\.0)/H'
-local xm_cgpmapi = 'X-Mailer=/^CommuniGate Pro MAPI Connector/H'
local xm_moz4 = 'X-Mailer=/^Mozilla 4/H'
local xm_skyri = 'X-Mailer=/^SKYRiXgreen/H'
local xm_wwwmail = 'X-Mailer=/^WWW-Mail \\d/H'