Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file
DOVEADM-QUOTA 1 "2015-05-09" "Dovecot v2.3" "Dovecot"
NAME
doveadm-quota - Initialize/recalculate or show current quota usage ------------------------------------------------------------------------
SYNOPSIS
doveadm " [" -Dv "] [" -f formatter ] quota " [" -S socket_path "] " command -------------------------------------

doveadm " [" -Dv "] [" -f formatter ] quota " [" -S socket_path "]" command -A -------------------------------------

doveadm " [" -Dv "] [" -f formatter ] quota " [" -S socket_path "]" command -F file -------------------------------------

doveadm " [" -Dv "] [" -f formatter ] quota " [" -S socket_path "]" command -u user ------------------------------------------------------------------------

DESCRIPTION
In the first form, doveadm (1) will execute the command for the currently logged in user.

In the second form, the command will be performed for all users.

In the third form, the command will be performed for all users listed in the given file .

In the fourth form, the command will affect only the matching user (s).

Note:
The quota get and quota recalc commands are only available when the global mail_plugins setting contains the quota plugin. ------------------------------------------------------------------------
@INCLUDE:global-options-formatter@ --- command specific options --- "/.

Command specific options : -------------------------------------
@INCLUDE:option-A@ -------------------------------------
@INCLUDE:option-F-file@ -------------------------------------
@INCLUDE:option-S-socket@ -------------------------------------
@INCLUDE:option-u-user@ ------------------------------------------------------------------------

COMMANDS
quota get
doveadm " [" -f formatter ] quota get [-A|-u user|-F file]

The quota get command is used to display the current quota usage. The storage values are reported in kilobytes.

This command uses by default the output formatter table . -------------------------------------

quota recalc
doveadm quota recalc [-A|-u user|-F file]

The quota recalc command is used to recalculate the current quota usage. ------------------------------------------------------------------------

FILES

@pkgsysconfdir@/dovecot.conf Dovecot\(aqs main configuration file, including the dict section.

@pkgsysconfdir@/dovecot-dict-sql.conf.ext SQL dictionary proxy settings.

@pkgsysconfdir@/conf.d/10-mail.conf Mailbox locations and namespaces, including global mail_location

@pkgsysconfdir@/conf.d/90-quota.conf Quota configuration. ------------------------------------------------------------------------

EXAMPLE
Get the current quota usage of user jane.
 doveadm quota get -u jane Quota name Type Value Limit %
user STORAGE 90099 102400 87
user MESSAGE 20548 30000 68
------------------------------------------------------------------------
@INCLUDE:reporting-bugs@ ------------------------------------------------------------------------
SEE ALSO
doveadm (1)