aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2020-12-21 20:05:45 +0000
committerAnton Yuzhaninov <citrin+git@citrin.ru>2020-12-21 20:05:45 +0000
commit027453fe4a8c02b7af1bb05da5d373b19c0c0700 (patch)
tree116421670bc46a219a0492c59a82feeb518fe9d6 /rules
parent689c49dd1ad5a588d4cd0e01044bb47407d73609 (diff)
downloadrspamd-027453fe4a8c02b7af1bb05da5d373b19c0c0700.tar.gz
rspamd-027453fe4a8c02b7af1bb05da5d373b19c0c0700.zip
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID
These rules are no longer relevant.
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/headers.lua24
1 files changed, 2 insertions, 22 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 3a044c498..516fc1232 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -153,15 +153,6 @@ reconf['R_MISSING_CHARSET'] = {
mime_only = true,
}
--- Subject seems to be spam
-reconf['R_SAJDING'] = {
- re = 'Subject=/\\bsajding(?:om|a)?\\b/iH',
- score = 8.0,
- description = 'Subject seems to be spam',
- group = 'headers',
- mime_only = true,
-}
-
-- Find forged Outlook MUA
-- Yahoo groups messages
local yahoo_bulk = 'Received=/from \\[\\S+\\] by \\S+\\.(?:groups|scd|dcn)\\.yahoo\\.com with NNFMP/H'
@@ -436,20 +427,9 @@ reconf['FORGED_MUA_KMAIL_MSGID_UNKNOWN'] = {
local opera1x_mua = 'User-Agent=/^\\s*Opera Mail\\/1[01]\\.\\d+ /H'
-- Opera Mail Message-ID template
local opera1x_msgid = 'Message-ID=/^<?op\\.[a-z\\d]{14}\\@\\S+>?$/H'
--- Suspicious Opera Mail User-Agent header
-local suspicious_opera10w_mua = 'User-Agent=/^\\s*Opera Mail\\/10\\.\\d+ \\(Windows\\)$/H'
--- Suspicious Opera Mail Message-ID, apparently from KMail
-local suspicious_opera10w_msgid = 'Message-Id=/^<?2009\\d{8}\\.\\d+\\.\\S+\\@\\S+?>$/H'
--- Summary rule for forged Opera Mail User-Agent header and Message-ID header from KMail
-reconf['SUSPICIOUS_OPERA_10W_MSGID'] = {
- re = string.format('(%s) & (%s)', suspicious_opera10w_mua, suspicious_opera10w_msgid),
- score = 4.0,
- description = 'Message pretends to be send from suspicious Opera Mail/10.x (Windows) but has forged Message-ID, apparently from KMail',
- group = 'mua'
-}
--- Summary rule for forged Opera Mail Message-ID header
+-- Rule for forged Opera Mail Message-ID header
reconf['FORGED_MUA_OPERA_MSGID'] = {
- re = string.format('(%s) & !(%s) & !(%s) & !(%s)', opera1x_mua, opera1x_msgid, reconf['SUSPICIOUS_OPERA_10W_MSGID']['re'], unusable_msgid),
+ re = string.format('(%s) & !(%s) & !(%s)', opera1x_mua, opera1x_msgid, unusable_msgid),
score = 4.0,
description = 'Message pretends to be send from Opera Mail but has forged Message-ID',
group = 'mua'