On Sun, 2 Nov 2003, Ihsan Dogan wrote:

> I'm using Spamassassin 2.55 with spamd/spamc. I started spamd
> with this options: -u nobody --user-config -c
> The users on this system, starting spamc from their .procmailrc.
> 
> My problem is, that something is changing the permissions of
> ~/.spamassassin/bayer_journal to 600 (nobody:nobody). With this
> permissions, it's not possible to use sa-learn.

   The operative question here is, "Do you really want to use
Bayes in a site-wide mode with everyone trying to train it?"

   To that question, I'll submit a "no" answer.  Bayes is best
done on a per-user basis because everyone's spam/ham profile
looks (smells?) a bit different and that's where Bayes excels.
I hold the opinion that a plain "naked" SA (sans Bayes) is
best for site-wide filtering coupled with per-user client-side
Bayes.

   If you _really_ want to run site-wide-common Bayes, your
users will need to "train into" that 600-mode database as
"nobody".  One possible way might be to make the bayes database
available to the masses at your site and run sa-learn SUID
as "nobody"; but(!) that may introduce locking problems if
multiple users try to train the filter at the same time.

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:[EMAIL PROTECTED]                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to