aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp/headers.lua
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-01-21 21:16:53 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-01-21 21:16:53 +0300
commit7882cd2d7dc95304ece2e3abb1f2d0c016b3128f (patch)
tree1306b8f7127a3a06d256c1c23a1870888b48e136 /rules/regexp/headers.lua
parent4a5122361e2a92ccaf06a1b391e5980424fc7b57 (diff)
downloadrspamd-7882cd2d7dc95304ece2e3abb1f2d0c016b3128f.tar.gz
rspamd-7882cd2d7dc95304ece2e3abb1f2d0c016b3128f.zip
[Minor] Recognize Icedove MUA as Thunderbird (#1359)
Diffstat (limited to 'rules/regexp/headers.lua')
-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 414a13aef..2aa7b139c 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -440,7 +440,7 @@ reconf['FORGED_MUA_OPERA_MSGID'] = {
-- Detect forged Mozilla Mail/Thunderbird/Seamonkey headers
-- Mozilla based X-Mailer
local user_agent_mozilla5 = 'User-Agent=/^\\s*Mozilla\\/5\\.0/H'
-local user_agent_thunderbird = 'User-Agent=/^\\s*(Thunderbird|Mozilla Thunderbird|Mozilla\\/.*Gecko\\/.*Thunderbird\\/)/H'
+local user_agent_thunderbird = 'User-Agent=/^\\s*(Thunderbird|Mozilla Thunderbird|Mozilla\\/.*Gecko\\/.*(Thunderbird|Icedove)\\/)/H'
local user_agent_seamonkey = 'User-Agent=/^\\s*Mozilla\\/5\\.0\\s.+\\sSeaMonkey\\/\\d+\\.\\d+/H'
local user_agent_mozilla = string.format('(%s) & !(%s) & !(%s)', user_agent_mozilla5, user_agent_thunderbird, user_agent_seamonkey)
-- Mozilla based common Message-ID template