1 # This is the right place to customize your installation of SpamAssassin.
3 # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
6 # This file contains plugin activation commands for plugins included
7 # in SpamAssassin 3.0.x releases. It will not be installed if you
8 # already have a file in place called "init.pre".
10 # There are now multiple files read to enable plugins in the
11 # /etc/mail/spamassassin directory; previously only one, "init.pre" was
12 # read. Now both "init.pre", "v310.pre", and any other files ending in
13 # ".pre" will be read. As future releases are made, new plugins will be
14 # added to new files, named according to the release they're added in.
15 ###########################################################################
17 # Version compatibility - Welcomelist/Blocklist
18 # In SpamAssassin 4.0, rules containing "whitelist" or "blacklist" have been
19 # renamed to contain more racially neutral "welcomelist" and "blocklist"
20 # terms. When this compatibility flag is enabled, old rule names from stock
21 # rules will not hit anymore alongside the new ones. For more information,
22 # see: https://wiki.apache.org/spamassassin/WelcomelistBlocklist
24 enable_compat welcomelist_blocklist
26 # RelayCountry - add metadata for Bayes learning, marking the countries
27 # a message was relayed through
29 # Note: This requires the Geo::IP Perl module
31 # loadplugin Mail::SpamAssassin::Plugin::RelayCountry
33 [% IF pmg.spam.rbl_checks %]
34 # URIDNSBL - look up URLs found in the message against several DNS
37 loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
41 [% IF pmg.spam.rbl_checks %]
42 # SPF - perform SPF verification.
44 loadplugin Mail::SpamAssassin::Plugin::SPF
47 # always load dkim to improve accuracy
48 loadplugin Mail::SpamAssassin::Plugin::DKIM