Bug 83257

Summary: 'Show email source' still munges email.
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: evolution-data-serverAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-31 18:52:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample mail. none

Description David Woodhouse 2003-01-31 22:39:55 UTC
See attached mail. See the formatting of the 'X-Spam-Report:' header.

See how Evolution mangles it when you select 'View->Message Display->Show Email
Source'.

Bad Evo :)

Comment 1 David Woodhouse 2003-01-31 22:41:14 UTC
Created attachment 89751 [details]
Sample mail.

Comment 2 Jeremy Katz 2003-01-31 22:52:35 UTC
I'm failing to see how it's mangled aside from how spamassassin mangled it. 
Point me to what I'm missing here

Comment 3 David Woodhouse 2003-02-03 14:57:49 UTC
This probably isn't going to come out well in this text box but...

In the attached mail, the 'X-Spam-Report:' header is nicely formatted and
readable. Each 'SPAM:' is on a new line after two spaces:

X-Spam-Report: Detailed Report
  SPAM: -------------------- Start SpamAssassin results ----------------------
  SPAM: This mail is probably spam.  The original message has been altered
  SPAM: so you can recognise or block similar unwanted mail in future.
  SPAM: See http://spamassassin.org/tag/ for more details.
  SPAM:
  SPAM: Content analysis details:   (9.60 hits, 5 required)
  SPAM: NO_REAL_NAME       (1.3 points)  From: does not include a real name
  SPAM: TO_MALFORMED       (0.6 points)  To: has a malformed address
 
Evolution displays it more like this:
X-Spam-Report: Detailed Report SPAM: -------------------- Start
        SpamAssassin results ---------------------- SPAM: This mail is probably
        spam.  The original message has been altered SPAM: so you can recognise or
        block similar unwanted mail in future. SPAM: See
        http://spamassassin.org/tag/ for more details. SPAM:  SPAM: Content
        analysis details:   (9.60 hits, 5 required) SPAM: NO_REAL_NAME       (1.3
        points)  From: does not include a real name SPAM: TO_MALFORMED       (0.6
        points)  To: has a malformed address SPAM: FROM_MALFORMED     (0.3 points) 


Comment 4 Jeremy Katz 2003-07-28 23:24:34 UTC
Is this a problem with 1.4?

Comment 5 David Woodhouse 2003-07-30 20:35:24 UTC
Yes. Sample mail was attached to this bug... does it not do it for you?

Comment 6 Jeremy Katz 2003-10-15 00:15:39 UTC
Should be fixed with the next build (1.4.5-3) I think.  Can you check it when
it's built?

Comment 7 David Woodhouse 2003-10-15 05:48:15 UTC
Will try as soon as 1.4.5-3.dwmw2.1 is built (without imap-over-ssh I can't
actually get at my mailboxen and can't tell).

Comment 8 David Woodhouse 2003-10-15 06:33:16 UTC
Nope, still munged. Does the attached test message look correct when you view it?

Comment 9 Dave Malcolm 2004-05-07 15:24:58 UTC
I tested it on 1.5.7 and it's still munged

Comment 10 Sheldon Hearn 2004-06-11 19:03:52 UTC
If you check the message as stored on disk, you'll see it was munged
on its way in from your POP3 / IMAP / ??? server.

I've tested this with Ximian Evolution 1.4.6 on a Gentoo Linux box,
and it's definitely a bug in Evolution.  When I check the message as
stored on disk on my POP3 server, the X-Spam-Report header is
well-formed.  The copy Evolution stores on disk is munged.


Comment 11 Sheldon Hearn 2004-06-11 19:46:52 UTC
There are several open tickets for this in Ximian's Bugzilla:

http://bugzilla.ximian.com/show_bug.cgi?id=35681

Comment 12 Dave Malcolm 2004-09-20 23:25:08 UTC
FWIW, I've managed to reproduce this in evolution-2.0.0


Comment 13 David Woodhouse 2005-02-11 08:36:11 UTC
Still happening in 2.1.5.

See also http://david.woodhou.se/evo-ate-my-spam-report.jpeg although that's
actually a screenshot of 2.0.something. The X-Spam-Report: header is basically
unreadable due to Evolution's mangling of it.

Upstream evolution hackers seem to claim that this is acceptable because it's
syntactically equivalent after you mangle the whitespace. I'd like to hear what
their usability people think of that assertion ;)

Comment 15 Matthew Barnes 2006-12-31 18:51:26 UTC
Verified that the problem still exists in evolution-data-server-1.9.4-1.fc7.

I'm resolving this bug as UPSTREAM and will update the status of the upstream
bug [1] and continue to track the problem there.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=235681