6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11590] Kolab backend: IMAP cache does not get updated
*
Your Email Address
*
Spam protection
Enter the letters below:
.___ __ .___.. .__ [__ / ` _/ | [ __ [___\__../__.|___[_./
Comment
>>> Any reason you are not using CONDSTORE/QRESYNC if it is available? >> >> No. I planned to use these but never found the time to actually get >> into this and write the necessary code. What you write sounds however >> as if this would avoid even more IMAP calls than I expected. My >> assumption was that CONDSTORE would allow me to reduce the two IMAP >> calls in each situation to a single one. > > This is not entirely correct. A bit of explanation is probably necessary. > > In short, without additional IMAP calls CONDSTORE can only tell you > whether a mailbox has changed from a previous state. If caching on > the local host, it still requires two separate IMAP calls (one to > check for flag changes, one to check for deleted messages) to > determine what has changed. Further, things may have changed in the > mailbox that you don't care about (i.e. UIDs not visible), but > CONDSTORE won't provide you this information. CONDSTORE will, > however, allow you to forgo additional mailbox sync calls if the mod > sequence value hasn't changed since the last access - thus, if the > mailbox hasn't changed, you won't need to issue those 2 additional > IMAP calls. > > If a client does its homework before opening a mailbox, QRESYNC > instead allows the local cache to be updated without *any* further > IMAP call (at the expense of a more involved SELECT/EXAMINE command) > - all sync information is passed as untagged responses in the > SELECT/EXAMINE return.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers