Backported from CVS HEAD to branch_1_0. You can get it as a patch from
http://dovecot.org/patches/1.0/quota-rewrite.diff
New features include support for multiple quota roots, so you could have
eg. per-user quota and a larger domain quota (although no backend
actually supports this yet..).
The more important feature is that you can configure specific mailboxes
to have a bit more space available for them, such as Trash or Spam. The
configuration has also changed. Normally you'd use something like this:
quota = maildir
# 1GB quota in general
quota_rule = *:storage=1048576
# Trash mailbox gets 100MB more (so max. 1,1GB)
quota_rule2 = Trash:storage=102400
# Spam mailbox gets also +100MB (still maxes at 1,1GB, not 1,2GB)
quota_rule3 = Spam:storage=102400
You can place all the above into plugin { .. } section in dovecot.conf.
In userdb if users have different quotas you'd then need to override
only quota_rule (not quota, quota_rule2 and quota_rule3).
I tested quickly that this seemed to work as described above. Please
test and report. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20060914/b9add8d3/attachment.bin>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi timo,> Backported from CVS HEAD to branch_1_0. You can get it as a patch from > http://dovecot.org/patches/1.0/quota-rewrite.diff > > New features include support for multiple quota roots, so you could > have eg. per-user quota and a larger domain quota (although no backend > actually supports this yet..)....> I tested quickly that this seemed to work as described above. Please > test and report. :)do i understand correctly that _this_ (in dovecot.conf) is the way, now, to specify per-user quota, _rather_ than in, e.g., userdb static { spec? richard - -- /"\ \ / ASCII Ribbon Campaign X against HTML email, vCards / \ & micro$oft attachments [GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iEYEARECAAYFAkUJkoYACgkQlffdvTZxCMYecQCgsXIniFG6yaSWop/BjYz8yF4K 7AwAnjxZozTlOPEUgxc2dgzelHOKfdop =VJXs -----END PGP SIGNATURE-----
hi, -- On September 14, 2006 3:31:54 PM +0300 Timo Sirainen <tss at iki.fi> wrote:> In userdb if users have different quotas you'd then > need to override only quota_rule (not quota, quota_rule2 and > quota_rule3).could you please provide a specific example of the format for per-user quota override in a static userdb? (the wiki has example just for sql query ...) i've tried a number of various formats suggested @ wiki & @ list, and have been, to date, unable to override the setting from the global conf file. no errors fire, simply no change is accepted. thanks, richard -- /"\ \ / ASCII Ribbon Campaign X against HTML email, vCards / \ & micro$oft attachments [GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6