Results 1 to 3 of 3

Thread: [SOLVED] multi site & zmprov command

  1. #1
    Join Date
    Dec 2007
    Location
    Shanghai
    Posts
    22
    Rep Power
    7

    Talking [SOLVED] multi site & zmprov command

    Hi

    i'm looking to get the UID list by ZimbraMailHost from the command line

    zmprov gaa -v | grep -e uid: -e ............... | grep uid: | awk '{print $2}'

    it miss something ...

    if somebody have the answer, it will help me to create my script correctly..

    Thanks guys !!!
    Last edited by innercy; 08-06-2008 at 09:32 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    are you trying to find all the users on a specific mailhost first? or list all uids on all mial hosts? If the first, then you may want to try

    zmprov sa zimbraMailHost=mailbox.domain.com

    to get your list then handle the output how you want

  3. #3
    Join Date
    Dec 2007
    Location
    Shanghai
    Posts
    22
    Rep Power
    7

    Default

    Perfect !!!!!!!!!!!!!!!!

    Why i was looking so complicate as Zimbra could be so simple


    Thanks !!!!!!!!!

Similar Threads

  1. Upgrade from 5.0.2 to 5.0.6
    By fconil in forum Installation
    Replies: 2
    Last Post: 06-10-2008, 05:49 PM
  2. i made a mess 4.5.6 -> 4.5.10 to a future 5.0 FOSS
    By innercy in forum Installation
    Replies: 7
    Last Post: 01-09-2008, 07:05 PM
  3. Server platform change RH to Ubuntu issues
    By marke in forum Administrators
    Replies: 5
    Last Post: 11-07-2007, 12:27 PM
  4. Mysql error on install
    By tommygun in forum Installation
    Replies: 17
    Last Post: 05-29-2007, 10:29 PM
  5. ZIMBRA!!!!! Error zmcontrol status and others
    By orison in forum Installation
    Replies: 8
    Last Post: 02-03-2007, 07:52 PM

Posting Permissions

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