spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: rev 20892 - incubator/spamassassin/trunk/rules
Date Tue, 08 Jun 2004 02:34:07 GMT
Author: jm
Date: Mon Jun  7 19:34:06 2004
New Revision: 20892

Modified:
   incubator/spamassassin/trunk/rules/25_spf.cf
   incubator/spamassassin/trunk/rules/50_scores.cf
Log:
bug 3479: reinstate SPF_PASS, SPF_HELO_PASS, but with very small scores

Modified: incubator/spamassassin/trunk/rules/25_spf.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/25_spf.cf	(original)
+++ incubator/spamassassin/trunk/rules/25_spf.cf	Mon Jun  7 19:34:06 2004
@@ -30,29 +30,29 @@
 # not as bad as "fail". ;)   These are more trustworthy results than
 # the SPF_HELO rules.
 
-header __SPF_PASS		eval:check_for_spf_pass()
+header SPF_PASS		        eval:check_for_spf_pass()
 header SPF_FAIL			eval:check_for_spf_fail()
 header SPF_SOFTFAIL		eval:check_for_spf_softfail()
 
-# NOTE: __SPF_HELO_PASS is not incredibly hard to fake, so shouldn't
+# NOTE: SPF_HELO_PASS is not incredibly hard to fake, so shouldn't
 # provide much in the way of points compared to SPF_PASS et al.
 # However, a *failure* is still a very good spamsign.
 
-header __SPF_HELO_PASS		eval:check_for_spf_helo_pass()
+header SPF_HELO_PASS		eval:check_for_spf_helo_pass()
 header SPF_HELO_FAIL		eval:check_for_spf_helo_fail()
 header SPF_HELO_SOFTFAIL	eval:check_for_spf_helo_softfail()
 
-describe __SPF_PASS		SPF: sender matches SPF record
+describe SPF_PASS		SPF: sender matches SPF record
 describe SPF_FAIL		SPF: sender does not match SPF record (fail)
 describe SPF_SOFTFAIL		SPF: sender does not match SPF record (softfail)
-describe __SPF_HELO_PASS	SPF: HELO matches SPF record
+describe SPF_HELO_PASS	        SPF: HELO matches SPF record
 describe SPF_HELO_FAIL		SPF: HELO does not match SPF record (fail)
 describe SPF_HELO_SOFTFAIL	SPF: HELO does not match SPF record (softfail)
 
-tflags __SPF_PASS		net nice
+tflags SPF_PASS		        net nice
 tflags SPF_FAIL			net
 tflags SPF_SOFTFAIL		net
-tflags __SPF_HELO_PASS		net nice
+tflags SPF_HELO_PASS		net nice
 tflags SPF_HELO_FAIL		net
 tflags SPF_HELO_SOFTFAIL	net
 

Modified: incubator/spamassassin/trunk/rules/50_scores.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/50_scores.cf	(original)
+++ incubator/spamassassin/trunk/rules/50_scores.cf	Mon Jun  7 19:34:06 2004
@@ -812,10 +812,15 @@
 
 #
 # SPF
+# note that the benefit from a valid SPF record is minimal; it's likely
+# that spammers will quickly move to setting valid SPF records otherwise.
+# the penalties for an *incorrect* record, however, are large ;)
 #
 ifplugin Mail::SpamAssassin::Plugin::SPF
+score SPF_PASS                -0.001
 score SPF_FAIL                1.0
 score SPF_SOFTFAIL            0.5
+score SPF_HELO_PASS           -0.001
 score SPF_HELO_FAIL           1.0
 score SPF_HELO_SOFTFAIL       0.5
 endif # Mail::SpamAssassin::Plugin::SPF

Mime
View raw message