Ebbe Hjorth wrote:
>
> >
> > The bayes_path is not a directory. It's a path and a filename
> > stub. Try this:
> >
> > bayes_path=/usr/local/etc/mail/spamassassin/bayes/bayes
> >
> > You will need to create the /usr/local/etc/mail/spamassassin/bayes/
> > directory and then SA will create the bayes* files.
> >
> > Remember to restart spamd after making config changes.
> >

>
> I have created the directory, restartet sa-spamd, run sa-update,
> invoked my learn-spam script, but the
> /usr/local/etc/mail/spamassassin/bayes/ directory is empty?
>
> My local.cf looks like this now
>
> trusted_networks X
> internal_networks X
> bayes_path=/usr/local/etc/mail/spamassassin/bayes/bayes
> bayes_file_mode 0770
> dns_available yes
> razor_config /var/spool/spamd/.razor/razor-agent.conf
> add_header all DCC _DCCB_ _DCCR_
> add_header ham SCL 1
> add_header spam SCL 9
> rewrite_header Subject ***SPAM***


Oops! That was a mistake on my part.

That line should read:

bayes_path /usr/local/etc/mail/spamassassin/bayes/bayes

(no '=')

Sorry about that.

--
Bowie