Results 1 to 5 of 5

Thread: [SOLVED] IMAP compatibility

  1. #1
    neilh is offline Starter Member
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    7

    Default [SOLVED] IMAP compatibility

    Zimbra's IMAP server appears to send responses to a "SELECT" command that don't have any human-readable text at the end. So if a mail client attempted to select a folder named "MyFolder" the conversation might go something like this:

    TAG SELECT "MyFolder"
    * 1 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 123]
    * OK [UIDNEXT 456]
    * FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
    * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)]
    TAG OK [READ-WRITE] SELECT completed

    Note specifically the line "* OK [UIDVALIDITY 123]"
    While this seems to work with robust email clients, it's not quite up to the IMAP4rev1 spec (rfc 3501).

    From rfc 3501's grammar:
    resp-text = ["[" resp-text-code "]" SP] text
    (where resp-text-code is "UIDVALIDITY 123" in this case.) The trailing space and human-readable text are actually required. The same applies to the UIDNEXT and PERMANENTFLAGS lines.

    Most mail servers comply with this by sending responses along the lines of:
    * OK [UIDVALIDITY 123] UIDs valid

    Sorry I don't have server version details (or a support account in which to properly file a bug) since I don't run the Zimbra server I discovered this on.

    Thanks for your continued attention to detail!

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

    Default

    That's sufficient info to create a bugzilla report (which I'll do if no one else jumps in).

    How did you run into this? If it breaks a real-world client, we'll all want to know. If you were running a test suite, then Zimbra should run that test suite, because obviously it's stricter than what they have been running.

  3. #3
    neilh is offline Starter Member
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    7

    Default

    PGP Desktop 9.7.0 (a commercial email proxy) is strict on this particular rfc 3501 detail. The result is that PGP Desktop 9.7.0 users cannot retrieve mail from a Zimbra IMAP server, although POP mail works just fine.

  4. #4
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

    Default

    OKTHX. Created Bug 23485 - RFC-noncompliant SELECT response (no text) breaks PGP Desktop (I was already entering other issues)

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

    Default

    Fixed for 5.0.2.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 37
    Last Post: 12-28-2010, 06:02 PM
  2. How to remove the IMAP banner
    By Halomoan in forum Administrators
    Replies: 8
    Last Post: 09-12-2007, 08:59 PM
  3. Problem with IMAP
    By kernelpanic in forum Zimbra Connector for Outlook
    Replies: 4
    Last Post: 03-10-2006, 05:44 AM
  4. Error on IMAP - Tomcat crashes!
    By rodrigoccurvo in forum Administrators
    Replies: 5
    Last Post: 11-30-2005, 07:14 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
  •