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.224.212.34 142.250.101.26 142.250.101.27 142.250.102.26 142.250.102.27 142.250.99.27 142.251.127.27 144.217.102.228 144.217.123.236 144.217.139.27 144.217.203.0/24 147.93.6.195 148.163.69.163 149.56.147.198 149.56.200.84 149.56.85.78 158.69.104.108 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.255.118.13 162.255.118.28 162.255.118.29 162.255.118.51 162.255.118.52 167.114.27.228/30 170.10.164.243 172.217.216.26 172.217.216.27 172.253.117.26 172.253.117.27 172.253.145.26 172.253.145.27 172.253.148.27 172.65.182.103 173.194.43.27 173.243.136.65 18.228.55.199 18.230.36.177 18.230.43.56 192.178.213.26 192.178.223.26 192.178.231.26 192.178.231.27 192.185.184.205 192.185.184.206 192.185.184.211 192.185.184.212 192.185.184.214 194.39.123.158 204.141.33.44 204.141.43.44 208.74.120.0/21 208.91.197.7 209.42.20.14 212.227.15.41 216.246.112.24 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 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:400e:0c09:0000:0000:0000:001a 2607:f8b0:400e:0c09:0000:0000:0000:001b 2607:f8b0:400e:0c0a:0000:0000:0000:001a 2607:f8b0:400e:0c0a:0000:0000:0000:001b 2607:f8b0:400e:0c0d:0000:0000:0000:001b 2607:f8b0:4023:0c06:0000:0000:0000:001b 2607:f8b0:4023:200d:0000:0000:0000:001b 2607:f8b0:4023:2803:0000:0000:0000:001a 2607:f8b0:4023:2803:0000:0000:0000:001b 2607:f8b0:4023:3003:0000:0000:0000:001a 2a00:1450:4001:0c21:0000:0000:0000:001b 2a00:1450:4009:0c0f:0000:0000:0000:001b 2a00:1450:4013:0c1e:0000:0000:0000:001b 2a00:1450:4025:0402:0000:0000:0000:001a 2a00:1450:4025:0402:0000:0000:0000:001b 2a00:1450:4025:4401:0000:0000:0000:001b 2a01:0111:f403:c801:0000:0000:0000:0000 2a01:0111:f403:c801:0000:0000:0000:0001 2a01:0111:f403:c802:0000:0000:0000:0000 2a01:0111:f403:c803:0000:0000:0000:0000 2a01:0111:f403:c902:0000:0000:0000:0000 2a01:0111:f403:c902:0000:0000:0000:0002 2a01:0111:f403:c902:0000:0000:0000:0003 2a01:0111:f403:c903:0000:0000:0000:0003 2a01:0111:f403:c91d:0000:0000:0000:000a 2a01:0111:f403:c91d:0000:0000:0000:000b 2a01:0111:f403:c922:0000:0000:0000:0000 2a01:0111:f403:c922:0000:0000:0000:0001 2a01:0111:f403:c922:0000:0000:0000:0002 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:0004 2a01:0111:f403:c931:0000:0000:0000:0000 2a01:0111:f403:c931:0000:0000:0000:0001 2a01:0111:f403:c946:0000:0000:0000:0001 2a01:0111:f403:c946:0000:0000:0000:0002 2a01:0111:f403:c946:0000:0000:0000:0004 2a01:0111:f403:f802:0000:0000:0000:0002 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:0002 2a01:0111:f403:f902:0000:0000:0000:0000 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:f908:0000:0000:0000:0000 2a01:0111:f403:f908:0000:0000:0000:0001 2a01:0111:f403:f908:0000:0000:0000:0002 2a01:0111:f403:f90c:0000:0000:0000:0000 2a01:0111:f403:f90d:0000:0000:0000:0001 2a01:0111:f403:f910:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0001 34.209.53.182 35.163.173.184 40.93.192.1 40.93.192.4 44.234.238.75 51.161.122.0/24 51.222.50.0/24 52.101.10.10 52.101.10.14 52.101.10.15 52.101.10.18 52.101.10.6 52.101.10.8 52.101.11.10 52.101.11.11 52.101.11.13 52.101.11.19 52.101.194.0 52.101.194.12 52.101.194.13 52.101.194.15 52.101.194.3 52.101.40.0 52.101.40.1 52.101.40.2 52.101.40.24 52.101.40.25 52.101.40.5 52.101.40.6 52.101.41.0 52.101.41.180 52.101.41.181 52.101.41.24 52.101.41.25 52.101.41.4 52.101.41.57 52.101.42.14 52.101.42.16 52.101.50.10 52.101.50.13 52.101.50.7 52.101.8.46 52.101.9.2 52.101.9.20 52.101.9.26 52.101.9.5 54.39.13.84 74.125.195.26 74.125.195.27 # 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