11 Jun
2008
11 Jun
'08
4:02 p.m.
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 }