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

rfc822 standard headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4
    • None
    • detector, mime

    Description

      Please add the following headers to message/rfc822 type:

      <match value="Subject:" type="stringignorecase" offset="0" />	
      <match value="Content-Type:" type="stringignorecase" offset="0">
        <match value="MIME-Version:" type="stringignorecase" offset="0:500"/>
      </match>
      

      The former is defined in RFC822, the latter is defined in RFC2045. I've added a further check on the Content-type header just to be sure it's a MIME.
      In RFC822 (part 4.1) are also defined other headers like: Resent-From, References, Keyword etc..

      Please also consider to add the following Mozilla custom-headers:

      <match value="X-Account-Key:" type="string" offset="0">
        <match value="X-Mozilla-Keys:" type="string" offset="0:500" />
      </match>
      <match value="X-Mozilla-Status:" type="string" offset="0">
        <match value="X-Mozilla-Keys:" type="string" offset="0:500" />
      </match>
      

      Thanks

      Attachments

        1. example1.eml
          20 kB
          Marco Quaranta
        2. example2.eml
          0.4 kB
          Marco Quaranta
        3. example3.eml
          0.7 kB
          Marco Quaranta

        Activity

          People

            Unassigned Unassigned
            101000 Marco Quaranta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: