To fix/recalculate the size of mailbox you can run below command
/scripts/generate_maildirsize --verbose --force --confirm USERNAME
Notes
To fix/recalculate the size of mailbox you can run below command
/scripts/generate_maildirsize --verbose --force --confirm USERNAME