On Mon, 03 Sep 2007 21:40:44 -0400 Matt Kettler <[EMAIL PROTECTED]> wrote:
> Raquel wrote: > > I'm setting up a new server. However, email sent to the server > > keeps getting "autolearn=failed". I don't seem to be able to > > figure out is causing that. > > > > > > Generally speaking, that means SpamAssassin can't write to the > bayes database. > > The most common cause of this is a spamd setup where everything is > running as root. When this happens, spamd automatically setuid's > itself to 'nobody' to avoid the security risk of scanning mail > while running as root. 'nobody' does not, and should not, have > access to write its home directory, so any bayes (or AWL) actions > fail. > > A quick and simple way to fix this is create a non-root user and > pass it to spamc or spamd using the -u parameter. SA will create > the bayes (and AWL if you use it) database in that user's home > directory, and you should su to this user when running sa-learn or > other bayes utilities. > > > I created a new user "spamassassin", with a password. I call spamassassin-milter using the new user. However, I'm still getting "autolearn=failed". -- Raquel ============================================================ Surely there comes a time when counting the cost and paying the price aren't things to think about any more. All that matters is value - the ultimate value of what one does. --James Hilton