You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2009/02/20 20:58:53 UTC

svn commit: r746351 - /spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf

Author: mmartinec
Date: Fri Feb 20 19:58:53 2009
New Revision: 746351

URL: http://svn.apache.org/viewvc?rev=746351&view=rev
Log:
new rule: LONGLINE, Line length exceeds 998 character limit, RFC 5322

Modified:
    spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf

Modified: spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf?rev=746351&r1=746350&r2=746351&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf (original)
+++ spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf Fri Feb 20 19:58:53 2009
@@ -1,5 +1,8 @@
 # SpamAssassin rules file
 
+rawbody  LONGLINE	/^.{998}.+\r?$/
+describe LONGLINE	Line length exceeds 998 character limit, RFC 5322
+
 header   RP_8BIT	Return-Path =~ /[^\000-\177]/
 describe RP_8BIT	Return-Path contains 8-bit characters with high bit on
 
@@ -39,6 +42,7 @@
 header   MSGID_NOFQDN2  Message-ID =~ /<.*\@[A-Za-z0-9]+>/m
 describe MSGID_NOFQDN2  Message-ID without a fully-qualified domain name
 
+#score   LONGLINE	0.5
 #score   RP_8BIT	2.8
 #score   RP_LASTNAME	4
 #score   RP_UNDERLINE	3