I'm trying to refactoring our current MailRepositories but I never used IMAP and I don't have time to read the related RFC now. Can you help me answering what do we need for Imap?
(Flags? Date? long Uid? Message attributes?) in ImapMessageAttributes I see: getInternalDate, getInternalDateAsString, getSize, getEnvelope, getBodyStructure. Do we need to provide them in the MailRepository (or in my proposal MessageRepository) interface? Do the client runs query over this attributes? Are this attributes sent to the client without the body? Should we cache this fields in a repository or we can read the informations while sending the message to the client? Are there performance/size problems by using the folder path as string a repository_name ? Does IMAP uses this string to point folders? How long can be the path? Do you ever need to access multiple folders in the same query by using IMAP? IIRC IMAP has the concept of shared folders: can anyone explain how does it works? Are they seen as subfolders of my own personal root folder or what? > > The core of 2) is as I said: Support hierarchical stores > and all the > > required methods on them (delete & rename). How the hierarchical > > stores work is another matter and, as long as it works with minimum > > changes to the current method, it is up to you. When IMAP > references a > > store it uses notation like: > > Ok, I see. The current James message store interface does > not support folder hierarchies, and that needs to be done next? > > In other words, there needs to be a class that implements the > 'ImapStore' interface like 'InMemoryStore' but serializes the > messages and mailboxes? > http://svn.apache.org/repos/asf/james/server/branches/imap-dev > /proposals/imap2/java/org/apache/james/imapserver/store/InMemo > ryStore.java > > How does MailRepository relate to a MailStore? Seems to me > those should be the same thing. > > What interface is POP3 server going to use? 'ImapStore' > as well? Should the store object export an additonal > interface for POP3? > > Regards, > Kervin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
