I would like to run a zmprov ma command on all user accounts.
I have already tested that this works:
zmprov ma user@mydomain.com zimbraPrefSharedAddrBookAutoCompleteEnabled TRUE
This sets the "Include addresses in shared address books" in the preferences which unfortunately is not a setting in the Class of Service in the Web Administration Panel.
I would like to run this for all users though. Can I use a "*" to run the command for all users?
zmprov ma * zimbraPrefSharedAddrBookAutoCompleteEnabled TRUE
How to run zmprov ma on all users?
-
- Outstanding Member
- Posts: 221
- Joined: Sat Sep 13, 2014 2:26 am
- ZCS/ZD Version: 8.8.15.GA.3829.UBUNTU14.64 -Patch 1
How to run zmprov ma on all users?
[quote user="davidkillingsworth"]I would like to run a zmprov ma command on all user accounts.[/QUOTE]You'll need to use a script to apply this to all accounts.
-
- Outstanding Member
- Posts: 769
- Joined: Fri Sep 12, 2014 10:23 pm
How to run zmprov ma on all users?
for account in $(zmprov -l gaa); do
echo "ma $account zimbraPrefSharedAddrBookAutoCompleteEnabled TRUE"
done | zmprov
Who is online
Users browsing this forum: No registered users and 17 guests