.\" Man page generated from reStructuredText. . .TH "QUOTA" "8" "February 13, 2023" "3.6.1" "Cyrus IMAP" .SH NAME quota \- Cyrus IMAP documentation . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .sp Report and optionally fix storage and message quota usage. .SH SYNOPSIS .sp .nf \fBquota\fP [ \fB\-C\fP \fIconfig\-file\fP ] [ \fB\-d\fP \fIdomain\fP ] [ \fB\-f\fP ] [ \fB\-u\fP ] [ \fImailbox\-spec\fP\&... ] .fi .SH DESCRIPTION .sp \fBquota\fP generates a report listing quota roots, giving their limits and usage. .sp If the \fB\-f\fP option is specified, \fBquota\fP first fixes any inconsistencies in the quota subsystem, such as mailboxes with the wrong quota root or quota roots with the wrong quota usage reported. .sp If an optional \fIdomain\fP is specified with the \fB\-d\fP option, the quota listing (and any inconsistency fixing) is performed only in that domain rather than all mailboxes. .sp If one or more \fImailbox\-spec\fP arguments are specified, these are interpreted as mailbox prefixes, and the quota listing (and inconsistency fixing) is limited to quota roots with names that start with one of the given prefixes. If the \fB\-u\fP is provided, \fImailbox\-spec\fP arguments are instead interpreted as userids, and the quota listing (and inconsistency fixing) is limited to quota roots for only the specified users. .sp \fBWARNING:\fP .INDENT 0.0 .INDENT 3.5 Running \fBquota\fP with both the \fB\-f\fP option and \fImailbox\-spec\fP arguments is not recommended. .UNINDENT .UNINDENT .sp \fBquota\fP reads its configuration options out of the imapd.conf(5) file unless specified otherwise by \fB\-C\fP\&. .SH OPTIONS .INDENT 0.0 .TP .B \-C config\-file Use the specified configuration file \fIconfig\-file\fP rather than the default imapd.conf(5)\&. .UNINDENT .INDENT 0.0 .TP .B \-d domain List and/or fix quota only in \fIdomain\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-f Fix any inconsistencies in the quota subsystem before generating a report. .UNINDENT .INDENT 0.0 .TP .B \-n Check for any inconsistencies in the quota subsystem but don’t actually fix them. Use with \fB\-f\fP and \fB\-q\fP to only see what’s incorrect. .UNINDENT .INDENT 0.0 .TP .B \-q Operate quietly. If \fB\-f\fP is specified, then don’t print the quota values, only print messages when things are changed. .UNINDENT .INDENT 0.0 .TP .B \-J Output the quota values as JSON for automated tooling support .UNINDENT .INDENT 0.0 .TP .B \-u Interpret \fImailbox\-spec\fP arguments as userids. The default is to interpret them as mailbox prefixes .UNINDENT .INDENT 0.0 .TP .B mailbox\-spec Only report and/or fix quota in mailboxes matching the specified \fImailbox\-spec\fP arguments. See also \fB\-u\fP\&. .UNINDENT .SH EXAMPLES .sp .nf \fBquota\fP .fi .INDENT 0.0 .INDENT 3.5 List quotas for all users and mailboxes. .UNINDENT .UNINDENT .SH FILES .sp /etc/imapd.conf .SH SEE ALSO .sp imapd.conf(5) .SH AUTHOR The Cyrus Team, Jeroen van Meeuwen (Kolab Systems), Nic Bernstein (Onlight) .SH COPYRIGHT 1993–2023, The Cyrus Team .\" Generated by docutils manpage writer. .