D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
mail
/
spamassassin
/
Filename :
local.cf
back
Copy
# 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.210.146.4 102.212.247.91 103.103.197.118 103.148.14.50 103.170.154.84 103.21.221.33 103.224.212.34 104.152.168.208 104.152.168.8 104.18.28.62 104.18.29.62 104.219.248.26 104.243.35.168 104.248.224.170 107.161.27.201 108.167.165.105 108.177.104.26 108.177.104.27 121.127.44.56 121.127.44.59 124.43.71.135 13.36.107.63 13.36.222.39 13.37.195.136 134.209.200.192 136.143.183.44 138.197.213.185 142.250.101.26 142.250.101.27 142.250.141.27 142.250.152.26 142.250.152.27 142.251.186.26 142.251.186.27 142.251.2.26 142.251.2.27 147.182.130.78 147.182.160.18 147.182.180.139 147.182.189.184 149.56.225.6 15.236.236.160 15.236.61.92 154.26.129.155 159.65.192.215 162.0.215.161 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.213.251.32 162.215.2.29 162.215.3.28 162.215.3.29 162.216.242.35 162.216.242.36 162.216.242.37 162.216.242.38 162.241.253.90 162.241.61.78 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 162.255.119.62 162.55.164.116 164.90.197.105 164.90.197.143 164.90.197.162 164.90.197.79 165.227.156.49 165.227.159.144 167.235.143.33 167.89.115.46 167.89.118.48 167.89.123.50 169.148.146.168 169.148.149.118 169.54.82.183 17.42.251.62 17.56.9.31 17.57.152.5 17.57.154.33 17.57.155.25 17.57.156.30 170.10.128.141 170.10.128.221 170.10.128.242 172.217.12.147 172.253.113.26 172.253.113.27 172.65.182.103 172.96.161.186 172.96.190.240 172.96.191.51 173.194.77.26 173.194.77.27 176.119.200.128 176.119.200.129 178.32.124.207 178.62.199.248 18.204.123.63 184.73.172.253 184.95.60.203 185.198.56.177 185.205.70.128 185.205.70.129 185.230.212.166 185.230.214.166 185.234.177.10 185.234.177.11 185.234.177.13 185.234.177.14 185.234.177.15 185.67.45.161 185.70.42.128 185.70.42.129 192.99.169.60 193.201.115.47 194.0.206.82 194.58.121.98 198.187.28.0/22 198.187.31.229 198.252.98.77 198.54.112.0/20 198.54.114.145 198.54.114.226 198.54.115.69 198.54.120.198 198.54.120.199 198.54.127.242 199.188.200.0/21 203.143.21.14 204.141.33.44 204.141.43.44 205.139.110.141 205.139.110.221 205.139.110.242 206.41.119.156 206.41.119.79 208.115.200.94 208.74.120.0/21 209.17.115.10 209.222.82.252 209.222.82.253 209.222.82.255 209.222.97.251 209.38.153.22 216.69.141.114 216.69.141.162 216.69.141.78 2604:a880:0002:00d0:0000:0000:0306:0001 2604:a880:0400:00d1:0000:0000:00cd:9001 2606:4700:0000:0000:0000:0000:6812:1c3e 2606:4700:0000:0000:0000:0000:6812:1d3e 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:0c56:0000:0000:0000:001a 2607:f8b0:4001:0c56:0000:0000:0000:001b 2607:f8b0:4003:0c04:0000:0000:0000:001a 2607:f8b0:4003:0c04:0000:0000:0000:001b 2607:f8b0:4007:0801:0000:0000:0000:2013 2607:f8b0:4023:0001:0000:0000:0000:001a 2607:f8b0:4023:0001:0000:0000:0000:001b 2607:f8b0:4023:0401:0000:0000:0000:001a 2607:f8b0:4023:0401:0000:0000:0000:001b 2607:f8b0:4023:0c03:0000:0000:0000:001a 2607:f8b0:4023:0c03:0000:0000:0000:001b 2607:f8b0:4023:0c06:0000:0000:0000:001a 2607:f8b0:4023:0c06:0000:0000:0000:001b 2607:f8b0:4023:0c0b:0000:0000:0000:001a 2607:f8b0:4023:0c0d:0000:0000:0000:001a 2607:f8b0:4023:0c0d:0000:0000:0000:001b 2607:f8b0:4023:100b:0000:0000:0000:001a 2a01:0111:f403:ca34:0000:0000:0000:0000 2a01:0111:f403:ca34:0000:0000:0000:0001 2a01:0111:f403:ca34:0000:0000:0000:0002 2a01:0111:f403:ca36:0000:0000:0000:0000 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:f802:0000:0000:0000:0002 2a01:0111:f403:f804:0000:0000:0000:0001 2a01:0111:f403:f90b:0000:0000:0000:0000 2a01:0111:f403:f90d:0000:0000:0000:0000 2a02:06b8:0000:0000:0000:0000:0000:0311 2a02:6ea0:d71e:0000:0000:0000:0000:0001 2a02:6ea0:d71e:0000:0000:0000:0000:0002 2a03:6f00:0003:0000:0000:0000:5c35:742f 2a03:6f00:0003:0000:0000:0000:5c35:7433 2a05:d012:0412:e201:1f6e:f6e4:8fd7:4678 2a05:d012:0412:e201:88aa:e7b9:7a43:12d7 2a05:d012:0412:e202:0f36:2c1f:1a49:d38a 2a05:d012:0412:e202:e81e:cc44:3b53:8a3d 2a05:d012:0412:e203:373a:f51a:4a85:1d25 2a05:d012:0412:e203:7e33:3d9c:28d7:ee20 2a0c:0a80:0000:b10a:0000:0000:0000:0001 2a0c:0a80:0000:b10b:0000:0000:0000:0001 2a0c:0a80:0000:b10c:0000:0000:0000:0001 2a0c:0a80:0000:b10d:0000:0000:0000:0001 2a0c:0a80:0000:b10e:0000:0000:0000:0001 2a0c:0a80:0000:b10f:0000:0000:0000:0001 3.18.143.154 3.209.197.242 3.21.184.30 3.211.210.226 3.22.212.162 3.224.18.93 34.111.121.216 34.120.156.61 34.149.79.66 34.160.13.42 34.160.157.95 34.174.115.191 34.206.151.234 34.227.128.209 35.181.18.45 38.114.120.244 44.206.9.87 44.210.166.32 49.12.147.23 49.13.4.90 5.161.182.241 5.161.194.135 5.161.98.212 5.75.171.74 5.79.72.87 52.1.255.185 52.101.10.12 52.101.10.14 52.101.10.16 52.101.10.18 52.101.10.5 52.101.11.7 52.101.11.9 52.101.132.28 52.101.132.30 52.101.137.0 52.101.137.2 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.149.1 52.101.149.2 52.101.149.9 52.101.151.0 52.101.151.5 52.101.177.0 52.101.177.1 52.101.177.2 52.101.179.0 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.4 52.101.40.2 52.101.41.24 52.101.41.26 52.101.41.3 52.101.41.54 52.101.41.6 52.101.42.10 52.101.42.13 52.101.42.14 52.101.42.16 52.101.68.0 52.101.68.10 52.101.68.12 52.101.68.15 52.101.68.18 52.101.68.21 52.101.68.27 52.101.68.29 52.101.68.3 52.101.68.8 52.101.73.1 52.101.73.11 52.101.73.12 52.101.73.15 52.101.73.16 52.101.73.19 52.101.73.2 52.101.73.21 52.101.73.24 52.101.73.26 52.101.73.28 52.101.73.6 52.101.8.32 52.101.8.36 52.101.8.42 52.101.8.44 52.101.89.0 52.101.89.1 52.101.9.11 52.101.9.14 52.101.9.17 52.101.9.26 52.101.99.0 52.101.99.2 54.164.173.191 54.197.5.236 57.128.52.136 63.250.43.74 64.98.38.4 65.109.128.50 66.29.128.0/19 66.29.146.110 69.57.163.135 74.119.195.235 74.125.137.26 74.125.137.27 77.88.21.249 85.234.244.107 85.234.244.108 85.234.244.76 85.234.244.77 87.98.129.23 91.107.214.206 91.121.53.175 92.53.116.47 92.53.116.51 # 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-whitelisted mails are *really* whitelisted 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_WHITELIST on # shortcircuit USER_IN_DEF_WHITELIST on # shortcircuit USER_IN_ALL_SPAM_TO on # shortcircuit SUBJECT_IN_WHITELIST on # the opposite; blacklisted mails can also save CPU # # shortcircuit USER_IN_BLACKLIST on # shortcircuit USER_IN_BLACKLIST_TO on # shortcircuit SUBJECT_IN_BLACKLIST 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