You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2007/01/29 23:32:21 UTC
svn commit: r501205 - /spamassassin/rules/trunk/sandbox/felicity/70_other.cf
Author: felicity
Date: Mon Jan 29 14:32:20 2007
New Revision: 501205
URL: http://svn.apache.org/viewvc?view=rev&rev=501205
Log:
put in a better test version of INVALID_DATE
Modified:
spamassassin/rules/trunk/sandbox/felicity/70_other.cf
Modified: spamassassin/rules/trunk/sandbox/felicity/70_other.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/felicity/70_other.cf?view=diff&rev=501205&r1=501204&r2=501205
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/felicity/70_other.cf Mon Jan 29 14:32:20 2007
@@ -19,6 +19,13 @@
#
########################################################################
+# 5.180 6.1536 0.0221 0.996 0.00 0.00 T_INVALID_DATE
+# 5.261 6.1703 0.4419 0.933 0.00 0.00 INVALID_DATE
+# I found a few whitespace issues in the original RE, and I wanted to avoid my
+# two common, but yes invalid, date headers. specifically / \(GMT\)$/ and
+# / 0000 GMT$/.
+header T_INVALID_DATE Date !~ /^\s*(?:(?i:Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?\s*(?:[12]\d|3[01]|0?[1-9])\s+(?i:Jan|Feb|Ma[ry]|Apr|Ju[nl]|Aug|Sep|Oct|Nov|Dec)\s+(?:19[7-9]\d|2\d{3})\s+(?:[01]?\d|2[0-3])\:[0-5]\d(?::(?:[0-5]\d|60))?(?:\s+[AP]M)?(?:\s+(?:[+-][0-9]{4}|UT|[A-Z]{2,3}T|0000 GMT))?(?:\s*\(.*\))?\s*$/ [if-unset: Wed, 31 Jul 2002 16:41:57 +0200]
+
#http://www.printeryml*com
#http://www.pri*nteryml.com
body TVD_SILLY_URI_OBFU m!https?://[a-z0-9.-]+[^a-z0-9.:/\s"'\@-]+[a-z0-9.-]*[a-z]{3}(?:\s|$)!i