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/11/02 18:46:26 UTC

svn commit: r470445 - /spamassassin/rules/trunk/sandbox/jm/20_basic.cf

Author: jm
Date: Thu Nov  2 09:46:26 2006
New Revision: 470445

URL: http://svn.apache.org/viewvc?view=rev&rev=470445
Log:
make HDR_ORDER_FTSDMCXXXX a little more efficient

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=470445&r1=470444&r2=470445
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_basic.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_basic.cf Thu Nov  2 09:46:26 2006
@@ -113,7 +113,7 @@
 header MID_START_001C   Message-ID =~ /^<000001c/
 
 header HDR_ORDER_MFTSMX     ALL =~ /\nMessage-ID: <\S+@\S+>\nFrom: \"[^\"]+\" <\S+>\nTo: <\S+>\nSubject [^\n]+\nDate: [^\n]+\nMIME-Version: 1.0\nX-Mailer: /s
-header HDR_ORDER_FTSDMCXXXX ALL =~ /\nFrom: .*?To:.*?Subject:.*?Date:.*?MIME-Version:.*?Content-Type:.*?X-Priority:.*?X-MSMail-Priority:.*?X-Mailer:.*?X-MimeOLE:/s
+header HDR_ORDER_FTSDMCXXXX ALL =~ /\nFrom: .{1,80}?\nTo: .{1,80}?\nSubject: .{1,200}?\nDate: .{1,40}?\nMIME-Version: .{1,40}?\nContent-Type: .{1,80}?\nX-Priority: .{1,40}?\nX-MSMail-Priority: .{1,40}?\nX-Mailer: .{1,40}?\nX-MimeOLE:/s
 
 # surely we have a rule for this already? ;)
 header HELO_NO_DOMAIN   X-Spam-Relays-Untrusted =~ /^[^\]]+ helo=[^\.]+ /