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