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

Hello list subscribers

How can I specify the path to bayes_* files when using sa-learn to add more 
tokens to the database?

Currently if I run 
sa-learn --ham /var/mail/domain/user/Maildir/.Filter.Ham/cur/*
as root, as expected the db files are stored in /root/.spamassassin/ .
If these files are copied to /var/mail/domain/user/.spamassassin/
I get confirmation of bayes being used by spamassassin.
(this kinda thing from SA spam analysis: 
"2.1 BAYES_90               BODY: Bayesian spam probability is 90 to 99%")

So how do I tell sa-learn to use /var/mail/domain/user/.spamassassin/bayes_* 
instead of /root/.spamassassin/bayes_*

I know of -p which sets the path to a user's config file (from the sa-learn 
manpage) but from the manpage of Maill::SpamAssassin::Conf the option
bayes_path is an administrator-only option and such i cant set it a user_prefs 
file.
I do definately want a separate bayes db per user and eventually id like t 
have learning done by a cron job. If there is a good reason not to cron job 
this please tell me.

Many thanks
- -- 
David Leggett
[EMAIL PROTECTED]
http://www.asguard.org.uk
http://www.site-control.org
Get my public GPG key from http://www.asguard.org.uk/~david/david.asc
Fingerprint: 432E 4EAD E1E5 26BB 29EB 47FA CBDE AB17 0D23 C76B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/hCCSy96rFw0jx2sRAnm6AKCGsxtbyEwH8MV63JZxJ+kzKnxxgwCgjsbr
r+roegtVkCYJxP0MxDkKrLc=
=Rgwo
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to