13 Jun
2006
13 Jun
'06
9:45 a.m.
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:
- Maildir++ quota named "user" with 1000kB and 10000 message count limit
- For Trash mailbox additional 100kB is allowed to be saved
- 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.
- "diskspace" named quota root which would show how much of the filesystem is in use.