{
  "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"
    },
    "fts flatcurve check": {
      "args": [
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>A list of mailbox masks to check.</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",
      "plugin": "fts-flatcurve",
      "flags": 3,
      "text": "<p>Run a simple check on Dovecot Xapian databases, and attempt to fix basic\nerrors (it is the same checking done by the xapian-check command with the\n<code>-F</code> command-line option).</p>\n",
      "response": {
        "example": [
          {
            "mailbox": "INBOX",
            "guid": "guid_string",
            "errors": 0,
            "shards": 1
          }
        ],
        "text": "<p>For each mailbox that has FTS data, it outputs the following key/value fields:</p>\n<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mailbox</td>\n<td>The human-readable mailbox name. (key is hidden)</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>The GUID of the mailbox.</td>\n</tr>\n<tr>\n<td>errors</td>\n<td>The number of errors reported by the Xapian library.</td>\n</tr>\n<tr>\n<td>shards</td>\n<td>The number of index shards processed.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-flatcurve-check\">doveadm-fts(1)</a></code>",
      "usage": "fts flatcurve check <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsFlatcurveCheck"
    },
    "fts flatcurve remove": {
      "args": [
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>A list of mailbox masks 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"
        },
        {
          "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",
      "plugin": "fts-flatcurve",
      "flags": 3,
      "text": "<p>Removes all FTS data for a mailbox.</p>\n",
      "response": {
        "example": [
          {
            "mailbox": "INBOX",
            "guid": "guid_string"
          }
        ],
        "text": "<p>For each mailbox removed, it outputs the following key/value fields:</p>\n<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mailbox</td>\n<td>The human-readable mailbox name. (key is hidden)</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>The GUID of the mailbox.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-flatcurve-remove\">doveadm-fts(1)</a></code>",
      "usage": "fts flatcurve remove <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsFlatcurveRemove"
    },
    "fts flatcurve rotate": {
      "args": [
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>A list of mailbox masks to rotate.</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",
      "plugin": "fts-flatcurve",
      "flags": 3,
      "text": "<p>Triggers an FTS index rotation for a mailbox.</p>\n",
      "response": {
        "example": [
          {
            "mailbox": "INBOX",
            "guid": "guid_string"
          }
        ],
        "text": "<p>For each mailbox rotated, it outputs the following key/value fields:</p>\n<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mailbox</td>\n<td>The human-readable mailbox name. (key is hidden)</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>The GUID of the mailbox.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-flatcurve-rotate\">doveadm-fts(1)</a></code>",
      "usage": "fts flatcurve rotate <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsFlatcurveRotate"
    },
    "fts flatcurve stats": {
      "args": [
        {
          "example": [
            "INBOX"
          ],
          "flag": "mailbox-mask",
          "param": "mailboxMask",
          "type": "array",
          "text": "<p>A list of mailbox masks 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",
      "plugin": "fts-flatcurve",
      "flags": 3,
      "text": "<p>Returns FTS data for a mailbox.</p>\n",
      "response": {
        "example": [
          {
            "mailbox": "INBOX",
            "guid": "guid_string",
            "last_uid": 123,
            "messages": 2,
            "shards": 1,
            "version": 1
          }
        ],
        "text": "<p>For each mailbox that has FTS data, it outputs the following key/value fields:</p>\n<table tabindex=\"0\">\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mailbox</td>\n<td>The human-readable mailbox name. (key is hidden)</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>The GUID of the mailbox.</td>\n</tr>\n<tr>\n<td>last_uid</td>\n<td>The last UID indexed in the mailbox.</td>\n</tr>\n<tr>\n<td>messages</td>\n<td>The number of messages indexed in the mailbox.</td>\n</tr>\n<tr>\n<td>shards</td>\n<td>The number of index shards.</td>\n</tr>\n<tr>\n<td>version</td>\n<td>The (Dovecot internal) version of the FTS data.</td>\n</tr>\n</tbody>\n</table>\n"
      },
      "man_link": "<code><a href=\"/main/core/man/doveadm-fts.1.html#fts-flatcurve-stats\">doveadm-fts(1)</a></code>",
      "usage": "fts flatcurve stats <mailbox mask> [-A] [-S socket-path] [-u user] [-F user-file]",
      "http_cmd": "ftsFlatcurveStats"
    },
    "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: 2.4.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: 2.4.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: 2.4.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: 2.4.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"
    }
  },
  "http_api_link": "<a href=\"/main/core/admin/doveadm.html#http-api\">HTTP API</a>"
}