You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/02/14 22:19:50 UTC

svn commit: rev 6652 - incubator/spamassassin/trunk/rules

Author: quinlan
Date: Sat Feb 14 13:19:50 2004
New Revision: 6652

Modified:
   incubator/spamassassin/trunk/rules/70_testing.cf
Log:
fix T_RCVD_IN_XBL_NFH rule (-notfirsthop should really be an argument to
make it clearer that only check_rbl and check_rbl_txt support notfirsthop
mode)


Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Sat Feb 14 13:19:50 2004
@@ -86,7 +86,9 @@
 tflags T_RCVD_IN_SORBS_NOMAIL	net
 
 # test XBL with -notfirsthop
-header T_RCVD_IN_XBL_NFH	eval:check_rbl_sub('sblxbl-notfirsthop', '(?i)/xbl')
+# Note: can't use check_rbl_sub, but can rely on DNSBL caching to avoid
+# duplicate queries of sbl-xbl.
+header T_RCVD_IN_XBL_NFH	eval:check_rbl_txt('sblxbl-notfirsthop', 'sbl-xbl.spamhaus.org.', '(?i)/xbl')
 describe T_RCVD_IN_XBL_NFH	Received via a relay in Spamhaus XBL
 tflags T_RCVD_IN_XBL_NFH	net