[Dovecot] quota-rewrite patch & userdb quota overriding

Timo Sirainen tss at iki.fi
Wed Jun 11 16:02:52 EEST 2008


On Wed, 2008-06-11 at 15:59 +0900, Alan Premselaar wrote:
> prior to the quota-rewrite patch (which i installed with the hopes of
> using quota_warn feature) i was able to put the following line into my
> passwd-file userdb and it was working:
> 
> alan:*:1000:1000::/home/alan::userdb_quota=maildir:storeage=2048000:ignore=Sent
> 
> (which is what I wanted) but now with the new quota definition style,
> I'm not sure what I need to define the extra fields as.

You'll most likely want to override quota_rule, so:

alan:*:1000:1000::/home/alan::userdb_quota_rule=*:storage=2G

The rest can be kept in:

plugin {
  quota = maildir
  quota_rule = *:storage=1G
  quota_rule2 = Trash:storage=100M
  quota_rule3 = Sent:ignore # well, this works only with v1.1 actually
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080611/cf4781ff/attachment.bin 


More information about the dovecot mailing list