Search K
Appearance
Appearance
doveadm [GLOBAL OPTIONS] index [-S socket_path] -A [-q] [-n max_recent] mailbox
doveadm [GLOBAL OPTIONS] index [-S socket_path] -F file [-q] [-n max_recent] mailbox
doveadm [GLOBAL OPTIONS] index [-S socket_path] --no-userdb-lookup [-q] [-n max_recent] mailbox
doveadm [GLOBAL OPTIONS] index [-S socket_path] -u user [-q] [-n max_recent] mailbox
Add unindexed messages in a mailbox into index/cache file. If full text search is enabled, also add unindexed messages to the fts database.
The caching adds only the fields that were previously added to the mailbox's caching decisions, so it won't do anything useful for mailboxes that user's client hasn't accessed yet. You can use doveadm dump command to show a specific mailbox's current caching decisions.
Messages can also be added automatically to full text search index using:
plugin {
...
fts_autoindex = yes
}
doveadm(1)
process. Some backends can't handle multiple processes updating the indexes simultaneously, so -q should usually be used on production.Index bob's INBOX:
$ doveadm index -u bob INBOX