Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

User Folder problem with sa_learn

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


beta at admilon

May 13, 2008, 6:29 PM

Post #1 of 1 (97 views)
Permalink
User Folder problem with sa_learn

Hello all,

since some longer time I have a little problem with the spam learning
method, which is used in a script on my box.
The script runs as user _amavisd, but it always tries to acces the root
folder.
This of course produces an error:
config: path "/var/root/.spamassassin" is inaccessible: Permission denied
config: path "/var/root/.spamassassin/user_prefs" is inaccessible:
Permission denied

the error appears here:
sudo -u $spamav_user sa-learn --dbpath /var/amavis/.spamassassin --sync
>> /dev/null
as well as here:
sudo -u $spamav_user -H sa-learn --dbpath /var/amavis/.spamassassin --
dump magic
and here
sudo -u $spamav_user sa-learn --dbpath /var/amavis/.spamassassin --sync
>> /dev/null


the database gets trained, but it looks like sa_learn can't access the
user prefs.

What could possibly twist here the path var?
It must be something specific to my installation, because it works fine
on other boxes with the same OS (Mac OS 10.5).

Thanks and all the best

Matthias

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.