I am getting similar results. Zimbra will start out syncing folders fine, then start reporting that a few folders have no results when they in fact do. When it breaks, it really breaks.. nothing will sync again not even the folders that did at one time sync. If I stop and restart the zdesktop service, it still won't sync.
--------------------
The sync breaks with the following errors found in the logs:
2008-08-04 00:03:24,738 ERROR [sync-timer-<username>@<domiain>.com] [] datasource - Synchronization of folder '/Bugzilla' failed
java.io.IOException: Error in response handler
Caused by: com.zimbra.cs.mailclient.MailException: Exception in response handler
Caused by: com.zimbra.common.service.ServiceException: system failure: Unable to store IMAP message data
ExceptionId:Thread-674:1217822604737:e53be0b9d7a6c326
Code:service.FAILURE
Caused by: java.sql.SQLException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'I_UID_IMAP_ID' defined on 'IMAP_MESSAGE'.
Caused by: ERROR 23505: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'I_UID_IMAP_ID' defined on 'IMAP_MESSAGE'.
----------------
And some more stuff:
2008-08-04 00:03:24,739 ERROR [sync-timer-<username>@<domain>.com] [] datasource - Synchronization of folder '/Useful Information' failed
java.lang.IllegalStateException: Connection is closed
----------------
This is too bad. I love everything about this client from what I have seen. Easily the best app out there for linux, but if its not going to fetch my mail, it becomes deemed as unreliable and I cannot trust it. Until a solution is found I'll have to stick with another client that has less features.
