Matthias Schmidt escribió:
Hello,
my mac os x leopard (10.5.2 with updated amavis-new and spamassassin)
runs a script, which calls sa-learn with sudo and user _amavis.
In the config files for amavis and clamAV the user is set to _amavis.
Now sa-learn always tries to open /var/root/.spamassassin/user_prefs,
which of course fails.
Where or how can I correct this problem?
Thanks and all the best
Matthias
I had a similar problem and Luis Otegui suggested I used
# su <user> -c '<command>'
...and it worked. Try it.
Regards
/Diego