If you are getting the following error:
invalid maildirsize file on your cpanel server while changing a quota in the email accounts section of your cPanel,
This is because your mailbox may be corrupt. The "invalid maildirsize file" error can be easily corrected by renaming /removing maildirsize file from users email account .
Quote:
|
error invalid maildirsize file
|
login to server with root user .
cd /home/username/mail/domain.com/email_account]
mv maildirsize bak-maildirsize
OR
rm -f maildirsize
You can also do it from cpanel itself .
Quote:
1. Log into cPanel
2. Goto File Manager section.
3. Select folder icon next to the mail folder
4. Click on the folder icon next to the domain name
5. Click on the folder icon next to the email user name
6. Click on the file called maildirsize in that folder (don’t click on the icon but the file’s name itself).
7. Right click your mouse and click to delete the file. Once you delete it, it will reform for the account automatically and it should then have the correct quota size.
|
Now your issue will get resolved .