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 03-16-2007, 02:41 PM
Senior Member
 
Posts: 51
Question Users' address book

Hey guys,

Where do I look for a certain user's address book items? Like lets say I have a user's id 301 and/or account_id 1b7ffae4-366a-4746-82c8-cc65a4ec3aae. Where in the database do I look to see that user's address book emails? There are four tables in each user's mysql mailbox databases. Let's say the above user 301 with the databases name mailbox301 will have four tables:
Code:
appointment
mail_item
open_conversation
tombstone
Where to look?

Thank you.
Reply With Quote
  #2 (permalink)  
Old 03-16-2007, 02:49 PM
Zimbra Employee
 
Posts: 1,434
Default Do you really want to do that?

We don't suggest you do that. It's much, much, much more straightforward to get at the contact data in CSV or vCard format via the REST interface.

However, if you really want to go straight to the database, the contact data is in the METADATA column of the MAIL_ITEM table. Contacts are rows for which TYPE = 6. To decode this data, convert to a string (the column data is in UTF-8) and then use the BEncoding decoder of your choice.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!

Last edited by dkarp; 03-16-2007 at 02:51 PM..
Reply With Quote
  #3 (permalink)  
Old 03-16-2007, 02:55 PM
Senior Member
 
Posts: 51
Default

What is REST interface?
Reply With Quote
  #4 (permalink)  
Old 03-16-2007, 05:11 PM
Zimbra Employee
 
Posts: 1,434
Default Please search first.

You need to work with us here. There's a wiki and there's a large quantity of old threads in the forums. You need to look there before asking questions.

Anyway, here's a good place to get started in the wiki.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.