mostafa vtp commented on JAMES-2371:

I reviewed StripAttachment and RecoverAttachment mailets. I can change 
StripAttachment to save attachments in another storage and replace it with a 
specific tag in the email message. But I think RecoverAttachment should run 
when IMAP or POP3 requests are sent to James but it run when James receives 
How I can write mailet for IMAP and POP3 requests? 
Is it Possible to write code similar to mailet for IMAP and POP3 request?

> 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

To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to