[vox-tech] bayes problem

Peter Jay Salzman p at dirac.org
Thu Jun 17 08:53:28 PDT 2004


milver,

do a google search on:

   spam assassin cannot write root bayes

and look at the first item returned by google.  does that help any?

also, you really shouldn't be receiving mail to root.   one of the
many reasons why linux users don't have to worry about viruses is
because we normally don't do stuff like that.  use root for rootly
things, and reading mail isn't rootly.

i don't use SA's bayesian filter, but my guess is that SA is trying to
do the right thing, but is being flumoxed because you keep creating a
file owned by root that isn't world writable (your MTA prolly isn't
running as root).  just a guess.

hth,
pete


On Thu 17 Jun 04,  4:33 PM, Milver S. Nisay <mnisay at coollink.us> said:
> anyone had experiece with this problem with the maillogs?
> 
> cannot write to /root/.spamassassin/bayes_journal, Bayes db update ignored
> 
> i am running sendmail + spamassassin + mailfilter, and working just fine.
> but my maillogs show this problem. anyone?
> 
> when i do
> #sa-learn --dump magic
> 0.000          0          2          0  non-token data: bayes db version
> 0.000          0        306          0  non-token data: nspam
> 0.000          0       1856          0  non-token data: nham
> 0.000          0     150731          0  non-token data: ntokens
> 0.000          0 1061114161          0  non-token data: oldest atime
> 0.000          0 1087486773          0  non-token data: newest atime
> 0.000          0 1087472858          0  non-token data: last journal sync
> atime
> 0.000          0 1087472870          0  non-token data: last expiry atime
> 0.000          0          0          0  non-token data: last expire atime
> delta
> 0.000          0          0          0  non-token data: last expire
> reduction count
> 
> and maillog shows
> Jun 17 16:31:08 deniro spamd[8737]: cannot write to
> /root/.spamassassin/bayes_journal, Bayes db update ignored
> 
> if i delete the bayes db and re run sa-learn, it will do fine, but ater a
> few days, this will show again.
> its driving me nuts, anyone?
> 
> //milver

-- 
In theory, theory and practise are the same.  In practise, they aren't.
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list