You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2023/08/30 10:16:27 UTC

[Bug 67083] New: Mail attachment is omitted on signed Outlook files

https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

            Bug ID: 67083
           Summary: Mail attachment is omitted on signed Outlook files
           Product: POI
           Version: 5.2.3-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSMF
          Assignee: dev@poi.apache.org
          Reporter: R.Schnitker@ceyoniq.com
  Target Milestone: ---

Usecase: Apache Tika text extract on signed Outlook Mail file (uses POI)

Bug: Text extract from PDF attachment is omitted.
Reason:  msg.getAttachmentFiles() is empty

Log message:
Warn poi.hsmf.MAPIMessage 127.0.0.1/38 I don't recognize message class
'IPM.Note.SMIME.MultipartSigned'. Please open an issue on POI's bugzilla

Example: see attachment here

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Nick Burch <ap...@gagravarr.org> ---
Are you able to produce a much smaller file that shows the same bug, that we
could use for unit tests etc? We try to avoid large files in the test suite
where possible

From a quick look at the file supplied, it seems to be much the same as a
normal outlook file, with an additional smime.p7m attachment. (Plus a few
unknown + unsupported chunks)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

Rainer Schnitker <R....@ceyoniq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Rainer Schnitker <R....@ceyoniq.com> ---
Attachment > 1mb - link here:
https://drive.google.com/file/d/1Do4JB-umviF5-xTRTjsx0D6r60V1rTOe/view?usp=sharing

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

Rainer Schnitker <R....@ceyoniq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

--- Comment #3 from Rainer Schnitker <R....@ceyoniq.com> ---
Created attachment 38937
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38937&action=edit
Outlook-Mail  with and without signature

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

--- Comment #5 from Rainer Schnitker <R....@ceyoniq.com> ---
sorry, edit for last comment:

case with signature:    only one chunk by msg.getAttachmentFiles()

case without signature: two chunks:  pdf and word file

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 67083] Mail attachment is omitted on signed Outlook files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=67083

--- Comment #4 from Rainer Schnitker <R....@ceyoniq.com> ---
ZIP Attachment with Outlook E-Mail with and without signature

case signed:  only one chunk by msg.getAttachmentFiles()

case unsigned:  two chunks:  pdf and word file

Perhaps its a bug in the Apache Tika class
org.apache.tika.parser.microsoft.OutlookExtractor

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org