Annotation of folders

Aleksander Machniak machniak at kolabsys.com
Wed Apr 29 13:20:00 CEST 2015


On 04/29/2015 12:55 PM, Liutauras Adomaitis wrote:
> GETANNOTATION "<mailbox name like user/me at domain.tld>" "*" "*"
> 
> SETANNOTATION "<mailbox name like user/me at domain.tld>" "/vendor/kolab/folder-
> type" ("value.priv" "mail")

These are IMAP commands, so not mailbox but folder name (with * and %
support). Really there are examples in RFC. You can use:

GETMETADATA "Calendar" (/shared/vendor/kolab /private/vendor/kolab)
SETMETADATA "Calendar" (/shared/vendor/kolab "event"
/private/vendor/kolab "event")

or using ANNOTATEMORE extension commands:

GETANNOTATION "Calendar" "/vendor/kolab" ("value.shared" "value.priv")
SETANNOTATION "Calendar" "/vendor/kolab" ("value.priv" "event"
"value.shared" "event")

METADATA is more new and standard, but I remember some issues with both
extensions. For some arguments quotes are required and I'm not 100% sure
above commands work. Ask if you find a command that does not work.

-- 
Aleksander Machniak
Software Developer, Kolab Systems AG
-------------------------------------------------------
PGP:19359DC1  -  http://kolabsys.com  -  http://alec.pl


More information about the users mailing list