Re: sa-learn user problem Am/On Fri, 29 Feb 2008 15:23:28 -0300 schrieb/wrote Diego Pomatta:

>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  -c ''
>
>...and it worked. Try it.

 thanks, I did that and the errors are gone, but now it looks like
something is wrong.
The statistics are showing nothing anymore.

Thanks and all the best

Matthias



