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

        Norman Maurer created issue -
        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
        Norman Maurer made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Norman Maurer [ norman ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12523798 ] Default workflow, editable Closed status [ 12566487 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566487 ] jira [ 12582039 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2h 7m 1 Norman Maurer 09/Oct/10 12:38

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development