1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Invalid maildirsize error

Invalid maildirsize error

How to fix the error "invalid maildirsize":

  1. Log in to cPanel.
  2. Navigate to the Files section, then click on the File Manager.cPanel File Manager
  3. Navigate to the public_html folder. 

    public_html folder

  4. Go outside of public_html and navigate to /mail/example.com/email-user.

    maildirsize folder

  5. From this directory, delete the file named maildirsize.

    Delete maildirsize file

  6. Once this file is deleted, and the next time you use that email address, the system should reset the mail account with the correct mailbox quota.

If the correct mailbox quota is still not being displayed, you can navigate to cPanel > Email Accounts and click the Change Quota button to set a new quota.