Using shortcuts with a well trained bayes db.

Questions and answers about how to do stuff
Post Reply
Posts: 465
Joined: 14 Dec 2015 22:16
Location: Netherlands

Using shortcuts with a well trained bayes db.

Post by henk » 04 Feb 2020 09:50

Shortcutting is an easy way to save some CPU load.

Shortcut must be active in

Code: Select all

As there are many possible combinations, just start one by one :idea:

Code: Select all


Code: Select all

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.
#   Uncomment to turn this on
 shortcircuit USER_IN_WHITELIST       on
# shortcircuit USER_IN_DEF_WHITELIST   on
# shortcircuit USER_IN_ALL_SPAM_TO     on
# shortcircuit SUBJECT_IN_WHITELIST    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
endif # Mail::SpamAssassin::Plugin::Shortcircuit
First run
Message Detail1.png
Message Detail1.png (26.47 KiB) Viewed 426 times
Second run on same message source
Message Detail2.png
Message Detail2.png (11.37 KiB) Viewed 426 times

User avatar
Posts: 3143
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA

Re: Using shortcuts with a well trained bayes db.

Post by shawniverson » 04 Feb 2020 23:32

Version eFa 4.0.2 now available!

Post Reply