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


Reply via email to