If you are trying to increase or decrease an email account's quota an error that can occur is the Invalid maildirsize error:


This can happens when the maildirsize file has become corrupted. Fortunately, resolving this issue is a fairly easy process.

By using the cPanel File Manager you can delete the maildirsize file that is causing the error.

If you are not already logged into your cPanel, log into your cPanel account.

If you are already logged into cPanel and you are in the Email Accounts area of cPanel, return to the cPanel Home Screen.

Click on the File Manager icon, choose "Home Directory" and click the "Go" button.

Double click to open the "mail" folder and then the domain name of the email account (after the @ symbol in the email address).

Inside the domain name folder, navigate into the email user name (the part of the email address before the @ symbol).

Inside of this folder you will see a file named maildirsize. This is the file you will want to delete. Yes, it is safe to delete this file and will resolve the error you received when trying to change your email account quota.


Once you have deleted the maildirsize file, return to the Email Accounts area in cPanel and continue with changing the quota.


Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.