Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Nee a head start with IMAP client to access Zimbra mails

  1. #1
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default Nee a head start with IMAP client to access Zimbra mails

    I am new to Zimbra (about 2 weeks old)

    I came across this amazing product as a need for integrating it with an external IMAP client using REST web services.

    I have been looking into the docs and digging into the code for some time, but am not getting a clear picture.

    Can anyone help me with a head start on:
    1. How do I access mails on Zimbra server using an IMAP client
    2. The REST web service APIs (or rather URLs) exposed by Zimbra to access mails.
    3. How can one wrap IMAP mail access within REST web services in reference to Zimbra (not sure if this one makes sense, may be too much reading on too many topics in past few days has blown my fuse )
    I'll be gratefull if I can get some immediate head-on.

    Thanks
    Best Regards
    Abhishek
    Diamond is a piece of coal that performed well under pressure

  2. #2
    martinfst is offline Intermediate Member
    Join Date
    Nov 2006
    Location
    Hilversum, The Netherlands
    Posts
    23
    Rep Power
    8

    Default Any IMAP client can access Zimbra mailstore

    Hi,

    As far as I can tell, any IMAP(S) client can access the mail store. I tested myself Evolution and Thunderbird and found no problems. Of course that's just for email.

    Not sure about your other two questions, as I just started with Zimbra myself and still learning.

    Martin

  3. #3
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default REST Web Service API to access Zimbra mailbox

    I guess I didn't frame my doubts clearly, Lemme reframe my question

    I need to write some java code, essentially a REST web service client that accesses the mails on Zimbra via REST web service calls. I am not able to locate the REST API exposed by Zimbra. So I need help regarding the same. May be some API doc, or a sample Java client.

    I'll really appriciate any help in this regard

    Best Regards
    Abhishek
    Diamond is a piece of coal that performed well under pressure

  4. #4
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

  5. #5
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default RE: dkarp (REST Web Service API to access Zimbra mailbox)

    dkarp

    Thanks for the link.

    I had visited the link before posting on this forum. The problem is that although, the link does give the URl to access my calendar (http://server/zimbra/user/roland/calendar), or access my contacts(http://server/zimbra/user/roland/contacts) or rss feed (http://server/zimbra/user/roland/inbox.rss?query="is:unread"
    )...

    But it doesn't give me the URI to simply access my inbox.

    I mean, I can use http://server/zimbra/user/roland/inbox.zip to get a zipped file of all the mails in my inbox, but how do I get a list of all mails in my inbox (unzipped list), may be, like an xml document listing my inbox mails?

    Also, does it support giving credentials in the URL itself (the REST way)? Currently if I type the above URLs on my browser, it pops up a window to enter my credentials. When I need to do this within my code, I would need a way of providing user name and password within the URL itself.

    Is any such thing suppported?
    Diamond is a piece of coal that performed well under pressure

  6. #6
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default REST improvements

    Quote Originally Posted by abhishek_agl View Post
    I mean, I can use http://server/zimbra/user/roland/inbox.zip to get a zipped file of all the mails in my inbox, but how do I get a list of all mails in my inbox (unzipped list), may be, like an xml document listing my inbox mails?
    Good idea. Please search bugzilla and file that as an enhancement request if you can't find anything similar...

    Quote Originally Posted by abhishek_agl View Post
    Also, does it support giving credentials in the URL itself (the REST way)? Currently if I type the above URLs on my browser, it pops up a window to enter my credentials. When I need to do this within my code, I would need a way of providing user name and password within the URL itself.
    This is another good request, and should be a separate entry in bugzilla. You want a REST authentication mechanism -- do you also need to be able to pass the resulting auth token in the URL, or can you use a cookie instead?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  7. #7
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default RE: dkarp (REST improvements )

    Hey there.

    Thanks for the reply.

    I am fairly new at Zimbra. Can you help me locate the bugzilla to file in the following two request:

    1. Enhancement: Getting my mails in xml format. For example, if my code invokes a request like:
    http://server/zimbra/user/roland/inbox.xml
    or something like
    <A href="http://server/zimbra/user/roland/inbox.xml?query="is:unread">http://server/zimbra/user/roland/inbox.xml?query="is:unread"

    Then I should be getting my mails stored in my inbox in an xml format like:

    <messages>
    <message id="1">
    <subject/>
    </message>
    <message id="2" />
    </messages>

    2. Enhancement: Currently if I say something like http://192.168.1.51/zimbra/user/abhishek/inbox.zip then it asks for my username, password. While a user is browsing from IE etc, he can enter the credentials, but when I am writing a Java REST Web Service client, I need some way to provide the credentials ALONG with the url request. One of the BEST security authorization feature I have come across so far for REST WEB SERVICE SECURITY is that implemented by Amazon (http://docs.amazonwebservices.com/AW...ce/2006-04-01/)

    Best Regards
    Abhishek
    Diamond is a piece of coal that performed well under pressure

  8. #8
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default bugzilla is not hidden

    Quote Originally Posted by abhishek_agl View Post
    I am fairly new at Zimbra. Can you help me locate the bugzilla to file in the following two request:
    See the link to bugzilla in my signature? That's it.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  9. #9
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default RE: dkarp (new bugs in Bugzilla)

    Hey dkarp

    thanks for all the help.
    I wish I was not stupid enough not to look at your signatures for Bugzilla

    The following new bugs have been filed:

    12508
    12509
    Diamond is a piece of coal that performed well under pressure

  10. #10
    abhishek_agl is offline Member
    Join Date
    Nov 2006
    Location
    NOIDA, India
    Posts
    13
    Rep Power
    8

    Default Dkarp: Soap Api

    Hi Dan

    As you have been following the bug 12508 (http://bugzilla.zimbra.com/show_bug.cgi?id=12508), its suggested that we should move to SOAP APIs rather than REST for XML.

    Can you help me with a head start, as to where are the docs, WSDLs et al for the SOAP service are available?

    As discussed, I would need to write a soap client to access mails stored on Zimbra server using different filters on date, size etc.

    Would really appriciate any lead on that

    Regards
    Abhi
    Diamond is a piece of coal that performed well under pressure

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  2. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  3. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  4. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •