Results 1 to 5 of 5

Thread: [SOLVED] zmlicense accounts not in use

  1. #1
    Join Date
    Nov 2008
    Posts
    29
    Rep Power
    6

    Default [SOLVED] zmlicense accounts not in use

    Hello.

    ¿Is there any other method than license tab to know the number of used accounts ?

    We need to setup an alarm if we only have five or less unused license.

    Any idea ?

    BR

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

    Default

    You could use zmlicense:

    Code:
    zmlicense -p
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Nov 2008
    Posts
    29
    Rep Power
    6

    Default

    Hello.

    With zmlicense i can't see the number of free licenses, i can only see the total number of licenses.

    The goal is to know how much free licenses still we have.

    Br.

  4. #4
    Join Date
    Nov 2008
    Posts
    29
    Rep Power
    6

    Default

    Solved with curl .

    BR

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

    Default

    a quick and dirty way to get the number of licenses in use would be to do like

    Code:
    zmprov gaa | egrep -c -v 'admin@domain.com|spamtrain@domain.com|hamtrain@domain.com'
    This would count the numbre of accounts excluding ones that don't use licenses like admin. add any other accounts that don't count toward licenses like wiki account to the inverse grep statement (i can't remember them all)

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 07:52 PM
  2. number of accounts and domain
    By chandu in forum Administrators
    Replies: 4
    Last Post: 03-18-2009, 02:49 AM
  3. AD and Zimbra Accounts
    By peter76 in forum Migration
    Replies: 3
    Last Post: 06-22-2008, 10:50 AM
  4. Inaccurate number accounts used
    By zbowden in forum Administrators
    Replies: 1
    Last Post: 12-10-2007, 05:47 AM
  5. Set Zimbra to Automatically Download from POP3 Accounts
    By dbachman in forum Administrators
    Replies: 1
    Last Post: 08-29-2007, 09:05 AM

Posting Permissions

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