doveadm-dump - Dump the content of Dovecot's binary mailbox index/log
doveadm [-Dv] dump [-t type] path
Dovecot uses several binary index and log files in order to improve performance for accessing mails. For some mailbox formats, such as sdbox and mdbox, the index files are part of the format itself. For details about index files, see also: https://doc.dovecot.org/developer_manual/design/indexes/mail_index_api/
doveadm dump is used to show the contents of those mailbox index/log files, in human readable format. This is mainly useful for Dovecot developers when debugging some problem.
Global doveadm(1) options:
- Enables verbosity and debug messages.
- -o setting=value
- Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
- Enables verbosity, including progress counter.
Command specific options:
- -t type
- the file type of the file to be dumped. If the type was omitted, doveadm(1) tries to detect the type of path. type can be:
- ⇒ m.n (sdbox or mdbox mailbox file)
- Dump the list of expunged mails in dovecot-expunges.log.
- Dump the keywords indexed in fts-flatcurve indexes directory and their frequencies.
- Decompress an IMAP traffic log, which contains data compressed using the IMAP COMPRESSION extension.
- Dump metadata of a dcrypt encrypted file.
- Dump metadata of a dcrypt key.
- ⇒ dovecot.index, dovecot.map.index
- ⇒ dovecot.index.log, dovecot.map.index.log
- ⇒ dovecot.mailbox.log
- ⇒ dovecot.index.thread
- The path to the corresponding dbox storage, index or log file. If only a directory is specified, doveadm tries to detect the type of files under it and dumps them.
Look at the contents of a mailbox's index:
doveadm dump ~/Maildir/.work/
See Also ☜