Hello folks,
Could someone tell if is possible set the user Class of Service (COS) to automatic using command line?
If yes, how to do it?
Thanks in advance!
__
ccesario
Set user COS to automatic using CLI
Re: Set user COS to automatic using CLI
As zimbra user, just get COS id...
zmprov gac -v | grep "zimbraId:\|cn"
And then, set it to the user.
zmprov ma user@domain.com zimbraCOSId <Cos ID>
zmprov gac -v | grep "zimbraId:\|cn"
And then, set it to the user.
zmprov ma user@domain.com zimbraCOSId <Cos ID>
Re: Set user COS to automatic using CLI
Hi aletomi,
Thank you by your answer.
But, I would like to set User COS as Automatic (using CLI), not set a existent COS.
Using web intetrface there is a checkbox for this, how do it using CLI?
Best regards
__
ccesario
Thank you by your answer.
But, I would like to set User COS as Automatic (using CLI), not set a existent COS.
Using web intetrface there is a checkbox for this, how do it using CLI?
Best regards
__
ccesario
-
- Advanced member
- Posts: 52
- Joined: Sat Sep 13, 2014 1:36 am
Re: Set user COS to automatic using CLI
Still no solution for this.
Waiting....
Waiting....
Re: Set user COS to automatic using CLI
I know this is an old thread, but I was just searching for this and nothing better came up, so I tried this:
And it works - the account's COS setting is removed, effectively changing it to 'auto'.
Code: Select all
zmprov ma user@domain.com zimbraCOSId ''