diff dovecot-example.conf @ 4509:e5e79558ac2d HEAD

Added support for multiple quota roots, rules and storages. The configuration has changed, userdb now needs to return "quota_rule" settings instead. Much of the code changes were done by Tianyan Liu.
author Timo Sirainen <timo.sirainen@movial.fi>
date Sun, 30 Jul 2006 20:58:38 +0300
parents d2c14175a509
children 99699cf9df43
line wrap: on
line diff
--- a/dovecot-example.conf	Mon Jul 24 04:57:15 2006 +0300
+++ b/dovecot-example.conf	Sun Jul 30 20:58:38 2006 +0300
@@ -968,6 +968,21 @@
   #   dict: Keep quota stored in dictionary (eg. SQL)
   #   maildir: Maildir++ quota
   #   fs: Read-only support for filesystem quota
+  #
+  # Quota limits are set using "quota_rule" parameters, either in here or in
+  # userdb. It's also possible to give mailbox-specific limits, for example:
+  #   quota_rule = *:storage=1048576
+  #   quota_rule2 = Trash:storage=102400
+  # User has now 1GB quota, but when saving to Trash mailbox the user gets
+  # additional 100MB.
+  #
+  # Multiple quota roots are also possible, for example:
+  #   quota = dict:user::/etc/dovecot-user-quota.conf
+  #   quota2 = dict:domain:%d:/etc/dovecot-domain-quota.conf
+  #   quota_rule = *:storage=102400
+  #   quota2_rule = *:storage=1048576
+  # Gives each user their own 100MB quota and one shared 1GB quota within
+  # the domain.
   #quota = maildir
 
   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir