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

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 12-16-2010, 02:01 PM
New Member
 
Posts: 3
Unhappy [SOLVED] Trying to disable QRESYNC for imap capabilities

After hours of digging why my Nokia N900 modest client doesn't want to show my messages anymore, I find this:

Code:
H00004 SELECT INBOX (QRESYNC (1 24715))
H00004 BAD parse error: wrong character; expected ' ' but got '('
That's just awesome, so 6.0.9 is broken for IMAP QRESYNC support.

So my thought is to turn off QRESYNC.. Easy, right?

I have disabled QRESYNC capabilities through zmprov with the mcf command.

Taking a look at /opt/zimbra/conf/nginx/includes/nginx.conf.mail it shows that in fact the conf is updated:

Code:
    imap_capabilities         "ACL" "BINARY" "CATENATE" "CHILDREN" "CONDSTORE" "ENABLE" "ESEARCH" "ESORT" "I18NLEVEL=1" "ID" "IDLE" "IMAP4rev1" "LIST-EXTENDED" "LITERAL+" "MULTIAPPEND" "NAMESPACE" "QUOTA" "RIGHTS=ektx" "SASL-IR" "SEARCHRES" "SORT" "THREAD=ORDEREDSUBJECT" "UIDPLUS" "UNSELECT" "WITHIN";
So far so good.

However, my N900 modest client still doesn't want to refresh

So I start digging:

root@mail:/opt/zimbra/conf# tcpdump -A -n -s 1500 -i lo port 7143

And find this:

Code:
E..dx.@.@...
...
..........@.........b.....
........H00001 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LIST-STATUS LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN XLIST] LOGIN completed
What the heck??? I turned off QRESYNC and it still announces the QRESYNC as a capability? What is going on?

I still can't believe what's happening, so here comes another test:

root@mail:/opt/zimbra/conf# openssl s_client -host localhost -port 993

Low and behold, the announcement is this after I login:
Code:
C OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LIST-STATUS LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN XLIST] LOGIN completed
Right now I just don't know what to do, I'm assuming nginx just passes through the IMAP connection and the zimbra imap server announces the capabilities which I have not found a solution anywhere to turn off QRESYNC so at least I can use my N900.

Extremely frustrating this is and I'm wondering if someone knows how to either:
1. Change the sourcecode for the zimbra imap server so QRESYNC works properly
2. Disable QRESYNC as an imap capability

Thanks

Thomas
Reply With Quote
  #2 (permalink)  
Old 12-16-2010, 02:19 PM
New Member
 
Posts: 3
Default

Found it in bugzilla
Bug 52403 – QRESYNC support broken

Dang.. I guess I have to wait for the fix.
Reply With Quote
  #3 (permalink)  
Old 12-18-2010, 11:51 AM
New Member
 
Posts: 3
Default

Fixed it. Now 6.0.9 works properly with QRESYNC.

Created an exact same linux install in a VM as my mail server.

Followed those instructions to download the 6.0.9 GNR source:
GNR on Debian Lenny - Zimbra :: Wiki

Edited line 746 in /home/public/p4/GNR-609/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java
Deleting 'req.skipSpace();' so only 'req.skipChar('(');' is left.

Started the build with /home/public/p4/GNR-609/ZimbraBuild/buildZCS.sh and waited for it to finish.

Copied the resulting zimbrastore.jar from /home/public/p4/GNR-609/ZimbraServer/build to my mailserver, shutdown zimbra with zmcontrol stop and replaced zimbrastore.jar in /opt/zimbra/lib/jars/ and /opt/zimbra/jetty-6.1.22.z6/webapps/service/WEB-INF/lib and /opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/WEB-INF/lib and /opt/zimbra/jetty-6.1.22.z6/webapps/zimbraAdmin/WEB-INF/lib

Fired up zimbra with zmcontrol start

Fired up the N900 mailclient and voila it refreshes and works as it should. Perfect!!
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.