Hi,
Many thanks Theo Van Dinter, Gary V and others who helped. As suggested
by Theo Van Dinter, I change the home directory of clamav user as
/var/amavisd and then executed "/usr/local/bin/sa-learn -D --sync" it
took around 6 hours but now "bayes_journal" has been reduced from 3.5 GB
42 KB. How I can prevent this problem from reoccuring?
___________________
Mohammad Junaid
A clue was given to you in a previous post:
http://marc.theaimsgroup.com/?l=spamassassin-users&m=114269315700923&w=2
But I am not getting the full picture. You said earlier that the bayes files
were in /var/amavis/.spamassassin yet you say you changed the home directory
of 'clamav' to /var/amavisd. Are your bayes files in
/var/amavis/.spamassassin or /var/amavisd/.spamassassin? What user is
running amavisd-new? Please do this for me as I asked before:
What do you have $daemon_user and $daemon_group set to in amavisd.conf?
What does this say?:
cat /etc/passwd | grep amavis
When you ran "/usr/local/bin/sa-learn -D --sync", what user were you running
this as?
Another hint, you also need to run 'sa-learn --sync --force-expire' as your
amavisd-new user. If it takes some time to complete then it is probably
working.
Gary V
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963