[ https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438948#comment-16438948 ]
Tellier Benoit commented on JAMES-2371: --------------------------------------- Hi mostafa, Regarding project relations **/mailbox/api** defines the APIs to interact with mail storage. There is a couple of implementations, for instance,**mailbox/memory** for testing purposes, **mailbox/jpa** for storing emails in a database over JPA, **mailbox/cassandra** for doing so over Cassandra. Here are the main interfaces: - *MailboxManager* for handling "non selected IMAP operations", mailbox level operations. - *MessageManager* is for handling messages level operations. The **mailbox/store** project proposes an implementation for these managers and delegates to the implementations only specific storage concerns through mappers. Here are the main mappers: - MailboxMapper for simple mailbox storage directives - MessageMapper for simple message storage directives Note that there is a full test suite for each of these mappers, to ensure compliance (at least for supported, non experimental back-ends mentioned above). Maybe this page could be enhanced with what I just had been presenting to you. I will create a ticket for that. This page gives you a more global overview of the James architecture (not just limited to the **mailbox**) http://james.apache.org/server/dev.html If you have some more precise questions, I would be glad to answer it. Cheers. Benoit > Store attachments out of the database > ------------------------------------- > > Key: JAMES-2371 > URL: https://issues.apache.org/jira/browse/JAMES-2371 > Project: James Server > Issue Type: New Feature > Components: MailStore & MailRepository > Reporter: mostafa vtp > Priority: Major > Labels: storage > > I want to store email attachments on file system(directly or by calling a > service to do it) and save only text part of the message body in database. > I know that in general, saving whole message body (including attachments) in > database is better But due to certain circumstances, I have to do it. And it > may be useful for others with limited storage space on database. > We can implement it as a configurable feature. > And if it is not accepted as a new feature, can anyone help me out how to do > it? > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org