File: //etc/mail/spamassassin/local.cf
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# Only a small subset of options are listed below
#
###########################################################################
# A 'contact address' users should contact for more info. (replaces
# _CONTACTADDRESS_ in the report template)
# report_contact youremailaddress@domain.tld
# Add *****SPAM***** to the Subject header of spam e-mails
#
# rewrite_header Subject *****SPAM*****
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
# report_safe 1
# Set which networks or hosts are considered 'trusted' by your mail
# server (i.e. not spammers)
#
trusted_networks 10.0.0.0/8 102.0.0.0/8 102.130.123.114 102.219.84.130 102.219.84.138 102.219.84.155 102.219.84.6 102.222.124.102 103.250.232.162 129.232.136.210 129.232.156.123 129.232.220.130 129.232.220.178 129.232.249.199 142.250.147.27 142.250.4.27 142.251.168.26 142.251.168.27 142.251.173.27 148.251.246.72 149.13.75.27 154.0.174.213 154.59.104.23 154.59.193.124 156.38.230.134 162.255.118.7 162.255.118.8 164.90.194.37 165.255.240.70 169.239.217.2 169.239.218.2 169.239.219.2 173.46.152.138 173.46.152.139 185.230.63.107 192.178.213.27 192.250.227.30 196.192.175.69 196.192.175.72 196.22.142.44 197.221.14.67 2001:0550:0002:0003:0000:0000:0062:0100 2001:0550:0002:0061:0000:0000:02fc:0100 2001:0978:0002:0006:0000:0000:000f:0124 2001:0978:0002:0007:0000:0000:0162:0100 2001:0978:0002:002c:0000:0000:0137:0100 208.74.120.0/21 2404:6800:4003:0c06:0000:0000:0000:001b 2a00:1450:400c:0c07:0000:0000:0000:001b 2a00:1450:400c:0c0b:0000:0000:0000:001a 2a00:1450:400c:0c0b:0000:0000:0000:001b 2a00:1450:400c:0c1d:0000:0000:0000:001a 2a00:1450:400c:0c1d:0000:0000:0000:001b 2a00:1450:4010:0c0e:0000:0000:0000:001b 2a00:1450:4013:0c1e:0000:0000:0000:001a 2a00:1450:4025:0c01:0000:0000:0000:001b 2a01:0111:f403:c902:0000:0000:0000:0001 2a01:0111:f403:c902:0000:0000:0000:0004 2a01:0111:f403:c922:0000:0000:0000:0002 2a01:0111:f403:c92c:0000:0000:0000:0001 2a01:0111:f403:c946:0000:0000:0000:0002 2a01:0111:f403:ca04:0000:0000:0000:0000 2a01:0111:f403:ca04:0000:0000:0000:0001 2a01:0111:f403:ca04:0000:0000:0000:0004 2a01:0111:f403:ca04:0000:0000:0000:0005 2a01:0111:f403:ca04:0000:0000:0000:0007 2a01:0111:f403:ca04:0000:0000:0000:0009 2a01:0111:f403:ca04:0000:0000:0000:000b 2a01:0111:f403:ca04:0000:0000:0000:000c 2a01:0111:f403:ca04:0000:0000:0000:000f 2a01:0111:f403:ca04:0000:0000:0000:0010 2a01:0111:f403:ca09:0000:0000:0000:0000 2a01:0111:f403:ca09:0000:0000:0000:0001 2a01:0111:f403:ca09:0000:0000:0000:0002 2a01:0111:f403:ca09:0000:0000:0000:0003 2a01:0111:f403:ca09:0000:0000:0000:0004 2a01:0111:f403:ca09:0000:0000:0000:0005 2a01:0111:f403:ca09:0000:0000:0000:0006 2a01:0111:f403:ca09:0000:0000:0000:0008 2a01:0111:f403:ca09:0000:0000:0000:000b 2a01:0111:f403:ca09:0000:0000:0000:000d 2a01:0111:f403:ca09:0000:0000:0000:000e 2a01:0111:f403:ca28:0000:0000:0000:0000 2a01:0111:f403:ca28:0000:0000:0000:0001 2a01:0111:f403:ca2a:0000:0000:0000:0000 2a01:0111:f403:ca2a:0000:0000:0000:0001 2a01:0111:f403:ca2f:0000:0000:0000:0000 2a01:0111:f403:ca2f:0000:0000:0000:0001 2a01:0111:f403:ca31:0000:0000:0000:0000 2a01:0111:f403:ca31:0000:0000:0000:0001 2a01:0111:f403:f901:0000:0000:0000:0000 2a01:0111:f403:f90b:0000:0000:0000:0000 2c0f:f528:000a:0300:0000:0000:0000:0105 2c0f:f528:000a:0300:0000:0000:0000:0107 2c0f:f850:0001:0032:0000:0000:0000:0002 2c0f:f850:0001:0034:0000:0000:0000:0002 2c0f:f850:0001:0217:0000:0000:0000:0002 2c0f:f850:0001:0218:0000:0000:0000:0002 2c0f:f850:0001:0219:0000:0000:0000:0002 2c0f:fd58:101f:1501:0000:0000:0000:0100 2c0f:fd58:101f:1501:0000:0000:0000:0101 2c0f:fd58:101f:1501:0000:0000:0000:0102 34.111.179.208 35.187.82.108 38.71.16.244 38.89.254.156 41.193.119.123 41.203.16.59 41.203.7.82 41.222.32.2 41.222.34.2 41.74.193.201 41.74.193.210 41.74.197.201 41.74.197.210 52.101.10.16 52.101.160.0 52.101.160.1 52.101.162.0 52.101.162.1 52.101.172.0 52.101.172.1 52.101.174.0 52.101.174.1 52.101.194.15 52.101.40.0 52.101.40.6 52.101.41.183 52.101.41.54 52.101.42.10 52.101.68.0 52.101.68.10 52.101.68.12 52.101.68.15 52.101.68.18 52.101.68.25 52.101.68.3 52.101.68.32 52.101.68.39 52.101.68.5 52.101.68.8 52.101.73.1 52.101.73.11 52.101.73.12 52.101.73.2 52.101.73.22 52.101.73.24 52.101.73.26 52.101.73.30 52.101.73.4 52.101.73.8 52.101.9.21 64.233.184.26 64.233.184.27 64.38.239.82 64.38.239.83 65.109.161.215 66.228.130.220 66.228.130.221 66.37.25.72 74.125.131.27 74.125.71.27 76.76.21.21 # Autoconfigured by cPanel - Remove this end of line comment to avoid future updates
# Set file-locking method (flock is not safe over NFS, but is faster)
#
# lock_method flock
# Set the threshold at which a message is considered spam (default: 5.0)
#
# required_score 5.0
# Use Bayesian classifier (default: 1)
#
# use_bayes 1
# Bayesian classifier auto-learning (default: 1)
#
# bayes_auto_learn 1
# Set headers which may provide inappropriate cues to the Bayesian
# classifier
#
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status
# Whether to decode non- UTF-8 and non-ASCII textual parts and recode
# them to UTF-8 before the text is given over to rules processing.
#
# normalize_charset 1
# Textual body scan limit (default: 50000)
#
# Amount of data per email text/* mimepart, that will be run through body
# rules. This enables safer and faster scanning of large messages,
# perhaps having very large textual attachments. There should be no need
# to change this well tested default.
#
# body_part_scan_size 50000
# Textual rawbody data scan limit (default: 500000)
#
# Amount of data per email text/* mimepart, that will be run through
# rawbody rules.
#
# rawbody_part_scan_size 500000
# Some shortcircuiting, if the plugin is enabled
#
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
#
# default: strongly-welcomelisted mails are *really* welcomelisted now, if
# the shortcircuiting plugin is active, causing early exit to save CPU
# load. Uncomment to turn this on
#
# SpamAssassin tries hard not to launch DNS queries before priority -100.
# If you want to shortcircuit without launching unneeded queries, make
# sure such rule priority is below -100. These examples are already:
#
# shortcircuit USER_IN_WELCOMELIST on
# shortcircuit USER_IN_DEF_WELCOMELIST on
# shortcircuit USER_IN_ALL_SPAM_TO on
# the opposite; blocklisted mails can also save CPU
#
# shortcircuit USER_IN_BLOCKLIST on
# shortcircuit USER_IN_BLOCKLIST_TO 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
loadplugin Mail::SpamAssassin::Plugin::ResourceLimits
resource_limit_mem 536870912
dns_available yes # Autoconfigured by cPanel - comment out this line or set to no to avoid future updates