Hallo Andreas,
A. Schulze sca@andreasschulze.de (So 14 Feb 2016 12:47:19 CET):
Am 13.02.2016 um 23:24 schrieb Heiko Schlittermann:
it seems that Squirrel mail uses Mailbox annotations for storing Expire times on the Server. It's an Cyrus server currently. (I've no clue how cyrexpire is able to read it's information from the annotiations)
Does dovecot support some similiar mechanism? Or - does anybody know anything about how it's supposed to work on Cyrus and how it can be emulated/simulated with dovecot?
maybe metadata could be used.
dovecot.conf: mail_location = maildir:~/Maildir/ mail_attribute_dict = file:Maildir/dovecot-metadata imap_metadata = yes
Hm.
ANNOTATE RFC 5257
METADATA RFC 5464
Does METADATA cover ANNOTATION? I'll try to find that out and I'll report success or failure here on that lits.
$ doveadm mailbox metadata set -u user INBOX/subfolder /private/my_expire_info 5 -> is saved in ~user/Mailfir/dovecot-metadata
$ doveadm mailbox metadata get -u user INBOX/subfolder /private/my_expire_info 5
now you could iterate over all mailboxes and all users and do magic things. unsolved: how could a user set values?
I believe, that's done via the IMAP ANNOTATE extension. I see it for the very first time and so I've to investigate it further.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
-- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE - ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -