You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/04/09 10:38:00 UTC

[jira] [Commented] (JAMES-2371) Store attachments out of the database

    [ https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430356#comment-16430356 ] 

Tellier Benoit commented on JAMES-2371:
---------------------------------------

Hi Mostafa.

This is, in brief, the direction we are taking.

We introduced recently a "blob store" component for storing a potentially large amount of data, out of the database (https://github.com/apache/james-project/tree/master/server/blob). The only implementation today is Cassandra based, but some object stores (yet to be defined) will be added in the future.

Please note that the `mailbox` implementation has to support and integrate the blob API. The only one to currently do so is the Cassandra Mailbox.

We would more than welcome some contribution on this topic, might it be:
 - Implementing additional backends for the blob-api
 - Modifying existing mailbox implementations to rely on the blob-api

Best regards,

> 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 &amp; 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org