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 04-25-2007, 07:40 AM
Loyal Member
 
Posts: 80
Default Programmatically getting a user's contact list

What's the best practice method for retrieving a particular user's entire contact list from Zimbra? Is this something that's retrievable via a SOAP request? I would like to do this for backup purposes.

Thanks!

Last edited by moniker; 04-25-2007 at 07:50 AM..
Reply With Quote
  #2 (permalink)  
Old 04-25-2007, 10:33 AM
Outstanding Member
 
Posts: 717
Default

zmmailbox -z -m user@domain.com getAllContacts

will spill it all without using SOAP.
Reply With Quote
  #3 (permalink)  
Old 04-25-2007, 10:39 AM
Loyal Member
 
Posts: 80
Default

Thanks, this is a great start. If I did want to do it programmatically does anyone have a reference or a starting point I could use? Ideally I'd like to write a small Java/Perl/Bash utility that gets all the user accounts, iterates over them grabbing that account's contacts, then inserts those contacts into the same user's account on a backup server.
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.