aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorgami <tatsu.gami2573@gmail.com>2024-05-14 21:19:30 +0900
committergami <tatsu.gami2573@gmail.com>2024-05-14 21:19:30 +0900
commitd9f5570676f8abe5950493f5e772e87a14481a52 (patch)
treecb4539c3dc3f6ceebb057569d7c49e4dbc23cf90 /rules
parent0351e767fb76ccc8af9f09804b9a974469f7e52f (diff)
downloadrspamd-d9f5570676f8abe5950493f5e772e87a14481a52.tar.gz
rspamd-d9f5570676f8abe5950493f5e772e87a14481a52.zip
[Minor] Exclude User-Agent: Mozilla Thunderbird from XM_UA_NO_VERSION
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 571ce0b71..fd1c966ad 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -967,7 +967,7 @@ reconf['HAS_FILE_URL'] = {
}
reconf['XM_UA_NO_VERSION'] = {
- re = string.format('(!%s && !%s) && (%s || %s) !%s',
+ re = string.format('(!%s && !%s) && (%s || %s) && !%s',
'X-Mailer=/https?:/H',
'User-Agent=/https?:/H',
'X-Mailer=/^[^0-9]+$/H',