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:54 UTC

svn commit: r231382 - /spamassassin/branches/3.1/t/spf.t

Author: jm
Date: Wed Aug 10 20:09:53 2005
New Revision: 231382

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

Modified:
    spamassassin/branches/3.1/t/spf.t

Modified: spamassassin/branches/3.1/t/spf.t
URL: http://svn.apache.org/viewcvs/spamassassin/branches/3.1/t/spf.t?rev=231382&r1=231381&r2=231382&view=diff
==============================================================================
--- spamassassin/branches/3.1/t/spf.t (original)
+++ spamassassin/branches/3.1/t/spf.t Wed Aug 10 20:09:53 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',