aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-19 02:40:01 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-19 02:40:01 +0300
commitfe1ab59efe607dfb6ee60f7bc590286909567cba (patch)
tree2292c85ed72c16c8bc341bc07232d7a3fb7f7c03 /conf
parentf944eb3b72330b507c5054901f32f981e8331115 (diff)
downloadrspamd-fe1ab59efe607dfb6ee60f7bc590286909567cba.tar.gz
rspamd-fe1ab59efe607dfb6ee60f7bc590286909567cba.zip
Add composites for outlook.
Submitted by: Victor Ustugov
Diffstat (limited to 'conf')
-rw-r--r--conf/lua/regexp/headers.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua
index 85208b982..838bca2f3 100644
--- a/conf/lua/regexp/headers.lua
+++ b/conf/lua/regexp/headers.lua
@@ -98,9 +98,11 @@ local iplanet_messaging_server = 'Received=/iPlanet Messaging Server/H'
local hotmail_baydav_msgid = 'Message-Id=/^BAY\\d+-DAV\\d+[A-Z0-9]{25}\\@phx\\.gbl$/mH'
-- Sympatico message id
local sympatico_msgid = 'Message-Id=/^BAYC\\d+-PASMTP\\d+[A-Z0-9]{25}\\@CEZ\\.ICE$/mH'
+-- Mailman message id
+local mailman_msgid = 'Message-ID=/^<mailman\\.\\d+\\.\\d+\\.\\d+\\..+\\@\\S+>$/XS'
-- Message id seems to be forged
-local unusable_msgid = string.format('(%s | %s | %s | %s | %s)',
- lyris_ezml_remailer, wacky_sendmail_version, iplanet_messaging_server, hotmail_baydav_msgid, sympatico_msgid)
+local unusable_msgid = string.format('(%s | %s | %s | %s | %s | %s)',
+ lyris_ezml_remailer, wacky_sendmail_version, iplanet_messaging_server, hotmail_baydav_msgid, sympatico_msgid, mailman_msgid)
-- Outlook express data seems to be forged
local forged_oe = string.format('(%s & !%s & !%s & !%s)', oe_mua, oe_msgid_1, oe_msgid_2, unusable_msgid)
-- Outlook specific headers