You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/12/01 19:01:19 UTC
svn commit: r481325 - /spamassassin/rules/trunk/sandbox/jm/20_basic.cf
Author: jm
Date: Fri Dec 1 10:01:18 2006
New Revision: 481325
URL: http://svn.apache.org/viewvc?view=rev&rev=481325
Log:
test rule for MSOE header order
Modified:
spamassassin/rules/trunk/sandbox/jm/20_basic.cf
Modified: spamassassin/rules/trunk/sandbox/jm/20_basic.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_basic.cf?view=diff&rev=481325&r1=481324&r2=481325
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_basic.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_basic.cf Fri Dec 1 10:01:18 2006
@@ -205,6 +205,10 @@
body JM_ATTACHEMENT /Stocks Quotes in attachement/
-
header STOX_REPLY_TYPE Content-Type =~ /text\/plain; .* reply-type=original/
+
+# MSOE seems to use a particular header order
+header __MSOE_MID_FROM_ORDER ALL =~ /\nMessage-ID: .{10,200}\nFrom: /s
+header __XM_OUTLOOK_EXPRESS X-Mailer =~ /^Microsoft Outlook Express \d/
+meta MSOE_ODD_HEADER_ORDER (__XM_OUTLOOK_EXPRESS && !__MSOE_MID_FROM_ORDER)