We also just realized that email and db sizes not calculate towards user quotas set in CWP. Is there a workaround on this? Our business is depending on these thing working properly, so we can charge accordingly, and make sure we're planning server usage correctly. As of now, it's basically worthless quota feature in CWP. Ie, a customer paying for 20GB of space, they're using 500MB of web site space, but have 6 emails that are about 5-8GB each. That's well over 20GB that we are charging them. We would need to let them know, and upgrade them to next package. However, we did not know that this was the case, until server started to run out of space.
Now we ran the command to check disk usage for emails:
du -sh /var/vmail/*
Then the command to check DB's:
du -h /var/lib/mysql
It's really sad to see how much space my customers are using, without us knowing that it's not showing inside CWP correctly. Now we know, and we have to implement a procedure to monitor this on a frequent basis, with the commands above.
Hopefully CWP developers can come up with something to solve this. I believe cPanel kept all the emails inside the /home/user directories, and as the user, not in a main server directory as root user. But maybe I'm wrong. I don't use cPanel anymore I can't check it.
Thanks for your hardwork. Looking forward to putting this issue behind us sometimes soon.
-Ponch