1

Topic: erroneus mailbox size

Im using iRedMail 0.9.6 and iRedAdmin PRO for mysql ver. 2.5.0 on Centos 6, apache webserver

I have an user in some domain with a 500MB quota, then on the list of users of this domain, as shown in the iRedAdmin PRO web interfase, it shows a green line and say that there are 812 mails into the user mailbox ans some 400 MB of space used, but in the real phisical mailbox there are no mail at all, if you login by the rouncube webmail, it shows also no mail, but it say at tha last line of the screen that the mailbox is used by a 77%
How I can do to synchronise the real size of the mailbox? or what the problem can be?

Thanks in advance for any help to resolve this issue
Juan

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: erroneus mailbox size

This problem was solved recalculating the mailbox size with a doveadm command

doveadm recalc -u user@domain

maybe is a good idea add a crontab to do it weekly for all mailboxes and keep updated the real size

3

Re: erroneus mailbox size

This issue happens when sysadmin remove mail messages on file system manually, for example, remove with 'rm'. It won't trigger Dovecot to recalculate mailbox size. But adding new email message like copying a message file to mailbox will trigger it (Dovecot will detect the new mail). So, a cron job to run doveadm to re-calculate mailbox size is totally unnecessary.

So the question is: did you do the 'rm' (-like) action manually?