DOVEADM-INDEXER(1)

πŸ“¦
version 2.4.5 Β· 4 versions
, in alpine 3.23, alpine 3.24, arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– DOVEADM-INDEXER πŸ’–

okay bestie, so this is the manual for doveadm-indexer, which lives in section 1 of the Dovecot man pages. it's all about managing the indexer process β€” like, the little guy that quietly does the indexing so you don't have to think about it. very behind-the-scenes, very demure. πŸŽ€


✨ SYNOPSIS ✨

doveadm [GLOBAL OPTIONS] indexer command [OPTIONS] [ARGUMENTS]

🌸 DESCRIPTION 🌸

so doveadm indexer is the vibe-check-and-control panel for the indexer process. that's it. that's the whole job. you use it to manage the indexer. slay. πŸ’…


🌈 GLOBAL OPTIONS 🌈

these are the global doveadm(1) options, and yes they apply here too, they're basically the shared accessories of the whole doveadm closet:

  • -D β€” turns on verbosity AND debug messages. it's giving "tell me everything" energy. πŸ”₯
  • -O β€” do NOT read any config file, just use defaults. lowkey feral but okay. the dovecot_storage_version setting defaults to the latest version, but you can override it with -o.
  • -k β€” preserve the entire environment for doveadm, not just the import_environment setting. full main character treatment for your env vars. ✨
  • -v β€” enables verbosity, including a progress counter. so you can watch the little bar go. obsessed. πŸ“Š
  • -i instance-name β€” if you're running multiple Dovecot instances, pick the config file based on this instance name. see the instance_name setting for more info. multitasking icon.
  • -c config-file β€” read configuration from the given config-file. by default it first reads the config socket, and then falls back to /etc/dovecot/dovecot.conf. you can also point this at the config socket of some instance running a compatible version. flexible fr fr. πŸ’œ
  • -o setting=value β€” overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. and if you need to override multiple settings? just say -o again. and again. as many times as your heart desires. πŸ’–
  • -f formatter β€” specifies the formatter for formatting the output. the supported formatters are:
    • flow β€” prints each line with key=value pairs.
    • json β€” prints a JSON array of JSON objects.
    • pager β€” prints each key: value pair on its own line and separates records with form feed character (^L).
    • tab β€” prints a table header followed by tab separated value lines.
    • table β€” prints a table header followed by adjusted value lines.

πŸ‘‘ COMMANDS πŸ‘‘

πŸ¦‹ indexer add

doveadm [GLOBAL OPTIONS] indexer add [-h] [-n max_recent] user mailbox

adds an indexing request for the given user and the mailbox to the indexer queue. it works the exact same way as the doveadm index -q command. same energy, different door. πŸšͺ✨

  • -h β€” add the indexing request to the head of the queue. by default the request is added to the tail of the queue. cut the line, queen. πŸ’…
  • -n max_recent β€” an integer value that specifies the maximum number of \Recent messages in mailboxes. if the mailbox contains more than max_recent messages with the \Recent flag set, the mailbox will not be indexed. this may be useful to avoid unnecessary indexing for large mailboxes that are never opened. it's giving "if it's not gonna be read, why bother" and honestly? valid. πŸ™ˆ

🧚 indexer remove

doveadm [GLOBAL OPTIONS] indexer remove user_mask [mailbox_mask]

removes all indexer requests for the matching user_mask (and mailbox_mask). wildcards are allowed, so go wild with it. requests that are currently being processed by indexer-worker are not listed β€” use doveadm kick instead to kick them. bye bestie, blocked. 😭

⭐ indexer list

doveadm [GLOBAL OPTIONS] indexer list user_mask

lists all the queued indexing requests matching user_mask. wildcards are allowed here too. requests that are currently being processed by indexer-worker are not listed β€” use doveadm who instead to see them. snoop responsibly. πŸ‘€


πŸ“ REPORTING BUGS πŸ“

found a bug? report it, including doveconf -n output, to the Dovecot Mailing List ⟨dovecot@dovecot.org⟩. info about reporting bugs lives at: ⟨https://dovecot.org/bugreport.html⟩. please include the config, we are begging. 🫢


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie!! πŸ’– this beauty is Dovecot's doveadm-indexer(1), source version f979264, dated April 2026. go forth and index responsibly. mwah. 😘🌸

πŸ“¦ where this page comes from