Hi Gary,

>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

clamav:x:1005:103::/home/clamav:/bin/false


>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

You want me to try above command?


Hmm, I don't know at this point. It is strange that the files are owned by 'clamav'. Due to the fact that they are, I assumed you were running amavisd-new as user 'clamav'. What do you have
$daemon_user and $daemon_group set to in amavisd.conf? What does this say?:

cat /etc/passwd | grep amavis

>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.

I didn't change anything related to auto expire or sync in amavisd.conf,
infact another machine with same configuration doesn't have such a huge
bayes_* files.


The settings would be in local.cf, not amavisd.conf.
If the other machine has the same configuration, are the same files on that machine also owned by 'clamav'?

Any idea how to resolve this issue.

Many thanks,

Mohammad Junaid.


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