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 103.138.128.141 103.226.223.34 103.69.130.160 104.224.1.39 104.248.224.170 104.47.76.100 104.47.76.164 106.0.62.83 107.6.136.18 121.127.44.56 121.127.44.59 138.197.213.185 142.250.100.26 142.250.100.27 142.250.113.27 142.250.114.26 142.250.114.27 142.250.115.26 142.250.115.27 142.250.138.26 142.250.96.26 142.250.96.27 142.251.186.26 142.251.186.27 142.251.96.26 142.251.96.27 147.182.130.78 147.182.160.18 147.182.180.139 147.182.189.184 162.159.205.11 162.159.205.12 162.159.205.13 162.159.205.17 162.159.205.18 162.159.205.19 162.159.205.23 162.159.205.24 162.159.205.25 162.215.2.27 162.215.3.25 162.215.3.26 162.215.97.37 162.255.118.13 162.255.118.28 162.255.118.29 162.255.118.51 162.255.118.52 162.255.118.7 162.255.118.8 164.90.197.105 164.90.197.143 164.90.197.162 164.90.197.79 165.140.69.102 172.212.4.33 172.253.135.26 172.253.135.27 172.253.149.26 172.253.149.27 172.65.182.103 173.194.208.26 176.119.200.128 176.119.200.129 18.189.8.252 18.216.227.84 184.94.215.225 185.151.28.67 185.181.254.95 185.181.254.99 185.20.209.166 185.205.70.128 185.205.70.129 185.230.212.166 185.230.214.166 185.230.63.107 185.230.63.171 185.230.63.186 185.70.42.128 185.70.42.129 188.165.36.237 192.178.220.27 193.7.206.36 193.7.207.36 195.189.140.200 197.188.225.53 198.175.150.0/24 198.185.159.144 198.185.159.145 198.49.23.144 198.49.23.145 204.141.33.44 204.141.43.44 208.74.120.0/21 209.141.37.87 212.227.15.41 216.150.1.1 216.198.79.1 216.69.141.113 216.69.141.114 216.69.141.162 216.69.141.71 216.69.141.78 216.69.141.84 217.72.192.67 23.227.38.65 2604:a880:0002:00d0:0000:0000:0306:0001 2604:a880:0400:00d1:0000:0000:00cd:9001 2606:4700:0090:0000:c1f8:f874:2386:b61f 2606:4700:00f5:0000:0000:0000:0000:000b 2606:4700:00f5:0000:0000:0000:0000:000c 2606:4700:00f5:0000:0000:0000:0000:000d 2606:4700:00f5:0000:0000:0000:0000:000e 2606:4700:00f5:0000:0000:0000:0000:000f 2606:4700:00f5:0000:0000:0000:0000:0010 2606:4700:00f5:0000:0000:0000:0000:0011 2606:4700:00f5:0000:0000:0000:0000:0012 2606:4700:00f5:0000:0000:0000:0000:0013 2607:f8b0:4003:0c4a:0000:0000:0000:001a 2607:f8b0:4003:0c4a:0000:0000:0000:001b 2607:f8b0:4023:0403:0000:0000:0000:001a 2607:f8b0:4023:0403:0000:0000:0000:001b 2607:f8b0:4023:1002:0000:0000:0000:001a 2607:f8b0:4023:1002:0000:0000:0000:001b 2607:f8b0:4023:1004:0000:0000:0000:001a 2607:f8b0:4023:1004:0000:0000:0000:001b 2607:f8b0:4023:1006:0000:0000:0000:001b 2607:f8b0:4023:1009:0000:0000:0000:001a 2607:f8b0:4023:100d:0000:0000:0000:001b 2607:f8b0:4023:1011:0000:0000:0000:001a 2607:f8b0:4023:1015:0000:0000:0000:001a 2607:f8b0:4023:1015:0000:0000:0000:001b 2607:f8b0:4023:3801:0000:0000:0000:001a 2607:f8b0:4024:0c0f:0000:0000:0000:001a 2607:f8b0:4024:0c0f:0000:0000:0000:001b 2620:0127:f00f:0005:0000:0000:0000:0000 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:c802:0000:0000:0000:0000 2a01:0111:f403:c803:0000:0000:0000:0000 2a01:0111:f403:c901:0000:0000:0000:0001 2a01:0111:f403:c902:0000:0000:0000:0002 2a01:0111:f403:c902:0000:0000:0000:0003 2a01:0111:f403:c902:0000:0000:0000:0004 2a01:0111:f403:c902:0000:0000:0000:0005 2a01:0111:f403:c902:0000:0000:0000:0006 2a01:0111:f403:c902:0000:0000:0000:0007 2a01:0111:f403:c902:0000:0000:0000:0014 2a01:0111:f403:c903:0000:0000:0000:0003 2a01:0111:f403:c91d:0000:0000:0000:000b 2a01:0111:f403:c927:0000:0000:0000:0000 2a01:0111:f403:c927:0000:0000:0000:0001 2a01:0111:f403:c92c:0000:0000:0000:0001 2a01:0111:f403:c92c:0000:0000:0000:0002 2a01:0111:f403:c92c:0000:0000:0000:0003 2a01:0111:f403:c92c:0000:0000:0000:0004 2a01:0111:f403:c931:0000:0000:0000:0000 2a01:0111:f403:c931:0000:0000:0000:0001 2a01:0111:f403:c936:0000:0000:0000:0000 2a01:0111:f403:c942:0000:0000:0000:0000 2a01:0111:f403:c942:0000:0000:0000:0001 2a01:0111:f403:c942:0000:0000:0000:0002 2a01:0111:f403:c942:0000:0000:0000:0003 2a01:0111:f403:c944:0000:0000:0000:0000 2a01:0111:f403:c944:0000:0000:0000:0001 2a01:0111:f403:c946:0000:0000:0000:0000 2a01:0111:f403:c946:0000:0000:0000:0001 2a01:0111:f403:c946:0000:0000:0000:0002 2a01:0111:f403:c946:0000:0000:0000:0003 2a01:0111:f403:c946:0000:0000:0000:0004 2a01:0111:f403:c946:0000:0000:0000:0005 2a01:0111:f403:c946:0000:0000:0000:0006 2a01:0111:f403:ca04:0000:0000:0000:0000 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:000a 2a01:0111:f403:ca04:0000:0000:0000:000b 2a01:0111:f403:ca04:0000:0000:0000:000e 2a01:0111:f403:ca04:0000:0000:0000:000f 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:000b 2a01:0111:f403:ca09:0000:0000:0000:000c 2a01:0111:f403:ca09:0000:0000:0000:000d 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:0002 2a01:0111:f403:ca1a:0000:0000:0000:0000 2a01:0111:f403:ca1a:0000:0000:0000:0001 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:cc31:0000:0000:0000:0000 2a01:0111:f403:cc31:0000:0000:0000:0001 2a01:0111:f403:cc31:0000:0000:0000:0002 2a01:0111:f403:cc31:0000:0000:0000:0003 2a01:0111:f403:cc33:0000:0000:0000:0000 2a01:0111:f403:cc33:0000:0000:0000:0001 2a01:0111:f403:f802:0000:0000:0000:0000 2a01:0111:f403:f802:0000:0000:0000:0002 2a01:0111:f403:f802:0000:0000:0000:0003 2a01:0111:f403:f804:0000:0000:0000:0001 2a01:0111:f403:f804:0000:0000:0000:0003 2a01:0111:f403:f901:0000:0000:0000:0000 2a01:0111:f403:f901:0000:0000:0000:0001 2a01:0111:f403:f901:0000:0000:0000:0002 2a01:0111:f403:f902:0000:0000:0000:0001 2a01:0111:f403:f902:0000:0000:0000:0002 2a01:0111:f403:f903:0000:0000:0000:0000 2a01:0111:f403:f905:0000:0000:0000:0003 2a01:0111:f403:f905:0000:0000:0000:0004 2a01:0111:f403:f908:0000:0000:0000:0000 2a01:0111:f403:f908:0000:0000:0000:0001 2a01:0111:f403:f90a:0000:0000:0000:0000 2a01:0111:f403:f90a:0000:0000:0000:0001 2a01:0111:f403:f90b:0000:0000:0000:0000 2a01:0111:f403:f90c:0000:0000:0000:0000 2a01:0111:f403:f90d:0000:0000:0000:0001 2a01:0111:f403:f90f:0000:0000:0000:0000 2a01:0111:f403:f90f:0000:0000:0000:0001 2a01:0111:f403:f910:0000:0000:0000:0000 2a01:0111:f403:f912:0000:0000:0000:0000 2a02:0250:0000:0048:0000:0000:0000:0011 2a02:0250:0000:0048:0000:0000:0000:0012 2a02:0250:0000:0048:0000:0000:0000:0013 2a02:0250:0000:0048:0000:0000:0000:0014 2a02:6ea0:d71e:0000:0000:0000:0000:0001 2a02:6ea0:d71e:0000:0000:0000:0000:0002 3.140.150.54 3.209.71.101 3.211.210.226 3.22.148.152 3.220.198.68 3.228.105.2 31.43.160.6 31.43.161.6 34.111.121.216 34.120.156.61 34.149.254.5 34.149.79.66 34.196.137.144 34.36.182.139 35.246.138.165 40.121.188.167 40.93.192.1 40.93.192.4 43.227.231.114 44.206.9.87 44.210.166.32 44.226.226.6 47.246.136.231 47.246.137.47 47.246.99.195 52.10.201.111 52.101.10.1 52.101.10.10 52.101.10.12 52.101.10.14 52.101.10.16 52.101.10.18 52.101.10.6 52.101.10.8 52.101.11.10 52.101.11.13 52.101.11.15 52.101.11.17 52.101.11.2 52.101.11.9 52.101.149.0 52.101.149.1 52.101.149.2 52.101.149.9 52.101.151.0 52.101.151.5 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.190.0 52.101.190.1 52.101.190.2 52.101.190.3 52.101.192.0 52.101.192.1 52.101.194.0 52.101.194.12 52.101.194.13 52.101.194.15 52.101.194.17 52.101.194.19 52.101.194.3 52.101.40.0 52.101.40.1 52.101.40.24 52.101.40.6 52.101.41.0 52.101.41.180 52.101.41.21 52.101.41.24 52.101.41.26 52.101.41.28 52.101.41.3 52.101.41.54 52.101.41.56 52.101.41.58 52.101.41.6 52.101.42.14 52.101.42.16 52.101.42.18 52.101.50.13 52.101.68.0 52.101.68.10 52.101.68.12 52.101.68.15 52.101.68.16 52.101.68.18 52.101.68.27 52.101.68.29 52.101.68.36 52.101.68.39 52.101.68.5 52.101.68.8 52.101.73.11 52.101.73.153 52.101.73.22 52.101.73.26 52.101.73.30 52.101.8.34 52.101.8.42 52.101.8.44 52.101.8.46 52.101.8.51 52.101.89.0 52.101.89.1 52.101.89.2 52.101.9.11 52.101.9.12 52.101.9.14 52.101.9.17 52.101.9.2 52.101.9.20 52.101.9.24 52.101.9.26 52.101.9.5 52.101.99.0 52.87.104.218 54.164.173.191 54.166.32.169 54.197.5.236 64.239.109.1 64.239.123.193 64.90.62.163 64.90.62.164 65.39.250.34 66.70.178.74 66.96.140.66 66.96.140.67 67.225.255.222 72.251.9.66 72.52.245.129 77.37.67.61 87.98.160.167 91.121.53.175 93.188.3.11 93.188.3.12 93.188.3.13 93.188.3.14 fd10:aec2:5dae:0000:0000:0000:0000:0000 # 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