# SpamAssassin rules file: spam and ham shortcircuiting using priorities # # Please don't modify this file as your changes will be overwritten with # the next update. Use /etc/mail/spamassassin/local.cf instead. # See 'perldoc Mail::SpamAssassin::Conf' for details. # # <@LICENSE> # Copyright 2004 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ########################################################################### # HIGH PRIORITY RULES ifplugin Mail::SpamAssassin::Plugin::Shortcircuit priority USER_IN_WHITELIST -1000 priority USER_IN_DEF_WHITELIST -1000 priority USER_IN_ALL_SPAM_TO -1000 priority SUBJECT_IN_WHITELIST -1000 priority ALL_TRUSTED -950 priority SUBJECT_IN_BLACKLIST -900 priority USER_IN_BLACKLIST_TO -900 priority USER_IN_BLACKLIST -900 priority BAYES_99 -400 ########################################################################### # SHORTCIRCUITS 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 shortcircuit USER_IN_BLACKLIST on shortcircuit USER_IN_BLACKLIST_TO on shortcircuit SUBJECT_IN_BLACKLIST on # shortcircuit BAYES_99 spam # shortcircuit BAYES_00 ham endif # Mail::SpamAssassin::Plugin::Shortcircuit