invalid maildirsize file while change Email quota Print

  • 0

Cpanel server:

1. upcp to latest stable

2. run these two commands one after the other:

find /home/*/mail/ -name maildirsize | xargs rm -f

/scripts/generate_maildirsize --confirm --allaccounts

Manual fix:

  1. Login to your server via FTP
  2. Navigate to the following path /mail/yourdomain.com/user
  3. From this directory, delete the file named maildirsize
  4. Once this file is deleted, the system should reform the mail account automatically with the correct mailbox quota size upon new email activity.

Notes: 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.


Was this answer helpful?

« Back