As for "doesn't work", that's not very useful. Have you tried "spamassassin -D --lint"? Is it using the /etc/mail/spamassassin area? Any errors from --lint?
Here's the output from the above cmd, can you shed some light on why its trying to use /root/.spamassassin directory and files ? should i be pointing it to a different location for systemwide rules?
What are the different score sets used for, just debug ?
[EMAIL PROTECTED] root]# spamassassin -D --lint
debug: Score set 0 chosen.
debug: running in taint mode? no
debug: ignore: using a test message to lint rules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: using "/root/.spamassassin" for user state dir
debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
debug: Score set 1 chosen.
debug: Initialising learner
debug: debug: Only 0 spam(s) in Bayes DB < 200
debug: bayes: 5747 untie-ing
debug: bayes: 5747 untie-ing db_toks
debug: is Net::DNS::Resolver available? yes
debug: trying (3) gwdg.de...
debug: looking up MX for 'gwdg.de'
debug: MX for 'gwdg.de' exists? 1
debug: MX lookup of gwdg.de succeeded => Dns available (set dns_available to hardcode)
debug: is DNS available? 1
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=1.7
debug: running raw-body-text per-line regexp tests; score so far=1.7
debug: running uri tests; score so far=1.7
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=1.7
debug: Current PATH is: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
debug: DCC is not available: dccproc not found
debug: Razor2 is not available
debug: Pyzor is not available: pyzor not found
debug: all '*From' addrs: [EMAIL PROTECTED]
debug: all '*To' addrs:
debug: running meta tests; score so far=1.8
debug: is spam? score=1.8 required=2 tests=DATE_MISSING,MISSING_HEADERS,NO_REAL_NAME
debug: bayes: 5747 untie-ing
The site rules file - /etc/mail/spamassassin/local.cf, i can add any lines similiar to the .cf files in /usr/share/spamassassin, anything from whitrelists to header and body checks, and it will be read after the default rules, correct ?
The following is part of my 10_misc.cf,
The file which i will create : /etc/mail/spamassassin/auto-whitelist, what format/syntax should it be, a db file or just a text file containing lines like these :
whitelist_from_rcvd [EMAIL PROTECTED] domainA.com
Is this the proper way how to make sytemwide whitelists active ?
10_misc.cf
###########################################################################
# Automatic-whitelist directory, for the default db-based whitelist
# backend. By default, each user has their own, in their ~/.spamassassin
# directory with mode 0600, but for system-wide SpamAssassin use, you may
# want to share this across all users; uncomment and customise the below
# lines. (Make sure the mode has --x bits set.)
# auto_whitelist_factor 0.5
# default: per-user whitelist:
# auto_whitelist_path ~/.spamassassin/auto-whitelist
# auto_whitelist_file_mode 0600
# use this for a system-wide whitelist:
# uncommented thefollowing 2 lines and created directory, not file - 5_27_2003
auto_whitelist_path /etc/mail/spamassassin/auto-whitelist
auto_whitelist_file_mode 0666
Thanks