Bernhard Reiter wrote:

The proper way to detect the presence of shared seen state is the
following (don't forget that shared seen state is per-mailbox):

Check for ANNOTATEMORE in the CAPABILITIES

If not present, then no shared seen state.

Otherwise,

GETANNOTATION <mboxname> "/vendor/cmu/cyrus-imapd/sharedseen" "value"

If you get an empty response, then no shared seen state.  Otherwise, the
value will tell you if its enabled on the given mailbox.


This would answer the wrong question, we want to detect if the server is able to run in shared seen state. if it does we can offer a configuration option, otherwise we do not. I do not know if there is a different test method that could answer this question. It is not feasable to try to set the annotation on a test folder for each connection IMO. So best would be if there would be a SHAREDSEEN
or so capability.
I would support standardizing of such IMAP capability.

Reply via email to