On Samstag, 18. März 2006 11:51 MJ wrote:
> No, there is another user for daemon with a false shell, can't be use
> to login as a normal user.

The user 'clamav' should have a home dir of /var/amavis otherwise I wouldn't think the spamassasin files would end up in /var/amavis/.spamassassin.

what does this say?
cat /etc/passwd | grep clamav

To run sa-learn as this user (who does not have a shell), I would run:
sudo -H -u clamav sa-learn --sync --force-expire

I would set up a cron job to run this daily as it seems you have disabled auto expire and sync as noted. You can't do that without manually cleaning up on a regular basis. You can do that if you do.

But as noted, I think you are in a bit of a pickle now. The files are so hugh that I'm not sure how your system will handle it when the sync and expire are performed. One thing I'm reasonably confident of, the procedure will slow your system down for a considerable period of time.

Gary V

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to