# 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 # ########################################################################### allow_user_rules 1 header RCVD_IN_CBL_ORG eval:check_rbl_txt('compositeblockinglist', 'cbl.abuseat.org.') describe RCVD_IN_CBL_ORG Received via a relay in cbl.abuseat.org tflags RCVD_IN_CBL_ORG net # Countries header RCVD_IN_CN_COUNTRY rbleval:check_rbl('nerd', 'cn.countries.nerd.dk') describe RCVD_IN_CN_COUNTRY Received via a relay in China tflags RCVD_IN_CN_COUNTRY net header RCVD_IN_TW_COUNTRY rbleval:check_rbl('nerd', 'tw.countries.nerd.dk') describe RCVD_IN_TW_COUNTRY Received via a relay in Taiwan tflags RCVD_IN_TW_COUNTRY net header RCVD_IN_KR_COUNTRY rbleval:check_rbl('nerd', 'kr.countries.nerd.dk') describe RCVD_IN_KR_COUNTRY Received via a relay in Korea tflags RCVD_IN_KR_COUNTRY net # custom scores to enable black lists score RCVD_IN_BL_SPAMCOP_NET 2.5 score RCVD_IN_DSBL 2.5 score RCVD_IN_SBL 2.5 score RCVD_IN_SORBS_MISC 2.0 score RCVD_IN_CBL_ORG 2.5 score RCVD_IN_CN_COUNTRY 2.0 score RCVD_IN_TW_COUNTRY 2.0 score RCVD_IN_KR_COUNTRY 2.0 score SPF_PASS -1.0 score SPF_FAIL 1.5 score SPF_SOFTFAIL 0.5 rewrite_header Subject [SPAM] add_header ham Status No, score=_SCORE_ required=_REQD_ tests=_TESTSSCORES(,)_ autolearn=_AUTOLEARN_ # Enable or disable network checks skip_rbl_checks 0 use_razor2 0 dns_available yes # 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 212.17.35. # 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 use_bayes_rules 1 bayes_auto_learn_threshold_spam 8 # 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 # Sensitive data, such as database connection info, should # be stored in /etc/mail/spamassassin/secrets.cf with # appropriate permissions