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 07-13-2009, 11:57 PM
Senior Member
 
Posts: 70
Question check for accounts created

in our company ..All accounts are created have an alias email id. Not all employees have got an email account as for now; I have some IDs (200) which is required to check whether they have an email address.
Can you place suggest a method to do this.

Last edited by tiarra; 10-05-2009 at 02:05 AM..
Reply With Quote
  #2 (permalink)  
Old 07-14-2009, 12:06 AM
Moderator
 
Posts: 7,928
Default

Can you export your list of Primary IDs to a CSV file ? If so, you can then run zmprov against them to ascertain whether they have a defined alias or not.
__________________
Reply With Quote
  #3 (permalink)  
Old 07-14-2009, 01:06 AM
Senior Member
 
Posts: 70
Default

I shall get the Primary Ids in csv format & could you please explain what has to be done next .
Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 07-14-2009, 01:10 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmprov ga joe@domain.com
This fetches the account information for that user so try it on one of your existing accounts that has a alias already. You can then write a short script to go through your CSV file, run that command for each entry, and see whether they have any aliases set by using a grep command.
__________________
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.