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.218.215.52 103.159.65.219 103.224.212.34 103.86.78.2 103.86.78.3 103.86.78.4 103.86.78.5 104.219.248.0/22 104.248.224.170 108.166.43.1 108.177.104.14 108.177.104.26 108.177.104.27 108.181.242.144 108.181.247.78 108.181.247.83 108.181.247.84 108.181.247.93 109.236.82.148 109.70.148.25 116.202.86.160 131.153.147.42 136.143.183.44 136.143.191.44 138.197.213.185 142.250.101.14 142.250.101.26 142.250.101.27 142.250.141.26 142.250.141.27 142.250.152.14 142.250.152.26 142.250.152.27 142.251.186.26 142.251.186.27 142.251.2.26 142.251.2.27 146.20.161.1 146.20.161.2 147.182.130.78 147.182.160.18 147.182.180.139 147.182.189.184 148.113.1.235 162.0.224.0/20 162.0.229.213 162.0.235.74 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.241.225.237 162.254.39.144 162.254.39.22 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 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.245.40.53 172.245.40.54 172.245.40.56 172.245.40.58 172.245.40.60 172.245.40.62 172.253.113.14 172.253.113.26 172.253.113.27 172.65.182.103 173.194.219.27 173.194.77.14 173.194.77.26 173.194.77.27 173.203.187.1 173.214.170.234 176.119.200.128 176.119.200.129 176.9.100.171 184.106.54.1 185.151.28.67 185.205.70.128 185.205.70.129 185.230.212.166 185.230.214.166 185.61.154.194 185.70.42.128 185.70.42.129 188.165.28.153 192.250.237.6 192.254.190.155 193.203.239.122 195.206.165.141 198.252.104.107 198.54.112.0/20 198.54.115.119 198.54.115.133 198.54.127.242 198.54.132.29 198.58.121.58 199.188.205.55 199.192.18.241 204.141.33.44 204.141.43.44 205.220.164.148 205.220.176.148 208.74.120.0/21 216.69.141.113 216.69.141.114 216.69.141.162 216.69.141.71 216.69.141.78 216.69.141.84 23.239.13.102 23.92.78.250 2604:a880:0002:00d0:0000:0000:0306:0001 2604:a880:0400:00d1:0000:0000:00cd:9001 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:3030:0000:0000:0000:ac43:9152 2606:4700:3035:0000:0000:0000:6815:1c61 2607:f8b0:4001:0c56:0000:0000:0000:000e 2607:f8b0:4001:0c56:0000:0000:0000:001a 2607:f8b0:4001:0c56:0000:0000:0000:001b 2607:f8b0:4002:0c03:0000:0000:0000:001a 2607:f8b0:4002:0c03:0000:0000:0000:001b 2607:f8b0:4003:0c04:0000:0000:0000:000e 2607:f8b0:4003:0c04:0000:0000:0000:001a 2607:f8b0:4003:0c04:0000:0000:0000:001b 2607:f8b0:4023:0001:0000:0000:0000:000e 2607:f8b0:4023:0001:0000:0000:0000:001a 2607:f8b0:4023:0001:0000:0000:0000:001b 2607:f8b0:4023:0401:0000:0000:0000:000e 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:000e 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:0c0b:0000:0000:0000:001b 2607:f8b0:4023:0c0d:0000:0000:0000:001a 2607:f8b0:4023:0c0d:0000:0000:0000:001b 2607:f8b0:4023:100b:0000:0000:0000:001a 2607:f8b0:4023:100b:0000:0000:0000:001b 2a01:0111:f403:c901:0000:0000:0000:0001 2a01:0111:f403:c902:0000:0000:0000:0003 2a01:0111:f403:c922:0000:0000:0000:0001 2a01:0111:f403:c922:0000:0000:0000:0002 2a01:0111:f403:c946:0000:0000:0000:0005 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:0000 2a01:0111:f403:f90f:0000:0000:0000:0000 3.212.199.62 34.111.121.216 34.120.156.61 34.149.79.66 34.227.128.209 35.215.64.22 44.193.239.224 50.6.161.20 51.158.144.37 52.1.255.185 52.101.10.10 52.101.10.12 52.101.10.14 52.101.10.18 52.101.10.5 52.101.10.8 52.101.11.13 52.101.11.15 52.101.11.19 52.101.11.2 52.101.11.7 52.101.132.28 52.101.132.30 52.101.137.0 52.101.137.2 52.101.147.1 52.101.148.1 52.101.148.13 52.101.148.3 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.12 52.101.194.13 52.101.194.17 52.101.40.0 52.101.41.0 52.101.41.20 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.5 52.101.41.54 52.101.41.56 52.101.41.58 52.101.41.59 52.101.41.6 52.101.42.10 52.101.42.18 52.101.42.4 52.101.42.5 52.101.42.6 52.101.68.25 52.101.68.29 52.101.68.3 52.101.73.15 52.101.8.32 52.101.8.34 52.101.8.36 52.101.89.0 52.101.89.1 52.101.89.2 52.101.9.17 52.101.9.21 52.101.9.26 52.101.99.0 52.101.99.2 52.205.138.124 52.207.176.73 63.250.43.74 66.165.234.210 66.29.128.0/19 66.29.141.144 67.223.116.0/22 68.65.122.204 74.125.137.26 74.125.137.27 74.208.5.21 74.208.5.3 77.95.113.12 82.165.220.207 82.180.144.17 85.13.147.242 # 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