[Dovecot] Multiple quota roots

Timo Sirainen tss at iki.fi
Tue Jun 13 16:45:29 EEST 2006


On Mon, 2006-06-12 at 17:58 +0300, Timo Sirainen wrote:
> Now, anyone have suggestions how all of this should be configured in
> config file to make it as useful for different purposes as possible? :)

I think like this:

quota = maildir:user storage=1000:messages=10000 (Trash storage=100) \
	maildir:domain path=/home/%d/domain-maildirsize:storage=10000 \
	df:diskspace

Which creates 3 quota roots:

1. Maildir++ quota named "user" with 1000kB and 10000 message count
limit
  - For Trash mailbox additional 100kB is allowed to be saved
2. Maildir++ quota named "domain" with 10MB quota, shared between all
people within domain. So if the domain quota fills up, no-one can save
mails even if their user quota wouldn't be filled up.
3. "diskspace" named quota root which would show how much of the
filesystem is in use.

-------------- 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/20060613/46532c74/attachment.pgp


More information about the dovecot mailing list