[dovecot-cvs] dovecot dovecot-example.conf,1.209,1.210

tss-movial at dovecot.org tss-movial at dovecot.org
Sun Jul 30 20:58:40 EEST 2006


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv31457

Modified Files:
	dovecot-example.conf 
Log Message:
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.



Index: dovecot-example.conf
===================================================================
RCS file: /var/lib/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- dovecot-example.conf	5 Jul 2006 19:51:36 -0000	1.209
+++ dovecot-example.conf	30 Jul 2006 17:58:38 -0000	1.210
@@ -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



More information about the dovecot-cvs mailing list