Public folder scan fails in some messages due to "An error occurred while retrieving mime content for item: <subject> and exchange webservice"</subject>

book

Article ID: 184276

calendar_today

Updated On:

Products

Data Loss Prevention Network Discover

Issue/Introduction

When running a public folder scan, there is an error in some messages stating that an error occurred while retrieving mime content the mentioned item.

30-Sep-2017 00:05:55 com.symantec.exchangecrawler.ExchangeItemContentRetriever generateMimeContent

WARNING: An error occured while retrieving mime content for item: <Subject>  and exchange webservice URLhttps://Exchange_server_FQDN/ews/exchange.asmx

javax.mail.internet.ParseException: Expected ';', got "="

    at javax.mail.internet.ParameterList.<init>(ParameterList.java:179)

    at javax.mail.internet.ContentType.<init>(ContentType.java:100)

    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1249)

    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1001)

    at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:333)

    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1255)

    at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)

    at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)

    at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1680)

    at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1659)

    at com.symantec.exchangecrawler.ExchangeItemContentRetriever.generateMimeContent(ExchangeItemContentRetriever.java:188)

    at com.symantec.exchangecrawler.ExchangeItemContentRetriever.getItemMimeContent(ExchangeItemContentRetriever.java:102)

    at com.symantec.exchangecrawler.ExchangeItemContentRetriever.getContent(ExchangeItemContentRetriever.java:89)

    at com.symantec.exchangecrawler.DocumentFetcher.fetchDocument(DocumentFetcher.java:69)

    at com.symantec.exchangecrawler.DocumentFetcher.fetch(DocumentFetcher.java:57)

    at com.symantec.exchangecrawler.ExchangeItemContent.fetch(ExchangeItemContent.java:73)

    at com.symantec.exchangecrawler.ExchangeDocumentItem.fetch(ExchangeDocumentItem.java:100)

    at com.symantec.exchangecrawler.ExchangeContentItemProcessor.fetchItemContentAndMetaData(ExchangeContentItemProcessor.java:44)

    at com.vontu.discover.crawler.framework.ContentItemProcessor.process(ContentItemProcessor.java:53)

    at com.vontu.discover.crawler.framework.ItemProcessorTask.call(ItemProcessorTask.java:74)

    at com.vontu.discover.crawler.framework.ItemProcessorTask.call(ItemProcessorTask.java:32)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Cause

The message is incorrectly formatted.

Environment

Data Loss Prevention Network Discover
Exchange server with Public Folders
Emails generated by a third-party application. (The situation was verified with messages of type IPM.Post - an Outlook Post sent by email.)

Resolution

The messages with incorrect format cannot be scanned.
Consider contacting the vendor of the third-party application for a fix, so that future messages will be properly formatted.