> So far, what I've been doing is logging in as root and running > sa-learn --ham /path/to/each/mail/folder/* and of course > sa-learn --spam /path/to/spam/folder/* > my email account is actually under a username of brian though if I run it > logged in a brian, it doesn't change the size of the bayes_toks & > bayes_seen files. Is any of this wrong?
Um, we may be getting somewhere. How again are you calling SA to process spam? Specifically, which usercode will SA be running under when it processes your spam? We can be sure that it will NOT be running as 'root', since SA won't run as root even if you try to do that (it will switch to 'nobody'). I forget if you are calling from Amvis or the like, but if you are they often determine the usercode SA will run under. I have two guesses at the moment: 1) SA is running as nobody, which doesn't have a home directory, so can't create bayes files. 2) SA can get to global bayes files, but because you have been creating/maintaining them as root, it doesn't have the permissions it needs to write to them. Oh wait... bayes_file_mode 0666 Now there's a problem. This needs to be 0777. I think you are the person that is getting 'failed' a lot when trying to process bayes? Yea, you probably have a permissions problem here. Loren