customizing spamassassin reports
Hi,
currently every mail is tagged with these headers
X-Spam-Score and X-Spam-Report.
I want to have the same headers as they are added by the debian mailing
list: X-Spam-Checker-Version, X-Spam-Flag, X-Spam-Level and X-Spam-Status.
This is my /etc/spamassassin/local.cf
================================= local.cf ============================
use_terse_report 1
report_safe 0
use_bayes 1
auto_learn 1
bayes_path /var/mail/.spamassassin/bayes
bayes_file_mode 0664
score MICROSOFT_EXECUTABLE 6.0
lock_method flock
clear_headers
remove_header X-Spam-Report
remove_header X-Spam-Score
#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_"
================================= local.cf ============================
It tried to add
clear_headers
remove_header X-Spam-Report
remove_header X-Spam-Score
to get rid of these headers but they are still placed in the mail even
after restarting the spamd daemon.
Do i need to customize 10_misc.cf to get the behaviour i want? I tought
the headers i want where going to be added anyway as they are in that
file 10_miscf.cf also. But apparently they arent.
Anybody know what i need to do to get the desired headers?
Thanks,
Benedict
Reply to: