]> source.dussan.org Git - rspamd.git/commitdiff
[Rules] Extend OLD_X_MAILER 3763/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 22 May 2021 15:36:45 +0000 (16:36 +0100)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 22 May 2021 15:47:38 +0000 (16:47 +0100)
Add more old iPhone/iPad Mail versions to the regexp.

rules/regexp/headers.lua

index 26762b06e6e6bca87b4689eeee6e0f2d48aed880..a11ab85a2bc64076c053e92cbbc43976fc4167fd 100644 (file)
@@ -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'] = {