You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/08/11 05:09:48 UTC

svn commit: r231381 - /spamassassin/trunk/t/spf.t

Author: jm
Date: Wed Aug 10 20:09:46 2005
New Revision: 231381

URL: http://svn.apache.org/viewcvs?rev=231381&view=rev
Log:
spf.t was failing due to SPF_HELO_FAIL having a 0 score; trivial fix

Modified:
    spamassassin/trunk/t/spf.t

Modified: spamassassin/trunk/t/spf.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/spf.t?rev=231381&r1=231380&r2=231381&view=diff
==============================================================================
--- spamassassin/trunk/t/spf.t (original)
+++ spamassassin/trunk/t/spf.t Wed Aug 10 20:09:46 2005
@@ -27,6 +27,18 @@
 
 # ---------------------------------------------------------------------------
 
+# ensure all rules will fire
+tstlocalrules ("
+  score SPF_FAIL 0.001
+  score SPF_HELO_FAIL 0.001
+  score SPF_HELO_NEUTRAL 0.001
+  score SPF_HELO_SOFTFAIL 0.001
+  score SPF_NEUTRAL 0.001
+  score SPF_SOFTFAIL 0.001
+  score SPF_PASS -0.001
+  score SPF_HELO_PASS -0.001
+");
+
 %patterns = (
     q{ SPF_HELO_PASS }, 'helo_pass',
     q{ SPF_PASS }, 'pass',