docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec dovecot-mailcow doveadm mailbox list -u user@example.com

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec dovecot-mailcow doveadm mailbox list -u user@example.com

List every mailbox folder of a user

mailbox list enumerates all folders the user has, including subscribed and hidden ones. Compare it with what the mail client shows to find subscriptions that drifted. Add the -s flag to list only subscribed folders.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.