[Mimedefang] Cannot get spamassassin to use bayes
    Andrea Venturoli 
    ml at netfence.it
       
    Tue Oct 17 09:37:40 EDT 2006
    
    
  
Hello.
As per subject, I'm running the most recent stable versions of 
sendmail+mimedefang+spamassassin on FreeBSD 5.4. Due to the latest 
overwhelming increase in spam getting in I tryed enabling bayesian 
filters: I trained spamassassin and manually checked that it works quite 
effectively; however I cannot get it to apply bayes when called from 
mimedefang.
I've put:
use_bayes 1
bayes_path /usr/local/etc/mail/spamassassin
in /usr/local/etc/mimedefang/sa-mimedefang.cf.
Permissions are as follows:
# ls -l /usr/local/etc |grep mail
drwxr-xr-x  3 root   wheel     512 Feb 11  2006 mail
# ls -l /usr/local/etc/mail/
drwxr-xr-x  2 root  wheel  512 Oct 15 22:22 spamassassin
# ls -l /usr/local/etc/mail/spamassassin/
total 11622
-rw-------  1 mailnull  wheel      3624 Oct 15 22:05 bayes_journal
-rw-------  1 mailnull  wheel   1294336 Oct 15 19:14 bayes_seen
-rw-------  1 mailnull  wheel  10551296 Oct 15 19:14 bayes_toks
-rw-r--r--  1 root      wheel       941 Aug 24 16:47 init.pre
-rw-r--r--  1 root      wheel       948 Oct 15 18:16 init.pre.sample
-rw-r--r--  1 root      wheel      1208 Oct 15 18:16 local.cf.sample
-rw-r--r--  1 root      wheel      2395 Aug 24 16:47 v310.pre
-rw-r--r--  1 root      wheel      2179 Oct 15 18:16 v310.pre.sample
-rw-r--r--  1 root      wheel       806 Oct 15 18:16 v312.pre
-rw-r--r--  1 root      wheel       806 Oct 15 18:16 v312.pre.sample
mailnull is the user mimedefang is running as.
What am I missing or doing wrong?
  bye & Thanks
	av.
    
    
More information about the MIMEDefang
mailing list