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.247.160.45 104.247.160.49 104.247.160.55 104.247.160.65 104.247.161.131 142.250.110.26 142.250.110.27 142.250.147.26 142.250.147.27 142.251.127.26 142.251.127.27 142.251.168.26 142.251.168.27 15.197.225.128 157.180.33.178 159.146.44.136 159.253.33.147 159.253.39.62 161.97.122.168 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.244.94.10 162.255.118.13 162.255.118.29 163.5.53.121 164.92.188.216 169.58.236.202 171.22.185.35 172.253.152.26 172.253.152.27 172.65.182.103 172.66.1.12 176.53.94.114 178.18.192.194 178.18.192.195 178.18.192.196 18.198.84.169 185.106.211.36 185.14.20.169 185.14.20.173 185.165.46.80 185.198.199.66 185.215.4.10 185.230.212.166 185.40.84.146 185.78.30.126 185.78.30.48 185.78.30.71 185.78.30.95 188.119.51.228 188.132.148.227 192.178.158.26 192.178.158.27 192.178.211.26 192.178.211.27 192.185.25.111 193.109.134.81 193.109.134.82 193.3.35.19 194.87.188.11 198.185.159.145 207.180.196.247 208.74.120.0/21 212.174.144.52 212.174.144.53 212.174.144.54 212.174.144.55 212.58.3.43 212.58.3.67 212.58.5.33 212.58.5.35 212.58.6.87 212.68.44.60 212.68.44.61 212.68.44.62 213.128.71.116 213.238.169.60 213.238.191.54 217.195.192.146 217.195.202.2 23.172.136.2 23.172.139.3 23.227.38.65 2404:6800:4000:1025:0000:0000:0000:001a 2404:6800:4000:1025:0000:0000:0000:001b 2404:6800:4013:0813:0000:0000:0000:001a 2404:6800:4013:0813:0000:0000:0000:001b 2602:faa9:00e1:6e6f:7370:616d:0000:0002 2602:faa9:00e2:6e6f:7370:616d:0000:0002 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 2a00:1450:4001:0c21:0000:0000:0000:001a 2a00:1450:4001:0c21:0000:0000:0000:001b 2a00:1450:400c:0c02:0000:0000:0000:001a 2a00:1450:400c:0c06:0000:0000:0000:001b 2a00:1450:400c:0c0d:0000:0000:0000:001a 2a00:1450:400c:0c0d:0000:0000:0000:001b 2a00:1450:400c:0c1d:0000:0000:0000:001b 2a00:1450:4010:0c22:0000:0000:0000:001a 2a00:1450:4010:0c22:0000:0000:0000:001b 2a00:1450:4025:0c01:0000:0000:0000:001a 2a00:1450:4025:0c01:0000:0000:0000:001b 2a01:0111:f403:c902:0000:0000:0000:0002 2a01:0111:f403:c918:0000:0000:0000:0000 2a01:0111:f403:c967:0000:0000:0000:0008 2a01:0111:f403:c967:0000:0000:0000:000a 2a01:0111:f403:ca04: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: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:0009 2a01:0111:f403:ca09:0000:0000:0000:000a 2a01:0111:f403:ca09:0000:0000:0000:000b 2a01:0111:f403:ca09:0000:0000:0000:000c 2a01:0111:f403:ca09:0000:0000:0000:000f 2a01:0111:f403:ca09:0000:0000:0000:0020 2a01:0111:f403:ca09:0000:0000:0000:0024 2a01:0111:f403:ca21:0000:0000:0000:0008 2a01:0111:f403:ca21:0000:0000:0000:000c 2a01:0111:f403:ca21:0000:0000:0000:000e 2a01:0111:f403:ca38:0000:0000:0000:0008 2a01:0111:f403:ca38:0000:0000:0000:000a 2a01:0111:f403:ca3c:0000:0000:0000:0006 2a01:0111:f403:ca3c:0000:0000:0000:0008 2a01:0111:f403:ca3c:0000:0000:0000:000a 2a01:0111:f403:ca48:0000:0000:0000:0008 2a01:0111:f403:ca48:0000:0000:0000:000a 2a01:0111:f403:ca48:0000:0000:0000:000c 2a01:0111:f403:ca48:0000:0000:0000:0010 2a01:0111:f403:ca48:0000:0000:0000:0012 2a01:0111:f403:f901:0000:0000:0000:0002 2a01:0111:f403:f909:0000:0000:0000:0001 2a01:0238:020a:0202:50f0:0000:0000:1097 2a02:06b8:0000:0000:0000:0000:0000:0311 2a06:41c0:0000:0000:0000:0000:0000:0035 2a06:41c0:0001:0000:0000:0000:0000:0003 2a06:41c0:0001:0000:0000:0000:0000:0004 2a06:41c0:0001:0000:0000:0000:0000:0006 2a06:41c0:0001:002e:0000:0000:0000:031e 2a06:41c0:0001:0031:0000:0000:0000:00af 3.33.251.168 31.192.212.202 31.192.212.44 31.210.89.202 32.196.64.27 34.149.254.5 37.230.104.34 45.151.248.57 46.31.147.194 46.31.149.91 46.4.23.118 46.45.136.3 5.101.158.67 5.101.158.68 5.196.218.32 5.39.8.160 51.195.31.193 52.101.10.5 52.101.10.8 52.101.103.140 52.101.103.143 52.101.103.36 52.101.103.39 52.101.181.153 52.101.181.156 52.101.185.114 52.101.185.21 52.101.185.24 52.101.194.3 52.101.209.153 52.101.60.68 52.101.68.0 52.101.68.10 52.101.68.12 52.101.68.15 52.101.68.16 52.101.68.21 52.101.68.25 52.101.68.27 52.101.68.29 52.101.68.3 52.101.68.32 52.101.68.36 52.101.68.39 52.101.68.5 52.101.68.8 52.101.73.11 52.101.73.12 52.101.73.123 52.101.73.126 52.101.73.145 52.101.73.15 52.101.73.153 52.101.73.155 52.101.73.16 52.101.73.19 52.101.73.22 52.101.73.24 52.101.73.26 52.101.73.30 52.101.73.6 52.101.73.8 52.101.91.153 52.101.91.156 52.101.91.162 66.102.1.27 66.96.140.100 66.96.140.101 74.125.71.27 75.2.120.200 77.245.149.75 77.245.159.35 77.245.159.36 77.88.21.249 77.92.139.212 78.142.228.228 78.188.219.196 79.98.133.114 81.169.145.97 85.131.209.122 85.153.133.12 85.153.133.13 85.153.133.15 85.95.224.2 85.95.237.229 88.255.50.162 89.252.161.150 89.252.162.0/24 89.252.169.0/24 89.252.186.172 89.43.31.214 93.187.201.23 94.103.45.2 94.138.192.240 94.138.192.241 94.199.201.8 94.199.201.88 94.199.201.89 94.199.201.90 94.199.201.91 94.199.201.92 94.23.26.24 94.73.183.152 94.73.183.153 94.73.187.201 94.73.187.202 94.73.188.32 94.73.188.33 95.173.164.74 95.173.177.114 98.82.76.252 98.90.103.167 # 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