How does MailScanner docide which spamassassin rules dir to use

Kai Wang kwang at ucalgary.ca
Fri Oct 20 18:31:03 IST 2006


I run MailScanner 4.55.10-3 and spamassassin 3.1.5-1. I enabled 
sa-update. But I found MailScanner still uses "/usr/share/spamassassin", 
NOT "/var/lib/spamassassin/3.001005/", for default spamassassin rules 
dir. What should I change to let user /var/lib/spamassassin/3.001005/?

SpamAssassin Auto Whitelist = no
SpamAssassin Timeout = 75
SpamAssassin Timeouts History = 30
SpamAssassin Cache Database File = 
/var/spool/MailScanner/incoming/SpamAssassin.cache.db
SpamAssassin User State Dir =
SpamAssassin Install Prefix =
SpamAssassin Site Rules Dir = /etc/mail/spamassassin
SpamAssassin Local Rules Dir =
SpamAssassin Local State Dir = /var/lib
SpamAssassin Default Rules Dir =
SpamAssassin Cache Timings = 1800,300,10800,172800,600

$ ls -l /etc/mail/spamassassin
total 28
-rw-r--r--  1 root root  948 Sep 26 10:33 init.pre
-rw-r--r--  1 root root 1208 Sep 26 10:33 local.cf
lrwxrwxrwx  1 root root   41 Sep 25 10:59 mailscanner.cf -> 
/etc/MailScanner/spam.assassin.prefs.conf
drwx------  2 root root 4096 Oct 19 14:02 sa-update-keys
-rw-r--r--  1 root root 2179 Sep 26 10:23 v310.pre
-rw-r--r--  1 root root 2179 Sep 26 10:33 v310.pre.rpmnew
-rw-r--r--  1 root root  806 Sep 26 10:23 v312.pre
-rw-r--r--  1 root root  806 Sep 26 10:33 v312.pre.rpmnew

Thanks

-- 
Kai Wang
System Services
Information Technologies, University of Calgary,
2500 University Drive, N.W.,
Calgary, Alberta, Canada T2N 1N4
Phone (403) 220-2423, Fax (403) 282-9361


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list