Benoit Tellier created JAMES-3415:
-------------------------------------
Summary: MailEnvelopeImpl should use a DeferedInputStream
Key: JAMES-3415
URL: https://issues.apache.org/jira/browse/JAMES-3415
Project: James Server
Issue Type: Improvement
Components: SMTPServer
Reporter: Benoit Tellier
Following remarks made by @adarshasp87 on gitter,
it turns out MailEnvelopeImpl uses an inmemory data structure to store
temporary messages before enqueuing them.
When the size extension is not enabled, this can cause "out of memory
exceptions".
We would rather like to rely on a DeferedInputStream, or the like, in order to
allow very large messages reception in SMTP.
Community members should feel free to contribute this simple fix.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]