Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 15:11:39 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Cannot get mimedefang & spamassassin to use bayes
Message-ID:  <4537798B.6030407@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

This might be a little OT, but the reasons for asking here are two:
_ I suspect the ports layout might have something to do with my problem;
_ I didn't get any answer on mimedefang's mailing list :-)


As per subject, I'm running the most recent ports 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?
Hope someone can help.

  bye & Thanks
	av.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4537798B.6030407>