Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2454

Emails extracted from PSTs detected as unexpected file types

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.16
    • Fix Version/s: 1.17
    • Component/s: detector, parser
    • Labels:
      None

      Description

      This issue is severe. The Outlook PST parser extracts a string for the body of every email and passes that string to the EmbeddedDocumentExtractor.

      However, no content type is set on the Metadata object passed to the extractor. Therefore, if for example, the body of the email starts with the string "From John Smith." (for example, when an email was forwarded), then body of the email is detected as application/mbox and parsed as though it were an mbox file.

      I think the immediate fix for this issue is to force the type of the email to text/plain and for it to be parsed as such.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mcaruanagalizia Matthew Caruana Galizia
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: