Сега покажи цялото съдържание на конфигурационните файлове local.cf и default_prefs.cf (местоположения може би съответно /etc/spamassassin/local.cf и /usr/share/spamassassin/10_default_prefs.cf), .......
# 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 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 0
# 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 /etc/spamassassin/.razor/razor-agent.conf
#pyzor_options --homedir /etc/spamassassin/.pyzor
# dcc_home /var/dcc
# uridnsbl URIBL_SBLXBL sbl-xbl.spamhaus.org. TXT
# body URIBL_SBLXBL eval:check_uridnsbl('URIBL_SBLXBL')
# describe URIBL_SBLXBL Contains a URL listed in the SBL/XBL blocklist
Сега покажи цялото съдържание на конфигурационните файлове local.cf и default_prefs.cf (местоположения може би съответно /etc/spamassassin/local.cf и /usr/share/spamassassin/10_default_prefs.cf), ......
# Make sure the header stays entirely on one line here
clear_headers
#X-Spam-Checker-Version: SpamAssassin 2.60-cvs (1.188-2003-05-24-exp)
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
#X-Spam-Flag: YES
add_header spam Flag _YESNOCAPS_
#X-Spam-Level: *************
add_header all Level _STARS(*)_
#X-Spam-Status: Yes, score=14.0 required=5.0 tests=BAYES_99,CALL_FREE
# DATE_IN_PAST_12_24,DCC_CHECK,DRASTIC_REDUCED,FROM_HAS_MIXED_NUMS
# FROM_HAS_MIXED_NUMS3,HOME_EMPLOYMENT,INVALID_DATE,INVALID_MSGID
# LINES_OF_YELLING,MSGID_HAS_NO_AT,NO_REAL_NAME,ONCE_IN_LIFETIME
# UNDISC_RECIPS autolearn=spam version=2.60-cvs
add_header all Status "_YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_"
###########################################################################
# Default prefs values: users can override these in their
# ~/.spamassassin/user_prefs files.
# How many points before a mail is considered spam.
required_score 5
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language. This is an expensive
# classification, so it is is disabled in init.pre by default.
ifplugin Mail::SpamAssassin::Plugin::TextCat
ok_languages all
endif # Mail::SpamAssassin::Plugin::TextCat
# Mail which scores outside this range will be fed back into SpamAssassin's
# learning system automatically, to train the Bayesian scanner.
ifplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 12.0
endif # Mail::SpamAssassin::Plugin::AutoLearnThreshold
# Set this to 0 to turn off auto-learning.
bayes_auto_learn 1
# report_safe controls the markup of spam. If you set it to 0, the message
# body of spam messages will not be modified
report_safe 1
# Some common prefs settings can be set here, to take effect site-wide
# unless the user override them. See the user_prefs.template file for
........., както и изхода от командата
GeSHi (Bash):
ps ax |grep spam
.......
mail spamassassin # ps ax |grep spam
1463 ? Ss 0:01 /usr/bin/perl -w /usr/sbin/spamd -d -r /var/run/spamd.pid -m 7 -H --socketpath=/var/run/spamd.sock --round-robin -D razor2
1673 ? S 0:11 [spamd]
1674 ? S 0:13 [spamd]
1675 ? S 0:09 [spamd]
1676 ? S 0:11 [spamd]
1677 ? S 0:09 [spamd]
1678 ? S 0:09 [spamd]
1679 ? S 0:11 [spamd]
3447 pts/0 S+ 0:00 grep --colour=auto spam
..........
Допълни с разяснение кой пощенски сървър използваш (ако става дума за сървър) или кой пощенски клиент използваш (ако става дума за клиент), и по какъв начин указваш извикването на spamassassin в него
Пощенски сървър е, sendmail.
......... и по какъв начин указваш извикването на spamassassin в него
,ко рече?