Mailwatch Permission Problems

Gerry Doris gdoris at ROGERS.COM
Tue May 31 02:50:49 IST 2005


I was hoping for some help on permissions.  I had everything working just
fine on a Fedora Core 2 box that I upgraded on the weekend.  Today I
noticed that I can no longer run sa-learn from mailwatch.  I get the
following permission error and I can't work out how to fix it...

SA Learn: error code 13 returned from sa-learn: bayes expire_old_tokens:
lock: 26855 cannot create lockfile //.spamassassin/bayes.mutex:
Permission denied

In MailScanner.conf I have both "run as user" and "run as group"  blank.
The .spamassassin directory that being used is /root/.spamassassin.
There's a bayes.mutex file in this directory that's being updated
regularly as mail arrives.

Naturally, sa-learn runs great as root from the command line.

--
Gerry

"The lyfe so short, the craft so long to learne"  Chaucer

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list