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