ANNOTATEMORE, netnews & cyradm

Ken Murchison ken at oceana.com
Sun Jul 20 14:25:54 EDT 2003



Alexei Takaseev wrote:

> 
> In connection with change of the expire for netnews in version
> 2.2.1 has faced with such problem: how it is necessary to change
> "/vendor/cmu/cyrus-imapd/expire" by means of cyradm?

cyadm does not have support for setting annotations on mailboxes yet. 
You'll have to send the SETANNOTATION command to the server by hand, 
using something like imtest.  For example (the SETANNOTATION command 
should be all one line):

[ken at eagle ken]$ imtest -a cyrus -u cyrus localhost
S: * OK eagle.oceana.com Cyrus IMAP4 v2.2.1-BETA server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS 
LISTEXT LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN cyrus {7}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
. SETANNOTATION netnews.misc.test "/vendor/cmu/cyrus-imapd/expire" 
("value.shared" "7")
. OK Completed
C: Q01 LOGOUT
Connection closed.


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list