📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-07-13 00:43:42
📂
/ (Root)
/
etc
/
mail
/
spamassassin
📍 /etc/mail/spamassassin
🔄 Refresh
✏️
Editing: local.cf
Read Only
# 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 103.103.196.235 103.15.226.115 142.251.181.26 142.251.181.27 142.251.96.26 142.251.96.27 159.198.68.113 162.0.208.0/20 162.0.209.92 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.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.55.164.116 165.227.156.49 165.227.159.144 167.235.143.33 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 170.249.207.186 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 173.194.42.26 173.194.42.27 176.119.200.128 176.119.200.129 178.62.199.248 184.94.212.0/22 185.20.209.166 185.205.70.128 185.205.70.129 185.230.212.166 185.230.214.166 185.70.42.128 185.70.42.129 186.64.116.65 192.178.164.26 192.178.164.27 198.54.112.0/20 199.188.200.0/21 199.188.200.132 203.205.219.57 204.141.33.44 204.141.43.44 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.21.114.81 240d:c040:0001:0040:0000:0000:0000:0133 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: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:2007:0000:0000:0000:001b 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:3003:0000:0000:0000:001a 2607:f8b0:4023:3003:0000:0000:0000:001b 2a01:0111:f403:c901:0000:0000:0000:0001 2a01:0111:f403:c942:0000:0000:0000:0000 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:c946:0000:0000:0000:0007 2a01:0111:f403:f902:0000:0000:0000:0001 2a01:0111:f403:f913:0000:0000:0000:0001 2a02:06b8:0000:0000:0000:0000:0000:0311 3.209.71.101 3.213.151.241 34.231.165.252 38.143.66.193 45.43.208.19 49.13.4.90 5.161.194.135 5.161.98.212 5.75.171.74 50.6.43.144 52.101.10.6 52.101.190.0 52.101.190.2 52.101.192.0 52.101.192.1 52.101.40.24 52.101.50.1 52.101.9.24 52.87.104.218 64.204.250.74 66.29.128.0/19 68.65.121.10 77.88.21.249 82.114.183.133 89.36.170.166 91.107.214.206 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 Changes
❌ Cancel