It actually is to a file... I was unclear in my first email.

The bayes_path is:
bayes_path /etc/mail/spamassassin/bayes/bayes

The directory path for it is:

/etc/mail/spamassassin/bayes

And that's the directory I showed (showing that it has full write 
permissions and is owned by nobody).

Inside that directory is where I expect the bayes_* files to be 
created.  Full permissions exist on the directory, but nothing is 
created there.

[root bayes]# pwd
/etc/mail/spamassassin/bayes
[root bayes]# ls -la
total 3
drwxrwxrwx    2 nobody   nobody       1024 May 19 06:07 .
drwxrwxr-x    6 root     root         2048 May 19 09:13 ..
[root bayes]#

--Will

> 
> 
> On Fri, 2006-05-19 at 14:55 +0200, Michael Monnerie wrote:
> > On Freitag, 19. Mai 2006 12:10 Will Nordmeyer wrote:
> > > bayes_path /etc/mail/spamassassin/bayes/bayes
> > 
> > Remember that this should be a file name. You showed a dir, maybe 
> > there's the problem?
> 
> The bayes_path should actually point to a file prefix.  
> 
> As shown above, this would create:
> /etc/mail/spamassassin/bayes/bayes_toks
> /etc/mail/spamassassin/bayes/bayes_seen
> 
> Mail::SpamAssassin::Conf man page says:
> 
>  bayes_path /path/to/file (default: ~/.spamassassin/bayes)
>            Path for Bayesian probabilities databases.  Several 
databases
> will be created, with this as the base, with "_toks", "_seen" etc.
> appended to this filename; so the default setting results in files
> called "~/.spamassassin/bayes_seen", "~/.spamassassin/bayes_toks" etc.
> 
> 


Reply via email to