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 104.47.76.100 104.47.76.164 108.177.125.26 108.177.125.27 13.36.107.63 13.36.222.39 13.37.195.136 135.181.88.12 136.143.183.44 136.143.191.44 142.250.147.27 142.251.127.26 142.251.127.27 148.163.129.50 148.163.129.51 15.197.225.128 15.236.236.160 15.236.61.92 162.255.118.30 162.255.118.31 172.253.152.26 172.253.152.27 172.253.158.26 172.253.158.27 172.65.182.103 176.119.200.128 176.119.200.129 18.185.115.250 18.185.115.251 18.185.115.252 18.200.203.69 185.20.50.222 185.205.70.128 185.205.70.129 185.70.42.128 185.70.42.129 188.68.47.137 192.124.249.2 192.162.219.155 192.162.219.255 192.162.219.49 192.178.211.26 192.178.211.27 192.178.213.27 195.130.217.201 195.130.217.211 195.130.217.241 199.67.84.150 199.67.86.230 208.74.120.0/21 212.227.15.41 212.227.24.137 213.171.216.40 213.175.208.186 217.69.139.180 217.72.192.67 23.21.114.81 23.227.38.32 2404:6800:4000:1025:0000:0000:0000:001a 2404:6800:4003:0c26:0000:0000:0000:001a 2404:6800:4003:0c26:0000:0000:0000:001b 2404:6800:4008:0c01:0000:0000:0000:001a 2404:6800:4008:0c01:0000:0000:0000:001b 2606:4700:0090:0000:c1f8:f874:2386:b61f 2a00:1450:4001:0c21:0000:0000:0000:001a 2a00:1450:4001:0c21:0000:0000:0000:001b 2a00:1450:400c:0c1f:0000:0000:0000:001a 2a00:1450:4010:0c22:0000:0000:0000:001a 2a00:1450:4010:0c22:0000:0000:0000:001b 2a00:1450:4013:0c1e:0000:0000:0000:001a 2a01:0111:f403:7129:0000:0000:0000:0038 2a01:0111:f403:7130:0000:0000:0000:0038 2a01:0111:f403:c801:0000:0000:0000:0000 2a01:0111:f403:c927:0000:0000:0000:0000 2a01:0111:f403:ca04:0000:0000:0000:0001 2a01:0111:f403:ca04:0000:0000:0000:0002 2a01:0111:f403:ca04:0000:0000:0000:0004 2a01:0111:f403:ca04:0000:0000:0000:0005 2a01:0111:f403:ca04:0000:0000:0000:0006 2a01:0111:f403:ca04:0000:0000:0000:0007 2a01:0111:f403:ca04:0000:0000:0000:0008 2a01:0111:f403:ca04:0000:0000:0000:0009 2a01:0111:f403:ca04:0000:0000:0000:000a 2a01:0111:f403:ca04:0000:0000:0000:000b 2a01:0111:f403:ca04:0000:0000:0000:000c 2a01:0111:f403:ca04:0000:0000:0000:000d 2a01:0111:f403:ca04:0000:0000:0000:000e 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:0005 2a01:0111:f403:ca09:0000:0000:0000:0006 2a01:0111:f403:ca09:0000:0000:0000:0007 2a01:0111:f403:ca09:0000:0000:0000:0008 2a01:0111:f403:ca09:0000:0000:0000:0009 2a01:0111:f403:ca09:0000:0000:0000:000b 2a01:0111:f403:ca09:0000:0000:0000:000c 2a01:0111:f403:ca09:0000:0000:0000:000d 2a01:0111:f403:ca09:0000:0000:0000:000e 2a01:0111:f403:ca09:0000:0000:0000:000f 2a01:0111:f403:ca09:0000:0000:0000:0020 2a01:0111:f403:ca0b:0000:0000:0000:0000 2a01:0111:f403:ca0b:0000:0000:0000:0001 2a01:0111:f403:ca0b:0000:0000:0000:0002 2a01:0111:f403:ca1a:0000:0000:0000:0000 2a01:0111:f403:ca1a:0000:0000:0000:0001 2a01:0111:f403:ca21:0000:0000:0000:0000 2a01:0111:f403:ca21:0000:0000:0000:0001 2a01:0111:f403:ca21:0000:0000:0000:0002 2a01:0111:f403:ca21:0000:0000:0000:0003 2a01:0111:f403:ca27:0000:0000:0000:0000 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:ca2d:0000:0000:0000:0000 2a01:0111:f403:ca2d:0000:0000:0000:0001 2a01:0111:f403:ca2d:0000:0000:0000:0002 2a01:0111:f403:ca34:0000:0000:0000:0000 2a01:0111:f403:ca34:0000:0000:0000:0001 2a01:0111:f403:ca34:0000:0000:0000:0002 2a01:0111:f403:ca36:0000:0000:0000:0000 2a01:0111:f403:ca3c:0000:0000:0000:0000 2a01:0111:f403:ca3c:0000:0000:0000:0001 2a01:0111:f403:ca3c:0000:0000:0000:0002 2a01:0111:f403:ca3e:0000:0000:0000:0001 2a01:0111:f403:ca6e:0000:0000:0000:0000 2a01:0111:f403:ca6e:0000:0000:0000:0002 2a01:0111:f403:ca6e:0000:0000:0000:0003 2a01:0111:f403:ca6e:0000:0000:0000:0006 2a01:0111:f403:cc2c:0000:0000:0000:0000 2a01:0111:f403:cc2c:0000:0000:0000:0001 2a01:0111:f403:cc2d:0000:0000:0000:0000 2a01:0111:f403:cc2d:0000:0000:0000:0001 2a01:0111:f403:cc2f:0000:0000:0000:0000 2a01:0111:f403:cc30:0000:0000:0000:0000 2a01:0111:f403:cc30:0000:0000:0000:0001 2a01:0111:f403:cc30:0000:0000:0000:0003 2a01:0111:f403:f902:0000:0000:0000:0002 2a01:0111:f403:f909:0000:0000:0000:0000 2a01:0238:020a:0202:50f0:0000:0000:1097 2a01:04f9:c013:e2c6:0000:0000:0000:0001 2a05:d012:0412:e201:1f6e:f6e4:8fd7:4678 2a05:d012:0412:e201:88aa:e7b9:7a43:12d7 2a05:d012:0412:e202:0f36:2c1f:1a49:d38a 2a05:d012:0412:e202:e81e:cc44:3b53:8a3d 2a05:d012:0412:e203:373a:f51a:4a85:1d25 2a05:d012:0412:e203:7e33:3d9c:28d7:ee20 3.223.93.12 3.33.251.168 34.111.121.216 34.120.156.61 34.149.79.66 34.195.53.246 34.196.168.106 34.231.165.252 34.95.107.114 35.181.18.45 37.17.224.100 40.107.180.0 40.107.180.2 40.107.180.3 40.107.180.6 46.243.88.174 46.243.88.175 46.243.88.176 46.243.88.177 47.246.146.255 47.246.146.58 49.12.134.221 5.9.113.205 52.101.11.20 52.101.144.0 52.101.144.3 52.101.145.0 52.101.145.2 52.101.147.1 52.101.148.1 52.101.148.13 52.101.148.3 52.101.160.0 52.101.160.1 52.101.162.0 52.101.162.1 52.101.168.0 52.101.170.0 52.101.170.1 52.101.170.2 52.101.177.0 52.101.177.1 52.101.177.2 52.101.179.0 52.101.185.12 52.101.185.13 52.101.185.14 52.101.187.1 52.101.194.19 52.101.41.54 52.101.42.14 52.101.50.1 52.101.68.10 52.101.68.12 52.101.68.13 52.101.68.15 52.101.68.16 52.101.68.18 52.101.68.21 52.101.68.25 52.101.68.27 52.101.68.28 52.101.68.29 52.101.68.32 52.101.68.36 52.101.68.37 52.101.68.39 52.101.68.5 52.101.68.8 52.101.73.1 52.101.73.12 52.101.73.15 52.101.73.153 52.101.73.16 52.101.73.19 52.101.73.2 52.101.73.22 52.101.73.24 52.101.73.26 52.101.73.28 52.101.73.30 52.101.73.4 52.101.73.6 52.101.73.8 52.101.89.0 52.101.89.1 52.101.89.2 52.101.91.0 52.101.91.1 52.101.91.2 52.101.91.3 52.101.99.0 52.101.99.2 54.155.140.59 54.76.31.185 62.146.106.39 62.146.106.40 66.96.140.72 66.96.140.73 67.231.154.162 67.231.154.163 80.151.17.181 80.237.138.5 80.67.18.126 81.169.145.97 91.220.42.201 91.220.42.211 91.220.42.241 91.222.8.70 91.222.9.10 92.204.68.13 92.204.80.0 92.204.80.3 92.205.0.0/19 92.205.0.167 92.205.0.98 92.205.96.0/20 94.100.132.8 94.100.134.8 94.100.136.7 94.100.136.8 94.100.180.180 94.130.142.153 95.142.156.6 98.85.123.215 # 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