doveadm mailbox status -u user@example.com messages INBOX

Category: Mail Servers & Postfix

doveadm mailbox status -u user@example.com messages INBOX

Show message counts for a mailbox

Reports the requested status field for a folder; `messages` gives the message count and you can add fields like `unseen` or `vsize` in one quoted list. Omit the mailbox argument to default to INBOX. Add -f table for aligned column output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.