I'm receiving some emails with attachments that seem to be malformed and
throw:

javax.mail.MessagingException: Missing start boundary
        at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)


In an attempt to be more lenient with missing start boundary, we have tried
the following system properties via PHOENIX_JVM_OPTS as well as using
System.setProperty() to IGNORE these errors but JAMES seems to ignore them:

 export PHOENIX_JVM_OPTS="-Dmail.mime.parameters.strict=false
-Dmail.mime.allowencodedmessage=true
-Dmail.mime.decodetext.strict=false
-Dmail.mime.multipart.ignoremissingendboundary=true
-Dmail.mime.multipart.ignoremissingboundaryparameter=true
-Dmail.mime.ignoreunknownencoding=true
-Dmail.mime.multipart.ignoreexistingboundaryparameter=true
-Dmail.mime.multipart.ignorewhitespacelines=true
-Dmail.mime.decodeparameters.strict=false
-Dmail.mime.encodeparameters.strict=false"


Anyone encounter this issue? Does James 3 behave better here?
-
Barry Lai
Software Engineer, Abine

Reply via email to