aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2023-07-12 18:02:00 +0300
committerGitHub <noreply@github.com>2023-07-12 18:02:00 +0300
commit876a834378f78573c55d3b4386f393f8704c0dea (patch)
treedd9dfb46ce6d79d031a603471bdf0592484af6eb /rules
parent7bed05f8f64cc52e070ded3f81f1e8918918c12c (diff)
downloadrspamd-876a834378f78573c55d3b4386f393f8704c0dea.tar.gz
rspamd-876a834378f78573c55d3b4386f393f8704c0dea.zip
Adjust apple_x_mailer regex
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index cc4560600..b6b5e10d4 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -964,7 +964,7 @@ reconf['OLD_X_MAILER'] = {
}
-- Detect Apple Mail
-local apple_x_mailer = [[Apple Mail \((?:(?:Version )?[1-9]\d{0,2}\.\d{1,3}|[1-9]\d{0,2}\.\d{1,3}\.\d{1,3}\.\d{1,3})\)]]
+local apple_x_mailer = [[Apple Mail \((?:(?:Version )?[1-9]\d{0,2}\.\d{1,3}|[1-9]\d{0,2}\.\d{1,4}\.\d{1,4}\.\d{1,4})\)]]
reconf['APPLE_MAILER'] = {
description = 'Sent with Apple Mail',
re = string.format('X-Mailer=/^%s/{header}', apple_x_mailer),