Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

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 Display Modes
  #1 (permalink)  
Old 10-06-2009, 08:30 AM
Member
 
Posts: 10
Question [SOLVED] Query Zimbra db for messages matching criteria

We need to be able to query messages stored in zimbra with various selection criteria, for ex:

All messages for user sent between dates, with To containing some email address, where the subject contains some text.

Anyone have any ideas?
Reply With Quote
  #2 (permalink)  
Old 10-06-2009, 08:59 AM
Moderator
 
Posts: 5,806
Default

It would help if you were to update your profile with the following output so we know which version of ZCS you are running
Code:
su - zimbra
zmcontrol -v
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #3 (permalink)  
Old 10-06-2009, 09:08 AM
Member
 
Posts: 10
Default

Profile updated... Release 6.0.1_GA_1816.UBUNTU8_64 UBUNTU8_64 NETWORK edition.

We have 40 days of support (according to my Admin), so I wonder if I should re-ask under that related support login?

Last edited by bobchauvin : 10-06-2009 at 09:09 AM. Reason: more details...
Reply With Quote
  #4 (permalink)  
Old 10-06-2009, 09:23 AM
Member
 
Posts: 10
Default

Also, If there is doc on querying via webservices (REST or SOAP) that would possibly work, but some SQL based query is preferred.

Background: We use a middleware product called Handshake that allows us to profile a database and query it and display that data on our SharePoint server, etc.
Reply With Quote
  #5 (permalink)  
Old 10-07-2009, 12:41 PM
Member
 
Posts: 10
Default

The short answer from one of the internal Zimbra DB experts is that it is not viable, since to, from, cc, bcc, and other metadata is (with one or two exceptions) not saved in the database. Bummer.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0