{
  "doveadm": {
    "altmove": {
      "cli_only_cmd": false,
      "args": [
        {
          "flag": "-r",
          "param": "reverse",
          "type": "boolean",
          "text": "<p>Do a reverse move.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-altmove",
      "text": "<p>Move mails between primary and alternative mailbox storage locations.</p>\n<div class=\"warning custom-block\"><p class=\"custom-block-title\">WARNING</p>\n<p>Applicable to <a href=\"/main/core/config/mailbox_formats/dbox.html#multi-dbox-mdbox\">mdbox</a> and <a href=\"/main/core/config/mailbox_formats/dbox.html#single-dbox-sdbox\">sdbox</a> mailbox formats only.</p>\n</div>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-altmove.1.html#altmove\">doveadm-altmove(1)</a></code>",
      "usage": "altmove [-r] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "altmove"
    },
    "acl add": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to add to.</p>\n"
        },
        {
          "example": "acl_id",
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>ID to add to.</p>\n"
        },
        {
          "example": [
            "r",
            "w"
          ],
          "flag": "right",
          "param": "right",
          "type": "array",
          "text": "<p>ACL rights to add.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Add ACL rights.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-add\">doveadm-acl(1)</a></code>",
      "usage": "acl add <mailbox> <id> <right> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclAdd"
    },
    "acl debug": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to query.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Explain access rights for a mailbox/user.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-debug\">doveadm-acl(1)</a></code>",
      "usage": "acl debug <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclDebug"
    },
    "acl delete": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to delete.</p>\n"
        },
        {
          "example": "acl_id",
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>ID to delete.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Delete an ACL entry.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-delete\">doveadm-acl(1)</a></code>",
      "usage": "acl delete <mailbox> <id> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclDelete"
    },
    "acl get": {
      "args": [
        {
          "flag": "-m",
          "param": "matchMe",
          "type": "boolean"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to query.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Show ACLs.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-get\">doveadm-acl(1)</a></code>",
      "usage": "acl get [-m] <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclGet"
    },
    "acl recalc": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Ensure shared mailboxes exist in ACL shared dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-recalc\">doveadm-acl(1)</a></code>",
      "usage": "acl recalc [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclRecalc"
    },
    "acl remove": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to remove rights from.</p>\n"
        },
        {
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>ID to remove.</p>\n"
        },
        {
          "flag": "right",
          "param": "right",
          "type": "array",
          "text": "<p>ACL rights to remove.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Remove ACL rights.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-remove\">doveadm-acl(1)</a></code>",
      "usage": "acl remove <mailbox> <id> <right> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclRemove"
    },
    "acl rights": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to show.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Show current ACL rights.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-rights\">doveadm-acl(1)</a></code>",
      "usage": "acl rights <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclRights"
    },
    "acl set": {
      "args": [
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to replace rights.</p>\n"
        },
        {
          "example": "acl_id",
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>ID to replace.</p>\n"
        },
        {
          "example": [
            "r",
            "w"
          ],
          "flag": "right",
          "param": "right",
          "type": "array",
          "text": "<p>ACL rights to replace.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "man": "doveadm-acl",
      "plugin": "acl",
      "text": "<p>Replaces ACL rights.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-acl.1.html#acl-set\">doveadm-acl(1)</a></code>",
      "usage": "acl set <mailbox> <id> <right> [-A] [-S socket-path] [-u user]",
      "http_cmd": "aclSet"
    },
    "auth cache flush": {
      "args": [
        {
          "cli_only": false,
          "example": "/run/dovecot/doveadm-server",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username_?",
          "flag": "user-mask",
          "param": "userMask",
          "type": "array",
          "text": "<p>user-mask of users to apply operation to.</p>\n"
        }
      ],
      "response": {
        "example": {
          "entries": 1
        },
        "text": "<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>entries</code></td>\n<td>The number of cache entries flushed.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man": "doveadm-auth",
      "text": "<p>Flush authentication cache.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-auth.1.html#auth-cache-flush\">doveadm-auth(1)</a></code>",
      "usage": "auth cache flush [-a socket-path] <user mask>",
      "http_cmd": "authCacheFlush"
    },
    "auth login": {
      "cli_only_cmd": true,
      "args": [
        {
          "cli_only": true,
          "example": "/var/run/dovecot/auth-login",
          "flag": "-a",
          "param": "authLoginSocketPath",
          "type": "string"
        },
        {
          "cli_only": true,
          "example": "/var/run/dovecot/auth-master",
          "flag": "-m",
          "param": "authMasterSocketPath",
          "type": "string"
        },
        {
          "example": "PLAIN",
          "flag": "-A",
          "param": "saslMech",
          "type": "string"
        },
        {
          "flag": "-x",
          "param": "authInfo",
          "type": "array",
          "text": "<p>Specifies additional conditions for the user command.</p>\n"
        },
        {
          "example": "masteruser",
          "flag": "-M",
          "param": "masterUser",
          "type": "string",
          "text": "<p>Master user.</p>\n"
        },
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>Login UID.</p>\n"
        },
        {
          "example": "password",
          "flag": "password",
          "param": "password",
          "type": "string",
          "text": "<p>Login Password.</p>\n"
        }
      ],
      "man": "doveadm-auth",
      "text": "<p>Test full login.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-auth.1.html#auth-login\">doveadm-auth(1)</a></code>",
      "usage": "auth login [-a auth-login-socket-path] [-m auth-master-socket-path] [-A sasl-mech] [-x auth-info] [-M master-user] <user> [password]",
      "http_cmd": "authLogin"
    },
    "auth lookup": {
      "cli_only_cmd": true,
      "args": [
        {
          "cli_only": true,
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "flag": "-x",
          "param": "authInfo",
          "type": "array",
          "text": "<p>Specifies additional conditions for the user command.</p>\n"
        },
        {
          "example": "fieldname",
          "flag": "-f",
          "param": "field",
          "type": "string",
          "text": "<p>Only return value of this field.</p>\n"
        },
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "array",
          "text": "<p>UID of user to query.</p>\n"
        }
      ],
      "man": "doveadm-auth",
      "text": "<p>Perform a passdb lookup.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-auth.1.html#auth-lookup\">doveadm-auth(1)</a></code>",
      "usage": "auth lookup [-a socket-path] [-x auth-info] [-f field] <user>",
      "http_cmd": "authLookup"
    },
    "auth test": {
      "cli_only_cmd": true,
      "args": [
        {
          "cli_only": true,
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "PLAIN",
          "flag": "-A",
          "param": "saslMech",
          "type": "string"
        },
        {
          "flag": "-x",
          "param": "authInfo",
          "type": "array",
          "text": "<p>Specifies additional conditions for the user command.</p>\n"
        },
        {
          "example": "masteruser",
          "flag": "-M",
          "param": "masterUser",
          "type": "string",
          "text": "<p>Master user.</p>\n"
        },
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>Login UID.</p>\n"
        },
        {
          "example": "password",
          "flag": "password",
          "param": "password",
          "type": "string",
          "text": "<p>Login password.</p>\n"
        }
      ],
      "man": "doveadm-auth",
      "text": "<p>Test authentication for a user.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-auth.1.html#auth-test\">doveadm-auth(1)</a></code>",
      "usage": "auth test [-a socket-path] [-A sasl-mech] [-x auth-info] [-M master-user] <user> [password]",
      "http_cmd": "authTest"
    },
    "backup": {
      "args": [
        {
          "flag": "-f",
          "param": "fullSync",
          "type": "boolean",
          "text": "<p>Full sync.</p>\n"
        },
        {
          "flag": "-P",
          "param": "purgeRemote",
          "type": "boolean",
          "text": "<p>Purge destination after sync.</p>\n"
        },
        {
          "flag": "-R",
          "param": "reverseSync",
          "type": "boolean",
          "text": "<p>Do a reverse sync.</p>\n"
        },
        {
          "example": 60,
          "flag": "-l",
          "param": "lockTimeout",
          "type": "integer",
          "text": "<p>Lock timeout for the user (in seconds).</p>\n"
        },
        {
          "example": "rawlog_name",
          "flag": "-r",
          "param": "rawlog",
          "type": "string",
          "text": "<p>Write rawlog to this file.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "-m",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Sync only this mailbox.</p>\n"
        },
        {
          "example": "mailbox_guid",
          "flag": "-g",
          "param": "mailboxGuid",
          "type": "string",
          "text": "<p>Sync only this mailbox GUID.</p>\n"
        },
        {
          "example": [
            "namespace"
          ],
          "flag": "-n",
          "param": "namespace",
          "type": "array",
          "text": "<p>Sync only these namespaces.</p>\n"
        },
        {
          "flag": "-N",
          "param": "allNamespaces",
          "type": "boolean",
          "text": "<p>Sync all namespaces.</p>\n"
        },
        {
          "example": [
            "excluded_mailbox"
          ],
          "flag": "-x",
          "param": "excludeMailbox",
          "type": "array",
          "text": "<p>Exclude these mailbox names/masks.</p>\n"
        },
        {
          "example": "VirtualAll",
          "flag": "-a",
          "param": "allMailbox",
          "type": "string",
          "text": "<p>The name of the virtual All mailbox.</p>\n"
        },
        {
          "example": "state_string",
          "flag": "-s",
          "param": "state",
          "type": "string",
          "text": "<p>State string of last dsync run.</p>\n"
        },
        {
          "example": "7 days",
          "flag": "-t",
          "param": "syncSinceTime",
          "type": "string",
          "text": "<p>Sync since timestamp.</p>\n<p>Allowable formats:</p>\n<ul>\n<li>yyyy-mm-dd (non-UTC),</li>\n<li>IMAP date (&quot;dd-mm-yyyy&quot;; see <a target=\"_blank\" rel=\"noreferrer\" href=\"https://datatracker.ietf.org/doc/html/rfc3501\">RFC 3501</a>) (non-UTC)</li>\n<li>IMAP date-time (&quot;dd-mm-yyy HH:MM:SS +0000; see <a target=\"_blank\" rel=\"noreferrer\" href=\"https://datatracker.ietf.org/doc/html/rfc3501\">RFC 3501</a>) (UTC supported)</li>\n<li>Unix timestamp (UTC supported)</li>\n<li>Interval (&quot;n days&quot;, UTC supported)</li>\n</ul>\n"
        },
        {
          "example": "1 day",
          "flag": "-e",
          "param": "syncUntilTime",
          "type": "string",
          "text": "<p>Sync until timestamp.</p>\n<p>Allowable formats:</p>\n<ul>\n<li>yyyy-mm-dd (non-UTC),</li>\n<li>IMAP date (&quot;dd-mm-yyyy&quot;; see <a target=\"_blank\" rel=\"noreferrer\" href=\"https://datatracker.ietf.org/doc/html/rfc3501\">RFC 3501</a>) (non-UTC)</li>\n<li>IMAP date-time (&quot;dd-mm-yyy HH:MM:SS +0000; see <a target=\"_blank\" rel=\"noreferrer\" href=\"https://datatracker.ietf.org/doc/html/rfc3501\">RFC 3501</a>) (UTC supported)</li>\n<li>Unix timestamp (UTC supported)</li>\n<li>Interval (&quot;n days&quot;, UTC supported)</li>\n</ul>\n"
        },
        {
          "example": "\\deleted",
          "flag": "-O",
          "param": "syncFlags",
          "type": "string",
          "text": "<p>Sync only mails that have the specified flag. If the flag name begins with\n<code>-</code>, sync all mails except the ones with the specified flag.</p>\n"
        },
        {
          "example": "20M",
          "flag": "-I",
          "param": "syncMaxSize",
          "type": "string",
          "text": "<p>Skip any mails larger than the specified size.</p>\n<p>Format: <a href=\"/main/core/settings/types.html#size\">size</a></p>\n"
        },
        {
          "example": 60,
          "flag": "-T",
          "param": "timeout",
          "type": "integer",
          "text": "<p>Timeout (in seconds).</p>\n"
        },
        {
          "flag": "-d",
          "param": "defaultDestination",
          "type": "boolean",
          "text": "<p>Use the default destination.</p>\n"
        },
        {
          "flag": "-E",
          "param": "legacyDsync",
          "type": "boolean",
          "text": "<p>Use legacy dsync.</p>\n"
        },
        {
          "flag": "destination",
          "param": "destination",
          "type": "array",
          "text": "<p>The synchronized destination. See <code><a href=\"/main/core/man/doveadm-sync.1.html\">doveadm-sync(1)</a></code> for options.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-sync",
      "text": "<p>Dovecot's mailbox synchronization utility.</p>\n<p>This command cannot be used safely via API by untrusted users.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sync.1.html#backup\">doveadm-sync(1)</a></code>",
      "usage": "backup [-f] [-P] [-R] [-l lock-timeout] [-r rawlog] [-m mailbox] [-g mailbox-guid] [-n namespace] [-N] [-x exclude-mailbox] [-a all-mailbox] [-s state] [-t sync-since-time] [-e sync-until-time] [-O sync-flags] [-I sync-max-size] [-T timeout] [-d] [-E] <destination> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "backup"
    },
    "compress connect": {
      "cli_only_cmd": true,
      "args": [
        {
          "example": "hostname",
          "flag": "host",
          "param": "host",
          "type": "string",
          "text": "<p>Hostname to connect to.</p>\n"
        },
        {
          "example": "123",
          "flag": "port",
          "param": "port",
          "type": "integer",
          "text": "<p>Port to connect to.</p>\n"
        }
      ],
      "man": "doveadm-compress-connect",
      "text": "<p>Connects to a compression-enabled IMAP service.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-compress-connect.1.html#compress-connect\">doveadm-compress-connect(1)</a></code>",
      "usage": "compress connect <host> [port]",
      "http_cmd": "compressConnect"
    },
    "config": {
      "cli_only_cmd": true,
      "args": [
        {
          "flag": "-a",
          "param": "a",
          "type": "boolean",
          "text": "<p>Show all settings.</p>\n"
        },
        {
          "flag": "-C",
          "param": "C",
          "type": "boolean",
          "text": "<p>TODO (check full config).</p>\n"
        },
        {
          "example": "/etc/dovecot/dovecot.conf",
          "flag": "-c",
          "param": "c",
          "type": "string",
          "text": "<p>Read configuration from this file.</p>\n"
        },
        {
          "flag": "-d",
          "param": "d",
          "type": "boolean",
          "text": "<p>Show setting's default value.</p>\n"
        },
        {
          "flag": "-F",
          "param": "F",
          "type": "boolean",
          "text": "<p>Show the configuration in a filter-based format.</p>\n"
        },
        {
          "example": "protocol=imap",
          "flag": "-f",
          "param": "f",
          "type": "string",
          "text": "<p>Apply filters to limit output.</p>\n"
        },
        {
          "flag": "-h",
          "param": "h",
          "type": "boolean",
          "text": "<p>Hide the setting's name.</p>\n"
        },
        {
          "flag": "-I",
          "param": "I",
          "type": "boolean",
          "text": "<p>TODO (dump config import).</p>\n"
        },
        {
          "flag": "-N",
          "param": "N",
          "type": "boolean",
          "text": "<p>Show settings with non-default values and explicitly set default values.</p>\n"
        },
        {
          "flag": "-n",
          "param": "n",
          "type": "boolean",
          "text": "<p>Show only settings with non-default values.</p>\n"
        },
        {
          "flag": "-P",
          "param": "P",
          "type": "boolean",
          "text": "<p>Show passwords and other sensitive values.</p>\n"
        },
        {
          "flag": "-s",
          "param": "s",
          "type": "boolean",
          "text": "<p>Show hidden settings.</p>\n"
        },
        {
          "flag": "-U",
          "param": "U",
          "type": "boolean",
          "text": "<p>Ignore unknown settings.</p>\n"
        },
        {
          "flag": "-w",
          "param": "w",
          "type": "boolean",
          "text": "<p>TODO (hide obsolete warnings).</p>\n"
        },
        {
          "flag": "-x",
          "param": "x",
          "type": "boolean",
          "text": "<p>Expand variables and show file contents.</p>\n"
        },
        {
          "example": "namespace",
          "flag": "section_name",
          "param": "section_name",
          "type": "string",
          "text": "<p>Show only the configuration of these section names.</p>\n"
        },
        {
          "example": "mailbox",
          "flag": "setting_name",
          "param": "setting_name",
          "type": "string",
          "text": "<p>Show only the configuration of these setting names.</p>\n"
        }
      ],
      "man": "doveconf",
      "text": "<p>Read and parse Dovecot's configuration files.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveconf.1.html#config\">doveconf(1)</a></code>",
      "usage": "config [-a] [-C] [-c c] [-d] [-F] [-f f] [-h] [-I] [-N] [-n] [-P] [-s] [-U] [-w] [-x] [section_name] [setting_name]",
      "http_cmd": "config"
    },
    "copy": {
      "args": [
        {
          "example": "Test",
          "flag": "destination-mailbox",
          "param": "destinationMailbox",
          "type": "string",
          "text": "<p>The destination mailbox.</p>\n"
        },
        {
          "example": "sourceuser",
          "flag": "source-user",
          "param": "sourceUser",
          "type": "string",
          "text": "<p>Apply the search query to this user's <code>mail_location</code>.</p>\n<p>For CLI use, this is specified by adding the keyword <code>user</code> followed by\nthe source user name, e.g., <code>user sourceuser</code>.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-copy",
      "text": "<p>Copy messages matching the given search query into another mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-copy.1.html#copy\">doveadm-copy(1)</a></code>",
      "usage": "copy <destination mailbox> [source user] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "copy"
    },
    "deduplicate": {
      "args": [
        {
          "flag": "-m",
          "param": "byMsgId",
          "type": "boolean",
          "text": "<p>Deduplicate by Message-Id header. By default deduplication will be done by message GUIDs.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-deduplicate",
      "text": "<p>Expunge duplicated messages in mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-deduplicate.1.html#deduplicate\">doveadm-deduplicate(1)</a></code>",
      "usage": "deduplicate [-m] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "deduplicate"
    },
    "dict get": {
      "args": [
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>uid of user to query.</p>\n"
        },
        {
          "example": "dict_label",
          "flag": "dict-uri",
          "param": "dictUri",
          "type": "string",
          "text": "<p>URI for dictionary to query.</p>\n"
        },
        {
          "example": "example_key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>Key to query.</p>\n"
        }
      ],
      "man": "doveadm-dict",
      "text": "<p>Get key value from configured dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dict.1.html#dict-get\">doveadm-dict(1)</a></code>",
      "usage": "dict get [-u user] <dict uri> <key>",
      "http_cmd": "dictGet"
    },
    "dict inc": {
      "args": [
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>uid of user to modify.</p>\n"
        },
        {
          "example": "dict_label",
          "flag": "dict-uri",
          "param": "dictUri",
          "type": "string",
          "text": "<p>URI for dictionary to query.</p>\n"
        },
        {
          "example": "example_key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>Key to query.</p>\n"
        },
        {
          "example": 1,
          "flag": "difference",
          "param": "difference",
          "type": "integer",
          "text": "<p>The amount to increment.</p>\n"
        }
      ],
      "man": "doveadm-dict",
      "text": "<p>Increase key value in dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dict.1.html#dict-inc\">doveadm-dict(1)</a></code>",
      "usage": "dict inc [-u user] <dict uri> <key> <difference>",
      "http_cmd": "dictInc"
    },
    "dict iter": {
      "args": [
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>uid of user to query.</p>\n"
        },
        {
          "flag": "-1",
          "param": "exact",
          "type": "boolean",
          "text": "<p>List only exact matches.</p>\n"
        },
        {
          "flag": "-R",
          "param": "recurse",
          "type": "boolean",
          "text": "<p>Do recursive searches.</p>\n"
        },
        {
          "flag": "-V",
          "param": "noValue",
          "type": "boolean",
          "text": "<p>List keys that have no value set.</p>\n"
        },
        {
          "example": "dict_label",
          "flag": "dict-uri",
          "param": "dictUri",
          "type": "string",
          "text": "<p>URI for dictionary to query.</p>\n"
        },
        {
          "example": "testprefix",
          "flag": "prefix",
          "param": "prefix",
          "type": "string",
          "text": "<p>Search only keys with this prefix.</p>\n"
        }
      ],
      "man": "doveadm-dict",
      "text": "<p>List keys in dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dict.1.html#dict-iter\">doveadm-dict(1)</a></code>",
      "usage": "dict iter [-u user] [-1] [-R] [-V] <dict uri> <prefix>",
      "http_cmd": "dictIter"
    },
    "dict set": {
      "args": [
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>uid of user to query.</p>\n"
        },
        {
          "example": "dict_label",
          "flag": "dict-uri",
          "param": "dictUri",
          "type": "string",
          "text": "<p>URI for dictionary to query.</p>\n"
        },
        {
          "example": "example_key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>Key to query.</p>\n"
        },
        {
          "example": "value",
          "flag": "value",
          "param": "value",
          "type": "string",
          "text": "<p>Value to set.</p>\n"
        }
      ],
      "man": "doveadm-dict",
      "text": "<p>Set key value in configured dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dict.1.html#dict-set\">doveadm-dict(1)</a></code>",
      "usage": "dict set [-u user] <dict uri> <key> <value>",
      "http_cmd": "dictSet"
    },
    "dict unset": {
      "args": [
        {
          "example": "username",
          "flag": "--user",
          "param": "user",
          "type": "string",
          "text": "<p>uid of user to query.</p>\n"
        },
        {
          "example": "dict_label",
          "flag": "dict-uri",
          "param": "dictUri",
          "type": "string",
          "text": "<p>URI for dictionary to query.</p>\n"
        },
        {
          "example": "example_key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>Key to unset.</p>\n"
        }
      ],
      "man": "doveadm-dict",
      "text": "<p>Unset key value in configured dictionary.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dict.1.html#dict-unset\">doveadm-dict(1)</a></code>",
      "usage": "dict unset [--user user] <dict uri> <key>",
      "http_cmd": "dictUnset"
    },
    "dump": {
      "cli_only_cmd": true,
      "args": [
        {
          "example": "index",
          "flag": "-t",
          "param": "type",
          "type": "string",
          "text": "<p>The type of file to be dumped.</p>\n"
        },
        {
          "example": "/path/to/file",
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Path to the file specified by the type argument.</p>\n"
        },
        {
          "example": [
            "uid=123"
          ],
          "flag": "args",
          "param": "args",
          "type": "array",
          "text": "<p>Type specific arguments.</p>\n"
        }
      ],
      "man": "doveadm-dump",
      "text": "<p>Show contents of mailbox index/log files, in human readable format.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-dump.1.html#dump\">doveadm-dump(1)</a></code>",
      "usage": "dump [-t type] <path> [args]",
      "http_cmd": "dump"
    },
    "exec": {
      "cli_only_cmd": true,
      "args": [
        {
          "example": "dovecot-lda",
          "flag": "binary",
          "param": "binary",
          "type": "string",
          "text": "<p>The name of an executable located in <code>/usr/libexec/dovecot</code>.</p>\n"
        },
        {
          "example": [
            "-a arg1",
            "-b arg2"
          ],
          "flag": "args",
          "param": "args",
          "type": "array",
          "text": "<p>Options and arguments, which will be passed through to the binary.</p>\n"
        }
      ],
      "man": "doveadm-exec",
      "text": "<p>Execute commands from within <code>/usr/libexec/dovecot</code>.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-exec.1.html#exec\">doveadm-exec(1)</a></code>",
      "usage": "exec <binary> [args]",
      "http_cmd": "exec"
    },
    "expunge": {
      "args": [
        {
          "flag": "-d",
          "param": "deleteEmptyMailbox",
          "type": "boolean",
          "text": "<p>Delete mailbox if empty after expunge has been applied.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-expunge",
      "text": "<p>Expunge messages matching given search query.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-expunge.1.html#expunge\">doveadm-expunge(1)</a></code>",
      "usage": "expunge [-d] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "expunge"
    },
    "fetch": {
      "args": [
        {
          "example": [
            "text"
          ],
          "flag": "--field",
          "param": "field",
          "type": "array",
          "text": "<p>Search fields to fetch.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-fetch",
      "text": "<p>Fetch mail data from user mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fetch.1.html#fetch\">doveadm-fetch(1)</a></code>",
      "usage": "fetch [--field field] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "fetch"
    },
    "flags add": {
      "args": [
        {
          "example": [
            "\\flag1"
          ],
          "flag": "--flag",
          "param": "flag",
          "type": "array",
          "text": "<p>List of flags to add.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-flags",
      "text": "<p>Add flags to message(s).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-flags.1.html#flags-add\">doveadm-flags(1)</a></code>",
      "usage": "flags add [--flag flag] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "flagsAdd"
    },
    "flags remove": {
      "args": [
        {
          "example": [
            "\\flag1"
          ],
          "flag": "--flag",
          "param": "flag",
          "type": "array",
          "text": "<p>List of flags to remove.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-flags",
      "text": "<p>Remove flags from message(s).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-flags.1.html#flags-remove\">doveadm-flags(1)</a></code>",
      "usage": "flags remove [--flag flag] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "flagsRemove"
    },
    "flags replace": {
      "args": [
        {
          "example": [
            "\\flag1"
          ],
          "flag": "--flag",
          "param": "flag",
          "type": "array",
          "text": "<p>List of flags to replace with.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-flags",
      "text": "<p>Replace flags with another flag in message or messages. Replaces all current flags with the ones in the parameter list.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-flags.1.html#flags-replace\">doveadm-flags(1)</a></code>",
      "usage": "flags replace [--flag flag] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "flagsReplace"
    },
    "force resync": {
      "args": [
        {
          "flag": "-f",
          "param": "fsck",
          "type": "boolean"
        },
        {
          "flag": "--mailbox-mask",
          "param": "mailboxMask",
          "type": "string",
          "text": "<p>Mask of mailboxes to fix.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-force-resync",
      "text": "<p>Under certain circumstances Dovecot may be unable to automatically solve problems with mailboxes. In such situations the force-resync command may be helpful. It tries to fix all problems. For <a href=\"/main/core/config/mailbox_formats/dbox.html#single-dbox-sdbox\">sdbox</a> and <a href=\"/main/core/config/mailbox_formats/dbox.html#multi-dbox-mdbox\">mdbox</a> mailboxes the storage files will be also checked.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-force-resync.1.html#force-resync\">doveadm-force-resync(1)</a></code>",
      "usage": "force resync [-f] [--mailbox-mask mailbox-mask] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "forceResync"
    },
    "fs copy": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "--source-path",
          "param": "sourcePath",
          "type": "string",
          "text": "<p>Source object path.</p>\n"
        },
        {
          "flag": "--destination-path",
          "param": "destinationPath",
          "type": "string",
          "text": "<p>Destination object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>Copy object in storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-copy\">doveadm-fs(1)</a></code>",
      "usage": "fs copy <filter name> [--source-path source-path] [--destination-path destination-path]",
      "http_cmd": "fsCopy"
    },
    "fs delete": {
      "args": [
        {
          "flag": "-R",
          "param": "recursive",
          "type": "boolean",
          "text": "<p>Do recursive delete of path.</p>\n"
        },
        {
          "flag": "-n",
          "param": "maxParallel",
          "type": "integer",
          "text": "<p>Max number of parallel workers.</p>\n"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>Delete object from storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-delete\">doveadm-fs(1)</a></code>",
      "usage": "fs delete [-R] [-n max-parallel] <filter name> <path>",
      "http_cmd": "fsDelete"
    },
    "fs get": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>Get object from storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-get\">doveadm-fs(1)</a></code>",
      "usage": "fs get <filter name> <path>",
      "http_cmd": "fsGet"
    },
    "fs iter": {
      "args": [
        {
          "flag": "-C",
          "param": "noCache",
          "type": "boolean"
        },
        {
          "flag": "-O",
          "param": "objectIds",
          "type": "boolean"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>List objects in fs path.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-iter\">doveadm-fs(1)</a></code>",
      "usage": "fs iter [-C] [-O] <filter name> <path>",
      "http_cmd": "fsIter"
    },
    "fs iter-dirs": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>List folders in fs path.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-iter-dirs\">doveadm-fs(1)</a></code>",
      "usage": "fs iter-dirs <filter name> <path>",
      "http_cmd": "fsIterDirs"
    },
    "fs metadata": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-metadata\">doveadm-fs(1)</a></code>",
      "usage": "fs metadata <filter name> <path>",
      "http_cmd": "fsMetadata"
    },
    "fs put": {
      "args": [
        {
          "flag": "-h",
          "param": "hash",
          "type": "string"
        },
        {
          "flag": "-m",
          "param": "metadata",
          "type": "array"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "input-path",
          "param": "inputPath",
          "type": "string",
          "text": "<p>Object input path.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>Store object in storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-put\">doveadm-fs(1)</a></code>",
      "usage": "fs put [-h hash] [-m metadata] <filter name> <input path> <path>",
      "http_cmd": "fsPut"
    },
    "fs stat": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        }
      ],
      "man": "doveadm-fs",
      "text": "<p>Retrieve files status for the path provided. Currently, only the total size (in bytes) of the item is returned.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fs.1.html#fs-stat\">doveadm-fs(1)</a></code>",
      "usage": "fs stat <filter name> <path>",
      "http_cmd": "fsStat"
    },
    "fts expand": {
      "args": [
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "plugin": "fts",
      "text": "<p>Expand query using FTS.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-expand\">doveadm-fts(1)</a></code>",
      "usage": "fts expand <query>",
      "http_cmd": "ftsExpand"
    },
    "fts lookup": {
      "args": [
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "plugin": "fts",
      "text": "<p>Search mail with FTS plugin.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-lookup\">doveadm-fts(1)</a></code>",
      "usage": "fts lookup <query>",
      "http_cmd": "ftsLookup"
    },
    "fts optimize": {
      "args": [
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace to optimize.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "plugin": "fts",
      "text": "<p>Optimize FTS data.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-optimize\">doveadm-fts(1)</a></code>",
      "usage": "fts optimize <namespace>",
      "http_cmd": "ftsOptimize"
    },
    "fts rescan": {
      "args": [
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace to rebuild.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "plugin": "fts",
      "text": "<p>Rebuild FTS indexes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-rescan\">doveadm-fts(1)</a></code>",
      "usage": "fts rescan <namespace>",
      "http_cmd": "ftsRescan"
    },
    "fts tokenize": {
      "args": [
        {
          "flag": "--language",
          "param": "language",
          "type": "string"
        },
        {
          "example": "c’est la vie",
          "flag": "text",
          "param": "text",
          "type": "array",
          "text": "<p>String to tokenize.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "plugin": "fts",
      "text": "<p>Search mail with FTS plugin.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-tokenize\">doveadm-fts(1)</a></code>",
      "usage": "fts tokenize [--language language] <text>",
      "http_cmd": "ftsTokenize"
    },
    "help": {
      "cli_only_cmd": true,
      "args": [
        {
          "example": "mailbox",
          "flag": "command",
          "param": "command",
          "type": "string",
          "text": "<p>The command/group to show the man page of.</p>\n"
        }
      ],
      "text": "<p>Provide doveadm usage information.</p>\n",
      "usage": "help [command]",
      "http_cmd": "help"
    },
    "import": {
      "args": [
        {
          "example": "sourceuser",
          "flag": "-U",
          "param": "sourceUser",
          "type": "string",
          "text": "<p>UID of user to apply import to.</p>\n"
        },
        {
          "flag": "-s",
          "param": "subscribe",
          "type": "boolean",
          "text": "<p>Newly created folders are also subscribed to.</p>\n"
        },
        {
          "example": "maildir:/backup/Maildir",
          "flag": "source-location",
          "param": "sourceLocation",
          "type": "string",
          "text": "<p>Location of source mailbox.</p>\n"
        },
        {
          "example": "backup",
          "flag": "dest-parent-mailbox",
          "param": "destParentMailbox",
          "type": "string",
          "text": "<p>Destination parent mailbox where to import.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-import",
      "text": "<p>Import messages matching given search query.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-import.1.html#import\">doveadm-import(1)</a></code>",
      "usage": "import [-U source-user] [-s] <source location> <dest parent mailbox> <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "import"
    },
    "index": {
      "args": [
        {
          "flag": "-q",
          "param": "queue",
          "type": "boolean",
          "text": "<p>Queue index operation for later execution.</p>\n"
        },
        {
          "example": 10,
          "flag": "-n",
          "param": "maxRecent",
          "type": "string",
          "text": "<p>Max number of recent mails to index.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "string",
          "text": "<p>Mailbox search mask to apply indexing to.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-index",
      "text": "<p>Index user mailbox folder or folders.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-index.1.html#index\">doveadm-index(1)</a></code>",
      "usage": "index [-q] [-n max-recent] <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "index"
    },
    "indexer add": {
      "args": [
        {
          "flag": "-h",
          "param": "head",
          "type": "boolean",
          "text": "<p>Add request to the head of the queue.</p>\n"
        },
        {
          "example": 10,
          "flag": "-n",
          "param": "maxRecent",
          "type": "string",
          "text": "<p>The maximum number of \\Recent messages in the mailboxes.</p>\n"
        },
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The user to add.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>The mailbox to index.</p>\n"
        }
      ],
      "man": "doveadm-indexer",
      "text": "<p>Add indexing request for the given user and the mailbox to the indexer queue.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-indexer.1.html#indexer-add\">doveadm-indexer(1)</a></code>",
      "usage": "indexer add [-h] [-n max-recent] <user> <mailbox>",
      "http_cmd": "indexerAdd"
    },
    "indexer list": {
      "args": [
        {
          "example": "username",
          "flag": "user-mask",
          "param": "userMask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        }
      ],
      "man": "doveadm-indexer",
      "text": "<p>List queued index requests.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-indexer.1.html#indexer-list\">doveadm-indexer(1)</a></code>",
      "usage": "indexer list [user mask]",
      "http_cmd": "indexerList"
    },
    "indexer remove": {
      "args": [
        {
          "example": "username",
          "flag": "user-mask",
          "param": "userMask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        },
        {
          "example": "Trash",
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "string",
          "text": "<p>The mailbox mask to remove.</p>\n"
        }
      ],
      "man": "doveadm-indexer",
      "text": "<p>Remove index requests.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-indexer.1.html#indexer-remove\">doveadm-indexer(1)</a></code>",
      "usage": "indexer remove <user mask> [mailbox mask]",
      "http_cmd": "indexerRemove"
    },
    "instance list": {
      "args": [
        {
          "flag": "-c",
          "param": "showConfig",
          "type": "boolean"
        },
        {
          "example": "instance_name",
          "flag": "name",
          "param": "name",
          "type": "string"
        }
      ],
      "man": "doveadm-instance",
      "text": "<p>List Dovecot instances.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-instance.1.html#instance-list\">doveadm-instance(1)</a></code>",
      "usage": "instance list [-c] [name]",
      "http_cmd": "instanceList"
    },
    "instance remove": {
      "args": [
        {
          "example": "instance_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The instance to remove.</p>\n"
        }
      ],
      "man": "doveadm-instance",
      "text": "<p>Remove Dovecot instances.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-instance.1.html#instance-remove\">doveadm-instance(1)</a></code>",
      "usage": "instance remove <name>",
      "http_cmd": "instanceRemove"
    },
    "kick": {
      "args": [
        {
          "cli_only": true,
          "example": "/rundir/anvil",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Anvil socket path.</p>\n"
        },
        {
          "example": "alt_username_field",
          "flag": "-f",
          "param": "passdbField",
          "type": "string",
          "text": "<p>Alternative username field to use for kicking.</p>\n"
        },
        {
          "example": "destination_host",
          "flag": "-h",
          "param": "destHost",
          "type": "string",
          "text": "<p>Disconnect proxy connections to this destination host.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "array",
          "text": "<p>UID mask.</p>\n"
        }
      ],
      "man": "doveadm-kick",
      "text": "<p>Kick user.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-kick.1.html#kick\">doveadm-kick(1)</a></code>",
      "usage": "kick [-a socket-path] [-f passdb-field] [-h dest-host] <mask>",
      "http_cmd": "kick"
    },
    "log errors": {
      "args": [
        {
          "example": 2147483647,
          "flag": "-c",
          "param": "since",
          "type": "integer",
          "text": "<p>Only show errors since this point in time (UNIX timestamp).</p>\n"
        }
      ],
      "man": "doveadm-log",
      "text": "<p>Fetch error logs.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-log.1.html#log-errors\">doveadm-log(1)</a></code>",
      "usage": "log errors [-c since]",
      "http_cmd": "logErrors"
    },
    "log find": {
      "args": [
        {
          "example": "/syslogd/write/path",
          "flag": "log-dir",
          "param": "logDir",
          "type": "string",
          "text": "<p>Specify directory where syslogd writes files.</p>\n"
        }
      ],
      "man": "doveadm-log",
      "text": "<p>Show the location of logs.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-log.1.html#log-find\">doveadm-log(1)</a></code>",
      "usage": "log find [log dir]",
      "http_cmd": "logFind"
    },
    "log reopen": {
      "man": "doveadm-log",
      "text": "<p>Cause master process to reopen all log files.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-log.1.html#log-reopen\">doveadm-log(1)</a></code>",
      "usage": "log reopen ",
      "http_cmd": "logReopen"
    },
    "log test": {
      "man": "doveadm-log",
      "text": "<p>Write a test message to the log files.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-log.1.html#log-test\">doveadm-log(1)</a></code>",
      "usage": "log test ",
      "http_cmd": "logTest"
    },
    "mail fs copy": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "--source-path",
          "param": "sourcePath",
          "type": "string",
          "text": "<p>Source object path.</p>\n"
        },
        {
          "flag": "--destination-path",
          "param": "destinationPath",
          "type": "string",
          "text": "<p>Destination object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>Copy object in storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-copy\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs copy <filter name> [--source-path source-path] [--destination-path destination-path] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsCopy"
    },
    "mail fs delete": {
      "args": [
        {
          "flag": "-R",
          "param": "recursive",
          "type": "boolean",
          "text": "<p>Do recursive delete of path.</p>\n"
        },
        {
          "flag": "-n",
          "param": "maxParallel",
          "type": "integer",
          "text": "<p>Max number of parallel workers.</p>\n"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>Delete object from storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-delete\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs delete [-R] [-n max-parallel] <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsDelete"
    },
    "mail fs get": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>Get object from storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-get\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs get <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsGet"
    },
    "mail fs iter": {
      "args": [
        {
          "flag": "-C",
          "param": "noCache",
          "type": "boolean"
        },
        {
          "flag": "-O",
          "param": "objectIds",
          "type": "boolean"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>List objects in fs path.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-iter\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs iter [-C] [-O] <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsIter"
    },
    "mail fs iter-dirs": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>List folders in fs path.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-iter-dirs\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs iter-dirs <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsIterDirs"
    },
    "mail fs metadata": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-metadata\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs metadata <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsMetadata"
    },
    "mail fs put": {
      "args": [
        {
          "flag": "-h",
          "param": "hash",
          "type": "string"
        },
        {
          "flag": "-m",
          "param": "metadata",
          "type": "array"
        },
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "input-path",
          "param": "inputPath",
          "type": "string",
          "text": "<p>Object input path.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>Store object in storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-put\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs put [-h hash] [-m metadata] <filter name> <input path> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsPut"
    },
    "mail fs stat": {
      "args": [
        {
          "flag": "filter-name",
          "param": "filterName",
          "type": "string",
          "text": "<p>Configuration filter name to use.</p>\n"
        },
        {
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Object path.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mail-fs",
      "text": "<p>Retrieve files status for the path provided. Currently, only the total size (in bytes) of the item is returned.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mail-fs.1.html#mail-fs-stat\">doveadm-mail-fs(1)</a></code>",
      "usage": "mail fs stat <filter name> <path> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailFsStat"
    },
    "mailbox cache decision": {
      "args": [
        {
          "flag": "-a",
          "param": "all",
          "type": "boolean",
          "text": "<p>List or change all fields.</p>\n"
        },
        {
          "example": "field1 field2",
          "flag": "-f",
          "param": "fieldstr",
          "type": "string",
          "text": "<p>List or change these fields (comma/space separated).</p>\n"
        },
        {
          "example": 2147483647,
          "flag": "-l",
          "param": "lastUsed",
          "type": "integer",
          "text": "<p>Set last used timestamp.</p>\n"
        },
        {
          "example": "yes",
          "flag": "-d",
          "param": "decision",
          "type": "string",
          "text": "<p>Set field caching decision</p>\n"
        },
        {
          "example": [
            "Trash"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailboxes to change cache decisions for.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>List or change caching decisions for field(s).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-cache-decision\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox cache decision [-a] [-f fieldstr] [-l last-used] [-d decision] <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxCacheDecision"
    },
    "mailbox cache purge": {
      "args": [
        {
          "example": [
            "Trash"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailboxes to purge index file.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Purge the dovecot.index.cache file.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-cache-purge\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox cache purge <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxCachePurge"
    },
    "mailbox cache remove": {
      "args": [
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Remove matching mails from the cache.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-cache-remove\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox cache remove <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxCacheRemove"
    },
    "mailbox create": {
      "args": [
        {
          "flag": "-s",
          "param": "subscriptions",
          "type": "boolean",
          "text": "<p>Add to subscription list.</p>\n"
        },
        {
          "example": "mailbox-guid",
          "flag": "-g",
          "param": "guid",
          "type": "string",
          "text": "<p>Create mailbox with this GUID.</p>\n"
        },
        {
          "example": [
            "Test"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailboxes to create.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Create mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-create\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox create [-s] [-g guid] <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxCreate"
    },
    "mailbox cryptokey generate": {
      "args": [
        {
          "flag": "-U",
          "param": "userKeyOnly",
          "type": "boolean",
          "text": "<p>Operate on user keypair only.</p>\n"
        },
        {
          "flag": "-R",
          "param": "reEncryptBoxKeys",
          "type": "boolean",
          "text": "<p>Re-encrypt all folder keys with current active user key</p>\n"
        },
        {
          "flag": "-f",
          "param": "force",
          "type": "boolean",
          "text": "<p>Force keypair creation, normally keypair is only created if none found.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox mask.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "plugin": "mail-crypt",
      "man": "doveadm-mailbox-cryptokey",
      "text": "<p>Generate new keypair for user or folder.</p>\n<p>To generate new active user key and re-encrypt all your keys with it can be\ndone with</p>\n<div class=\"language-sh vp-adaptive-theme\"><button title=\"Copy Code\" class=\"copy\"></button><span class=\"lang\">sh</span><pre class=\"shiki shiki-themes github-light github-dark vp-code\" tabindex=\"0\" v-pre=\"\"><code><span class=\"line\"><span style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">doveadm</span><span style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> mailbox</span><span style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> cryptokey</span><span style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> generate</span><span style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> -u</span><span style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> username</span><span style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> -UR</span></span></code></pre>\n</div><p>This can be used to generate new user keypair and re-encrypt and create folder\nkeys.</p>\n<div class=\"info custom-block\"><p class=\"custom-block-title\">INFO</p>\n<p>You must provide a password if you want to generate password-protected\nkeypair right away. You can also use <code><a href=\"/main/core/summaries/doveadm.html#mailbox cryptokey password\">doveadm mailbox cryptokey password</a></code>\nto secure it.</p>\n</div>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox-cryptokey.1.html#mailbox-cryptokey-generate\">doveadm-mailbox-cryptokey(1)</a></code>",
      "usage": "mailbox cryptokey generate [-U] [-R] [-f] <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "mailboxCryptokeyGenerate"
    },
    "mailbox cryptokey list": {
      "args": [
        {
          "flag": "-U",
          "param": "userKey",
          "type": "boolean",
          "text": "<p>Operate on user keypair only.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox mask.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "plugin": "mail-crypt",
      "man": "doveadm-mailbox-cryptokey",
      "text": "<p>List all keys for user or mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox-cryptokey.1.html#mailbox-cryptokey-list\">doveadm-mailbox-cryptokey(1)</a></code>",
      "usage": "mailbox cryptokey list [-U] <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "mailboxCryptokeyList"
    },
    "mailbox cryptokey export": {
      "args": [
        {
          "flag": "-U",
          "param": "userKey",
          "type": "boolean",
          "text": "<p>Operate on user keypair only.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox mask.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "plugin": "mail-crypt",
      "man": "doveadm-mailbox-cryptokey",
      "text": "<p>Exports user or folder private keys.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox-cryptokey.1.html#mailbox-cryptokey-export\">doveadm-mailbox-cryptokey(1)</a></code>",
      "usage": "mailbox cryptokey export [-U] <mailbox> [-A] [-S socket-path] [-u user]",
      "http_cmd": "mailboxCryptokeyExport"
    },
    "mailbox cryptokey password": {
      "args": [
        {
          "flag": "-C",
          "param": "clearPassword",
          "type": "boolean",
          "text": "<p>Clear password.</p>\n"
        },
        {
          "flag": "-N",
          "param": "askNewPassword",
          "type": "boolean",
          "text": "<p>Ask new password.</p>\n"
        },
        {
          "example": "newpassword",
          "flag": "-n",
          "param": "newPassword",
          "type": "string",
          "text": "<p>New password.</p>\n"
        },
        {
          "flag": "-O",
          "param": "askOldPassword",
          "type": "boolean",
          "text": "<p>Ask old password.</p>\n"
        },
        {
          "example": "oldpassword",
          "flag": "-o",
          "param": "oldPassword",
          "type": "string",
          "text": "<p>Old password.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        }
      ],
      "flags": 1,
      "plugin": "mail-crypt",
      "man": "doveadm-mailbox-cryptokey",
      "text": "<p>Sets, changes or clears password for user's private key.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox-cryptokey.1.html#mailbox-cryptokey-password\">doveadm-mailbox-cryptokey(1)</a></code>",
      "usage": "mailbox cryptokey password [-C] [-N] [-n new-password] [-O] [-o old-password] [-A] [-S socket-path] [-u user]",
      "http_cmd": "mailboxCryptokeyPassword"
    },
    "mailbox delete": {
      "args": [
        {
          "flag": "-e",
          "param": "requireEmpty",
          "type": "boolean",
          "text": "<p>Require mailboxes to be empty before deleting.</p>\n"
        },
        {
          "flag": "-s",
          "param": "subscriptions",
          "type": "boolean",
          "text": "<p>Unsubscribe deleted mailboxes.</p>\n"
        },
        {
          "flag": "-r",
          "param": "recursive",
          "type": "boolean",
          "text": "<p>Delete mailboxes recursively.</p>\n"
        },
        {
          "flag": "-Z",
          "param": "unsafe",
          "type": "boolean",
          "text": "<p>Delete mailboxes as efficiently as possible.</p>\n"
        },
        {
          "example": [
            "Test"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>The mailboxes to delete.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Delete mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-delete\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox delete [-e] [-s] [-r] [-Z] <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxDelete"
    },
    "mailbox metadata get": {
      "args": [
        {
          "flag": "-s",
          "param": "allowEmptyMailboxName",
          "type": "boolean",
          "text": "<p>Allow to specify an empty mailbox name string.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Target mailbox to query.</p>\n"
        },
        {
          "example": "key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>Metadata key to retrieve.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Get metadata for a mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-metadata-get\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox metadata get [-s] <mailbox> <key> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxMetadataGet"
    },
    "mailbox metadata list": {
      "args": [
        {
          "flag": "-s",
          "param": "allowEmptyMailboxName",
          "type": "boolean",
          "text": "<p>Allow to specify an empty mailbox name string.</p>\n"
        },
        {
          "flag": "-p",
          "param": "prependPrefix",
          "type": "boolean",
          "text": "<p>Prepend the prefix to results.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Target mailbox to query.</p>\n"
        },
        {
          "example": "key-prefix",
          "flag": "key-prefix",
          "param": "keyPrefix",
          "type": "string",
          "text": "<p>The key prefix to look for.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>List metadata for a mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-metadata-list\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox metadata list [-s] [-p] <mailbox> <key prefix> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxMetadataList"
    },
    "mailbox metadata set": {
      "args": [
        {
          "flag": "-s",
          "param": "allowEmptyMailboxName",
          "type": "boolean",
          "text": "<p>Allow to specify an empty mailbox name string.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Target mailbox.</p>\n"
        },
        {
          "example": "key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>The key to add.</p>\n"
        },
        {
          "example": "value",
          "flag": "value",
          "param": "value",
          "type": "string",
          "text": "<p>The value to add.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Set metadata for a mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-metadata-set\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox metadata set [-s] <mailbox> <key> <value> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxMetadataSet"
    },
    "mailbox metadata unset": {
      "args": [
        {
          "flag": "-s",
          "param": "allowEmptyMailboxName",
          "type": "boolean",
          "text": "<p>Allow to specify an empty mailbox name string.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Target mailbox.</p>\n"
        },
        {
          "example": "key",
          "flag": "key",
          "param": "key",
          "type": "string",
          "text": "<p>The key to delete.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Unset metadata for a mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-metadata-unset\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox metadata unset [-s] <mailbox> <key> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxMetadataUnset"
    },
    "mailbox list": {
      "args": [
        {
          "flag": "-7",
          "param": "mutf7",
          "type": "boolean",
          "text": "<p>Lists mailboxes with mUTF-7 encoding.</p>\n"
        },
        {
          "flag": "-8",
          "param": "utf8",
          "type": "boolean",
          "text": "<p>Lists mailboxes with UTF-8 encoding.</p>\n"
        },
        {
          "flag": "-s",
          "param": "subscriptions",
          "type": "boolean",
          "text": "<p>Only list subscribed mailboxes.</p>\n"
        },
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>A list of mailbox masks to list.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Get list of existing mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-list\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox list [-7] [-8] [-s] [mailbox mask] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxList"
    },
    "mailbox mutf7": {
      "args": [
        {
          "flag": "-7",
          "param": "toUtf8",
          "type": "boolean",
          "text": "<p>Mailbox is in mUTF-7 format.</p>\n"
        },
        {
          "flag": "-8",
          "param": "fromUtf8",
          "type": "boolean",
          "text": "<p>Mailbox is in UTF-8 format.</p>\n"
        },
        {
          "example": [
            "Test"
          ],
          "flag": "name",
          "param": "name",
          "type": "array",
          "text": "<p>Mailbox names to convert.</p>\n"
        }
      ],
      "man": "doveadm-mailbox",
      "text": "<p>Convert mailbox names from mUTF-7 to UTF-8.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-mutf7\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox mutf7 [-7] [-8] <name>",
      "http_cmd": "mailboxMutf7"
    },
    "mailbox path": {
      "args": [
        {
          "example": "index",
          "flag": "-t",
          "param": "type",
          "type": "string",
          "text": "<p>Mailbox path type.</p>\n"
        },
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailbox name to query.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Returns filesystem paths for the mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-path\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox path [-t type] <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxPath"
    },
    "mailbox rename": {
      "args": [
        {
          "flag": "-s",
          "param": "subscriptions",
          "type": "boolean",
          "text": "<p>Unsubscribe old mailbox and subscribe new mailbox.</p>\n"
        },
        {
          "example": "OldName",
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>The source mailbox name.</p>\n"
        },
        {
          "example": "NewName",
          "flag": "new-name",
          "param": "newName",
          "type": "string",
          "text": "<p>The destination mailbox name.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Rename mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-rename\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox rename [-s] <mailbox> <new name> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxRename"
    },
    "mailbox status": {
      "args": [
        {
          "flag": "-t",
          "param": "totalSum",
          "type": "boolean",
          "text": "<p>Sum values of status fields.</p>\n"
        },
        {
          "example": [
            "all"
          ],
          "flag": "-f",
          "param": "field",
          "type": "array",
          "text": "<p>Fields that should be shown.</p>\n"
        },
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>Mailboxes to query.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Show status of mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-status\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox status [-t] <field> <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxStatus"
    },
    "mailbox subscribe": {
      "args": [
        {
          "example": [
            "Test"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailboxes to subscribe to.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Subscribe to mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-subscribe\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox subscribe <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxSubscribe"
    },
    "mailbox unsubscribe": {
      "args": [
        {
          "example": [
            "Test"
          ],
          "flag": "mailbox",
          "param": "mailbox",
          "type": "array",
          "text": "<p>Mailboxes to unsubscribe from.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Unsubscribe from mailboxes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-unsubscribe\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox unsubscribe <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxUnsubscribe"
    },
    "mailbox update": {
      "args": [
        {
          "flag": "-g",
          "param": "mailboxGuid",
          "type": "string",
          "text": "<p>Mailbox GUID.</p>\n"
        },
        {
          "flag": "-V",
          "param": "uidValidity",
          "type": "integer",
          "text": "<p>UID validity.</p>\n"
        },
        {
          "flag": "-N",
          "param": "minNextUid",
          "type": "integer",
          "text": "<p>Minimum NEXTUID.</p>\n"
        },
        {
          "flag": "-R",
          "param": "minFirstRecentUid",
          "type": "integer",
          "text": "<p>First recent UID.</p>\n"
        },
        {
          "flag": "-H",
          "param": "minHighestModseq",
          "type": "integer",
          "text": "<p>Minimum highest MODSEQ.</p>\n"
        },
        {
          "flag": "-P",
          "param": "minHighestPrivateModseq",
          "type": "integer",
          "text": "<p>Minimum highest private MODSEQ.</p>\n"
        },
        {
          "flag": "mailbox",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Mailbox to update.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-mailbox",
      "text": "<p>Set internal mailbox metadata.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-mailbox.1.html#mailbox-update\">doveadm-mailbox(1)</a></code>",
      "usage": "mailbox update [-g mailbox-guid] [-V uid-validity] [-N min-next-uid] [-R min-first-recent-uid] [-H min-highest-modseq] [-P min-highest-private-modseq] <mailbox> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "mailboxUpdate"
    },
    "move": {
      "args": [
        {
          "example": "Test",
          "flag": "destination-mailbox",
          "param": "destinationMailbox",
          "type": "string",
          "text": "<p>The destination mailbox.</p>\n"
        },
        {
          "example": "sourceuser",
          "flag": "source-user",
          "param": "sourceUser",
          "type": "string",
          "text": "<p>Apply the search query to this user's <code>mail_location</code>.</p>\n<p>For CLI use, this is specified by adding the keyword <code>user</code> followed by\nthe source user name, e.g., <code>user sourceuser</code>.</p>\n"
        },
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-move",
      "man_link": "<code><a href=\"/main/core/man/doveadm-move.1.html#move\">doveadm-move(1)</a></code>",
      "usage": "move <destination mailbox> [source user] <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "move"
    },
    "penalty": {
      "args": [
        {
          "cli_only": true,
          "example": "/rundir/anvil",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Anvil socket path.</p>\n"
        },
        {
          "example": "127.0.0.0/8",
          "flag": "netmask",
          "param": "netmask",
          "type": "string",
          "text": "<p>Filter output by netmask.</p>\n"
        }
      ],
      "man": "doveadm-penalty",
      "man_link": "<code><a href=\"/main/core/man/doveadm-penalty.1.html#penalty\">doveadm-penalty(1)</a></code>",
      "usage": "penalty [-a socket-path] <netmask>",
      "http_cmd": "penalty"
    },
    "process status": {
      "args": [
        {
          "example": [
            "stats"
          ],
          "flag": "service",
          "param": "service",
          "type": "array",
          "text": "<p>Filter output to only these services.</p>\n"
        }
      ],
      "man": "doveadm-process-status",
      "man_link": "<code><a href=\"/main/core/man/doveadm-process-status.1.html#process-status\">doveadm-process-status(1)</a></code>",
      "usage": "process status [service]",
      "http_cmd": "processStatus"
    },
    "proxy kick": {
      "args": [
        {
          "cli_only": true,
          "example": "/rundir/anvil",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Anvil socket path.</p>\n"
        },
        {
          "example": "alt_username_field",
          "flag": "-f",
          "param": "passdbField",
          "type": "string",
          "text": "<p>Alternative username field to use for kicking.</p>\n"
        },
        {
          "example": "destination_host",
          "flag": "-h",
          "param": "destHost",
          "type": "string",
          "text": "<p>Disconnect proxy connections to this destination host.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "array",
          "text": "<p>UID mask.</p>\n"
        }
      ],
      "changed": [
        {
          "text": "<ul>\n<li><code>host</code> argument has been changed to <code>dest-host</code>.</li>\n<li><code>user</code> argument has been changed to <code>mask</code>.</li>\n</ul>\n",
          "version": "<span class=\"VPBadge info\">Changed: 3.0.0</span>"
        }
      ],
      "man": "doveadm-proxy",
      "text": "<p>Kick user.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-proxy.1.html#proxy-kick\">doveadm-proxy(1)</a></code>",
      "usage": "proxy kick [-a socket-path] [-f passdb-field] [-h dest-host] <mask>",
      "http_cmd": "proxyKick"
    },
    "proxy list": {
      "args": [
        {
          "cli_only": true,
          "example": "/rundir/anvil",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Anvil socket path.</p>\n"
        },
        {
          "flag": "-1",
          "param": "separateConnections",
          "type": "boolean",
          "text": "<p>Output one entry per user/connection.</p>\n"
        },
        {
          "example": "alt_username_field",
          "flag": "-f",
          "param": "passdbField",
          "type": "string",
          "text": "<p>Alternative username field to use for listing.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "array",
          "text": "<p>UID mask.</p>\n"
        }
      ],
      "added": [
        {
          "text": "<p><code>separate-connections</code>, <code>passdb-field</code>, and <code>mask</code> arguments added.</p>\n",
          "version": "<span class=\"VPBadge tip\">Added: 3.0.0</span>"
        }
      ],
      "changed": [
        {
          "text": "<p>The response format has changed.</p>\n<p>Dovecot now returns different formats based on the value of\n<code>separate-connections</code>. If <code>separate-connections</code> is true, <code>pid</code>,\n<code>ip</code>, <code>dest_ip</code>, and list of <code>alt_username_fields</code> (from anvil) is\nreturned.</p>\n",
          "version": "<span class=\"VPBadge info\">Changed: 3.0.0</span>"
        }
      ],
      "man": "doveadm-proxy",
      "text": "<p>Show who is logged into the Dovecot server.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-proxy.1.html#proxy-list\">doveadm-proxy(1)</a></code>",
      "usage": "proxy list [-a socket-path] [-1] [-f passdb-field] <mask>",
      "http_cmd": "proxyList"
    },
    "purge": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-purge",
      "text": "<p>Remove all messages with refcount=0 from a user's mail storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-purge.1.html#purge\">doveadm-purge(1)</a></code>",
      "usage": "purge [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "purge"
    },
    "pw": {
      "cli_only_cmd": true,
      "args": [
        {
          "flag": "-l",
          "param": "list",
          "type": "boolean",
          "text": "<p>List all supported password schemes.</p>\n"
        },
        {
          "example": "password",
          "flag": "-p",
          "param": "plaintext",
          "type": "string",
          "text": "<p>Plaintext password.</p>\n"
        },
        {
          "example": 5000,
          "flag": "-r",
          "param": "rounds",
          "type": "integer",
          "text": "<p>Number of encryption rounds.</p>\n"
        },
        {
          "example": "CRYPT",
          "flag": "-s",
          "param": "scheme",
          "type": "string",
          "text": "<p>The password scheme to use.</p>\n"
        },
        {
          "example": "password_hash",
          "flag": "-t",
          "param": "testHash",
          "type": "string",
          "text": "<p>Test if hash matches password (e.g., <code>plaintext</code> argument).</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>Username to use for schemes that require one.</p>\n"
        },
        {
          "flag": "-V",
          "param": "reverseVerify",
          "type": "boolean",
          "text": "<p>Internally verify hashed password.</p>\n"
        }
      ],
      "man": "doveadm-pw",
      "text": "<p>Generate password hashes.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-pw.1.html#pw\">doveadm-pw(1)</a></code>",
      "usage": "pw [-l] [-p plaintext] [-r rounds] [-s scheme] [-t test-hash] [-u user] [-V]",
      "http_cmd": "pw"
    },
    "quota get": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "quota",
      "man": "doveadm-quota",
      "text": "<p>Display current quota usage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-quota.1.html#quota-get\">doveadm-quota(1)</a></code>",
      "usage": "quota get [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "quotaGet"
    },
    "quota recalc": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "quota",
      "man": "doveadm-quota",
      "text": "<p>Recalculate current quota usage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-quota.1.html#quota-recalc\">doveadm-quota(1)</a></code>",
      "usage": "quota recalc [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "quotaRecalc"
    },
    "rebuild attachments": {
      "args": [
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-rebuild",
      "text": "<p>Rebuild attachment detection information in index.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-rebuild.1.html#rebuild-attachments\">doveadm-rebuild(1)</a></code>",
      "usage": "rebuild attachments <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "rebuildAttachments"
    },
    "reload": {
      "man": "doveadm",
      "text": "<p>Reload Dovecot configuration.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm.1.html#reload\">doveadm(1)</a></code>",
      "usage": "reload ",
      "http_cmd": "reload"
    },
    "save": {
      "args": [
        {
          "example": "Test",
          "flag": "-m",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Save in this mailbox instead of INBOX.</p>\n"
        },
        {
          "example": 1000,
          "flag": "-U",
          "param": "uid",
          "type": "integer",
          "text": "<p>Save using this UID.</p>\n"
        },
        {
          "example": 1000,
          "flag": "-g",
          "param": "guid",
          "type": "string",
          "text": "<p>Save using this GID.</p>\n"
        },
        {
          "example": "2007-04-13",
          "flag": "-r",
          "param": "receivedDate",
          "type": "string",
          "text": "<p>Save with this as the received date.</p>\n"
        },
        {
          "flag": "file",
          "param": "file",
          "type": "string",
          "text": "<p>The message data to save.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "added": [
        {
          "text": "<p><code>received-date</code>, <code>uid</code>, and <code>gid</code> arguments added.</p>\n",
          "version": "<span class=\"VPBadge tip\">Added: 3.0.0</span>"
        }
      ],
      "flags": 3,
      "man": "doveadm-save",
      "text": "<p>Save messages to a mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-save.1.html#save\">doveadm-save(1)</a></code>",
      "usage": "save [-m mailbox] [-U uid] [-g guid] [-r received-date] <file> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "save"
    },
    "search": {
      "args": [
        {
          "example": [
            "mailbox",
            "INBOX/myfoldertoo",
            "savedbefore",
            "since",
            "30d"
          ],
          "flag": "query",
          "param": "query",
          "type": "search_query",
          "text": "<p>Search query to apply.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-search",
      "text": "<p>Find matching messages in mailbox.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-search.1.html#search\">doveadm-search(1)</a></code>",
      "usage": "search <query> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "search"
    },
    "service status": {
      "args": [
        {
          "example": [
            "name"
          ],
          "flag": "service",
          "param": "service",
          "type": "array",
          "text": "<p>Filter output to only these services.</p>\n"
        }
      ],
      "man": "doveadm-service-status",
      "text": "<p>Show information about Dovecot services.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-service-status.1.html#service-status\">doveadm-service-status(1)</a></code>",
      "usage": "service status [service]",
      "http_cmd": "serviceStatus"
    },
    "service stop": {
      "args": [
        {
          "example": [
            "stats"
          ],
          "flag": "service",
          "param": "service",
          "type": "array",
          "text": "<p>The list of services to stop.</p>\n"
        }
      ],
      "man": "doveadm-service-stop",
      "text": "<p>Stop Dovecot services.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-service-stop.1.html#service-stop\">doveadm-service-stop(1)</a></code>",
      "usage": "service stop <service>",
      "http_cmd": "serviceStop"
    },
    "sieve activate": {
      "args": [
        {
          "example": "scriptname",
          "flag": "scriptname",
          "param": "scriptname",
          "type": "string",
          "text": "<p>The script name to mark as active.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Mark active Sieve script.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-activate\">doveadm-sieve(1)</a></code>",
      "usage": "sieve activate <scriptname> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveActivate"
    },
    "sieve deactivate": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Deactivate Sieve script.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-deactivate\">doveadm-sieve(1)</a></code>",
      "usage": "sieve deactivate [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveDeactivate"
    },
    "sieve delete": {
      "args": [
        {
          "flag": "-a",
          "param": "ignoreActive",
          "type": "boolean",
          "text": "<p>If set, allows the active script to be deleted.</p>\n"
        },
        {
          "example": [
            "scriptname"
          ],
          "flag": "scriptname",
          "param": "scriptname",
          "type": "array",
          "text": "<p>The list of scripts to delete.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Delete Sieve scripts.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-delete\">doveadm-sieve(1)</a></code>",
      "usage": "sieve delete [-a] <scriptname> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveDelete"
    },
    "sieve get": {
      "args": [
        {
          "example": "scriptname",
          "flag": "scriptname",
          "param": "scriptname",
          "type": "string",
          "text": "<p>The script to retrieve.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Retrieve a Sieve script.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-get\">doveadm-sieve(1)</a></code>",
      "usage": "sieve get <scriptname> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveGet"
    },
    "sieve list": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>List Sieve scripts.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-list\">doveadm-sieve(1)</a></code>",
      "usage": "sieve list [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveList"
    },
    "sieve put": {
      "args": [
        {
          "flag": "-a",
          "param": "activate",
          "type": "boolean",
          "text": "<p>Mark script as active.</p>\n"
        },
        {
          "example": "scriptname",
          "flag": "scriptname",
          "param": "scriptname",
          "type": "string",
          "text": "<p>The script to retrieve.</p>\n"
        },
        {
          "flag": "file",
          "param": "file",
          "type": "istream",
          "text": "<p>The script to add.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Add Sieve script to storage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-put\">doveadm-sieve(1)</a></code>",
      "usage": "sieve put [-a] <scriptname> <file> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sievePut"
    },
    "sieve rename": {
      "args": [
        {
          "example": "old_scriptname",
          "flag": "oldname",
          "param": "oldname",
          "type": "string",
          "text": "<p>The old scriptname.</p>\n"
        },
        {
          "example": "new_scriptname",
          "flag": "newname",
          "param": "newname",
          "type": "string",
          "text": "<p>The new scriptname.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "plugin": "sieve",
      "man": "doveadm-sieve",
      "text": "<p>Rename Sieve script.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sieve.1.html#sieve-rename\">doveadm-sieve(1)</a></code>",
      "usage": "sieve rename <oldname> <newname> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sieveRename"
    },
    "sis find": {
      "args": [
        {
          "flag": "root-dir",
          "param": "rootDir",
          "type": "string"
        },
        {
          "flag": "hash",
          "param": "hash",
          "type": "string"
        }
      ],
      "usage": "sis find <root dir> <hash>",
      "http_cmd": "sisFind"
    },
    "stats add": {
      "args": [
        {
          "flag": "--exporter",
          "param": "exporter",
          "type": "string"
        },
        {
          "flag": "--exporter-include",
          "param": "exporterInclude",
          "type": "string"
        },
        {
          "flag": "--description",
          "param": "description",
          "type": "string"
        },
        {
          "flag": "--fields",
          "param": "fields",
          "type": "string"
        },
        {
          "flag": "--group-by",
          "param": "groupBy",
          "type": "string"
        },
        {
          "example": "metric_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>Metric name.</p>\n"
        },
        {
          "flag": "filter",
          "param": "filter",
          "type": "string"
        }
      ],
      "man": "doveadm-stats",
      "text": "<p>Add metrics to statistics.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-stats.1.html#stats-add\">doveadm-stats(1)</a></code>",
      "usage": "stats add [--exporter exporter] [--exporter-include exporter-include] [--description description] [--fields fields] [--group-by group-by] <name> <filter>",
      "http_cmd": "statsAdd"
    },
    "stats dump": {
      "args": [
        {
          "cli_only": true,
          "example": "/path/to/stats",
          "flag": "-s",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to socket path.</p>\n"
        },
        {
          "flag": "-r",
          "param": "reset",
          "type": "boolean",
          "text": "<p>Reset stats after dumping.</p>\n"
        },
        {
          "flag": "-f",
          "param": "fields",
          "type": "string",
          "text": "<p>Stats fields to return.</p>\n"
        }
      ],
      "man": "doveadm-stats",
      "text": "<p>Output statistics.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-stats.1.html#stats-dump\">doveadm-stats(1)</a></code>",
      "usage": "stats dump [-s socketPath] [-r] [-f fields]",
      "http_cmd": "statsDump"
    },
    "stats remove": {
      "args": [
        {
          "example": "metric_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The metric to remove.</p>\n"
        }
      ],
      "man": "doveadm-stats",
      "text": "<p>Remove metrics from statistics.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-stats.1.html#stats-remove\">doveadm-stats(1)</a></code>",
      "usage": "stats remove <name>",
      "http_cmd": "statsRemove"
    },
    "stats reopen": {
      "man": "doveadm-stats",
      "text": "<p>Reopen file exporter files.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-stats.1.html#stats-reopen\">doveadm-stats(1)</a></code>",
      "usage": "stats reopen ",
      "http_cmd": "statsReopen"
    },
    "stop": {
      "man": "doveadm",
      "text": "<p>Stop Dovecot.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm.1.html#stop\">doveadm(1)</a></code>",
      "usage": "stop ",
      "http_cmd": "stop"
    },
    "sync": {
      "args": [
        {
          "flag": "-f",
          "param": "fullSync",
          "type": "boolean",
          "text": "<p>Do full synchronization.</p>\n"
        },
        {
          "flag": "-P",
          "param": "purgeRemote",
          "type": "boolean",
          "text": "<p>Run a purge for remote after sync.</p>\n"
        },
        {
          "flag": "-R",
          "param": "reverseSync",
          "type": "boolean",
          "text": "<p>Do a reverse sync.</p>\n"
        },
        {
          "example": 60,
          "flag": "-l",
          "param": "lockTimeout",
          "type": "integer",
          "text": "<p>Lock timeout (in seconds).</p>\n"
        },
        {
          "example": "/tmp/rawlog",
          "flag": "-r",
          "param": "rawlog",
          "type": "string",
          "text": "<p>Rawlog path.</p>\n"
        },
        {
          "example": "INBOX",
          "flag": "-m",
          "param": "mailbox",
          "type": "string",
          "text": "<p>Only sync this mailbox.</p>\n"
        },
        {
          "example": "mailbox-guid",
          "flag": "-g",
          "param": "mailboxGuid",
          "type": "string",
          "text": "<p>Only sync this mailbox (by GUID).</p>\n"
        },
        {
          "example": [
            "#shared"
          ],
          "flag": "-n",
          "param": "namespace",
          "type": "array",
          "text": "<p>Only sync this list of namespaces.</p>\n"
        },
        {
          "flag": "-N",
          "param": "allNamespaces",
          "type": "boolean",
          "text": "<p>Sync all namespaces.</p>\n"
        },
        {
          "example": [
            "Spam"
          ],
          "flag": "-x",
          "param": "excludeMailbox",
          "type": "array",
          "text": "<p>Exclude these mailboxes.</p>\n"
        },
        {
          "example": "AllMailbox",
          "flag": "-a",
          "param": "allMailbox",
          "type": "string",
          "text": "<p>Name for the &quot;All Mails&quot; virtual mailbox.</p>\n"
        },
        {
          "example": "state_string",
          "flag": "-s",
          "param": "state",
          "type": "string",
          "text": "<p>Use stateful sync.</p>\n"
        },
        {
          "example": "2023-04-13",
          "flag": "-t",
          "param": "syncSinceTime",
          "type": "string",
          "text": "<p>Skip mails older than this date.</p>\n"
        },
        {
          "example": "2023-10-21",
          "flag": "-e",
          "param": "syncUntilTime",
          "type": "string",
          "text": "<p>Skip mails newer than this date.</p>\n"
        },
        {
          "example": "\\Flagged",
          "flag": "-O",
          "param": "syncFlags",
          "type": "string",
          "text": "<p>Sync only mails with this flag.</p>\n"
        },
        {
          "example": "10M",
          "flag": "-I",
          "param": "syncMaxSize",
          "type": "string",
          "text": "<p>Skip mails larger than this size.</p>\n"
        },
        {
          "example": 600,
          "flag": "-T",
          "param": "timeout",
          "type": "integer",
          "text": "<p>Timeout for stalled I/O operations.</p>\n"
        },
        {
          "flag": "-d",
          "param": "defaultDestination",
          "type": "boolean",
          "text": "<p>Use the default destination.</p>\n"
        },
        {
          "flag": "-1",
          "param": "onewaySync",
          "type": "boolean",
          "text": "<p>Do one-way synchronization.</p>\n"
        },
        {
          "example": [
            "maildir:~/Maildir"
          ],
          "flag": "destination",
          "param": "destination",
          "type": "array",
          "text": "<p>Sync destinations.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-sync",
      "text": "<p>Dovecot's mailbox synchronization utility.</p>\n<p>This command cannot be used safely via API by untrusted users.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-sync.1.html#sync\">doveadm-sync(1)</a></code>",
      "usage": "sync [-f] [-P] [-R] [-l lock-timeout] [-r rawlog] [-m mailbox] [-g mailbox-guid] [-n namespace] [-N] [-x exclude-mailbox] [-a all-mailbox] [-s state] [-t sync-since-time] [-e sync-until-time] [-O sync-flags] [-I sync-max-size] [-T timeout] [-d] [-1] <destination> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "sync"
    },
    "user": {
      "args": [
        {
          "cli_only": true,
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>userdb socket path</p>\n"
        },
        {
          "example": [
            "service=imap"
          ],
          "flag": "-x",
          "param": "authInfo",
          "type": "array",
          "text": "<p>Additional conditions for auth lookup.</p>\n"
        },
        {
          "example": "userdb_field",
          "flag": "-f",
          "param": "field",
          "type": "string",
          "text": "<p>Only show value of this field.</p>\n"
        },
        {
          "flag": "-e",
          "param": "expandField",
          "type": "string"
        },
        {
          "flag": "-u",
          "param": "userdbOnly",
          "type": "boolean",
          "text": "<p>Only show values from userdb.</p>\n"
        },
        {
          "example": "username",
          "flag": "user-mask",
          "param": "userMask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        }
      ],
      "man": "doveadm-user",
      "text": "<p>Lookup user in Dovecot's userdbs.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-user.1.html#user\">doveadm-user(1)</a></code>",
      "usage": "user [-a socket-path] [-x auth-info] [-f field] [-e expand-field] [-u] <user mask>",
      "http_cmd": "user"
    },
    "who": {
      "args": [
        {
          "cli_only": true,
          "example": "/rundir/anvil",
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Anvil socket path.</p>\n"
        },
        {
          "flag": "-1",
          "param": "separateConnections",
          "type": "boolean",
          "text": "<p>Output one entry per user/connection.</p>\n"
        },
        {
          "example": "alt_username_field",
          "flag": "-f",
          "param": "passdbField",
          "type": "string",
          "text": "<p>Alternative username field to use for lookup.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "array",
          "text": "<p>UID -or- IP Address mask.</p>\n"
        }
      ],
      "response": {
        "example": [
          {
            "username": "foo",
            "connections": "1",
            "service": "imap",
            "pid": "(47)",
            "ip": "(10.0.2.100)"
          }
        ],
        "text": "<p>Returns an array of objects.</p>\n<p>If <code>separate-connections</code> is <code>false</code>, each object represents a single\nusername/service combination, and the <code>pid</code> and <code>ip</code> fields will include\nall entries for that combination.</p>\n<p>If <code>separate-connections</code> is <code>true</code>, each object will contain a single\nconnection.</p>\n<p>Object fields:</p>\n<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>connections</code></td>\n<td>The total number of connections for the user. This is only returned if <code>separate-connections</code> is <code>false</code>.</td>\n</tr>\n<tr>\n<td><code>ip</code></td>\n<td>IP addresses where the user's connections are originating.</td>\n</tr>\n<tr>\n<td><code>pid</code></td>\n<td>Process IDs of the session.</td>\n</tr>\n<tr>\n<td><code>service</code></td>\n<td>The Dovecot service.</td>\n</tr>\n<tr>\n<td><code>username</code></td>\n<td>Username</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man": "doveadm-who",
      "text": "<p>Show who is logged into the Dovecot server.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-who.1.html#who\">doveadm-who(1)</a></code>",
      "usage": "who [-a socket-path] [-1] [-f passdb-field] <mask>",
      "http_cmd": "who"
    },
    "nfs usercache clean": {
      "args": [
        {
          "example": "7days",
          "flag": "--age",
          "param": "age",
          "type": "string",
          "text": "<p>Minimum age before entry is removed (<a href=\"/main/core/settings/types.html#time\">time</a> value).</p>\n"
        },
        {
          "example": "/path/to/root",
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Root path to clean.</p>\n"
        }
      ],
      "plugin": "nfs-hostchange",
      "text": "<p>Cleans user's cache under root path for given age.</p>\n",
      "usage": "nfs usercache clean [--age age] <path>",
      "http_cmd": "nfsUsercacheClean"
    },
    "fscache rescan": {
      "args": [
        {
          "example": "/path/to/fscache",
          "flag": "path",
          "param": "path",
          "type": "string",
          "text": "<p>Path to fscache root directory, which contains the cached files inside\nsubdirectories. This matches the <code><a href=\"/main/core/summaries/settings.html#fs_fscache_path\">fs_fscache_path</a></code> setting.</p>\n"
        },
        {
          "example": "/path/to/fscache.log",
          "flag": "--log-path",
          "param": "logPath",
          "type": "string",
          "text": "<p>Path and filename of the fscache log file. The default is to use\n<code>fscache.log</code> in the fscache root directory. This should match the\n<code><a href=\"/main/core/summaries/settings.html#fs_fscache_log_path\">fs_fscache_log_path</a></code> setting.</p>\n"
        },
        {
          "example": "7days",
          "flag": "max-age",
          "param": "maxAge",
          "type": "string",
          "text": "<p>Files found with mtime older than this value are deleted from the cache\n(<a href=\"/main/core/settings/types.html#time\">time</a> value).</p>\n"
        }
      ],
      "man": "doveadm-fscache",
      "plugin": "obox",
      "text": "<p>Scans data in the fscache to recalculate the used storage space.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fscache.1.html#fscache-rescan\">doveadm-fscache(1)</a></code>",
      "usage": "fscache rescan <path> [--log-path log-path] [max age]",
      "http_cmd": "fscacheRescan"
    },
    "metacache clean": {
      "args": [
        {
          "example": 7,
          "flag": "-x",
          "param": "days",
          "type": "integer",
          "text": "<p>Cleans metacache only if it hasn't been modified for this number of days.</p>\n"
        },
        {
          "example": 2,
          "flag": "-p",
          "param": "minPriority",
          "type": "integer",
          "text": "<p>Minimum priority to clean. Values: 1..4</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Cleans old indexes for given users. If the indexes have not been flushed yet\nthis command will fail.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-clean\">doveadm-metacache(1)</a></code>",
      "usage": "metacache clean [-x days] [-p min-priority] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "metacacheClean"
    },
    "metacache flush": {
      "args": [
        {
          "example": 2,
          "flag": "-p",
          "param": "minPriority",
          "type": "integer",
          "text": "<p>Minimum priority to clean. Values: 1..4</p>\n"
        },
        {
          "flag": "-i",
          "param": "importantOnly",
          "type": "boolean",
          "text": "<p>Only flush important changes.</p>\n"
        },
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Flushes metacache to storage for the given user(s).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-flush\">doveadm-metacache(1)</a></code>",
      "usage": "metacache flush [-p min-priority] [-i] <namespace> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "metacacheFlush"
    },
    "metacache flushall": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "example": "username",
          "flag": "-f",
          "param": "userdbField",
          "type": "string",
          "text": "<p>Use given field to match userdb. By default, it is username.</p>\n"
        },
        {
          "flag": "-i",
          "param": "importantOnly",
          "type": "boolean",
          "text": "<p>Only flush important changes.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Flush all matching users to storage. If no mask is specified, everything is\nflushed.</p>\n<div class=\"warning custom-block\"><p class=\"custom-block-title\">WARNING</p>\n<p>This can be an expensive and long operation.</p>\n</div>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-flushall\">doveadm-metacache(1)</a></code>",
      "usage": "metacache flushall [-a socket-path] [-f userdb-field] [-i] <mask>",
      "http_cmd": "metacacheFlushall"
    },
    "metacache list": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "example": "username",
          "flag": "-f",
          "param": "userdbField",
          "type": "string",
          "text": "<p>Use given field to match userdb. By default, it is username.</p>\n"
        },
        {
          "flag": "-W",
          "param": "warnMissingField",
          "type": "boolean",
          "text": "<p>Warn if the userdb field is not found.</p>\n"
        },
        {
          "flag": "--keyvalues",
          "param": "keyvalues",
          "type": "boolean",
          "text": "<p>List users' key-value database.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        }
      ],
      "response": {
        "text": "<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>username</code></td>\n<td>The primary username</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user_*</code></td>\n<td>Alternative usernames, if configured by returning user_* extra fields from userdb</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>upload-within</code></td>\n<td>Value corresponds to the <code><a href=\"/main/core/summaries/settings.html#metacache_upload_interval\">metacache_upload_interval</a></code> setting</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>dev-major</code></td>\n<td>Filesystem device where the user is located in. Filesystems are separately tracked by metacache, although currently support for multiple filesystems doesn't work as well as it could. Mainly the problem is that <code><a href=\"/main/core/summaries/settings.html#metacache_max_space\">metacache_max_space</a></code> globally applies to all the filesystems.</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>dev-minor</code></td>\n<td>Filesystem device where the user is located in. Filesystems are separately tracked by metacache, although currently support for multiple filesystems doesn't work as well as it could. Mainly the problem is that <code><a href=\"/main/core/summaries/settings.html#metacache_max_space\">metacache_max_space</a></code> globally applies to all the filesystems.</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>bytes-used(priority)</code></td>\n<td>Disk space used by index files of this priority in metacache.</td>\n<td>integer</td>\n</tr>\n<tr>\n<td><code>last-access(priority)</code></td>\n<td>UNIX timestamp of when the index files of this priority were last accessed in metacache.</td>\n<td>integer</td>\n</tr>\n<tr>\n<td><code>changes</code></td>\n<td><code>none</code> means the index files have no changes done locally since they were downloaded. <code>unimportant</code> means there are some changes, but nothing that couldn't be regenerated if the server crashed. <code>important</code> means that there are changes that would be lost in case of a server crash. Currently the only important change is flag changes.<br />New mail deliveries aren't important, because the mail is immediately saved to object storage. In case of a crash the mails are listed in object storage and missing mails are added back to Dovecot indexes. The obox plugin also guarantees that the IMAP UID will be preserved in case of a crash. However, if a new mail delivery also sets a message flag (e.g. via Sieve script), then the change will be marked as important. An exception is the $HasAttachment and $HasNoAttachment flags, which are stored in the obox OID directly so they can be cheaply restored after a crash.</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>last-service</code></td>\n<td>Last service that accessed this user. However, metacache clean and flush operations (via metacache-worker or doveadm) won't update this field.</td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>cleanup-weight</code></td>\n<td>Currently calculated weight when these indexes are cleaned up. Smaller numbers are cleaned up before larger numbers. Sorting the list output (with `</td>\n<td>sort -n`) by this field will show the order in which the indexes would be cleaned. The cleanup weights are recalculated whenever the indexes are being accessed.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>List current metacache for matching users. If no mask is specified, lists all users’ metacache.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-list\">doveadm-metacache(1)</a></code>",
      "usage": "metacache list [-a socket-path] [-f userdb-field] [-W] [--keyvalues] <mask>",
      "http_cmd": "metacacheList"
    },
    "metacache pull": {
      "args": [
        {
          "flag": "-l",
          "param": "latestOnly",
          "type": "boolean",
          "text": "<p>Fail pull if there are newer bundles in storage than at source backend host.</p>\n"
        },
        {
          "flag": "-c",
          "param": "clean",
          "type": "boolean",
          "text": "<p>Clean metacache for the user(s) that have been successfully pulled.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Pull all metacache for given user(s) from source backend host.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-pull\">doveadm-metacache(1)</a></code>",
      "usage": "metacache pull [-l] [-c] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "metacachePull"
    },
    "metacache refresh": {
      "args": [
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Force refreshing metacache for the given user(s) the next time it’s opened.\nThe refresh is done for the user root index and all the folders.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-refresh\">doveadm-metacache(1)</a></code>",
      "usage": "metacache refresh <namespace> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "metacacheRefresh"
    },
    "metacache remove": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "example": "username",
          "flag": "mask",
          "param": "mask",
          "type": "string",
          "text": "<p>User Mask.</p>\n"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Remove metacache for matching users from metacache process.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-remove\">doveadm-metacache(1)</a></code>",
      "usage": "metacache remove [-a socket-path] <mask>",
      "http_cmd": "metacacheRemove"
    },
    "metacache rescan": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "example": [
            "/root/dir"
          ],
          "flag": "root_dir",
          "param": "root_dir",
          "type": "array",
          "text": "<p>The list of metacache root directories to rescan.</p>\n"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Triggers an explicit metacache rescan, which makes sure the disk space usage\ntracked by metacache process matches what really exists on filesystem.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-rescan\">doveadm-metacache(1)</a></code>",
      "usage": "metacache rescan [-a socket-path] <root_dir>",
      "http_cmd": "metacacheRescan"
    },
    "metacache status": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "flag": "-b",
          "param": "bytes",
          "type": "boolean",
          "text": "<p>Force the result to be shown in bytes.</p>\n"
        },
        {
          "flag": "--oldest-safe-timestamp",
          "param": "oldestSafeTimestamp",
          "type": "boolean",
          "text": "<p>Output the oldest safe timestamp. Any indexes accessed before that may or may not be corrupted, but indexes after that are known not to be corrupted.</p>\n"
        },
        {
          "flag": "--roots",
          "param": "roots",
          "type": "boolean",
          "text": "<p>Group the results by storage device instead of by time.</p>\n"
        }
      ],
      "added": [
        {
          "text": "<p><code>oldest-safe-timestamp</code> argument added.</p>\n",
          "version": "<span class=\"VPBadge tip\">Added: 3.0.1</span>"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Print statistics about metacache usage.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-status\">doveadm-metacache(1)</a></code>",
      "usage": "metacache status [-a socket-path] [-b] [--oldest-safe-timestamp] [--roots]",
      "http_cmd": "metacacheStatus"
    },
    "metacache update userdb": {
      "args": [
        {
          "flag": "-a",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Specify alternative metacache socket. Not usually needed.</p>\n"
        },
        {
          "example": "username",
          "flag": "username",
          "param": "username",
          "type": "string",
          "text": "<p>The username to update.</p>\n"
        },
        {
          "example": "userdb_field",
          "flag": "userdb-field",
          "param": "userdbField",
          "type": "string",
          "text": "<p>The userdb field to update.</p>\n"
        },
        {
          "example": "value",
          "flag": "value",
          "param": "value",
          "type": "string",
          "text": "<p>The value to update with.</p>\n"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Update alternative usernames (user_* fields) in doveadm metacache list output.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-update-userdb\">doveadm-metacache(1)</a></code>",
      "usage": "metacache update userdb [-a socket-path] <username> <userdb field> <value>",
      "http_cmd": "metacacheUpdateUserdb"
    },
    "metacache unpack": {
      "args": [
        {
          "flag": "--bundle-name",
          "param": "bundleName",
          "type": "string",
          "text": "<p>The bundle name to use. By default, tries to extract from the bundle.</p>\n"
        },
        {
          "example": "bundle_name",
          "flag": "bundle",
          "param": "bundle",
          "type": "string",
          "text": "<p>The bundle data.</p>\n"
        },
        {
          "example": "/destination/directory",
          "flag": "destination-directory",
          "param": "destinationDirectory",
          "type": "string",
          "text": "<p>The destination directory to store data in.</p>\n"
        }
      ],
      "man": "doveadm-metacache",
      "plugin": "obox",
      "text": "<p>Unpack given bundle from storage to a given directory.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-metacache.1.html#metacache-unpack\">doveadm-metacache(1)</a></code>",
      "usage": "metacache unpack [--bundle-name bundle-name] <bundle> <destination directory>",
      "http_cmd": "metacacheUnpack"
    },
    "obox user delete": {
      "args": [
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-obox",
      "plugin": "obox",
      "text": "<p>Delete user data from storage, Cassandra and local caches (metacache and\nfscache).</p>\n<p>If deletion is not possible as the index is still open in another process, fail\nwith exit code 65.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-obox.1.html#obox-user-delete\">doveadm-obox(1)</a></code>",
      "usage": "obox user delete [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "oboxUserDelete"
    },
    "obox user wait": {
      "args": [
        {
          "example": 60,
          "flag": "--timeout",
          "param": "timeout",
          "type": "integer",
          "text": "<p>Timeout (in seconds).</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-obox",
      "plugin": "obox",
      "text": "<p>Wait until there are no more sessions (imap, lmtp, etc.) accessing the user.</p>\n<p>If there are still sessions after timeout is reached, fail with exit code 65.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-obox.1.html#obox-user-wait\">doveadm-obox(1)</a></code>",
      "usage": "obox user wait [--timeout timeout] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "oboxUserWait"
    },
    "cluster site add": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The site ID.</p>\n"
        },
        {
          "example": "tag",
          "flag": "--tag",
          "param": "tag",
          "type": "string",
          "text": "<p>The tag.</p>\n"
        },
        {
          "example": "lb.example.com",
          "flag": "--load-balancer",
          "param": "loadBalancer",
          "type": "string",
          "text": "<p>Load Balancer hostname/IP to use.</p>\n"
        },
        {
          "example": "site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>Name of the site to add.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Adds a new site to cluster.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-add\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site add [--id id] [--tag tag] [--load-balancer load-balancer] <name>",
      "http_cmd": "clusterSiteAdd"
    },
    "cluster site recover": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The move operation UUID.</p>\n"
        },
        {
          "example": "site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>Name or ID of the site to recover.</p>\n"
        },
        {
          "example": 10,
          "flag": "percentage",
          "param": "percentage",
          "type": "integer",
          "text": "<p>Percentage of users to move to the recovered site.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Recover a site.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-recover\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site recover [--id id] <name> <percentage>",
      "http_cmd": "clusterSiteRecover"
    },
    "cluster site remove": {
      "args": [
        {
          "example": "site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>Name or ID of the site to remove.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Remove a site.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-remove\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site remove <name>",
      "http_cmd": "clusterSiteRemove"
    },
    "cluster site update": {
      "args": [
        {
          "flag": "--self",
          "param": "self",
          "text": "<p>Target the local site (<code>name</code> will be ignored).</p>\n"
        },
        {
          "example": "lb.example.com",
          "flag": "--load-balancer",
          "param": "loadBalancer",
          "type": "string",
          "text": "<p>Load Balancer hostname/IP to use.</p>\n"
        },
        {
          "example": "online",
          "flag": "--status",
          "param": "status",
          "type": "string",
          "text": "<p>Set the site status.</p>\n"
        },
        {
          "example": "site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The site name or ID to update.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Update site status and load balancer.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-update\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site update [--self self] [--load-balancer load-balancer] [--status status] <name>",
      "http_cmd": "clusterSiteUpdate"
    },
    "cluster site reachability list": {
      "args": [
        {
          "example": "site1",
          "flag": "src-site",
          "param": "srcSite",
          "type": "string",
          "text": "<p>The name of the source site to list reachability for.</p>\n"
        },
        {
          "example": "site2",
          "flag": "dest-site",
          "param": "destSite",
          "type": "string",
          "text": "<p>The name of the destination site to list reachability for.</p>\n"
        }
      ],
      "usage": "cluster site reachability list [src site] [dest site]",
      "http_cmd": "clusterSiteReachabilityList"
    },
    "cluster site reachability update": {
      "args": [
        {
          "example": "site1",
          "flag": "src-site",
          "param": "srcSite",
          "type": "string",
          "text": "<p>The name of the source site to update reachability for.</p>\n"
        },
        {
          "example": "site2",
          "flag": "dest-site",
          "param": "destSite",
          "type": "string",
          "text": "<p>The name of the destination site to update reachability for.</p>\n"
        },
        {
          "example": "yes",
          "flag": "--reachable",
          "param": "reachable",
          "type": "string",
          "text": "<p>Is the destination site reachable from the source site ('yes' or 'no').</p>\n"
        }
      ],
      "usage": "cluster site reachability update <src site> <dest site> [--reachable reachable]",
      "http_cmd": "clusterSiteReachabilityUpdate"
    },
    "cluster site list": {
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>List all sites.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-list\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site list ",
      "http_cmd": "clusterSiteList"
    },
    "cluster site status": {
      "args": [
        {
          "example": "site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The site name or ID to get status information for.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Site status.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-status\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site status <name>",
      "http_cmd": "clusterSiteStatus"
    },
    "cluster site force-move start": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The move operation UUID.</p>\n"
        },
        {
          "example": "src_site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The source site name or ID.</p>\n"
        },
        {
          "example": 1,
          "flag": "percentage",
          "param": "percentage",
          "type": "integer",
          "text": "<p>Percentage of users to forcibly move out.</p>\n"
        },
        {
          "example": [
            "dest_site_name",
            "9d5be6c9-306a-4c47-b082-82bd1d0f0e11"
          ],
          "flag": "dest-site",
          "param": "destSite",
          "type": "array",
          "text": "<p>The destination site name or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Forcibly start moving users out of the site while they are logging in.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-force-move-start\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site force-move start [--id id] <name> <percentage> <dest site>",
      "http_cmd": "clusterSiteForceMoveStart"
    },
    "cluster site force-move update": {
      "args": [
        {
          "example": "src_site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The source site name or ID.</p>\n"
        },
        {
          "example": 2,
          "flag": "percentage",
          "param": "percentage",
          "type": "integer",
          "text": "<p>Percentage of users to forcibly move out.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Update a new percentage to an already started force-move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-force-move-update\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site force-move update <name> <percentage>",
      "http_cmd": "clusterSiteForceMoveUpdate"
    },
    "cluster site force-move stop": {
      "args": [
        {
          "example": "src_site_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>The source site name.</p>\n"
        }
      ],
      "man": "doveadm-cluster-site",
      "tags": [
        "cluster"
      ],
      "text": "<p>Stop an already started force-move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-site.1.html#cluster-site-force-move-stop\">doveadm-cluster-site(1)</a></code>",
      "usage": "cluster site force-move stop <name>",
      "http_cmd": "clusterSiteForceMoveStop"
    },
    "cluster backend add": {
      "args": [
        {
          "flag": "--self",
          "param": "self",
          "text": "<p>Target the local backend (<code>host</code> will be ignored).</p>\n"
        },
        {
          "example": "site_name",
          "flag": "--site",
          "param": "site",
          "type": "string",
          "text": "<p>The site name.</p>\n"
        },
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The backend UUID.</p>\n"
        },
        {
          "example": "backend.example.com",
          "flag": "--host",
          "param": "host",
          "type": "string",
          "text": "<p>The backend hostname.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Adds a new backend to cluster.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-add\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend add [--self self] [--site site] [--id id] [--host host]",
      "http_cmd": "clusterBackendAdd"
    },
    "cluster backend remove": {
      "args": [
        {
          "flag": "--self",
          "param": "self",
          "text": "<p>Target the local backend (<code>host</code> will be ignored).</p>\n"
        },
        {
          "example": "backend.example.com",
          "flag": "--host",
          "param": "host",
          "type": "string",
          "text": "<p>The backend hostname or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Remove a backend from cluster.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-remove\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend remove [--self self] [--host host]",
      "http_cmd": "clusterBackendRemove"
    },
    "cluster backend update": {
      "args": [
        {
          "flag": "--self",
          "param": "self",
          "text": "<p>Target the local backend (<code>host</code> will be ignored).</p>\n"
        },
        {
          "example": "online",
          "flag": "--status",
          "param": "status",
          "type": "string",
          "text": "<p>The backend status.</p>\n"
        },
        {
          "example": 100,
          "flag": "--load-factor",
          "param": "loadFactor",
          "text": "<p>The load factor to use.</p>\n"
        },
        {
          "example": "backend.example.com",
          "flag": "--host",
          "param": "host",
          "type": "string",
          "text": "<p>The backend hostname or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Update a cluster backend's status.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-update\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend update [--self self] [--status status] [--load-factor load-factor] [--host host]",
      "http_cmd": "clusterBackendUpdate"
    },
    "cluster backend status": {
      "args": [
        {
          "flag": "--self",
          "param": "self",
          "text": "<p>Targets the local backend (<code>host</code> will be ignored).</p>\n"
        },
        {
          "example": "backend.example.com",
          "flag": "--host",
          "param": "host",
          "type": "string",
          "text": "<p>The backend hostname or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Shows the current status of the backend.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-status\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend status [--self self] [--host host]",
      "http_cmd": "clusterBackendStatus"
    },
    "cluster backend list": {
      "args": [
        {
          "example": "site_name",
          "flag": "--site",
          "param": "site",
          "type": "string",
          "text": "<p>Only list this site.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Lists all backends in this cluster, including other sites.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-list\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend list [--site site]",
      "http_cmd": "clusterBackendList"
    },
    "cluster backend force-move start": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The move operation UUID.</p>\n"
        },
        {
          "example": "src-backend.example.com",
          "flag": "host",
          "param": "host",
          "type": "string",
          "text": "<p>The source backend hostname or ID.</p>\n"
        },
        {
          "example": 10,
          "flag": "percentage",
          "param": "percentage",
          "type": "integer",
          "text": "<p>Percentage of users to forcibly move out.</p>\n"
        },
        {
          "example": [
            "dest-backend.example.com",
            "f473e801-056f-4f14-b34c-9eb62ecf0dd2"
          ],
          "flag": "dest-host",
          "param": "destHost",
          "type": "array",
          "text": "<p>The destination backends' hostnames or IDs.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Forcibly start moving users out of the backend while they are logging in.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-force-move-start\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend force-move start [--id id] <host> <percentage> <dest host>",
      "http_cmd": "clusterBackendForceMoveStart"
    },
    "cluster backend force-move update": {
      "args": [
        {
          "example": "src-backend.example.com",
          "flag": "host",
          "param": "host",
          "type": "string",
          "text": "<p>The source backend hostname or ID.</p>\n"
        },
        {
          "example": 20,
          "flag": "percentage",
          "param": "percentage",
          "type": "integer",
          "text": "<p>Percentage of users to forcibly move out.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Update a new percentage to an already started force-move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-force-move-update\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend force-move update <host> <percentage>",
      "http_cmd": "clusterBackendForceMoveUpdate"
    },
    "cluster backend force-move stop": {
      "args": [
        {
          "example": "src-backend.example.com",
          "flag": "host",
          "param": "host",
          "type": "string",
          "text": "<p>The source backend hostname or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-backend",
      "tags": [
        "cluster"
      ],
      "text": "<p>Stop an already started force-move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-backend.1.html#cluster-backend-force-move-stop\">doveadm-cluster-backend(1)</a></code>",
      "usage": "cluster backend force-move stop <host>",
      "http_cmd": "clusterBackendForceMoveStop"
    },
    "cluster kick": {
      "args": [
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The username to kick.</p>\n"
        }
      ],
      "man": "doveadm-cluster-kick",
      "tags": [
        "cluster"
      ],
      "text": "<p>Disconnect user’s connections from the cluster.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-kick.1.html#cluster-kick\">doveadm-cluster-kick(1)</a></code>",
      "usage": "cluster kick <user>",
      "http_cmd": "clusterKick"
    },
    "cluster user access": {
      "args": [
        {
          "flag": "-i",
          "param": "ip",
          "text": "<p>Display backend's IP address rather than hostname.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "flags": 3,
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Perform cluster lookup for the user (or users).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-access\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user access [-i ip] [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "clusterUserAccess"
    },
    "cluster user delete": {
      "args": [
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The username to delete.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Deletes a record from GeoDB.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-delete\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user delete <user>",
      "http_cmd": "clusterUserDelete"
    },
    "cluster user move backend": {
      "args": [
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The username to move.</p>\n"
        },
        {
          "example": "backend.example.com",
          "flag": "dest-host",
          "param": "destHost",
          "type": "string",
          "text": "<p>The backend hostname or ID to move to.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Initiates moving user to a different backend.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-move-backend\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user move backend <user> <dest host>",
      "http_cmd": "clusterUserMoveBackend"
    },
    "cluster user move site": {
      "args": [
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The username to move.</p>\n"
        },
        {
          "flag": "--keep-preferred",
          "param": "keepPreferred",
          "text": "<p>Don't change the moved user's preferred site. This is used to temporarily move\nusers to different sites, e.g. for load-balancing purposes.</p>\n"
        },
        {
          "example": "site_name",
          "flag": "dest-site",
          "param": "destSite",
          "type": "string",
          "text": "<p>The site name to move to.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Initiates moving user to a different site.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-move-site\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user move site <user> [--keep-preferred keep-preferred] <dest site>",
      "http_cmd": "clusterUserMoveSite"
    },
    "cluster user move status": {
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Output the status of the current user move queue.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-move-status\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user move status",
      "http_cmd": "clusterUserMoveStatus"
    },
    "cluster user batch move backend": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The move operation UUID.</p>\n"
        },
        {
          "example": 100,
          "flag": "--count",
          "param": "count",
          "type": "integer",
          "text": "<p>The number of users to move.</p>\n"
        },
        {
          "example": "1 hour",
          "flag": "--min-last-moved",
          "param": "minLastMoved",
          "type": "string",
          "text": "<p>Don't move users whose last-moved timestamp is newer than this. This is used to\navoid moving the same users too often.</p>\n"
        },
        {
          "example": "Rebalancing load",
          "flag": "--reason",
          "param": "reason",
          "type": "string",
          "text": "<p>Human readable reason why the move is performed. This is visible in logs,\n<code><a href=\"/main/core/summaries/events.html#cluster_user_batch_move_finished\">cluster_user_batch_move_finished</a></code> event and\n<code><a href=\"/main/core/summaries/doveadm.html#cluster user batch move status\">doveadm cluster user batch move status</a></code> output.</p>\n"
        },
        {
          "flag": "--max-parallel-moves",
          "param": "maxParallelMoves",
          "type": "integer",
          "text": "<p>Maximum number of user moves that can run in parallel for this batch move.\nBy default there is no limit for the batch. Regardless of this parameter, the\ntotal number of parallel moves is limited by the <code>cluster-user-move</code>\nservice's <code><a href=\"/main/core/summaries/settings.html#service_process_limit\">service_process_limit</a></code>.</p>\n"
        },
        {
          "example": [
            "dest-backend.example.com",
            "f473e801-056f-4f14-b34c-9eb62ecf0dd2"
          ],
          "flag": "dest-host",
          "param": "destHost",
          "type": "array",
          "text": "<p>The backend hosts or IDs to move to.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Initiates moving a number of users to different backends.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-batch-move-backend\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user batch move backend [--id id] [--count count] [--min-last-moved min-last-moved] [--reason reason] [--max-parallel-moves max-parallel-moves] <dest host>",
      "http_cmd": "clusterUserBatchMoveBackend"
    },
    "cluster user batch move site": {
      "args": [
        {
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>The move operation UUID.</p>\n"
        },
        {
          "example": 1000,
          "flag": "--count",
          "param": "count",
          "type": "integer",
          "text": "<p>The number of users to move.</p>\n"
        },
        {
          "example": "1 hour",
          "flag": "--min-last-moved",
          "param": "minLastMoved",
          "type": "string",
          "text": "<p>Don't move users whose last-moved timestamp is newer than this. This is used to\navoid moving the same users too often.</p>\n"
        },
        {
          "example": "Rebalancing load",
          "flag": "--reason",
          "param": "reason",
          "type": "string",
          "text": "<p>Human readable reason why the move is performed. This is visible in logs,\n<code><a href=\"/main/core/summaries/events.html#cluster_user_batch_move_finished\">cluster_user_batch_move_finished</a></code> event and\n<code><a href=\"/main/core/summaries/doveadm.html#cluster user batch move status\">doveadm cluster user batch move status</a></code> output.</p>\n"
        },
        {
          "flag": "--preferred-site",
          "param": "preferredSite",
          "type": "string",
          "text": "<p>Move only users with a given preferred site. This is used by Controller to\nmove users back to their preferred sites.</p>\n"
        },
        {
          "flag": "--keep-preferred",
          "param": "keepPreferred",
          "text": "<p>Don't change the moved users' preferred sites. This is used to temporarily move\nusers to different sites, e.g. for load-balancing purposes.</p>\n"
        },
        {
          "flag": "--max-parallel-moves",
          "param": "maxParallelMoves",
          "type": "integer",
          "text": "<p>Maximum number of user moves that can run in parallel for this batch move.\nBy default there is no limit for the batch. Regardless of this parameter, the\ntotal number of parallel moves is limited by the <code>cluster-user-move</code>\nservice's <code><a href=\"/main/core/summaries/settings.html#service_process_limit\">service_process_limit</a></code>.</p>\n"
        },
        {
          "example": [
            "dest_site_name",
            "9d5be6c9-306a-4c47-b082-82bd1d0f0e11"
          ],
          "flag": "dest-site",
          "param": "destSite",
          "type": "array",
          "text": "<p>The site names to move to.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Initiates moving a number of users to different sites.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-batch-move-site\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user batch move site [--id id] [--count count] [--min-last-moved min-last-moved] [--reason reason] [--preferred-site preferred-site] [--keep-preferred keep-preferred] [--max-parallel-moves max-parallel-moves] <dest site>",
      "http_cmd": "clusterUserBatchMoveSite"
    },
    "cluster user batch move stop": {
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Stop the currently running user batch move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-batch-move-stop\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user batch move stop",
      "http_cmd": "clusterUserBatchMoveStop"
    },
    "cluster user batch move status": {
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Output the status of the currently running user batch move.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-batch-move-status\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user batch move status",
      "http_cmd": "clusterUserBatchMoveStatus"
    },
    "cluster user status": {
      "args": [
        {
          "example": "username",
          "flag": "user",
          "param": "user",
          "type": "string",
          "text": "<p>The username to query.</p>\n"
        }
      ],
      "man": "doveadm-cluster-user",
      "tags": [
        "cluster"
      ],
      "text": "<p>Displays status information of a user.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-user.1.html#cluster-user-status\">doveadm-cluster-user(1)</a></code>",
      "usage": "cluster user status <user>",
      "http_cmd": "clusterUserStatus"
    },
    "cluster geodb refresh": {
      "man": "doveadm-cluster-geodb",
      "tags": [
        "cluster"
      ],
      "text": "<p>Refreshes local caches from GeoDB</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-geodb.1.html#cluster-geodb-refresh\">doveadm-cluster-geodb(1)</a></code>",
      "usage": "cluster geodb refresh ",
      "http_cmd": "clusterGeodbRefresh"
    },
    "cluster tag create": {
      "args": [
        {
          "example": "uuid",
          "flag": "--id",
          "param": "id",
          "type": "string",
          "text": "<p>UUID tag to use, other wise it is auto-generated.</p>\n"
        },
        {
          "example": "tag_name",
          "flag": "name",
          "param": "name",
          "type": "string",
          "text": "<p>Tag name.</p>\n"
        }
      ],
      "man": "doveadm-cluster-tag",
      "tags": [
        "cluster"
      ],
      "text": "<p>Creates a new tag for cluster.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-tag.1.html#cluster-tag-create\">doveadm-cluster-tag(1)</a></code>",
      "usage": "cluster tag create [--id id] <name>",
      "http_cmd": "clusterTagCreate"
    },
    "cluster tag delete": {
      "args": [
        {
          "example": "tag_id",
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>Name or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-tag",
      "tags": [
        "cluster"
      ],
      "text": "<p>Delete a tag.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-tag.1.html#cluster-tag-delete\">doveadm-cluster-tag(1)</a></code>",
      "usage": "cluster tag delete <id>",
      "http_cmd": "clusterTagDelete"
    },
    "cluster tag update": {
      "args": [
        {
          "example": "tag_name",
          "flag": "--name",
          "param": "name",
          "type": "string",
          "text": "<p>Tag name.</p>\n"
        },
        {
          "example": "tag_id",
          "flag": "id",
          "param": "id",
          "type": "string",
          "text": "<p>Name or ID.</p>\n"
        }
      ],
      "man": "doveadm-cluster-tag",
      "tags": [
        "cluster"
      ],
      "text": "<p>Change tag name.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-tag.1.html#cluster-tag-update\">doveadm-cluster-tag(1)</a></code>",
      "usage": "cluster tag update [--name name] <id>",
      "http_cmd": "clusterTagUpdate"
    },
    "cluster tag list": {
      "man": "doveadm-cluster-tag",
      "tags": [
        "cluster"
      ],
      "text": "<p>List all tags.</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-cluster-tag.1.html#cluster-tag-list\">doveadm-cluster-tag(1)</a></code>",
      "usage": "cluster tag list ",
      "http_cmd": "clusterTagList"
    },
    "fts check fast": {
      "args": [
        {
          "flag": "--refresh",
          "param": "refresh",
          "type": "boolean",
          "text": "<p>Refresh any necessary local caches for the command to run successfully.\nThis can be used if the command otherwise fails with exit code 68.</p>\n"
        },
        {
          "flag": "--print-mistmatches-only",
          "param": "printMistmatchesOnly",
          "type": "boolean",
          "text": "<p>Print only mailboxes that have inconsistencies.</p>\n"
        },
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace to process.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "flags": 3,
      "text": "<p>Check FTS indexes for consistency (fast checking).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-check-fast\">doveadm-fts(1)</a></code>",
      "usage": "fts check fast [--refresh] [--print-mistmatches-only] <namespace> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsCheckFast"
    },
    "fts check full": {
      "args": [
        {
          "flag": "--print-details",
          "param": "printDetails",
          "type": "boolean",
          "text": "<p>Print IMAP UID numbers and FTS triplet names for each email.</p>\n"
        },
        {
          "flag": "--print-mistmatches-only",
          "param": "printMistmatchesOnly",
          "type": "boolean",
          "text": "<p>Print only mailboxes that have inconsistencies.</p>\n"
        },
        {
          "example": "#shared",
          "flag": "namespace",
          "param": "namespace",
          "type": "string",
          "text": "<p>Namespace to process.</p>\n"
        },
        {
          "example": false,
          "flag": "-A",
          "param": "allUsers",
          "type": "boolean",
          "text": "<p>Apply operation to all users.</p>\n"
        },
        {
          "example": "/var/run/dovecot/doveadm-server",
          "flag": "-S",
          "param": "socketPath",
          "type": "string",
          "text": "<p>Path to doveadm socket.</p>\n"
        },
        {
          "example": "username",
          "flag": "-u",
          "param": "user",
          "type": "string",
          "text": "<p>UID of user to apply operation to.</p>\n"
        },
        {
          "flag": "-F",
          "param": "userFile",
          "type": "string",
          "text": "<p>A filename. If set, fetch usernames from file. One username per line.</p>\n"
        }
      ],
      "man": "doveadm-fts",
      "flags": 3,
      "text": "<p>Check FTS indexes for consistency (full checking).</p>\n",
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-check-full\">doveadm-fts(1)</a></code>",
      "usage": "fts check full [--print-details] [--print-mistmatches-only] <namespace> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsCheckFull"
    }
  },
  "http_api_link": "<a href=\"/main/core/admin/doveadm.html#http-api\">HTTP API</a>"
}