blob: dc900a4797d4313fd38be815ad3fec65bf1798ce [file] [log] [blame]
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# This file contains plugin activation commands for plugins included
# in SpamAssassin 3.0.x releases. It will not be installed if you
# already have a file in place called "init.pre".
#
# There are now multiple files read to enable plugins in the
# /etc/mail/spamassassin directory; previously only one, "init.pre" was
# read. Now both "init.pre", "v310.pre", and any other files ending in
# ".pre" will be read. As future releases are made, new plugins will be
# added to new files, named according to the release they're added in.
###########################################################################
# Version compatibility - Welcomelist/Blocklist
# In SpamAssassin 4.0, rules containing "whitelist" or "blacklist" have been
# renamed to contain more racially neutral "welcomelist" and "blocklist"
# terms. When this compatibility flag is enabled, old rule names from stock
# rules will not hit anymore alongside the new ones. For more information,
# see: https://wiki.apache.org/spamassassin/WelcomelistBlocklist
#
enable_compat welcomelist_blocklist
# RelayCountry - add metadata for Bayes learning, marking the countries
# a message was relayed through
#
# Note: This requires the Geo::IP Perl module
#
# loadplugin Mail::SpamAssassin::Plugin::RelayCountry
# URIDNSBL - look up URLs found in the message against several DNS
# blocklists.
#
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
# SPF - perform SPF verification.
#
loadplugin Mail::SpamAssassin::Plugin::SPF