You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2015/04/08 23:33:51 UTC

svn commit: r1672193 - /spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Author: kmcgrail
Date: Wed Apr  8 21:33:51 2015
New Revision: 1672193

URL: http://svn.apache.org/r1672193
Log:
Bug 7167 case insentive change for NAME_EMAIL_DIFF

Modified:
    spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Modified: spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf?rev=1672193&r1=1672192&r2=1672193&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf Wed Apr  8 21:33:51 2015
@@ -145,7 +145,7 @@ describe HELO_NO_DOMAIN	Relay reports it
 # because they have such similar definitions, numbers, and merits
 
 header __NAME_IS_EMAIL	From:raw =~ /\w\@[\w.-]+\.\w\w+["'`]*\s*<\w+\@\w/
-header __NAME_EQ_EMAIL	From:raw =~ /([\w+.-]+\@[\w.-]+\.\w\w+)["'`\s]*<\s*\1>/
+header __NAME_EQ_EMAIL	From:raw =~ /([\w+.-]+\@[\w.-]+\.\w\w+)["'`\s]*<\s*\1>/i
 meta	 NAME_EMAIL_DIFF	__NAME_IS_EMAIL && ! __NAME_EQ_EMAIL
 describe NAME_EMAIL_DIFF	Sender NAME is an unrelated email address
 #score	 NAME_EMAIL_DIFF	0.375 # tot=0.5, low for noreply@dom  20090811