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.191.209.133 103.224.212.34 104.21.50.190 104.236.216.169 104.237.5.185 108.166.43.1 108.174.155.242 108.177.121.26 108.177.121.27 109.201.133.112 12.149.45.220 12.200.204.22 134.209.200.192 135.125.171.180 135.125.222.87 136.143.183.44 138.201.48.234 138.255.101.224 142.250.100.26 142.250.100.27 142.250.125.26 142.250.152.26 142.250.152.27 142.250.96.26 142.250.96.27 142.251.189.26 142.251.189.27 142.251.41.69 146.20.161.1 152.53.150.34 159.195.93.0 161.35.84.83 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.100.108 162.210.100.56 162.210.96.0/21 162.213.255.16 162.215.2.27 162.215.2.30 162.215.3.25 162.215.3.26 162.215.3.30 162.241.60.106 162.255.118.13 162.255.118.28 162.255.118.29 162.255.118.51 162.255.118.52 167.71.188.197 168.235.104.192 169.148.146.168 169.148.148.235 169.148.149.118 169.239.217.2 169.239.218.2 169.239.219.2 170.10.160.0/21 172.190.49.64 172.217.214.26 172.217.214.27 172.253.132.26 172.253.132.27 172.253.149.26 172.253.149.27 172.253.155.26 172.253.155.27 172.65.182.103 172.67.209.168 173.194.206.26 173.194.206.27 173.194.42.27 173.194.64.26 173.194.64.27 173.203.187.1 173.45.18.128 173.45.18.129 176.119.200.128 176.119.200.129 176.119.200.136 177.153.23.241 177.153.23.242 177.69.165.165 178.33.252.245 179.185.83.109 18.235.76.96 184.106.54.1 184.106.54.2 185.20.209.166 185.205.70.128 185.205.70.129 185.205.70.136 185.206.180.109 185.230.212.166 185.230.214.166 185.230.63.107 185.70.42.128 185.70.42.129 186.1.23.228 186.1.31.15 186.202.4.42 186.209.113.112 187.33.241.16 188.165.36.237 189.85.83.54 190.63.227.68 192.175.126.211 192.178.129.26 192.178.129.27 192.178.209.26 192.178.209.27 192.178.210.26 192.178.210.27 192.178.212.26 192.178.212.27 192.179.16.26 192.179.16.27 192.250.227.80 192.250.234.194 195.250.27.27 197.221.2.19 197.232.5.140 198.185.159.144 198.185.159.145 198.23.48.0/20 198.49.23.144 198.49.23.145 199.188.201.75 200.147.36.29 200.234.204.130 200.30.182.82 200.58.111.98 200.58.122.206 200.94.181.5 200.94.181.6 200.94.181.7 2001:41d0:0303:648a:0000:0000:0000:0001 2001:41d0:0700:19b4:0000:0000:0000:0001 2001:41d0:0700:1a57:0000:0000:0000:0001 203.10.1.146 204.141.33.44 204.141.43.44 208.74.120.0/21 209.42.21.37 209.59.183.39 209.85.145.26 209.85.145.27 209.85.200.26 212.227.15.41 216.150.1.1 216.198.79.1 216.24.57.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.26.49.138 217.26.49.139 217.72.192.67 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 2607:f8b0:4001:0c00:0000:0000:0000:001a 2607:f8b0:4001:0c00:0000:0000:0000:001b 2607:f8b0:4001:0c01:0000:0000:0000:001b 2607:f8b0:4001:0c05:0000:0000:0000:001b 2607:f8b0:4001:0c06:0000:0000:0000:001a 2607:f8b0:4001:0c06:0000:0000:0000:001b 2607:f8b0:4001:0c08:0000:0000:0000:001b 2607:f8b0:4001:0c09:0000:0000:0000:001a 2607:f8b0:4001:0c0f:0000:0000:0000:001a 2607:f8b0:4001:0c11:0000:0000:0000:001b 2607:f8b0:4001:0c16:0000:0000:0000:001a 2607:f8b0:4001:0c16:0000:0000:0000:001b 2607:f8b0:4001:0c1d:0000:0000:0000:001b 2607:f8b0:4001:0c1e:0000:0000:0000:001a 2607:f8b0:4001:0c1e:0000:0000:0000:001b 2607:f8b0:4001:0c62:0000:0000:0000:001a 2607:f8b0:4001:0c62:0000:0000:0000:001b 2607:f8b0:4001:0c68:0000:0000:0000:001b 2607:f8b0:4001:0c6a:0000:0000:0000:001a 2607:f8b0:4001:0c6a:0000:0000:0000:001b 2607:f8b0:4001:0c6c:0000:0000:0000:001a 2607:f8b0:4001:0c6e:0000:0000:0000:001a 2607:f8b0:4001:0c6e:0000:0000:0000:001b 2607:f8b0:4001:0c70:0000:0000:0000:001a 2607:f8b0:4001:0c70:0000:0000:0000:001b 2607:f8b0:4001:0c72:0000:0000:0000:001a 2607:f8b0:4001:0c72:0000:0000:0000:001b 2607:f8b0:4001:0c74:0000:0000:0000:001a 2607:f8b0:4001:0c74:0000:0000:0000:001b 2607:f8b0:4001:0c76:0000:0000:0000:001a 2607:f8b0:4001:0c79:0000:0000:0000:001b 2607:f8b0:4001:0c7b:0000:0000:0000:001b 2607:f8b0:4002:0c08:0000:0000:0000:001b 2607:f8b0:4009:0812:0000:0000:0000:2005 2607:f8b0:4023:0403:0000:0000:0000:001a 2607:f8b0:4023:0403:0000:0000:0000:001b 2607:f8b0:4023:2c03:0000:0000:0000:001a 2607:f8b0:4023:2c03:0000:0000:0000:001b 2607:f8b0:4023:3801:0000:0000:0000:001a 2607:f8b0:4023:3801:0000:0000:0000:001b 2607:f8b0:4024:0c0f:0000:0000:0000:001a 2607:f8b0:4024:0c0f:0000:0000:0000:001b 2800:06c0:0002:0000:0000:0000:000c:0273 2a00:0d70:0000:000e:0000:0000:0000:0200 2a00:0d70:0000:000e:0000:0000:0000:0201 2a00:1768:1001:0009:0000:0000:0031:0002 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: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:0003 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:c902:0000:0000:0000:0016 2a01:0111:f403:c903:0000:0000:0000:0003 2a01:0111:f403:c91d:0000:0000:0000:0000 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: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:c931:0000:0000:0000:0000 2a01:0111:f403:c931: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:c94a:0000:0000:0000:0000 2a01:0111:f403:c94a:0000:0000:0000:0001 2a01:0111:f403:c94a:0000:0000:0000:0002 2a01:0111:f403:c94c:0000:0000:0000:0000 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: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: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: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:cc09:0000:0000:0000:0000 2a01:0111:f403:cc1a:0000:0000:0000:0008 2a01:0111:f403:cc1f:0000:0000:0000:0004 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:cc3a:0000:0000:0000:0000 2a01:0111:f403:cc3a:0000:0000:0000:0001 2a01:0111:f403:cc3a:0000:0000:0000:0002 2a01:0111:f403:cc3a:0000:0000:0000:0003 2a01:0111:f403:f802:0000:0000:0000:0000 2a01:0111:f403:f802:0000:0000:0000:0001 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: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: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:f907:0000:0000:0000:0001 2a01:0111:f403:f908:0000:0000:0000:0000 2a01:0111:f403:f908:0000:0000:0000:0001 2a01:0111:f403:f909: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:f910:0000:0000:0000:0000 2a01:0111:f403:f912:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0000 2a01:0111:f403:f913:0000:0000:0000:0001 2a0b:1640:0001:0001:0001:0001:09d1:4b5a 3.218.134.115 34.111.121.216 34.149.254.5 34.149.79.66 34.192.233.193 35.161.157.106 35.71.142.77 40.93.192.4 41.222.32.2 41.222.34.2 45.148.96.49 45.236.141.204 45.239.108.201 46.17.172.219 5.161.133.13 50.28.40.103 50.31.174.155 50.87.253.233 51.38.57.138 51.75.59.251 51.81.206.108 51.81.206.109 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.5 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.9 52.101.124.117 52.101.137.0 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.157.80 52.101.194.0 52.101.194.13 52.101.194.15 52.101.194.17 52.101.194.19 52.101.194.4 52.101.198.0 52.101.198.1 52.101.198.38 52.101.200.0 52.101.232.0 52.101.232.1 52.101.232.2 52.101.232.3 52.101.40.0 52.101.40.2 52.101.40.24 52.101.40.4 52.101.40.6 52.101.41.0 52.101.41.21 52.101.41.22 52.101.41.24 52.101.41.26 52.101.41.28 52.101.41.3 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.42.18 52.101.50.1 52.101.50.13 52.101.50.4 52.101.50.7 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.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.1 52.101.73.11 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.8.34 52.101.8.42 52.101.8.46 52.101.8.51 52.101.89.0 52.101.89.1 52.101.89.2 52.101.9.0 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.21 52.101.9.24 52.101.9.26 52.101.9.5 52.101.99.0 52.101.99.2 52.13.163.116 52.223.52.2 52.43.162.244 54.188.121.70 57.131.49.112 64.233.177.26 64.233.179.26 64.233.179.27 64.233.181.26 64.68.198.23 64.68.198.24 65.109.128.50 65.181.111.164 65.181.113.15 66.225.221.71 67.20.108.88 67.225.227.59 67.227.144.194 67.227.144.61 67.227.144.66 67.227.206.175 67.227.206.189 67.227.206.231 67.227.206.69 67.227.237.121 67.227.237.28 69.6.201.245 74.125.126.26 74.125.126.27 74.125.132.26 74.125.132.27 74.125.201.26 74.125.201.27 74.125.202.26 74.125.202.27 74.125.69.26 74.125.69.27 74.208.114.65 74.208.114.66 74.208.5.21 74.208.5.3 75.2.60.5 77.95.113.12 77.95.113.16 78.46.39.76 8.19.195.16 84.247.188.18 87.98.160.167 91.121.53.175 92.205.186.145 94.100.132.8 94.100.134.8 94.100.136.7 94.100.136.8 98.87.40.68 # 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
dns_query_restriction deny spamhaus.org