Submitted by signet on Fri, 11/20/2009 - 11:20 Pro Licensee
Hi,
On two servers we have seen the behaviour that a mail quota is being hit because of a lot of clam files in the /tmp directory. I've found some issues on the internet and I found out that the default behaviour is that these temp files get deleted once in a while. But, that isn't the case on these servers, how can we fix this?
Thanks,
Justin
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 11/20/2009 - 11:55 Comment #1
Howdy -- take a peek in Webmin -> Webmin -> Webmin Configuration -> Advanced. There's an option called "Maximum age of temporary files" -- you may need to make time listed there a bit shorter.
Submitted by JamieCameron on Fri, 11/20/2009 - 13:20 Comment #2
There's a clamav bug that can cause this.. The best fix is to switch to running clamd, which seems to avoid the issue. Assuming you can afford the extra 100M of RAM it uses, this can be done at Email Messages -> Spam and Virus Scanning.
Or it can be done from the command line with :
virtualmin set-spam --enable-clamd
virtualmin set-spam --use-clamdscan
Submitted by signet on Tue, 11/24/2009 - 09:54 Pro Licensee Comment #3
Hi,
As a test I changed the Maximum age of temporary files to 1 day to see if this resolves the problem. If not, I will suggest the customer to change to Clamd.
Thanks,
Justin.
Submitted by Issues on Wed, 12/09/2009 - 19:19 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.