File: //usr/local/etc/mail/spamassassin/local.cf
# 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
#
###########################################################################
# 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 0
# 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
# 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
razor_config /usr/local/etc/mail/razor/razor-agent.conf
allow_user_rules 1
bayes_expiry_max_db_size 150000
bayes_auto_expire 0
skip_rbl_checks 1
ok_locales ja en
normalize_charset 1
bayes_min_ham_num 20
bayes_min_spam_num 20
required_score 7.0
bayes_auto_learn_threshold_spam 7.0
dns_query_restriction deny uribl.com
dns_query_restriction deny spamhaus.org
dns_query_restriction deny surbl.org
score BODY_8BITS 0
score UPPERCASE_25_50 0
score UPPERCASE_50_75 0
score UPPERCASE_75_100 0
score PLING_QUERY 0
score TVD_SPACE_RATIO 0
score TVD_SPACE_ENCODED 0
score SUBJ_ALL_CAPS 0
score BAYES_00 -2.4
score BAYES_05 -0.6
score BAYES_95 3.9
score BAYES_99 4.7
score BAYES_999 0.4
whitelist_from *@sakura.ad.jp
dns_available test
trusted_networks 27.133.134.224/27 153.120.85.128/27 133.242.250.96/27