1QUOTA(8)                          Cyrus IMAP                          QUOTA(8)
2
3
4

NAME

6       quota - Cyrus IMAP documentation
7
8       Report and optionally fix storage and message quota usage.
9

SYNOPSIS

11          quota [ -C config-file ] [ -d domain ] [ -f ] [ -u ] [ mailbox-spec... ]
12

DESCRIPTION

14       quota  generates  a report listing quota roots, giving their limits and
15       usage.
16
17       If the -f option is specified, quota first fixes any inconsistencies in
18       the  quota  subsystem,  such  as mailboxes with the wrong quota root or
19       quota roots with the wrong quota usage reported.
20
21       If an optional domain is specified with the -d option, the quota  list‐
22       ing  (and  any  inconsistency  fixing) is performed only in that domain
23       rather than all mailboxes.
24
25       If one or more mailbox-spec arguments are specified, these  are  inter‐
26       preted  as  mailbox  prefixes, and the quota listing (and inconsistency
27       fixing) is limited to quota roots with names that start with one of the
28       given  prefixes.  If the -u is provided, mailbox-spec arguments are in‐
29       stead interpreted as userids, and the quota listing (and  inconsistency
30       fixing) is limited to quota roots for only the specified users.
31
32       WARNING:
33          Running  quota with both the -f option and mailbox-spec arguments is
34          not recommended.
35
36       quota reads its configuration options out of the imapd.conf(5) file un‐
37       less specified otherwise by -C.
38

OPTIONS

40       -C config-file
41              Use the specified configuration file config-file rather than the
42              default imapd.conf(5).
43
44       -d domain, --domain domain
45              List and/or fix quota only in domain.
46
47       -f, --fix
48              Detect and fix any inconsistencies in the quota subsystem before
49              generating a report.
50
51       -n, --report-only
52              Check  for  any inconsistencies in the quota subsystem but don't
53              actually fix them.  Use with -f and -q to only see what's incor‐
54              rect.
55
56       -q, --quiet
57              Operate  quietly. If -f is specified, then don't print the quota
58              values, only print messages when things are changed.
59
60       -J, --json
61              Output the quota values as JSON for automated tooling support
62
63       -u, --userids
64              Interpret mailbox-spec arguments as userids.  The default is  to
65              interpret them as mailbox prefixes
66
67       mailbox-spec
68              Only report and/or fix quota in mailboxes matching the specified
69              mailbox-spec arguments.  See also -u.
70

EXAMPLES

72          quota
73          List quotas for all users and mailboxes.
74

FILES

76       /etc/imapd.conf
77

SEE ALSO

79       imapd.conf(5)
80

AUTHOR

82       The Cyrus Team, Jeroen van Meeuwen (Kolab Systems), Nic Bernstein  (On‐
83       light)
84
86       1993–2023, The Cyrus Team
87
88
89
90
913.8.1                            Sep 11, 2023                         QUOTA(8)
Impressum