You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Andreas Meier (JIRA)" <ji...@apache.org> on 2018/02/23 09:39:00 UTC

[jira] [Created] (TIKA-2587) DKIM signed mails recognized as text/plain

Andreas Meier created TIKA-2587:
-----------------------------------

             Summary: DKIM signed mails recognized as text/plain
                 Key: TIKA-2587
                 URL: https://issues.apache.org/jira/browse/TIKA-2587
             Project: Tika
          Issue Type: Bug
          Components: mime
    Affects Versions: 1.17, 2.0
            Reporter: Andreas Meier


DKIM signed mails are not recognized when the mails got no fileextension:

{noformat}
DKIM-Signature: v=1; a=rsa-sha256; s=brisbane; d=example.com;
      c=simple/simple; q=dns/txt; i=joe@football.example.com;
      h=Received : From : To : Subject : Date : Message-ID;
      bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=;
      b=AuUoFEfDxTDkHlLXSZEpZj79LICEps6eda7W3deTVFOk4yAUoqOB
        4nujc7YopdG5dWLSdNg6xNAZpOPr+kHxt1IrE+NahM6L/LbvaHut
        KVdkLLkpVaVVQPzeRDI009SO2Il5Lu7rDNH6mZckBdrIx0orEtZV
        4bmp/YzhwvcubU4=;
Received: from client1.football.example.com  [192.0.2.1]
      by submitserver.example.com with SUBMISSION;
      Fri, 11 Jul 2003 21:01:54 -0700 (PDT)
From: Joe SixPack <jo...@football.example.com>
To: Suzie Q <su...@shopping.example.net>
Subject: Is dinner ready?
Date: Fri, 11 Jul 2003 21:00:37 -0700 (PDT)
Message-ID: <20...@football.example.com>

Hi.

We lost the game. Are you hungry yet?

Joe.
{noformat}

[DKIM Spec rfc4871|http://dkim.org/specs/rfc4871-dkimbase.html#rfc.section.A]

message/rfc822 is only set when the file ends with .eml

The finally verified mail starts with 

{noformat}
X-Authentication-Results: shopping.example.net
      header.from=joe@football.example.com; dkim=pass
{noformat}

which might also be recognized as text/plain.

Check the related Ticket TIKA-2578


Regards

Andreas Meier


(Could not attach the example mails, got the following error: JIRA could not attach the file as there was a missing token. Please try attaching the file again.)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)