From: "Gene Heskett" <[EMAIL PROTECTED]>
Sent: Friday, 2008, February 08 16:43
On Friday 08 February 2008, Karsten Bräckelmann wrote:
On Fri, 2008-02-08 at 01:49 -0500, Gene Heskett wrote:
The command that kmail issues to it is:
sa-learn --ham /root/Mail/(foldername)/cur
You're not using root as your ordinary user account, do you !?
guenther
In fact I do, but I have myself somewhat in a sandbox as all the mail
handling
stuff except kmail runs as an unprivileged user, and kmail pulls incoming
from that mailbox in /var. I've been doing that for about 2-3 of years,
started it back at FC2. And running as root since RH5.1. Yeah, I'm an
un-repentant old fart.
Gene, how many times have I told you "don't do that with Linux"? Old fart
or not, you broke it. Now you get to fix it.
You declared you run all mail handling as an unprivileged user. Then you try
to run sa-learn as root on root's mailbox. There is rather a problem there
if
you think about it. Sit and ruminate a few minutes. Seriously - think.
Have you considered what you are doing and where at least one
hyper-obvious problem lies?
If you're not banging your forehead and screaming "Doh!" by now here is the
clue bat. If you've figured it out, "DUCK!"
SpamAssassin will be using a Bayes database collected as that unprivileged
user. It cannot use one generated as root and placed in root's directory
structure. The last I knew you were trying to use per user Bayes. So
sa-learn as root will build the file in a place the unprivileged process
cannot access AND will likely leave the file with privileges that prevent
access by that unprivileged user.
That's issue one for you to fix.
And if you don't fix your errant ways mama's gonna whup you good.
What size machine are you trying to work on? How deep into your swap
file are you when you run sa-learn?
{^_^} Joanne, ashamed I've known you all these years, Gene. You shame
me by not taking advice repeated virtually every time we
communicate.