Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Andrew Morgan
On Mon, 17 Aug 2009, Penghui Wang wrote: > Thanks very much for your advice. If this task could handled in the protocol > level. That should be great. > > Here are what i wanna do: > Some mail clients has the feature to archive the messages by date. For > instance, they could create a mail folder

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Simon Matter
> On Mon, Aug 17, 2009 at 11:12 PM, Adam Tauno Williams < > awill...@whitemice.org> wrote: > >> >> >> > For instance, if i have two subfolder in the INBOX. Is it possible >> > that the same UID of message appeared in both of the two folders. >> > In another word, the sequence number based on folder

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Penghui Wang
On Mon, Aug 17, 2009 at 11:12 PM, Adam Tauno Williams < awill...@whitemice.org> wrote: > > > > For instance, if i have two subfolder in the INBOX. Is it possible > > that the same UID of message appeared in both of the two folders. > > In another word, the sequence number based on folder or mail a

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Adam Tauno Williams
> For instance, if i have two subfolder in the INBOX. Is it possible > that the same UID of message appeared in both of the two folders. > In another word, the sequence number based on folder or mail account? Folder, a believe the uniqueness of the UID is to the folder scope. I remember once

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Vincent Fox
The UID is defined in RFC for IMAP as needing to be a unique number for that mailbox. That is all it is. You can dump message files into an account and as long as they are "#." and you index them they will be visible to IMAP clients. The UIDL is related/derived number returned by POP. We actua

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Penghui Wang
On Mon, Aug 17, 2009 at 10:50 PM, Adam Tauno Williams wrote: > > > > In the document of cyrus imapd package, there are something describe > > the message files in the message storage. > > message files > > There is one file per message, containing the message in RFC > > 822 format

Re: What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Adam Tauno Williams
> In the document of cyrus imapd package, there are something describe > the message files in the message storage. > message files > There is one file per message, containing the message in RFC > 822 format. Lines in the message are separated by CRLF, not > just LF. The

What's the message's UID in the message storage of cyrus imapd.

2009-08-17 Thread Penghui Wang
Hi, In the document of cyrus imapd package, there are something describe the message files in the message storage. *message files * *There is one file per message, containing the message in RFC 822 format. Lines in the message are separated by CRLF, not just LF. The file name of each message is