cPanel Error – invalid maildirsize file

Posted by cikul | Posted in cpanel | Posted on 28-03-2011-05-2008


If you get Error – invalid maildirsize file when attempting to change the quota for an email account, here’s a solution that will fix this problem.

  1. If you have server/root owner, you can run this command :
    /scripts/generate_maildirsize –force –allaccounts
  2. If you just have cpanel account, you can Connect to your site via FTP.
  3. Navigate to the following path /mail/
  4. From this directory, delete the file named maildirsize
  5. Once this file is deleted, cPanel will automatically recreate this file with proper values. You might have to wait for email activity for this to happen. You will also have to refresh your cPanel page.

If the correct mailbox quota is still not being displayed, from within cPanel, you can navigate to email accounts and click the change quota button to set a new quota.


Write a comment