Account Limits for Class of service ( Maximum accounts for a COS )
Account Limits for Class of service ( Maximum accounts for a COS )
Dear Zimbra Admins,
I can set Maximum accounts for a domain with below command.
zmprov md <domain.com> zimbraDomainMaxAccounts NUMBER
I can view it with below commands.
zmprov gd <domain.com> | grep zimbraDomainMaxAccounts
source - https://bugzilla.zimbra.com/show_bug.cgi?id=46748
My question is How to set Account Limits for Class of service ( Maximum accounts for a COS )?
Is their a way to achive it?
My zimbra version is given below. It is FOSS.
Release 8.8.12_GA_3794.RHEL7_64_20190329045002 RHEL7_64 FOSS edition, Patch 8.8.12_P1 proxy.
Let's assume I have a domain called domain.com. Domain can have only 20 accounts. ( this will do it zmprov md <domain.com> zimbraDomainMaxAccounts 20)
Now, I need 10 accounts with 500 MB quota, 5 with 300 MB quota and 5 with 200 MB quota.
I hope question is pretty clear.
Is anybody out there who has achieved it?
Shall we share the knowledge?
I can set Maximum accounts for a domain with below command.
zmprov md <domain.com> zimbraDomainMaxAccounts NUMBER
I can view it with below commands.
zmprov gd <domain.com> | grep zimbraDomainMaxAccounts
source - https://bugzilla.zimbra.com/show_bug.cgi?id=46748
My question is How to set Account Limits for Class of service ( Maximum accounts for a COS )?
Is their a way to achive it?
My zimbra version is given below. It is FOSS.
Release 8.8.12_GA_3794.RHEL7_64_20190329045002 RHEL7_64 FOSS edition, Patch 8.8.12_P1 proxy.
Let's assume I have a domain called domain.com. Domain can have only 20 accounts. ( this will do it zmprov md <domain.com> zimbraDomainMaxAccounts 20)
Now, I need 10 accounts with 500 MB quota, 5 with 300 MB quota and 5 with 200 MB quota.
I hope question is pretty clear.
Is anybody out there who has achieved it?
Shall we share the knowledge?
- ccelis5215
- Outstanding Member
- Posts: 632
- Joined: Sat Sep 13, 2014 2:04 am
- Location: Caracas - Venezuela
- ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12
Re: Account Limits for Class of service ( Maximum accounts for a COS )
Hi,
Can you check zimbraDomainCOSMaxAccounts ?
Never used, not sure it's limited to NE, but you can test.
ccelis
Can you check zimbraDomainCOSMaxAccounts ?
Never used, not sure it's limited to NE, but you can test.
ccelis
Re: Account Limits for Class of service ( Maximum accounts for a COS )
I ran below command.ccelis5215 wrote:Hi,
Can you check zimbraDomainCOSMaxAccounts ?
Never used, not sure it's limited to NE, but you can test.
ccelis
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:2
It stopped working everything.
Now, I want to disable it. i ran below command.
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:0
But, It still does NOT work.
This is a running domain.
How to disable it? Pls help ASAP.
Re: Account Limits for Class of service ( Maximum accounts for a COS )
indunil75 wrote:I ran below command.ccelis5215 wrote:Hi,
Can you check zimbraDomainCOSMaxAccounts ?
Never used, not sure it's limited to NE, but you can test.
ccelis
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:2
It stopped working everything.
Now, I want to disable it. i ran below command.
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:0
But, It still does NOT work.
This is a running domain.
How to disable it? Pls help ASAP.
I get below error, while editing accounts of that domain.
Critical
JavaScript error encountered in method
ZaOverviewPanelController.prototype._overviewTreeListener
Can you help me to solve it ASAP?
Re: Account Limits for Class of service ( Maximum accounts for a COS )
indunil75 wrote:indunil75 wrote:I ran below command.ccelis5215 wrote:Hi,
Can you check zimbraDomainCOSMaxAccounts ?
Never used, not sure it's limited to NE, but you can test.
ccelis
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:2
It stopped working everything.
Now, I want to disable it. i ran below command.
zmprov md domain.com zimbraDomainCOSMaxAccounts 150mbcos:0
But, It still does NOT work.
This is a running domain.
How to disable it? Pls help ASAP.
I get below error, while editing accounts of that domain.
Critical
JavaScript error encountered in method
ZaOverviewPanelController.prototype._overviewTreeListener
Can you help me to solve it ASAP?
I myself disabled it. I UNDID it with below command.
zmprov md domain.com -zimbraDomainCOSMaxAccounts 150mbcos:0
It started working again. I started berating again.
- ccelis5215
- Outstanding Member
- Posts: 632
- Joined: Sat Sep 13, 2014 2:04 am
- Location: Caracas - Venezuela
- ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12
Re: Account Limits for Class of service ( Maximum accounts for a COS )
Hello indunil75,
Sorry for late response, i made a test using the COS zimbraId and it worked.
then
ccelis
Sorry for late response, i made a test using the COS zimbraId and it worked.
Code: Select all
zmprov gc 150mbcos zimbraId
Code: Select all
zmprov md domain.com zimbraDomainCOSMaxAccounts zimbraIdValue:2
Re: Account Limits for Class of service ( Maximum accounts for a COS )
Yeah, Thanks a lot. It works. I can have muliple COSes as well in this way.ccelis5215 wrote:Hello indunil75,
Sorry for late response, i made a test using the COS zimbraId and it worked.thenCode: Select all
zmprov gc 150mbcos zimbraId
ccelisCode: Select all
zmprov md domain.com zimbraDomainCOSMaxAccounts zimbraIdValue:2
zmprov md domain.com +zimbraDomainCOSMaxAccounts 9336c681-bf2f-4fa8-9c66-b4cbd9857ca2:2
zmprov md domain.com +zimbraDomainCOSMaxAccounts 1674fc6e-cc96-47fc-82ce-3c538d0d404f:1
we can viiew it
zmprov gd domain.com | grep -i zimbraDomainCOSMaxAccounts or zmprov gd domain.com | grep -i MaxAccounts
- ccelis5215
- Outstanding Member
- Posts: 632
- Joined: Sat Sep 13, 2014 2:04 am
- Location: Caracas - Venezuela
- ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12
Re: Account Limits for Class of service ( Maximum accounts for a COS )
Excellent, glad it worked for you.
ccelis
ccelis
Re: Account Limits for Class of service ( Maximum accounts for a COS )
Many thanks to you. unless you helped me, it would have been impossible.ccelis5215 wrote:Excellent, glad it worked for you.
ccelis
have a nice day.