James Server
  1. James Server
  2. JAMES-1060

Use javamail system properties in startup scripts to let javamail handle bad formated messages more friendly

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      javmail offers a lot of system properties to let it not throw MessagingExceptions on bad formated messages. We should make use of them

        Activity

        Hide
        Norman Maurer added a comment -

        Use the following properties for now:
        -Dmail.mime.multipart.ignoremissingendboundary=true
        -Dmail.mime.multipart.ignoremissingboundaryparameter=true
        -Dmail.mime.ignoreunknownencoding=true
        -Dmail.mime.uudecode.ignoreerrors=true
        -Dmail.mime.uudecode.ignoremissingbeginend=true
        -Dmail.mime.multipart.allowempty=true
        -Dmail.mime.base64.ignoreerrors=true
        -Dmail.mime.encodeparameters=true
        -Dmail.mime.decodeparameters=true
        -Dmail.mime.address.strict=false

        Show
        Norman Maurer added a comment - Use the following properties for now: -Dmail.mime.multipart.ignoremissingendboundary=true -Dmail.mime.multipart.ignoremissingboundaryparameter=true -Dmail.mime.ignoreunknownencoding=true -Dmail.mime.uudecode.ignoreerrors=true -Dmail.mime.uudecode.ignoremissingbeginend=true -Dmail.mime.multipart.allowempty=true -Dmail.mime.base64.ignoreerrors=true -Dmail.mime.encodeparameters=true -Dmail.mime.decodeparameters=true -Dmail.mime.address.strict=false

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Norman Maurer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development