Permalink
Switch branches/tags
sieve-1.2 pretab posttab dev/hierarchy-separator-r2 dev/hierarchy-separator-r1 dev/alt-namespace-r3 dev/alt-namespace-r2 dev/alt-namespace-r1 cyrus/old-copyright cyrus-sasl-2.1.23 cyrus-sasl-2.1.19 cyrus-sasl-2.1.18 cyrus-sasl-2.1.17 cyrus-sasl-2.1.16 cyrus-sasl-2.1.15 cyrus-sasl-2.1.14 cyrus-sasl-2.1.13 cyrus-sasl-2.1.12 cyrus-sasl-2.1.11 cyrus-sasl-2.1.10 cyrus-sasl-2.1.9 cyrus-sasl-2.1.7 cyrus-sasl-2.1.6 cyrus-sasl-2.1.3 cyrus-sasl-2.1.2 cyrus-sasl-2.1.1 cyrus-sasl-2.0.5 cyrus-sasl-2.0.4 cyrus-sasl-1.5.27 cyrus-sasl-1.5.25 cyrus-sasl-1.5.24 cyrus-sasl-1.5.21 cyrus-sasl-1.5.20 cyrus-sasl-1.5.18 cyrus-sasl-1.5.17 cyrus-sasl-1.5.15 cyrus-sasl-1.5.13 cyrus-sasl-1.5.12 cyrus-sasl-1.5.11 cyrus-sasl-1.5.3 cyrus-sasl-1.4.1 cyrus-sasl-1.3-beta2 cyrus-imapd-3.1.5 cyrus-imapd-3.1.4 cyrus-imapd-3.1.3 cyrus-imapd-3.1.2 cyrus-imapd-3.1.1 cyrus-imapd-3.1.0-dev cyrus-imapd-3.0.8 cyrus-imapd-3.0.7 cyrus-imapd-3.0.6 cyrus-imapd-3.0.5 cyrus-imapd-3.0.4 cyrus-imapd-3.0.3 cyrus-imapd-3.0.2 cyrus-imapd-3.0.1 cyrus-imapd-3.0.0 cyrus-imapd-3.0.0-rc4 cyrus-imapd-3.0.0-rc3 cyrus-imapd-3.0.0-rc2 cyrus-imapd-3.0.0-rc1 cyrus-imapd-3.0.0-beta6 cyrus-imapd-3.0.0-beta5 cyrus-imapd-3.0.0-beta4 cyrus-imapd-3.0.0-beta3 cyrus-imapd-3.0.0-beta2 cyrus-imapd-3.0.0-beta1 cyrus-imapd-2.5.12 cyrus-imapd-2.5.11 cyrus-imapd-2.5.10 cyrus-imapd-2.5.9 cyrus-imapd-2.5.8 cyrus-imapd-2.5.7 cyrus-imapd-2.5.6 cyrus-imapd-2.5.5 cyrus-imapd-2.5.4 cyrus-imapd-2.5.3 cyrus-imapd-2.5.2 cyrus-imapd-2.5.1 cyrus-imapd-2.5.0 cyrus-imapd-2.5-snapshot-autoconf-and-automake cyrus-imapd-2.4.20 cyrus-imapd-2.4.19 cyrus-imapd-2.4.18 cyrus-imapd-2.4.17 cyrus-imapd-2.4.17-caldav-beta10 cyrus-imapd-2.4.17-caldav-beta9 cyrus-imapd-2.4.17-caldav-beta8 cyrus-imapd-2.4.17-caldav-beta7 cyrus-imapd-2.4.17-caldav-beta6 cyrus-imapd-2.4.17-caldav-beta5 cyrus-imapd-2.4.17-caldav-beta4 cyrus-imapd-2.4.17-caldav-beta3 cyrus-imapd-2.4.17-caldav-beta2 cyrus-imapd-2.4.17-caldav-beta1 cyrus-imapd-2.4.16 cyrus-imapd-2.4.15 cyrus-imapd-2.4.14 cyrus-imapd-2.4.13 cyrus-imapd-2.4.13beta1
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (74 sloc) 3.1 KB

Quotas

Cyrus IMAP features a flexible Quota scheme with support for limiting various resources, such as storage or number of folders or messages.

.. toctree::
    :maxdepth: 1
    :glob:

    quotas/*

Monitor and Repair

Quotas may be monitored and repaired via the :cyrusman:`quota(8)` command:

Controlling Quota Behavior

How restrictive quotas will be may be tailored to the needs of different sites, via the use of several settings in :cyrusman:`imapd.conf(5)`:

Quota Database

Quota information is stored either in a database (i.e. twoskip, skiplist) or in "quotalegacy" format, which is a filesystem hierarchy. This is controlled by the quota_db setting in :cyrusman:`imapd.conf(5)`. Here's more about the pertinent settings:

Converting Quotas Database

The :cyrusman:`cvt_cyrusdb(8)` utility may be used to convert between formats. It's usage with quotalegacy is a special case, in that the first argument ("<old db>") will be the path to the base of the quotalegacy directory structure, not to a particular file.

For example, given this typical layout:

/var/lib/imap/
|            /quota/
|                  /A/
|                    /user/
|                         /bob/

The proper cvt_cyrusdb command would be:

cvt_cyrusdb /var/lib/imap/quota quotalegacy /var/lib/imap/quotas.db twoskip

Back to :ref:`imap-admin`