Trash folder after deleting using File Manager

mealto

Well-Known Member
Oct 20, 2006
175
0
166
After we deleted quite a large folder using cPanel, WHM still shows the same amount of disk space usage. Is there a delay in WHM>>List Accounts or is there a trash folder that has to be purged?

TIA.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
After we deleted quite a large folder using cPanel, WHM still shows the same amount of disk space usage. Is there a delay in WHM>>List Accounts or is there a trash folder that has to be purged?

TIA.
Disk space usage is not updated in real time. However, you can go to the client's cPanel -> Files -> Disk Space Usage and on the drop-down box on that page click Clear File Usage Cache to force cPanel to more accurately reflect current disk space consumption.
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
Thanks for the reply David.

Once inside the Files>>Disk Usage area, I noticed mail/domain.com is almost 1 Gig. Then as you scroll down, there are only a handful of email addresses in this list. ie. mail/[email protected]

The ones that are listed have small usage but the main one above (mail/domain.com) has the majority of space usage.

1. How can we see which email address is using most of the space?

2. How come only some email addresses show up in the Disk Usage page?

3. How large can mail/domain.com get before it is detrimental or will begin causing issues?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks for the reply David.

Once inside the Files>>Disk Usage area, I noticed mail/domain.com is almost 1 Gig. Then as you scroll down, there are only a handful of email addresses in this list. ie. mail/[email protected]

The ones that are listed have small usage but the main one above (mail/domain.com) has the majority of space usage.
Are you sure the default mail is set to fail? If it is set to the main email account (catch-all), that box can get filled very fast with spam.

1. How can we see which email address is using most of the space?
I would recommend sorting the list by disk space consumed and looking for any folders in /mail/. It would be best to increase the depth at least once so you can see individual accounts stored in /mail/domain/account where that stores the mail for [email protected]

2. How come only some email addresses show up in the Disk Usage page?
Are you sure you have clicked "Increase Depth" at least once?

3. How large can mail/domain.com get before it is detrimental or will begin causing issues?
If you are using the maildir format (which has been default in cPanel/WHM for years) then the amount of mail shouldn't cause server-side issues such as sluggish performance by the server.
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
Perfect. I see what you are saying now. Looks like we have a spam folder set up to catch spam and that is increasing in size. How do we delete all the emails in the spam account without having to delete and recreate it again. Don't want to try this as there are filter spam rules in place pointing spam to this box so if there is a way to delete all email in the spam email account, that would be great.

Thanks for your help David.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Perfect. I see what you are saying now. Looks like we have a spam folder set up to catch spam and that is increasing in size. How do we delete all the emails in the spam account without having to delete and recreate it again. Don't want to try this as there are filter spam rules in place pointing spam to this box so if there is a way to delete all email in the spam email account, that would be great.

Thanks for your help David.
In the maildir format, each email is its own file. That makes building a shell script to empty the spam boxes feasible if you need to do this for a number of accounts.
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
If we do not have the tech capability to write that script, can we delete the account in question then recreate it again. Will this be ok to do without it causing issues with all the forwarding and filters already associated with this account?
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
Here is something odd. This account:

mail/[email protected]/new

Shows 150 megabytes of space is used inside Disk Space Usage. But when you Email Accounts, it shows 0 megabytes used. Even when we delete that account and force cache to be cleared, Disk Usage still shows the 150 megabytes associated with

mail/[email protected]/new

Any ideas?
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
Thanks David,

So anyone who paid for a licensed cPanel server can use your ticketing system to get help?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks David,

So anyone who paid for a licensed cPanel server can use your ticketing system to get help?
Direct customers and our partners receive priority over our non-direct customers. Those who acquired their licensing via a reseller should first seek support from their cPanel licensing provider.

While we typically will not refuse support to those who should be receiving support from their cPanel licensing provider, there will be significantly longer wait times for those who did not acquire their licensing from cPanel, Inc than those who did acquire their licensing from cPanel, Inc.

If you prefer the quicker response times our direct customers experience, then you may wish to purchase Priority Support from the cPanel Store located at:

http://www.cPanel.net/store

Priority Support tickets are equal in priority to those of our direct customers.

However, if you are willing to be patient then there is no need to purchase Priority Support at this time.