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 2006/11/17 23:35:43 UTC
svn commit: r476346 - /spamassassin/rules/trunk/sandbox/felicity/70_other.cf
Author: felicity
Date: Fri Nov 17 14:35:42 2006
New Revision: 476346
URL: http://svn.apache.org/viewvc?view=rev&rev=476346
Log:
clean up some FPs
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=476346&r1=476345&r2=476346
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/felicity/70_other.cf Fri Nov 17 14:35:42 2006
@@ -280,12 +280,12 @@
# 0.274 0.3212 0.0000 1.000 1.00 1.00 TVD_RCVD_10
# lots of Received headers seem to have dates in brackets, so just look for a
# space.
-header TVD_RCVD_SPACE_BRACKET Received =~ /\[[^\]]*\s/
+header TVD_RCVD_SPACE_BRACKET Received =~ /\[(?!UNIX:)[^\]]*\s/
# 12.405 14.5584 0.0000 1.000 1.00 1.00 TVD_RCVD_IP
# 6.088 7.1444 0.0000 1.000 0.50 1.00 TVD_RCVD_IP4
header TVD_RCVD_IP4 Received =~ /^from\s+(?:\d+\.){3}\d+\s/
-header TVD_RCVD_IP Received =~ /^from\s+(?:\d+.){3}\d+[.\s]/
+header TVD_RCVD_IP Received =~ /^from\s+(?:\d+[^0-9a-zA-Z\s]){3}\d+[.\s]/
# 1.265 1.4843 0.0000 1.000 1.00 1.00 TVD_RCVD_046
-header TVD_RCVD_SINGLE Received =~ /^from\s+[^\s.a-z0-9-]+\s/
+header TVD_RCVD_SINGLE Received =~ /^from\s+(?!localhost)[^\s.a-z0-9-]+\s/