← Back
Editing: 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 10.0.0.0/8 100.64.0.0/10 102.209.117.98 103.224.212.34 103.96.20.26 103.96.22.26 107.161.32.220 108.166.43.2 13.238.162.196 13.238.252.82 13.37.195.136 13.70.186.218 136.143.183.44 136.243.102.32 142.251.181.26 142.251.181.27 142.251.96.26 142.251.96.27 142.93.237.125 146.20.161.2 147.182.130.78 147.182.160.18 147.182.180.139 147.182.189.184 148.163.129.50 148.163.129.51 15.235.125.108 15.235.59.84 15.235.91.199 15.236.236.160 158.220.87.44 158.69.5.83 159.198.70.126 160.119.248.30 160.251.148.175 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.222.227.139 162.241.24.158 162.241.85.206 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 169.148.146.168 169.148.149.118 170.10.128.141 170.10.128.221 170.10.128.242 170.10.132.141 170.10.132.221 170.10.132.242 172.212.4.33 172.217.75.26 172.217.75.27 172.253.135.26 172.253.135.27 172.253.145.26 172.253.145.27 172.65.182.103 172.96.186.243 172.96.187.211 173.194.42.26 173.194.42.27 173.203.187.1 173.203.187.2 176.119.200.128 176.119.200.129 18.204.58.103 184.106.54.2 184.168.120.204 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.61.152.59 185.70.42.128 185.70.42.129 190.8.178.20 192.178.164.26 192.178.164.27 192.178.231.26 192.178.231.27 198.185.159.144 198.185.159.145 198.187.29.56 198.187.29.76 198.244.209.74 198.251.81.49 198.49.23.144 198.49.23.145 198.54.112.0/20 20.190.127.76 20.70.88.141 20.92.133.122 20.92.218.92 204.141.33.44 204.141.43.44 208.70.135.116 208.70.135.145 208.70.135.237 208.74.120.0/21 209.41.68.125 209.42.31.95 209.74.67.142 216.172.106.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.69.139.180 23.21.114.81 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:0c79:0000:0000:0000:001a 2607:f8b0:4001:0c79:0000:0000:0000:001b 2607:f8b0:4003:0c4a:0000:0000:0000:001a 2607:f8b0:4003:0c4a:0000:0000:0000:001b 2607:f8b0:4023:1015:0000:0000:0000:001a 2607:f8b0:4023:1015:0000:0000:0000:001b 2607:f8b0:4023:2007:0000:0000:0000:001a 2607:f8b0:4023:2009:0000:0000:0000:001a 2607:f8b0:4023:2009:0000:0000:0000:001b 2607:f8b0:4023:200b:0000:0000:0000:001a 2607:f8b0:4023:200b:0000:0000:0000:001b 2607:f8b0:4023:200d:0000:0000:0000:001a 2607:f8b0:4023:200d:0000:0000:0000:001b 2607:f8b0:4023:3003:0000:0000:0000:001a 2607:f8b0:4023:3003: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: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:0006 2a01:0111:f403:c902:0000:0000:0000:0007 2a01:0111:f403:c91d:0000:0000:0000:0000 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: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: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: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: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: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: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: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: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:0002 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: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: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: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 2a01:04f9:006b:2856:0000:0000:0000:0016 2a03:b0c0:0002:00f0:0000:0000:0052:b001 2a05:d012:0412:e201:1f6e:f6e4:8fd7:4678 2a05:d012:0412:e202:e81e:cc44:3b53:8a3d 2a05:d012:0412:e203:7e33:3d9c:28d7:ee20 3.223.82.138 3.24.56.135 31.57.61.4 34.111.121.216 34.120.156.61 34.149.254.5 34.149.79.66 34.231.165.252 34.36.182.139 35.181.18.45 40.121.188.167 40.93.192.1 40.93.192.4 41.185.249.100 41.185.249.20 41.185.249.30 41.185.249.50 41.185.249.60 41.185.249.70 41.185.249.80 41.185.249.90 41.185.250.100 41.185.250.20 41.185.250.30 41.185.250.50 41.185.250.60 41.185.250.70 41.185.250.80 41.185.250.90 41.61.249.100 41.61.249.20 41.61.249.30 41.61.249.50 41.61.249.60 41.61.249.70 41.61.249.80 41.61.249.90 41.61.250.100 41.61.250.20 41.61.250.30 41.61.250.50 41.61.250.60 41.61.250.80 41.61.250.90 43.250.140.15 44.216.32.179 50.6.34.66 52.101.10.10 52.101.10.12 52.101.10.14 52.101.10.16 52.101.10.18 52.101.10.2 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.7 52.101.11.9 52.101.147.1 52.101.148.1 52.101.148.13 52.101.148.3 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.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.13 52.101.194.15 52.101.194.17 52.101.194.19 52.101.194.3 52.101.194.4 52.101.232.0 52.101.232.1 52.101.232.2 52.101.232.3 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.0 52.101.41.1 52.101.41.180 52.101.41.183 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.59 52.101.41.6 52.101.42.14 52.101.42.16 52.101.50.1 52.101.50.10 52.101.50.12 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.17 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.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.7 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.1 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.25 52.101.9.26 52.101.9.27 52.101.9.5 52.101.99.0 52.101.99.2 52.147.56.124 52.147.60.132 52.63.166.203 64.31.47.106 64.70.19.43 65.108.96.243 66.29.141.225 66.35.35.26 66.35.35.28 67.195.204.83 67.195.228.75 67.225.165.30 67.231.154.162 67.231.154.163 69.174.52.66 75.98.175.103 78.142.47.72 78.142.63.52 8.8.8.9 81.19.154.99 91.221.37.232 94.100.180.180 98.85.123.215 # 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
Save File
Cancel