Weird issue with clamav and ISPConfig 2.2.23
Ok. So I upgraded to the latest version of ISPConfig.
This had the effect that customers with tiny quotas and antivirus scan activated risk getting their diskspace full.
First of all. The first problem report was when I got bounces when I sent mail to a customer.
With a quota of 100MB he was using 99MB but only 14MB was used under his /var/www/web124 directory .
A quick find / -name big124_username turned up a lot of clamav directories under /tmp
Turns out that when his initial quotaspace was small the clamav directory filled his quota on disk since clamav writes as the user of the recipient.
(Potential DoS - just send lots of big mails to be scanned)
The CLAMAV process fills his quotaspace and procmail is unable to deliver the files. So it just builds up more and more files under /tmp for clamav.
Any solution to this issue other than increasing quota of users where they dont risk getting filled up on clamav directories of antivirus scans?
I've manually removed clamav directories out of /tmp
Another problem is that postfix reports with a non quota full message and doesnt give correct smtp codes for quota full since it's later on in the pipeline of delivery.
Thats a bug in ClamAV since 0.90. Instead of using the central token database clamav downlodas a new copy of the datbase and forgets to delete his temp files from time to time when the quota is not large enough.
The solution is to use clamd instead of clamscan:
|All times are GMT +2. The time now is 19:03.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.