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 2006/08/11 01:26:02 UTC
svn commit: r430584 - /spamassassin/trunk/rules/60_shortcircuit.cf
Author: jm
Date: Thu Aug 10 16:26:01 2006
New Revision: 430584
URL: http://svn.apache.org/viewvc?rev=430584&view=rev
Log:
add more useful doco and defaults for shortcircuit, if active
Modified:
spamassassin/trunk/rules/60_shortcircuit.cf
Modified: spamassassin/trunk/rules/60_shortcircuit.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/60_shortcircuit.cf?rev=430584&r1=430583&r2=430584&view=diff
==============================================================================
--- spamassassin/trunk/rules/60_shortcircuit.cf (original)
+++ spamassassin/trunk/rules/60_shortcircuit.cf Thu Aug 10 16:26:01 2006
@@ -21,7 +21,6 @@
# </...@LICENSE>
###########################################################################
-# HIGH PRIORITY RULES
priority USER_IN_WHITELIST -1000
priority USER_IN_DEF_WHITELIST -1000
@@ -41,19 +40,30 @@
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
+# default: strongly-whitelisted mails are *really* whitelisted now, if the
+# shortcircuiting plugin is active, causing early exit to save CPU load
shortcircuit USER_IN_WHITELIST on
shortcircuit USER_IN_DEF_WHITELIST on
shortcircuit USER_IN_ALL_SPAM_TO on
shortcircuit SUBJECT_IN_WHITELIST on
-# shortcircuit ALL_TRUSTED on
-
+# the opposite; blacklisted mails can also save CPU
shortcircuit USER_IN_BLACKLIST on
shortcircuit USER_IN_BLACKLIST_TO on
shortcircuit SUBJECT_IN_BLACKLIST on
+# if you have taken the time to correctly specify your "trusted_networks",
+# this is another good way to save CPU
+# shortcircuit ALL_TRUSTED on
+
+# and a well-trained bayes DB can save running rules, too
# shortcircuit BAYES_99 spam
# shortcircuit BAYES_00 ham
+
+# override the default X-Spam-Status line from 10_basic.cf to
+# include shortcircuit info. (TODO: do we need a better way
+# to extend the default templates like this?)
+add_header all Status "_YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ shortcircuit=_SCTYPE_ autolearn=_AUTOLEARN_ version=_VERSION_"
endif # Mail::SpamAssassin::Plugin::Shortcircuit