Hello. I would like to bring this forward once more, as it has not been solved.
I have been consulting with the openchange team over this, as I was under the impression that there was some kind of incompatibility between zimbra and openchange. But I have taken a closer look and I see that there is some misunderstanding between sogo and the imap server, resulting to samba having nothing to serve to openchange for outlook. Let's start at the very beginning, it's a very good place to start... As I have mentioned before, outlook fetches the folders from the remote imap server, but not the message list. On the contrary, webmail sogo fetches everything ok, establishing read-write communication with the IMAP server, as it should be done. Initially I thought that it was a matter of openchange communicating with the client, but I realized that message list is never fetched on sogo server for outlook to fetch. I attach here below the IMAP conversation triggered by Outlook, as well as the one triggered by webmail sogo. 1 = Outlook triggered IMAP Session ====================== * OK imap.example.com Zimbra IMAP4rev1 service ready 1 login "user1" "password11" 1 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ID IDLE LIST-EXTENDED LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES UIDPLUS UNSELECT WITHIN] LOGIN completed 2 ENABLE QRESYNC * ENABLED QRESYNC 2 OK ENABLE completed 3 capability * CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ID IDLE LIST-EXTENDED LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES UIDPLUS UNSELECT WITHIN 3 OK CAPABILITY completed 4 namespace * NAMESPACE (("" "/")) (("/home/" "/")) NIL 4 OK NAMESPACE completed 5 LIST "" "" * LIST (\NoSelect) "/" "" 5 OK LIST completed 6 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 6 OK LIST completed 7 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 7 OK LIST completed 8 LIST "" "INBOX/%" * LIST (\HasNoChildren) "/" "INBOX/BSD_Magazine" * LIST (\HasNoChildren) "/" "INBOX/CyberDefense" OK LIST completed 9 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 9 OK LIST completed 10 LIST "" "INBOX/%" * LIST (\HasNoChildren) "/" "INBOX/BSD_Magazine" * LIST (\HasNoChildren) "/" "INBOX/CyberDefense" 10 OK LIST completed 11 LIST "" "Drafts/%" 11 OK LIST completed 12 LIST "" "Drafts/%" 12 OK LIST completed 13 LIST "" "Drafts/%" 13 OK LIST completed 14 LIST "" "Drafts/%" 14 OK LIST completed 15 LIST "" "Sent/%" 15 OK LIST completed 16 LIST "" "Sent/%" 16 OK LIST completed 17 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 17 OK LIST completed 18 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 18 OK LIST completed 19 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 19 OK LIST completed 20 LIST "" "INBOX/%" * LIST (\HasNoChildren) "/" "INBOX/BSD_Magazine" * LIST (\HasNoChildren) "/" "INBOX/CyberDefense" 20 OK LIST completed 21 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 21 OK LIST completed 22 LIST "" "INBOX/%" * LIST (\HasNoChildren) "/" "INBOX/BSD_Magazine" * LIST (\HasNoChildren) "/" "INBOX/CyberDefense" 22 OK LIST completed 23 LIST "" "Drafts/%" 23 OK LIST completed 24 LIST "" "Drafts/%" 24 OK LIST completed 25 LIST "" "Drafts/%" 25 OK LIST completed 26 LIST "" "Drafts/%" 26 OK LIST completed 27 LIST "" "Sent/%" 27 OK LIST completed 28 LIST "" "Sent/%" 28 OK LIST completed 29 select "Drafts" * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1] UIDs are valid for this mailbox * OK [UIDNEXT 30761] next expected UID is 30761 * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk emailaddressidentifiedasexecutable Important) * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded emailaddressidentifiedasexecutable Important \*)] junk-related flags are not permanent * OK [HIGHESTMODSEQ 100505] modseq tracked on this mailbox 29 OK [READ-WRITE] SELECT completed 30 UID SEARCH NOT DELETED * SEARCH 30 OK UID SEARCH completed 31 UID SEARCH NOT DELETED * SEARCH 31 OK UID SEARCH completed 32 UID SEARCH NOT DELETED * SEARCH 32 OK UID SEARCH completed 33 UID SEARCH NOT DELETED * SEARCH 33 OK UID SEARCH completed 34 LIST "" "INBOX" * LIST (\HasChildren) "/" "INBOX" 34 OK LIST completed 35 select "INBOX" * OK [CLOSED] mailbox closed * 485 EXISTS * 0 RECENT * OK [UNSEEN 45] mailbox contains unseen messages * OK [UIDVALIDITY 1] UIDs are valid for this mailbox * OK [UIDNEXT 30922] next expected UID is 30922 * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk emailaddressidentifiedasexecutable Important) * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded emailaddressidentifiedasexecutable Important \*)] junk-related flags are not permanent * OK [HIGHESTMODSEQ 101603] modseq tracked on this mailbox <=== (note: 101603) 35 OK [READ-WRITE] SELECT completed 36 UID SEARCH (MODSEQ 101201) (NOT DELETED) <=== (note: 101201 != 101603) 36 NO SEARCH failed 37 UID FETCH 1:* (UID) (CHANGEDSINCE 101200 VANISHED) * VANISHED (EARLIER) (some IDS) * 485 FETCH (UID 30888 MODSEQ (101323)) 37 OK UID FETCH completed 38 UID SEARCH NOT DELETED * SEARCH (some IDS) 38 OK UID SEARCH completed * BYE imap.example.com IMAP4rev1 server terminating connection ======================== The search on dialog No 36, produces these entries on IMAP server: 2011-12-19 01:17:20,811 INFO [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] imap - selected folder INBOX 2011-12-19 01:18:31,244 INFO [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] imap - [ search is: in:"INBOX" (((modseq:>101201)) (-tag:\Deleted)) ] 2011-12-19 01:18:31,245 INFO [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] cache - Loading flagset cache 2011-12-19 01:18:31,249 INFO [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] cache - Loading tagset cache 2011-12-19 01:18:31,254 WARN [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] imap - SEARCH failed Where as changing 101201 with 101603 (through telnet), produces a more desirable output: 2011-12-19 01:18:59,630 INFO [ImapServer-37] [name=us...@example.com;mid=370;ip=10.5.226.133;] imap - [ search is: in:"INBOX" (((modseq:>101603)) (-tag:\Deleted)) ] And also output to the telnet client... This seems to be more correct. I can't directly compare to the output produced by SOGO webmail, as it doesn't use all of the methods used when triggered by outlook. For example, from SOGo there is no search for (NO DELETED) or (VANISHED) etc... I see the error on the wrong number in line 36. Anyone can give some assistance? This has been bugging me for a long time... Thanks -- users@sogo.nu https://inverse.ca/sogo/lists