Refresh Mail Dir Size in Cpanel

, ,

Often times I am finding myself wanting to know how much space is being used up by an account after deleting a bunch of items. CPanel is known for updating it every so often throughout the day, maybe every 4 hours or so but I don't really know. So as admin you are able to go in and use the following command as root to refresh these statistics.

/scripts/generate_maildirsize --confirm --allaccounts --verbose $USER



Posted on

January 12, 2016

Submit a Comment

Your email address will not be published. Required fields are marked *