From: Anton Yuzhaninov Date: Sat, 22 May 2021 15:36:45 +0000 (+0100) Subject: [Rules] Extend OLD_X_MAILER X-Git-Tag: 3.0~375^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3763%2Fhead;p=thirdparty%2Frspamd.git [Rules] Extend OLD_X_MAILER Add more old iPhone/iPad Mail versions to the regexp. --- diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 26762b06e6..a11ab85a2b 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'] = {