Okay i have two server, both running Spamassassin, with two different configure files.
One server handles Spam GREAT! I mean it is really good. But it is running MailScanner with Spamassassin
So i am not sure if MailScanner is stopping all the spam or if it is Spamassassin
But Can anyone tell if it is a configure file problem?
Here is the conf file for the server that handles spam well:
# These values can be overridden by editing ~/.spamassassin/user_prefs
.cf
# (see spamassassin(1) for details)
# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.
# SpamAssassin config file for version 2.5x
# generated by
http://www.yrex.com/spam/spamconfig.php (version 1.01)
# How many hits before a message is considered spam.
required_hits 7.5
# Whether to change the subject of suspected spam
rewrite_subject 1
# Text to prepend to subject if rewrite_subject is used
subject_tag *****SPAM*****
# Encapsulate spam in an attachment
report_safe 1
# Use terse version of the spam report
use_terse_report 0
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
auto_learn 1
# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
# - english
ok_languages en
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales en
Okay here is the conf file that does not handle spam well:
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
##########################
##########
##########
##########
##########
#########
#
# rewrite_subject 0
# report_safe 1
# trusted_networks 212.17.35.
# # EXAMPLES
# # allow all mail from hitcents.com:
# whitelist_from *@hitcents.com
whitelist_from clamav@localhost
#
# # Don't do any spam checking on mail _to_ this address:
# whitelist_to unfiltered@hitcents.com
required_hits 7.5 # Default is 5, higher is less sensitive
rewrite_subject 1 # change the Subject: line if spam is detected
# Options re. databases of spam messages on the 'net
use_dcc 0 # Use of the Distributed Checksum Clearninghouse (0 = no, 1 = yes)
use_pyzor 0 # Use of the Pyzor spam database (0 = no, 1 = yes)
use_razor2 0 # Use of the razor spam database (0 = no, 1 = yes) (0 = no, 1 = yes)
skip_rbl_checks 0 # Use of the Realtime Blackhole List checks
# Auto-learning
use_bayes 1
auto_learn 0
# auto_learn_threshold_nonsp
am -2
# auto_learn_threshold_spam 7.5
bayes_min_ham_num 1000 # Number of entries before bayesian list is used (Default: 200)
bayes_min_spam_num 1000
bayes_path /etc/mail/spamassassin/bay
es
bayes_learn_to_journal 1 # default 0, stage Bayesien probabilty db updates
# to a journal file to reduce locking contention
# Whitelisting
auto_whitelist_path /etc/mail/spamassassin/aut
o-whitelis
t
bayes_file_mode 664
auto_whitelist_file_mode 664
# Ignore the following headers for bayesian scoring. these will appear in
# mail that's bounced to the various spam-trap addresses
bayes_ignore_header ReSent-Date
bayes_ignore_header ReSent-From
bayes_ignore_header ReSent-Message-ID
bayes_ignore_header ReSent-Subject
bayes_ignore_header ReSent-To
bayes_ignore_header Resent-Date
bayes_ignore_header Resent-From
bayes_ignore_header Resent-Message-ID
bayes_ignore_header Resent-Subject
bayes_ignore_header Resent-To
Any ideas on how to make this serve handle spam like the other server?