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 102.212.247.75 102.212.247.82 103.102.234.161 103.103.197.118 103.117.212.223 103.212.121.79 103.224.212.34 103.252.137.101 103.76.231.73 103.86.177.200 104.21.78.201 104.37.185.174 106.11.226.174 106.11.232.132 108.177.98.26 108.177.98.27 119.18.49.49 119.252.155.15 135.181.142.217 136.143.183.44 136.143.191.44 14.128.15.140 142.250.141.26 142.250.141.27 142.250.150.27 142.250.157.26 142.250.157.27 142.251.1.26 142.251.1.27 147.182.130.78 147.182.160.18 147.182.180.139 147.182.189.184 148.163.129.50 148.163.129.51 148.251.91.91 157.66.191.9 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.214.80.34 162.214.80.67 162.215.2.27 162.215.3.25 162.215.3.26 162.241.123.158 162.255.118.13 162.255.118.28 162.255.118.29 162.255.118.51 162.255.118.52 164.90.197.105 164.90.197.143 164.90.197.162 164.90.197.79 169.148.146.168 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.105.56.123 172.65.182.103 172.66.0.42 172.67.137.112 173.194.202.26 173.194.220.26 173.194.220.27 173.194.221.26 173.194.73.26 173.194.73.27 184.168.98.120 185.151.28.67 190.92.174.25 192.178.128.26 192.178.128.27 192.250.231.29 198.15.115.235 20.64.72.141 204.141.33.44 205.147.109.10 207.180.200.135 208.74.120.0/21 209.85.233.27 217.21.94.171 23.227.38.65 2404:6800:4008:0c13:0000:0000:0000:001a 2404:6800:4008:0c13:0000:0000:0000:001b 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:6815:4ec9 2606:4700:3037:0000:0000:0000:ac43:8970 2607:f8b0:400e:0c00:0000:0000:0000:001b 2607:f8b0:400e:0c06:0000:0000:0000:001a 2607:f8b0:400e:0c06:0000:0000:0000:001b 2607:f8b0:4023:0c0b:0000:0000:0000:001a 2607:f8b0:4023:0c0b:0000:0000:0000:001b 2607:f8b0:4023:2801:0000:0000:0000:001a 2607:f8b0:4023:2801:0000:0000:0000:001b 2a00:1450:4010:0c01:0000:0000:0000:001a 2a00:1450:4010:0c02:0000:0000:0000:001a 2a00:1450:4010:0c02:0000:0000:0000:001b 2a00:1450:4010:0c05:0000:0000:0000:001a 2a00:1450:4010:0c05:0000:0000:0000:001b 2a00:1450:4010:0c06:0000:0000:0000:001a 2a00:1450:4010:0c06:0000:0000:0000:001b 2a00:1450:4010:0c07:0000:0000:0000:001a 2a00:1450:4010:0c08:0000:0000:0000:001a 2a00:1450:4010:0c09:0000:0000:0000:001a 2a00:1450:4010:0c0a:0000:0000:0000:001a 2a00:1450:4010:0c0d:0000:0000:0000:001a 2a00:1450:4010:0c0d:0000:0000:0000:001b 2a00:1450:4010:0c0e:0000:0000:0000:001a 2a00:1450:4010:0c0f:0000:0000:0000:001b 2a00:1450:4010:0c1e:0000:0000:0000:001a 2a00:1450:4010:0c1e:0000:0000:0000:001b 2a01:0111:f403:c91d:0000:0000:0000:0000 2a01:0111:f403:c946:0000:0000:0000:0002 2a01:0111:f403:c946:0000:0000:0000:0003 2a01:0111:f403:c946:0000:0000:0000:0007 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:f805:0000:0000:0000:0001 2a01:0111:f403:f907:0000:0000:0000:0001 2a01:0111:f403:f90a:0000:0000:0000:0000 2a01:0111:f403:f90b:0000:0000:0000:0000 3.220.198.68 3.228.105.2 35.161.157.106 37.27.55.44 38.242.217.53 44.193.241.80 44.198.23.25 45.67.14.149 45.67.14.173 45.67.14.188 45.67.14.32 45.67.14.51 46.4.10.173 46.4.12.146 52.101.10.16 52.101.10.5 52.101.10.6 52.101.11.9 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.194.13 52.101.194.15 52.101.194.19 52.101.194.4 52.101.42.16 52.101.42.18 52.101.8.32 52.101.9.0 52.13.163.116 52.43.162.244 54.166.32.169 54.188.121.70 54.92.244.226 57.128.47.116 64.233.161.26 64.233.161.27 64.233.162.26 64.233.162.27 64.233.163.26 64.233.163.27 64.233.164.26 64.233.164.27 65.108.140.110 65.21.0.0/16 67.231.154.162 67.231.154.163 74.125.131.26 74.125.205.26 74.125.205.27 74.208.202.7 87.98.144.94 87.98.243.203 88.99.242.59 88.99.99.104 89.117.51.203 92.204.80.0 92.204.80.3 95.216.125.167 95.216.68.106 # 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