From a4cfe5e270ef6fbe28bdcb1ddf2776f8f043c7cc Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Sat, 22 May 2021 16:36:45 +0100 Subject: [PATCH] [Rules] Extend OLD_X_MAILER Add more old iPhone/iPad Mail versions to the regexp. --- rules/regexp/headers.lua | 7 ++++--- 1 file 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'] = { -- 2.39.5