I found that when the mailbox name contains special characters such as \x7f, when the doveadm quota recalc -u xxx command is executed, the messages under the mailbox name with special characters will not be counted.

doveadm  mailbox list -u xxx

Actual mailbox name:

doveadm quota recalc -u xxx,  Mail under 'INBOX.Metaltex' will not be counted.

hfh@cndns.com