6.0.0-beta1
7/20/25

[#13076] mail with alternative part not correctly displayed
Summary mail with alternative part not correctly displayed
Queue IMP
Queue Version 6.1.7
Type Bug
State Not A Bug
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester maciej.uhlig (at) us (dot) edu (dot) pl
Created 03/26/2014 (4134 days ago)
Due
Updated 04/01/2014 (4128 days ago)
Assigned 03/31/2014 (4129 days ago)
Resolved 04/01/2014 (4128 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/01/2014 07:48:15 AM Michael Slusarz Comment #6 Reply to this comment
It's a broken message:
Understood. Looks like Thunderbird is less strict but more user 
friendly. Thank you.
Thunderbird displays that message?  *shudder*  User friendly < Security.
04/01/2014 07:39:59 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #5 Reply to this comment
It's a broken message:
Understood. Looks like Thunderbird is less strict but more user 
friendly. Thank you.
04/01/2014 07:05:27 AM Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
It's a broken message:

Content-Transfer-Encoding: utf8

This is an invalid encoding.  It's not parsed correctly by the IMAP 
server, for example:

C: 9 UID FETCH 60983 (BINARY.PEEK[1.2])
S: * 15 FETCH (UID 60983)
S: 9 NO [UNKNOWN-CTE] Unknown Content-Transfer-Encoding.
Command 9 took 0.0007 seconds.
Per RFC 2045:

    Any entity with an unrecognized Content-Transfer-Encoding must be
    treated as if it has a Content-Type of "application/octet-stream",
    regardless of what the Content-Type header field actually says.

Thus, we accurately indicate that there is no alternative part that 
can be displayed, since both alternatives have invalid CTEs and thus 
must be treated as application/octet-stream, which we are unable to 
display inline.
04/01/2014 06:20:58 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #3 Reply to this comment
Please send to slusarz@horde.org
Message has been sent.
03/31/2014 09:10:29 PM Michael Slusarz Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Assigned to Michael Slusarz
Reply to this comment
Due to the nature of the problem I'll send the message source 
privately to the IMP developer in case he's interested.
Please send to slusarz@horde.org
03/26/2014 08:08:20 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ mail with alternative part not correctly displayed
Due ⇒ 03/27/2014
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I got a mail which is clearly spam. The technical problem is the 
structure of the mail which is correctly seen in Thunderbird, but it's 
not seen in the newest IMP. The mail has  "Alternative (68 KB)" 
information and there is a message "There are no alternative parts 
that can be displayed inline.". Clicking on "Alternative" produces 
empty popup window. I feel IMP doesn't know how to display the message.

Moreover the message contains several "This part contains an 
attachment that can not be displayed within this part:" informations. 
They are also seen as nice images in Thunderbird.

Due to the nature of the problem I'll send the message source 
privately to the IMP developer in case he's interested.

Saved Queries