After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 260055 - Whitespace mangling of SpamAssassin X-Spam-Report header
Whitespace mangling of SpamAssassin X-Spam-Report header
Status: RESOLVED DUPLICATE of bug 256916
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other All
: Normal normal
: Future
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2004-06-11 19:58 UTC by Sheldon Hearn
Modified: 2004-06-21 05:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sheldon Hearn 2004-06-11 19:58:43 UTC
Description of Problem:

Evolution 1.4.6 mangles the multiline X-Spam-Report header that
SpamAssassin can be configured to add to messages.  The header content is
intended to line up vertically for easy reading when viewed as plaintext,
and uses tab newlines and tab characters to achieve this effect.

However, Evolution performs a paragraph reformat on the header content,
similar to what par(1) and fmt(1) do, such that carefully placed newlines
are removed and the lines broken on length.

This is not a UI bug; the header is actually mangled on disk.  I've checked
the message as stored on disk (maildir format), and the header is mangled
there too.  I have tested and found that the header is not mangled as
stored on the POP3 server, nor does the POP3 server mangle it during a
manual telnet session.

Steps to reproduce the problem:

1. Arrange for a message to exist in a POP3 account from which Evolution
retrieves mail.  Include an X-Spam-Report header in an email message.  It
should be formatted (note the tab characters) as shown at:

    http://starjuice.net/evobug/evo.good.txt

2. Fetch the message by clicking on Send / Receive in Evolution.

3. Select View -> Message Display -> Full Headers.  Note that the
formatting of the X-Spam-Report now looks more like the one shown (still
with tab characters) at:

    http://starjuice.net/evobug/evo.bad.txt

How often does this happen? 

100% Reproducible on 3 separate installations.
Comment 1 Not Zed 2004-06-14 03:05:05 UTC
'known'.
Comment 2 Johannes Berg 2004-06-18 15:05:58 UTC
Isn't this just #56916 ?
Comment 3 Sheldon Hearn 2004-06-18 15:46:59 UTC
Yes, it is.

I saw my bug was a duplicate of at least one other, but not the one
you pointed out.  The duplicate I saw had an audit trail in which the
last comment was along the lines of "but this is just cosmetic".

I left my bug in place as an example of how it actually has a negative
impact.

Feel free to close this as a duplicate, and sorry for any wasted time
I may have caused.
Comment 4 Gerardo Marin 2004-06-21 05:28:30 UTC
Thanks guys.

*** This bug has been marked as a duplicate of 256916 ***