summaryrefslogtreecommitdiffstats
path: root/rules/regexp/headers.lua
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2021-05-22 16:36:45 +0100
committerAnton Yuzhaninov <citrin+git@citrin.ru>2021-05-22 16:47:38 +0100
commita4cfe5e270ef6fbe28bdcb1ddf2776f8f043c7cc (patch)
treef1d011dd386cf2898d95632ca0f0aa5472526645 /rules/regexp/headers.lua
parent7c00342f851748426b799493e9f0f310d7ec2515 (diff)
downloadrspamd-a4cfe5e270ef6fbe28bdcb1ddf2776f8f043c7cc.tar.gz
rspamd-a4cfe5e270ef6fbe28bdcb1ddf2776f8f043c7cc.zip
[Rules] Extend OLD_X_MAILER
Add more old iPhone/iPad Mail versions to the regexp.
Diffstat (limited to 'rules/regexp/headers.lua')
-rw-r--r--rules/regexp/headers.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 26762b06e..a11ab85a2 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -962,9 +962,10 @@ local old_x_mailers = {
[[Microsoft Outlook IMO, Build 9\.0\.]],
-- Outlook 2002 (Office XP)
[[Microsoft Outlook, Build 10\.]],
- -- Some old Apple iOS version are used on old devices, so instead of matching
- -- all old versions, match only versions seen in spam
- [[i(Phone|Pad) Mail \((?:12[A-Z]|13E)]],
+ -- Some old Apple iOS versions are used on old devices, match only very old
+ -- versions (iOS 4.3.5 buid 8L1 was supported until 2013) and less old
+ -- versions frequently seen in spam
+ [[i(Phone|Pad) Mail \((?:[1-8][A-L]|12H|13E)]],
}
reconf['OLD_X_MAILER'] = {