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 103.168.172.216 103.168.172.217 103.168.172.218 103.168.172.219 103.168.172.220 103.168.172.221 103.168.172.222 103.168.172.223 103.195.101.231 103.224.212.34 104.21.87.78 106.0.62.95 108.177.125.26 108.177.125.27 108.177.15.26 108.177.15.27 108.178.0.170 13.219.28.10 135.125.98.125 135.181.228.117 136.143.183.44 136.143.191.44 142.250.110.26 142.250.147.26 142.250.147.27 142.251.127.26 142.251.127.27 142.251.168.26 147.93.17.35 148.163.156.84 149.255.62.2 161.35.84.83 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.30 162.255.118.31 162.255.118.51 162.255.118.52 169.148.146.168 169.148.149.118 172.253.152.26 172.253.152.27 172.253.158.26 172.253.158.27 172.65.182.103 172.67.142.120 173.192.7.100 173.192.7.101 173.192.7.102 173.192.7.103 173.192.7.98 173.192.7.99 173.45.18.128 173.45.18.129 176.119.200.128 176.119.200.129 178.211.133.41 178.63.26.186 18.200.203.69 18.208.104.183 18.211.90.16 185.104.28.12 185.104.29.174 185.146.22.254 185.205.70.128 185.205.70.129 185.70.42.128 185.70.42.129 188.165.36.237 191.96.94.114 192.0.2.1 192.165.107.112 192.165.107.118 192.178.211.26 192.178.211.27 192.178.213.26 192.178.213.27 192.250.227.229 192.250.229.176 192.250.229.27 192.250.229.90 192.250.234.53 192.250.237.55 194.147.93.30 194.147.93.66 195.110.124.132 195.250.26.107 195.78.83.59 197.242.152.133 197.242.158.30 197.242.159.20 197.242.159.25 197.242.159.36 197.242.159.37 197.242.159.38 197.242.159.57 198.143.161.162 199.127.62.43 199.67.80.117 199.67.82.117 2001:19f0:5001:20b9:5400:02ff:fe41:7810 2001:4b78:0001:0020:0000:0000:0000:0027 2001:4b78:1001:0000:0000:0000:0000:030b 202.12.124.216 202.12.124.217 202.12.124.218 202.12.124.219 204.141.33.44 204.141.43.44 208.74.120.0/21 209.124.66.13 209.42.24.4 209.42.31.19 212.227.15.41 212.44.106.115 212.44.113.202 213.158.86.99 216.150.1.1 216.198.79.1 217.194.8.27 217.72.192.67 23.227.38.65 2404:6800:4000:1025:0000:0000:0000:001a 2404:6800:4000:1025:0000:0000:0000:001b 2404:6800:4003:0c26:0000:0000:0000:001a 2404:6800:4003:0c26:0000:0000:0000:001b 2404:6800:4008:0c01:0000:0000:0000:001a 2404:6800:4008:0c01: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:3034:0000:0000:0000:ac43:8e78 2606:4700:3036:0000:0000:0000:6815:574e 2a00:1450:4001:0c21:0000:0000:0000:001a 2a00:1450:4001:0c21:0000:0000:0000:001b 2a00:1450:400c:0c02:0000:0000:0000:001a 2a00:1450:400c:0c02:0000:0000:0000:001b 2a00:1450:400c:0c04:0000:0000:0000:001b 2a00:1450:400c:0c06:0000:0000:0000:001a 2a00:1450:400c:0c06:0000:0000:0000:001b 2a00:1450:400c:0c07:0000:0000:0000:001a 2a00:1450:400c:0c09:0000:0000:0000:001a 2a00:1450:400c:0c0a:0000:0000:0000:001a 2a00:1450:400c:0c0a:0000:0000:0000:001b 2a00:1450:400c:0c0b:0000:0000:0000:001a 2a00:1450:400c:0c0b:0000:0000:0000:001b 2a00:1450:400c:0c0c:0000:0000:0000:001b 2a00:1450:400c:0c0d:0000:0000:0000:001a 2a00:1450:4010:0c22:0000:0000:0000:001a 2a00:1450:4010:0c22:0000:0000:0000:001b 2a00:1450:4013:0c1e:0000:0000:0000:001a 2a00:1450:4013:0c1e:0000:0000:0000:001b 2a00:1450:4025:0c01:0000:0000:0000:001a 2a00:1450:4025:0c01:0000:0000:0000:001b 2a01:0111:f403:c942:0000:0000:0000:0000 2a01:0111:f403:c942:0000:0000:0000:0001 2a01:0111:f403:c942:0000:0000:0000:0003 2a01:0111:f403:c944:0000:0000:0000:0001 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: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:0002 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:000d 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:ca1a:0000:0000:0000:0000 2a01:0111:f403:ca1a:0000:0000:0000:0001 2a01:0111:f403:ca28:0000:0000:0000:0000 2a01:0111:f403:ca28:0000:0000:0000:0001 2a01:0111:f403:ca2a:0000:0000:0000:0000 2a01:0111:f403:ca2a:0000:0000:0000:0001 2a01:0111:f403:ca38:0000:0000:0000:0000 2a01:0111:f403:ca38:0000:0000:0000:0001 2a01:0111:f403:ca38:0000:0000:0000:0003 2a01:0111:f403:ca38:0000:0000:0000:0004 2a01:0111:f403:ca48:0000:0000:0000:0000 2a01:0111:f403:ca48:0000:0000:0000:0001 2a01:0111:f403:ca48:0000:0000:0000:0002 2a01:0111:f403:ca48:0000:0000:0000:0003 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 2a02:0250:0000:0048:0000:0000:0000:0011 2a02:0250:0000:0048:0000:0000:0000:0012 2a02:0250:0000:0048:0000:0000:0000:0013 2a02:0250:0000:0048:0000:0000:0000:0014 2a02:06b8:0000:0000:0000:0000:0000:0311 2a02:4780:0042:f848:9d79:3a20:7e37:78d3 2a02:4780:0045:bb78:e25b:1037:0e09:6f6f 2a06:2ec0:0001:0000:0000:0000:0000:0170 2a06:2ec0:0001:0000:0000:0000:0000:ffec 2a12:d280:0100:0041:0000:0000:0000:0000 32.194.188.110 34.111.130.244 34.149.254.5 34.206.119.200 34.232.155.214 34.36.182.139 38.143.66.193 41.74.193.201 41.74.193.210 41.74.197.201 41.74.197.210 41.76.215.28 41.76.215.3 45.41.44.2 5.161.133.13 51.81.206.108 51.81.206.109 52.101.103.0 52.101.103.1 52.101.103.19 52.101.103.2 52.101.11.4 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.160.0 52.101.160.1 52.101.162.0 52.101.162.1 52.101.181.0 52.101.181.1 52.101.181.11 52.101.181.20 52.101.190.0 52.101.190.1 52.101.190.2 52.101.190.3 52.101.50.9 52.101.68.0 52.101.68.10 52.101.68.12 52.101.68.15 52.101.68.16 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.68.8 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.24 52.101.73.26 52.101.73.27 52.101.73.28 52.101.73.30 52.101.73.4 52.101.73.6 52.101.73.8 52.101.73.9 52.101.89.0 52.101.89.1 52.101.89.2 52.101.99.0 54.155.140.59 54.219.39.13 54.39.29.58 54.76.31.185 62.149.128.151 62.149.128.154 62.149.128.157 62.149.128.160 62.149.128.163 62.149.128.166 62.149.128.72 62.149.128.74 64.151.229.199 64.233.166.26 64.233.166.27 64.233.167.27 64.233.184.26 64.233.184.27 65.109.72.110 65.181.113.0/24 65.181.113.15 66.102.1.26 66.102.1.27 69.174.115.130 69.72.244.201 69.72.248.209 70.32.23.20 72.44.93.236 74.125.133.26 74.125.133.27 74.125.71.26 74.125.71.27 74.208.5.21 74.208.5.3 76.76.21.21 77.88.21.249 77.95.113.38 78.141.221.48 82.223.190.101 85.187.128.53 87.98.160.167 91.121.53.175 91.238.161.176 92.113.16.29 92.113.23.233 92.204.80.19 92.204.80.20 92.55.64.68 92.55.64.69 93.188.3.11 93.188.3.12 93.188.3.13 93.188.3.14 # 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 # BEGIN ANSIBLE MANAGED BLOCK - Abusix ifplugin Mail::SpamAssassin::Plugin::DNSEval header __RCVD_IN_AMI eval:check_rbl('ami', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.') describe __RCVD_IN_AMI Received via a relay in Guardian Mail tflags __RCVD_IN_AMI net header RCVD_IN_AMI_BLACK eval:check_rbl_sub('ami', '^127\.0\.0\.(?:[23]|200)$') describe RCVD_IN_AMI_BLACK Received via a relay in Guardian Mail Black score RCVD_IN_AMI_BLACK 3.0 tflags RCVD_IN_AMI_BLACK net header RCVD_IN_AMI_EXPLOIT eval:check_rbl_sub('ami', '127.0.0.4') describe RCVD_IN_AMI_EXPLOIT Received via a relay in Guardian Mail Exploit score RCVD_IN_AMI_EXPLOIT 3.0 tflags RCVD_IN_AMI_EXPLOIT net header RCVD_IN_AMI_DYN eval:check_rbl('ami-lastexternal', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.', '^127\.0\.0\.1[12]$') describe RCVD_IN_AMI_DYN Received via a relay in Guardian Mail Dynamic score RCVD_IN_AMI_DYN 3.0 tflags RCVD_IN_AMI_DYN net header RCVD_IN_AMI_WHITE eval:check_rbl('ami-firsttrusted', 'b4748383a2e8302a1604b905270505cd.combined.mail.abusix.zone.', '127.0.2.1') describe RCVD_IN_AMI_WHITE Received via a relay in Guardian Mail White score RCVD_IN_AMI_WHITE -0.1 tflags RCVD_IN_AMI_WHITE nice net endif ifplugin Mail::SpamAssassin::Plugin::URIDNSBL urirhsbl URIBL_AMI_DBLACK b4748383a2e8302a1604b905270505cd.dblack.mail.abusix.zone. A body URIBL_AMI_DBLACK eval:check_uridnsbl('URIBL_AMI_DBLACK') describe URIBL_AMI_DBLACK Contains a spam URL listed in the Guardian Mail domain blocklist score URIBL_AMI_DBLACK 3.0 tflags URIBL_AMI_DBLACK net urirhssub URIBL_AMI_WHITE b4748383a2e8302a1604b905270505cd.white.mail.abusix.zone. A 127.0.2.1 body URIBL_AMI_WHITE eval:check_uridnsbl('URIBL_AMI_WHITE') describe URIBL_AMI_WHITE Contains a domain listed in the Guardian Mail domain whitelist score URIBL_AMI_WHITE -0.1 tflags URIBL_AMI_WHITE nice net endif # END ANSIBLE MANAGED BLOCK - Abusix