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 11-20-2009, 05:26 AM
Elite Member
 
Posts: 428
Default Zimbra account status

Hi Guys,


Is there any command to find out number of count of Active, lockout and deactivated accounts per domain ???


Please help.


Thanks

Last edited by chandu; 11-21-2009 at 05:25 AM..
Reply With Quote
  #2 (permalink)  
Old 11-20-2009, 12:48 PM
Moderator
 
Posts: 1,147
Default

Log into the Admin Console -> Searches section -> Active Accounts -> In the upper left corner it should show "1-25 of x" where x is the total number of accounts. The same thing goes for the Closed accounts, Locked out...

(I might have created the "Active accounts" search myself, if you don't see it simply click "Advanced Search" and select the account status you desire)
Reply With Quote
  #3 (permalink)  
Old 11-22-2009, 09:08 PM
Elite Member
 
Posts: 428
Default

Hi,

Thanks for your reply.

Yes.. through Admin console we can check the status..but we are planning to provide web interface to users so they can check the number of accounts of their respective domain with status. And i can not share admin console with client.

So just wanted to know is there any command through which we can get count of mail IDs for respective domain with status ??

Thanks.
Reply With Quote
  #4 (permalink)  
Old 11-22-2009, 10:27 PM
Outstanding Member
 
Posts: 594
Default

Domain Admin login should show you status for respective accounts for each domain.
Reply With Quote
  #5 (permalink)  
Old 11-22-2009, 10:49 PM
Elite Member
 
Posts: 428
Default

Hi Guys,

I found very good command ...

/opt/zimbra/bin/zmaccts

Which is giving desired output...can anyone tell me how to get only "Domain summary" from this output....???

Thanks
Reply With Quote
  #6 (permalink)  
Old 11-22-2009, 11:13 PM
Outstanding Member
 
Posts: 594
Default

> Yes.. through Admin console we can check the status..but we are planning to provide web interface to users so they can check the number of accounts of their respective domain with status. And i can not share admin console with client.

How does this solve your problem of UI console ? Moreover for this your users need system access rights.
Reply With Quote
  #7 (permalink)  
Old 11-23-2009, 12:21 PM
Moderator
 
Posts: 1,147
Default

Since it sounds like you are writing a custom page to use this info you should be able to parse the output from the header line downwards. If you can't I would say to copy /opt/zimbra/bin/zmaccts to a new file and just remove the parts where it displays the individual accounts. It is just a perl script...
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.