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 2008/09/09 21:09:52 UTC

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

Author: mmartinec
Date: Tue Sep  9 12:09:51 2008
New Revision: 693568

URL: http://svn.apache.org/viewvc?rev=693568&view=rev
Log:
Forgot the :raw in rules

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=693568&r1=693567&r2=693568&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf (original)
+++ spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf Tue Sep  9 12:09:51 2008
@@ -16,13 +16,13 @@
 describe CR_IN_SUBJ	Subject contains a CR character
 
 # must use :raw to avoid seeing a decoded display name
-header   FROM_UNBAL1	From =~ / < [^>]* $/xm
+header   FROM_UNBAL1	From:raw =~ / < [^>]* $/xm
 describe FROM_UNBAL1	From with unbalanced angle brackets, '>' missing
 
-header   FROM_UNBAL2	From =~ /^ [^<]* > /xm
+header   FROM_UNBAL2	From:raw =~ /^ [^<]* > /xm
 describe FROM_UNBAL2	From with unbalanced angle brackets, '<' missing
 
-header   FROM_UC_UNBAL	From =~ /^\s*[A-Z][A-Z0-9 \t]*<[A-Z0-9]+\@[^>]*$/m
+header   FROM_UC_UNBAL	From:raw =~ /^\s*[A-Z][A-Z0-9 \t]*<[A-Z0-9]+\@[^>]*$/m
 describe FROM_UC_UNBAL	All-upercase name in From and unbalanced <>
 
 header   FROM_WSP_TRAIL	From:raw =~ / < .* \@ [^\@]* \s > /xm