Hello, I'd have to agree with Christian. He wants the logical and expected behavior. I'd suggest to developers to read carefully what Cris's suggested and consider its implementation.
Best Regards, Leon Kolchinsky -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Anton Sent: Friday, October 07, 2005 2:28 PM To: [email protected] Subject: Re: [Web-cyradm] broken default quota handling in 0.5.5-beta1 Muenz, Michael wrote: >Hi, > > > >>I verified the problems and found the following out: >> >>It ist generally not able to increase a size of a mailbox or create a >>new mailbox that is over the "default Mailbox Quota" for this domain, >>when the logged in user is domain administrator, not Superuser. >> >> > >yeah, that's cool :) > > ummm, it's not! > > > >>An example: >>I have a trusted friend who uses an account on my server for his >>email-domain. He is set up as domain administrator for the domain >>myfriend.com, i did not set any DOMAIN quota for him as i trust him, >>but i have set a DEFAULT Mailbox quota of 20000kBytes. He wants to >>create a new mailbox with 50000kBytes of Quota, and web-cyradm tells >>him that he is over quota and the mailbox cannot be created. >> >> > >It's not a bug, it's a feature! ;) > > sounds like windows... > > >>Another example: >>The same user with the same domain wants to increase the size of a >>mailbox already created with a quota of 10000kBytes. He can increase >>size until reaching to 20000kBytes, but not above. >> >> > >This is also correct. > > > >>Just another one: >>When a domain admin has a DOMAIN quota of 10000kBytes and a DEFAULT >>quota of 5000kBytes, he can create so much mailboxes of 5000kBytes >>until reaching the Domain-quota (in this case 2), but he cannot create >>ONE Mailbox with 7000kBytes for example. >> >> > >That's also ok. > > Not for me :) >Sorry Chris, I'm sure you don't have really understand >the quota feature. Domainadmin's are "half trusted", so >they can't create mailboxes over quota limit. If you trust >him and want to let him create mb's over quota give him >superuser rights. > > I have about 30 domains on my system. I trust some of the domain admins, but not all of them. The domain admin is my client, he gets a max space to use for email accounts, the DOMAIN quota is set to this space. I want him to be able to create so much accounts with the space he wants until reaching to the domain-quota limit. The default Mailbox-Quota imho have to be only a value that is taken as the mailbox quota as default, so that the domain admin has not to edit the mailbox quota when creating "standard" mailboxes. The value has the name "Default" quota, not "max" quota! If the behavior is planned like this, i think it would be better to create an additional entry in the database named "max mailbox quota", settable for every domain by the superuser. So you would be able to create a domain with 100000kBytes of Domain quota, 5000kBytes of standard mailbox quota and maybe 50000kBytes of max mailbox quota. So if the domain admin clicks on "new account" in the field "mailbox quota" appear the value of 5000kBytes, what would be the default, but he would be able to set the mailbox size up to 50000kBytes. When the mailbox max default is not set, he would be able to set mailboxes quota to whatever he wants, until the addition of all mailbox quotas defined by him would reach the value setted as domain quota. IMO the current handling of Mailbox quotas is broken and would have to be like i expected. I don't want to complain but it would be nessesary for me in a Webhosting environment to have this feature as explained above, without the "max account quota" of course, this was only an idea. Is there any possibility to change this, maybe some of the devs find my idea interesting and implement a config option that does what i want? Greets Christian _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
