You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2008/04/15 22:14:53 UTC
svn commit: r648402 - /spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf
Author: felicity
Date: Tue Apr 15 13:14:52 2008
New Revision: 648402
URL: http://svn.apache.org/viewvc?rev=648402&view=rev
Log:
need to wrap check_rbl_envfrom() in a ifplugin/endif section, otherwise people w/out the plugin get errors...
Modified:
spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf
Modified: spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf?rev=648402&r1=648401&r2=648402&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_openwhois.cf Tue Apr 15 13:14:52 2008
@@ -5,9 +5,11 @@
# high hit-rates
# if you want to use bl.open-whois.org. as an RHSBL as well
+ifplugin Mail::SpamAssassin::Plugin::DNSEval
header DNS_FROM_OPENWHOIS eval:check_rbl_envfrom('openwhois', 'bl.open-whois.org.')
describe DNS_FROM_OPENWHOIS Envelope sender listed in bl.open-whois.org.
tflags DNS_FROM_OPENWHOIS net publish
+endif
# score DNS_FROM_OPENWHOIS 1.0
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL