[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binc
Subject:    Re: [binc] How to mark newly converted mbox msgs to "read"
From:       "Toby Betts" <tmb2 () cwru ! edu>
Date:       2003-12-10 19:51:29
[Download RAW message or body]

John Masinter wrote:
> BTW, I see the ",S" is the "STORED" flag, but what is the ":2"?

S doesn't stand for "stored", it stands for "seen". It could be 
philosophically argued that any and every Maildir message is "stored" 
since it is either fully written to the ./Maildir/ folder or deferred in 
the mail queue for a later delivery attempt.

To quote from <URL:http://cr.yp.to/proto/maildir.html>:

When you move a file from new to cur, you have to change its name from 
uniq to uniq:info. Make sure to preserve the uniq string, so that 
separate messages can't bump into each other.

info is morally equivalent to the Status field used by mbox readers. 
It'd be useful to have MUAs agree on the meaning of info, so I'm keeping 
a list of info semantics. Here it is.

info starting with "1,": Experimental semantics.

info starting with "2,": Each character after the comma is an 
independent flag.

Flag "P" (passed): the user has resent/forwarded/bounced this message to 
someone else.

Flag "R" (replied): the user has replied to this message.

Flag "S" (seen): the user has viewed this message, though perhaps he 
didn't read all the way through it.

Flag "T" (trashed): the user has moved this message to the trash; the 
trash will be emptied by a later user action.

Flag "D" (draft): the user considers this message a draft; toggled at 
user discretion.

Flag "F" (flagged): user-defined flag; toggled at user discretion.

New flags may be defined later. Flags must be stored in ASCII order: 
e.g., "2,FRS".


Toby

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic