Bug 281530 - no longer possible to extract SpamAssassin-encapsulated message
Summary: no longer possible to extract SpamAssassin-encapsulated message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 09:22 UTC by Jonathan Marten
Modified: 2012-03-31 16:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3
Sentry Crash Report:


Attachments
Test message (5.14 KB, application/mbox)
2011-09-07 09:22 UTC, Jonathan Marten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Marten 2011-09-07 09:22:09 UTC
Created attachment 63463 [details]
Test message

Version:           Git (master) (using Devel) 
OS:                Linux

SpamAssassin forwards suspected spam emails with a preview and description in the message body, and the original message as an attachment of type message/rfc822.  Using KMail from KDE3, if a message was wrongly detected as spam by SA it was possible to view the original message attachment by clicking on it, and then use the viewer's context menu "Copy Message To" to move it back into the inbox so recovering the original message.

Now it appears that this is no longer possible.  Clicking on the attachment prompts to either "Save as", "Open with KMail view" or "open with".  Clicking "Open with Kmail view" does a bit of disc activity and then puts up the message box "The file does not contain a message".

The attachment can be dragged to either the desktop or a Dolphin window, but not to the inbox folder or anywhere else in Kmail (the "no entry" cursor is shown).

RMB - View on the attachment opens it in a viewer window, but this has no context menu so nothing can be done.

From the message structure viewer, RMB - View over the attachment does exactly the same as above.

In the viewer, the "Encapsulated message" header appears to be a link, but clicking on it or using RMB - Open URL does nothing.


Reproducible: Always

Steps to Reproduce:
View a message with a message/rfc822 attachment.  Try to do something useful with the attached message.


Actual Results:  
Impossible to extract the encapsulated message.


Expected Results:  
Should be possible to extract it, as in KDE3.


This is a local (not IMAP) maildir folder.

Attached is a test message that demonstrates this problem.  It has been sanitised for personal information and is safe to open.  Your mission, should you choose to accept it, is to get the original message into the inbox or any other folder.
Comment 1 Laurent Montel 2011-10-21 21:18:32 UTC
Fixed in 4.7.3/master.
Comment 2 Jonathan Marten 2011-10-31 15:24:20 UTC
Is this fix in kdepim trunk?  The problem does not appear to be resolved - an encapsulated message cannot be opened by clicking on it, "View" works but there is no context menu.  Dragging the attachment anywhere within KMail shows the "no entry" cursor.
Comment 3 Laurent Montel 2011-10-31 16:58:33 UTC
It's fixed in master.
Send me in private email please (if possible)

How dnd ?
I don't understand.