Error – invalid maildirsize file

We were receiving error “invalid maildirsize file” while trying to update the email accounts quota from cPanel. We followed below steps to correct this error:

1. Login to server via SSH as root.
2. Navigate to path /mail/
3. From this directory, delete/rename the file “maildirsize”
4. Once this file is deleted/renamed, the system will automatically create a new maildirsize file at the same place and you should be able to change the quota of email account now.

Note: change with the exact domain name and email account name.

Rahul Vaghasia

Rahul is CEO at He shares his web hosting insights at AccuWebHosting blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, Windows and Linux hosting platforms.
Rahul Vaghasia
(Visited 88 times, 1 visits today)

Leave a Reply

AlphaOmega Captcha Classica  –  Enter Security Code

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sign up for a News Letter Click here to sign up