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

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

     [ https://issues.apache.org/jira/browse/TIKA-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-2587.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.18

Thank you for opening this and sharing a triggering file!

> 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: 2.0, 1.17
>            Reporter: Andreas Meier
>            Priority: Major
>             Fix For: 1.18, 2.0.0
>
>
> 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)