Hi Stefano, Am Freitag, den 30.06.2006, 13:23 +0200 schrieb Stefano Bagnara:
> 1) flag: are flags dynamic? I understand from your document that we need > to store the flag types in a table so that their ID can be used. Is it > needed or the flag types are statically defined in the RFC? There are predefined system flags like \Seen, \Answered, \Recent. Just like in http://java.sun.com/products/javamail/javadocs/javax/mail/Flags.Flag.html But it's possible to introduce new system-wide flags like "Junk". It would even be imaginable to allow the user/client to define new flags for a mailbox. But I don't know how this is supported by clients. I prefer representing semantics in the DB, instead of using magic constants, anyway. > 2) message_header: are To, Subject and From specified in the RFC or it > is simply the default behaviour for "common" IMAP client requests? The IMAP client could request any combination of header lines. Even "Received:" or "Return-Path:". The idea is to parse the whole header, not only the most common ones. This will cost a few milliseconds on delivery but is IMO better then always parse every message in the mailbox on every access by an Imap client. (I watched Thunderbird doing this) > What do we need to support IMAP SEARCH? It's dealing with flags, specific header lines (From/To/Subject/date) and searching complete header+body or only body. I hope we can postpone this until the rest works stable. > 3) mailbox: is there a way to avoid this? James currently doesn't have > persistence for mailbox but only for mailbox contents. How are mailbox > created/destroyed (is it created when a message is first stored to that > mailbox or we have to fail when the mailbox does not exists?) Mailboxes (aka folders) Are created by the client and can be listed before the first message arrives. Last used uid and uidvalidity has to be stored to. The name "INBOX" is reserved. This has to be created when the user is created or when the first message arrives. This one would be accessed by POP3, too. BTW: Have you ever used an IMAP account productive? I could lend you a test account at my server. :-) Joachim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]