Re: How do I list flags?

2006-04-09 Thread Ken Murchison

Ciprian Vizitiu wrote:

Hi everybody,
 
Which is the proper way to list the flags that a given Cyrus instance 
knows about? Other than looking in the source code for that particular 
instance? :-)


Are you talking about message flags?  Cyrus supports all of the 'system' 
flags in RFC 3501 (\Recent, \Seen, \Deleted, \Flagged, \Answered, 
\Draft) and any 'keywords' that the client desires.


From an IMAP level, you'll see the flags listed in the PERMANENTFLAGS 
response to a SELECT.


From the filesystem level, you can see the keywords that the 
client/user has used in cyrus.header in each mailbox.


--
Kenneth Murchison
Project Cyrus Developer/Maintainer
Carnegie Mellon University

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: How do I list flags?

2006-04-09 Thread Ken Murchison

Ciprian Vizitiu wrote:
Are you talking about message flags?  Cyrus supports all of 
the 'system' 
flags in RFC 3501 (\Recent, \Seen, \Deleted, \Flagged, \Answered,

\Draft) and any 'keywords' that the client desires.

 From an IMAP level, you'll see the flags listed in the 
PERMANENTFLAGS response to a SELECT.


 From the filesystem level, you can see the keywords that the 
client/user has used in cyrus.header in each mailbox.


Hi Ken,

Thanks for help, indeed I was referring to message flags. Message flags
out of which, as I've discovered from bitter experience, \Recent can NOT
be set by the client! :-D


Correct.  Any server which allowed a client to do so would violate RFC 3501.

--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html