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 [email protected]
# 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 101.126.58.223 103.103.196.235 103.224.212.34 104.21.3.174 104.239.145.194 107.178.101.172 108.166.43.1 108.166.43.2 108.177.123.26 108.177.123.27 122.14.230.154 135.125.140.191 135.125.171.180 135.125.222.87 139.99.62.192 141.95.17.88 142.250.31.26 142.250.31.27 142.251.111.26 142.251.16.26 142.251.16.27 142.251.163.26 142.251.167.26 142.251.167.27 142.4.206.237 145.223.124.101 146.20.161.1 146.20.161.2 147.79.79.223 148.113.189.215 157.173.204.29 162.0.232.60 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.210.102.199 162.214.154.125 162.216.112.94 162.241.62.145 162.250.121.214 162.255.118.13 162.255.118.28 162.255.118.29 162.255.118.30 162.255.118.31 162.255.118.51 162.255.118.52 162.255.118.7 162.255.118.8 164.90.194.37 169.148.146.168 169.148.149.118 17.42.251.62 17.56.9.31 17.57.152.5 17.57.154.33 17.57.155.25 17.57.156.30 172.253.116.26 172.253.116.27 172.253.122.26 172.253.122.27 172.253.139.27 172.253.157.26 172.253.157.27 172.253.62.26 172.253.62.27 172.253.63.26 172.253.63.27 172.65.182.103 172.66.44.143 172.66.47.113 172.67.130.251 173.203.187.1 173.203.187.2 173.252.167.110 173.252.167.180 173.255.196.143 177.136.234.91 177.153.23.241 177.153.23.242 177.54.147.142 178.32.124.207 18.136.127.145 18.139.153.173 18.140.44.159 181.39.11.90 184.106.54.1 184.106.54.2 185.151.28.67 185.158.133.1 185.181.252.129 185.181.252.142 185.181.252.190 185.53.56.44 185.53.56.45 185.53.56.46 185.53.56.47 186.202.4.42 186.209.113.106 186.4.248.203 192.178.155.26 192.178.218.26 192.178.223.26 192.178.223.27 192.250.227.113 192.250.227.216 192.250.227.228 192.250.231.151 192.250.234.159 192.96.200.93 195.250.27.134 198.143.129.26 198.177.123.10 198.251.89.201 198.38.90.147 198.38.92.23 198.72.126.220 199.168.115.158 199.193.206.102 200.147.36.29 200.234.204.130 200.25.12.145 200.25.12.146 2001:41d0:0303:648a:0000:0000:0000:0001 2001:41d0:0700:19b4:0000:0000:0000:0001 2001:41d0:0700:1a57:0000:0000:0000:0001 2001:4860:4802:0032:0000:0000:0000:0015 2001:4860:4802:0034:0000:0000:0000:0015 2001:4860:4802:0036:0000:0000:0000:0015 2001:4860:4802:0038:0000:0000:0000:0015 201.219.6.3 204.141.33.44 204.141.43.44 206.168.149.26 206.221.176.139 207.244.229.40 207.244.232.41 208.74.120.0/21 209.17.115.10 209.42.29.11 212.227.15.41 216.198.79.1 216.239.32.21 216.239.34.21 216.239.36.21 216.239.38.21 216.246.47.72 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.182.79.111 217.72.192.67 23.21.114.81 23.227.38.65 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 2606:4700:3033:0000:0000:0000:ac43:82fb 2606:4700:3037:0000:0000:0000:6815:03ae 2606:4700:310c:0000:0000:0000:ac42:2c8f 2606:4700:310c:0000:0000:0000:ac42:2f71 2607:f8b0:4004:0c07:0000:0000:0000:001b 2607:f8b0:4004:0c08:0000:0000:0000:001a 2607:f8b0:4004:0c08:0000:0000:0000:001b 2607:f8b0:4004:0c09:0000:0000:0000:001a 2607:f8b0:4004:0c09:0000:0000:0000:001b 2607:f8b0:4004:0c0b:0000:0000:0000:001a 2607:f8b0:4004:0c0b:0000:0000:0000:001b 2607:f8b0:4004:0c19:0000:0000:0000:001a 2607:f8b0:4004:0c1b:0000:0000:0000:001b 2607:f8b0:4004:0c1d:0000:0000:0000:001a 2607:f8b0:4004:0c1d:0000:0000:0000:001b 2607:f8b0:4004:0c1f:0000:0000:0000:001b 2607:f8b0:4004:0c23:0000:0000:0000:001a 2607:f8b0:4004:0c25:0000:0000:0000:001b 2800:03f0:4003:0c0f:0000:0000:0000:001a 2800:03f0:4003:0c0f:0000:0000:0000:001b 2a00:1450:4009:0c0f:0000:0000:0000:001a 2a00:1450:4009:0c0f:0000:0000:0000:001b 2a00:1450:400b:0c02:0000:0000:0000:001a 2a00:1450:400b:0c02:0000:0000:0000:001b 2a00:1450:400c:0c23:0000:0000:0000:001a 2a00:1450:400c:0c23: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:c901:0000:0000:0000:0001 2a01:0111:f403:c902:0000:0000:0000:0000 2a01:0111:f403:c902: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:0007 2a01:0111:f403:c902:0000:0000:0000:0016 2a01:0111:f403:c903:0000:0000:0000:0003 2a01:0111:f403:c91d:0000:0000:0000:0000 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: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:c946:0000:0000:0000:0007 2a01:0111:f403:c962:0000:0000:0000:0000 2a01:0111:f403:c962:0000:0000:0000:0002 2a01:0111:f403:c962:0000:0000:0000:0004 2a01:0111:f403:c962:0000:0000:0000:0006 2a01:0111:f403:cc09:0000:0000:0000:0000 2a01:0111:f403:cc1a:0000:0000:0000:0008 2a01:0111:f403:cc1f:0000:0000:0000:0004 2a01:0111:f403:cc31:0000:0000:0000:0001 2a01:0111:f403:cc31:0000:0000:0000:0002 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:0003 2a01:0111:f403:f804:0000:0000:0000:0001 2a01:0111:f403:f804:0000:0000:0000:0002 2a01:0111:f403:f804:0000:0000:0000:0003 2a01:0111:f403:f805:0000:0000:0000:0001 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:0000 2a01:0111:f403:f902:0000:0000:0000:0001 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:f907:0000:0000:0000:0001 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:f909:0000:0000:0000:0000 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: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:f912:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0001 2a02:4780:004c:53c5:4355:eca1:81f8:bc03 2a02:4780:004d:84cd:c1fa:b0e1:8539:bd8f 2a02:4780:004f:62c4:d2e6:95c5:89e6:828e 3.1.175.234 3.220.198.68 3.228.105.2 34.111.121.216 34.120.156.61 34.149.254.5 34.149.79.66 34.231.165.252 34.36.182.139 34.95.206.133 38.143.66.193 40.93.192.1 40.93.192.4 45.33.97.112 50.31.188.151 50.6.156.29 51.38.57.138 51.79.104.205 51.89.113.223 52.101.10.10 52.101.10.12 52.101.10.14 52.101.10.16 52.101.10.2 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.19 52.101.11.2 52.101.11.3 52.101.11.7 52.101.124.117 52.101.137.0 52.101.149.0 52.101.149.2 52.101.151.0 52.101.151.5 52.101.157.80 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.15 52.101.194.17 52.101.194.19 52.101.194.3 52.101.194.4 52.101.204.108 52.101.204.110 52.101.204.112 52.101.204.114 52.101.40.0 52.101.40.1 52.101.40.2 52.101.40.24 52.101.40.4 52.101.40.6 52.101.41.180 52.101.41.21 52.101.41.22 52.101.41.24 52.101.41.28 52.101.41.4 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.50.1 52.101.50.10 52.101.50.13 52.101.50.7 52.101.8.34 52.101.8.42 52.101.8.46 52.101.8.51 52.101.9.12 52.101.9.14 52.101.9.17 52.101.9.2 52.101.9.20 52.101.9.21 52.101.9.24 52.101.9.26 52.101.9.5 52.215.137.200 52.54.99.110 52.55.77.147 54.166.32.169 54.187.177.89 64.78.25.104 65.109.161.215 65.181.111.0/24 65.181.111.166 65.181.111.241 66.102.133.51 66.116.209.76 66.225.221.122 67.217.57.170 69.6.201.227 71.246.52.79 74.208.5.21 74.208.5.3 89.117.150.44 91.121.53.175 91.238.160.173 98.85.123.215 98.89.241.38 # 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
# BEGIN ANSIBLE MANAGED BLOCK - Abusix
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header __RCVD_IN_AMI eval:check_rbl('ami', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.')
describe __RCVD_IN_AMI Received via a relay in Guardian Mail
tflags __RCVD_IN_AMI net
header RCVD_IN_AMI_BLACK eval:check_rbl_sub('ami', '^127\.0\.0\.(?:[23]|200)$')
describe RCVD_IN_AMI_BLACK Received via a relay in Guardian Mail Black
score RCVD_IN_AMI_BLACK 3.0
tflags RCVD_IN_AMI_BLACK net
header RCVD_IN_AMI_EXPLOIT eval:check_rbl_sub('ami', '127.0.0.4')
describe RCVD_IN_AMI_EXPLOIT Received via a relay in Guardian Mail Exploit
score RCVD_IN_AMI_EXPLOIT 3.0
tflags RCVD_IN_AMI_EXPLOIT net
header RCVD_IN_AMI_DYN eval:check_rbl('ami-lastexternal', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.', '^127\.0\.0\.1[12]$')
describe RCVD_IN_AMI_DYN Received via a relay in Guardian Mail Dynamic
score RCVD_IN_AMI_DYN 3.0
tflags RCVD_IN_AMI_DYN net
header RCVD_IN_AMI_WHITE eval:check_rbl('ami-firsttrusted', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.', '127.0.2.1')
describe RCVD_IN_AMI_WHITE Received via a relay in Guardian Mail White
score RCVD_IN_AMI_WHITE -0.1
tflags RCVD_IN_AMI_WHITE nice net
endif
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
urirhsbl URIBL_AMI_DBLACK b4748383a2e8302a1604b905270505cd.dblack.mail.abusix.zone. A
body URIBL_AMI_DBLACK eval:check_uridnsbl('URIBL_AMI_DBLACK')
describe URIBL_AMI_DBLACK Contains a spam URL listed in the Guardian Mail domain blocklist
score URIBL_AMI_DBLACK 3.0
tflags URIBL_AMI_DBLACK net
urirhssub URIBL_AMI_WHITE b4748383a2e8302a1604b905270505cd.white.mail.abusix.zone. A 127.0.2.1
body URIBL_AMI_WHITE eval:check_uridnsbl('URIBL_AMI_WHITE')
describe URIBL_AMI_WHITE Contains a domain listed in the Guardian Mail domain whitelist
score URIBL_AMI_WHITE -0.1
tflags URIBL_AMI_WHITE nice net
endif
# END ANSIBLE MANAGED BLOCK - Abusix