Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-2012, 12:36 AM
Active Member
 
Posts: 31
Default How to run zmprov ma on all users?

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
Reply With Quote
  #2 (permalink)  
Old 02-01-2012, 05:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by davidkillingsworth View Post
I would like to run a zmprov ma command on all user accounts.
You'll need to use a script to apply this to all accounts.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-01-2012, 07:55 AM
Outstanding Member
 
Posts: 717
Default

Code:
for account in $(zmprov -l gaa); do
   echo "ma $account zimbraPrefSharedAddrBookAutoCompleteEnabled TRUE"
done | zmprov
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.