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

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 01-07-2008, 05:41 PM
Starter Member
 
Posts: 2
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!
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 06:17 PM
Outstanding Member
 
Posts: 708
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.
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 06:37 PM
Starter Member
 
Posts: 2
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.
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 06:51 PM
Outstanding Member
 
Posts: 708
Default

OKTHX. Created Bug 23485 - RFC-noncompliant SELECT response (no text) breaks PGP Desktop (I was already entering other issues)
Reply With Quote
  #5 (permalink)  
Old 01-07-2008, 08:22 PM
Zimbra Employee
 
Posts: 1,434
Default

Fixed for 5.0.2.
__________________
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.