Results 1 to 3 of 3

Thread: How to run zmprov ma on all users?

  1. #1
    davidkillingsworth is offline Loyal Member
    Join Date
    Feb 2012
    Location
    Hong Kong
    Posts
    77
    Rep Power
    3

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,492
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 10-29-2009, 08:56 PM
  2. [SOLVED] Enabling IMAP for users created with 'zmprov'?
    By deckard in forum Administrators
    Replies: 1
    Last Post: 10-26-2007, 11:42 AM
  3. Importing users with dots
    By Priyantha Bleeker in forum Migration
    Replies: 9
    Last Post: 10-19-2007, 01:14 AM
  4. zmprov ca command returns NO_SUCH_DOMAIN
    By admin1 in forum Migration
    Replies: 2
    Last Post: 10-03-2007, 10:32 AM
  5. Users attributes in commamd zmprov
    By Alex_Saf in forum Administrators
    Replies: 1
    Last Post: 06-14-2007, 01:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •