You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2004/02/09 06:46:18 UTC

Re: Where sa-learn puts bayes files?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


John Fleming writes:
> I've tried various tests today, and I don't see the pattern.  I want to
> generate Bayes intelligence that will function site-wide.  I don't
> understand any logic for where it puts the bayes_toks and bayes_seen files,
> nor do I understand whether it matters where they reside.
> 
> I've tried using the option
> -C /etc/mail/spamassassin
> to direct it to a specified folder, but that didn't work as expected.
> 
> not using the -C option resulted in the files being put in
> /root/.spamassassin (sa-learn ran as root)
> -C /etc/mail/spamassassin resulted in the files being put in
> /root/.spamassassin (sa-learn ran as root)
> -C /etc/mail/spamassassin/bayes resulted in the files being put in
> /etc/mail/spamassassin (also ran as root)
> 
> 1.  Do I need to specify where to put the files for site-wide filtering?  If
> so, where and how in view of above?

man Mail::SpamAssassin::Conf, see "bayes_path".

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAJx6qQTcbUG5Y7woRAhvUAJ9GY8yurhch7VfjuxWYpMWQx9M2ZgCg5UDM
xFVjixi7Ep2yZe6LUPcZqqc=
=6DEf
-----END PGP SIGNATURE-----