On 12/3/06, Timo Sirainen <tss@iki.fi> wrote:
On Sun, 2006-12-03 at 19:27 +0200, Timo Sirainen wrote:
My main reason for separate uids was filesystem quotas for whole domain. But my mail partition resides on XFS so I can do the same with directory quotas and I also noticed changes in quotas which should be also per domain in some next release or with patch.
I guess you could also use virtual quota (eg. maildir++ quota).
Should have thought a bit more before replying. :)
If you want domain quotas then.. well, Maildir++ quota won't work right now.
You could use dictionary quotas (== keep the quota in MySQL), but it has one problem: It doesn't support recalculating quota yet, so making it work for existing users could be problematic. Hmm. Maybe I should finally implement that, so that it would actually be usable..
You mean something like: # quota = dict:user::/etc/dovecot-user-quota.conf # quota2 = dict:domain:%d:/etc/dovecot-domain-quota.conf what can be found in the wiki (but not in the main sources)? I think I can stick with XFS quotas for a while. Not so nice solution but still usable.