From: Vsevolod Stakhov Date: Fri, 18 Feb 2011 23:40:01 +0000 (+0300) Subject: Add composites for outlook. X-Git-Tag: 0.3.7~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fe1ab59efe607dfb6ee60f7bc590286909567cba;p=rspamd.git Add composites for outlook. Submitted by: Victor Ustugov --- 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=/^$/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 diff --git a/rspamd.xml.sample b/rspamd.xml.sample index 44d6a6566..e099e5868 100644 --- a/rspamd.xml.sample +++ b/rspamd.xml.sample @@ -66,7 +66,9 @@ HTML_SHORT_LINK_IMG_2 - FORGED_MUA_OUTLOOK + FORGED_MUA_OUTLOOK + + FORGED_MUA_OUTLOOK_MAILLIST FM_FAKE_HELO_VERIZON @@ -103,6 +105,8 @@ MISSING_MID FORGED_RECIPIENTS + + FORGED_RECIPIENTS_MAILLIST RATWARE_MS_HASH @@ -181,15 +185,12 @@ PHISHING - - FORGED_RECIPIENTS_MAILLIST - - -FORGED_RECIPIENTS & MAILLIST +FORGED_RECIPIENTS & ~MAILLIST +FORGED_MUA_OUTLOOK & ~MAILLIST