How to repair cPanel invalid maildir size error

If you experience this error message "Invalid Maildirsize File" when attempting to try and change the email account quota in your cPanel we have a solution that will fix it.


Here is the manual how to get rid of the Invalid Maildirsize File error in cPanel server:


1. First login to your cPanel web hosting account via ftp with the username and password

2. Go straight to the "mail" folder. You will see it when you login to ftp. The full path on cPanel web hosting server should be: ../mail/domain.com/.user@domain.com (domain.com is your actual domain name you are using with the hosting account)

3. Then from this folder you can delete the hosting file with name: "maildirsize"

4. Once this cPanel maildirsize file is deleted from your web hosting, login to your cPanel and change the mail quotas. This will automatically re-create the maildirsize file correctly by cPanel.

You should be now able to change quotas for all email account(s) in your web hosting.

  • 51 Users Found This Useful
Was this answer helpful?

Related Articles

421 Unexpected failure

If when sending e-mail from your web hosting, and receive the following error message: 421,...

A copy of the email logs

For shared and reseller hosting plans: We can provide you the e-mail logs for a domain. You...

How to check and send email

E-mail servers are configured to match your domain for an additional convenience. This applies to...

Checking email trough browser (webmail)

Each web hosting account has three different mail clients – Horde, SquirrelMail and RoundCube....

How to create an email account

Create an e-mail account is done very simple with just few mouse clicks.Steps:1. Enter in the web...

Powered by WHMCompleteSolution