Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3415

MailEnvelopeImpl should use a DeferedInputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • SMTPServer

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: