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 271202 - some imap html mail is displayed as raw html
some imap html mail is displayed as raw html
Status: RESOLVED NOTXIMIAN
Product: evolution
Classification: Applications
Component: Mailer
2.0.x (obsolete)
Other All
: Normal major
: ---
Assigned To: Evolution Triage Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-01-12 15:52 UTC by Brent Elmer
Modified: 2005-03-14 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CAMEL_DEBUG=all log (59.69 KB, text/plain)
2005-03-09 01:12 UTC, Brent Elmer
Details
CAMEL_DEBUG=all log (58.04 KB, text/plain)
2005-03-11 00:52 UTC, Brent Elmer
Details

Description Brent Elmer 2005-01-12 15:52:29 UTC
Description of Problem: Most, but not all, of my
imap html mail is displayed as raw html mail.  My
imap server is imap.myrealbox.com from Novell.  I
had this problem in early 1.x branch and it was
eventually fixed.  I tried Debian sarge 2.0.3 and
the html problem showed up again.  I have since
downgraded to the previous 1.x.x sarge version so
that I can read my mail again.


Steps to reproduce the problem:
1. run evolution 2.0.3
2. connect to imap.myrealbox.com
3. open mail

Actual Results: shows raw html


Expected Results: show rendered html


How often does this happen? with most html mail


Additional Information: Here is my debian bug report

Received: (at submit) by bugs.debian.org; 24 Dec
2004 02:08:11 +0000
From webe3@myrealbox.com Thu Dec 23 18:08:11 2004
Return-path: <webe3@myrealbox.com>
Received: from smtp-send.myrealbox.com
[192.108.102.143] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ChesE-0004rN-00; Thu, 23 Dec 2004 18:08:10 -0800
Received: from
pool-64-223-123-5.burl.east.verizon.net webe3
[64.223.123.5]
	by smtp-send.myrealbox.com with NetMail SMTP
Agent $Revision: 1.4 $ on Linux
	via secured & encrypted transport (TLS);
	Thu, 23 Dec 2004 19:08:09 -0700
Subject: evolution: mail doesn't render some imap
html mail correctly
From: "Brent S. Elmer, Ph.D." <webe3@myrealbox.com>
To: submit@bugs.debian.org
Content-Type: text/plain
Date: Thu, 23 Dec 2004 21:13:25 -0500
Message-Id:
<1103854405.13188.6.camel@VTdebian.elmer.vermont>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin
2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.6 required=4.0
tests=BAYES_00,CLICK_BELOW,
	HAS_PACKAGE,HTML_20_30,HTML_FONTCOLOR_BLUE,HTML_LINK_CLICK_HERE,
	HTML_MESSAGE,LARGE_HEX autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: evolution
Version: 2.0.3-1.1
Severity: grave
Justification: renders package unusable


 I upgraded to evolution 2.0.3-1.1 from sarge the
other day and some of
my html
 mail fetched using imap does not render
correctly.  What shows up is
 the html instead of the rendered mail.  The same
mail rendered
 correctly in the previous version of evolution
from sarge.  I had this
 same problem in early versions of evolution over
a year ago and it was
 fixed eventually.

Here is what shows up in evolution for one of the
emails that fails to
render:

<html>
<body link="#003399" vlink="#003399" alink="#0000FF">
<font face="courier new">
<font size="3" color="#ccccff">
<b>------------------------------------------------------</b>
</font><br>
<font size="3" color="#FF9900">
<b>Provide Feedback on the Delivery of Your Order<br>
from Absolute Ties and Socks & Enter to Win $25 Today
</b>
</font><br>
<font size="3" color="#ccccff">
<b>------------------------------------------------------</b>
</font><br><br>
<font size="2" color="#000000" face="courier new">
<b>Dear webe3@myrealbox.com</b>,<br>
Please let <a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">Absolute
Ties and Socks</a> know if you were satisfied<br>
with the purchase you made on 12/14/2004.<br>
<br>
To rate your satisfaction, <a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">click
here</a>.<br>
<a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827</a><br>
<br>
After you provide your feedback, you'll have a
chance to<br>
<a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">win
up to $25 today</a> in BizRate's <a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">Daily
Cash Giveaway</a> Sweepstakes.<br>
<br>
Your feedback will help Absolute Ties and Socks
improve<br>
their level of service to you and their online
shoppers.<br>

<br>
Thank you,
<br>
<br>
Melissa Henry<br>
<a
href="https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827">BizRate.com</a><br>
<br>
P.S.  If you have not yet received your order,
please save this<br>
email and fill out the survey once your order has been
delivered.<br><br>
</font>
<font size="3" color="#ccccff" face="courier new">
---------------------------------------------------------</font><br>
<font size="2" color="666666">
To <i>opt-out</i> or <i>unsubscribe</i>, <a
href="http://em.bizrate.com/Apps/DCS/mcp?p=731ng2mq3Bz3531mah012002p_003Bz30mFT3_FT$o">click
here</a>.<br>
<a
href="http://em.bizrate.com/Apps/DCS/mcp?p=731ng2mq3Bz3531mah012002p_003Bz30mFT3_FT$o">http://em.bizrate.com/Apps/DCS/mcp?p=731ng2mq3Bz3531mah012002p_003Bz30mFT3_FT$o</a>
<br><br>


COPY/PASTE INSTRUCTIONS<br>
Please follow these steps if you are not able to
click a link:<br>
1.&nbsp;Click your mouse and drag the cursor
across the entire link<br>
&nbsp;&nbsp;(This will highlight the link)<br>
2.&nbsp;Click "Edit" and then click "Copy" (This
will copy the link)<br>
3.&nbsp;Now open a Web browser, i.e., Internet
Explorer,<br>
&nbsp;&nbsp;Netscape Navigator, etc.<br>
4.&nbsp;Click in the "address" or "location" area
of your browser<br>
5.&nbsp;Click "Edit" and "Paste" (This will paste
the link)<br>
6.&nbsp;Now press "Enter" (This will access the
link)<br>
https://eval.bizrate.com/posteval.pl?96ac6951a68f250bc5e241011aa4a7edca31f1639b3b6104de8678174cc13156ea3643fc5a7f96b10012d0bbec00008bee8b06ed36eb203d52606da383d72827


</font>
</body>
<br><br>
</html> 
 
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=en_US, LC_CTYPE=en_US
(charmap=ISO-8859-1)

Versions of packages evolution depends on:
ii  evolution-data-server     1.0.3-1       
evolution database backend
server
ii  gconf2                    2.8.1-4        GNOME
configuration
database syste
ii  gnome-icon-theme          2.8.0-1        GNOME
Desktop icon theme
ii  gtkhtml3.2                3.2.4-1        HTML
rendering/editing
library - b
ii  libart-2.0-2              2.3.16-6      
Library of functions for 2D
graphi
ii  libatk1.0-0               1.8.0-3        The
ATK accessibility
toolkit
ii  libaudiofile0             0.2.6-5       
Open-source version of
SGI's audio
ii  libbonobo2-0              2.8.0-3       
Bonobo CORBA interfaces
library
ii  libbonoboui2-0            2.8.0-2        The
Bonobo UI library
ii  libc6                     2.3.2.ds1-18   GNU C
Library: Shared
libraries an
ii  libcompfaceg1             1989.11.11-24 
Compress/decompress images
for mai
ii  libdb4.2                  4.2.52-17     
Berkeley v4.2 Database
Libraries [
ii  libebook8                 1.0.3-1       
Client library for
evolution addre
ii  libecal6                  1.0.3-1       
Client library for
evolution calen
ii  libedataserver3           1.0.3-1        Utily
library for evolution
data s
ii  libegroupwise6            1.0.3-1       
Client library for
accessing group
ii  libesd0                   0.2.35-2      
Enlightened Sound Daemon -
Shared 
ii  libfontconfig1            2.2.3-4       
generic font configuration
library
ii  libfreetype6              2.1.7-2.3     
FreeType 2 font engine,
shared lib
ii  libgail-common            1.8.0-2        GNOME
Accessibility
Implementation
ii  libgail17                 1.8.0-2        GNOME
Accessibility
Implementation
ii  libgal2.2-1               2.2.4-1        G App
Libs (run time
library)
ii  libgal2.2-common          2.2.4-1        G App
Libs (common files)
ii  libgconf2-4               2.8.1-4        GNOME
configuration
database syste
ii  libgcrypt11               1.2.0-4        LGPL
Crypto library -
runtime libr
ii  libglade2-0               1:2.4.0-1     
Library to load .glade
files at ru
ii  libglib2.0-0              2.4.8-1        The
GLib library of C
routines
ii  libgnome-keyring0         0.4.0-2        GNOME
keyring services
library
ii  libgnome-pilot2           2.0.10-6.1    
Support libraries for
gnome-pilot
ii  libgnome2-0               2.8.0-6        The
GNOME 2 library -
runtime file
ii  libgnomecanvas2-0         2.8.0-1        A
powerful object-oriented
display
ii  libgnomeprint2.2-0        2.8.1-1        The
GNOME 2.2 print
architecture -
ii  libgnomeprintui2.2-0      2.8.1-1        The
GNOME 2.2 print
architecture U
ii  libgnomeui-0              2.8.0-3        The
GNOME 2 libraries (User
Interf
ii  libgnomevfs2-0            2.8.3-6        The
GNOME virtual
file-system libr
ii  libgnutls11               1.0.16-9       GNU
TLS library - runtime
library
ii  libgpg-error0             1.0-1         
library for common error
values an
ii  libgtk2.0-0               2.4.13-1       The
GTK+ graphical user
interface 
ii  libgtkhtml3.2-11          3.2.4-1        HTML
rendering/editing
library - r
ii  libice6                   4.3.0.dfsg.1-8
Inter-Client Exchange
library
ii  libjpeg62                 6b-9           The
Independent JPEG
Group's JPEG 
ii  libldap2                  2.1.30-3      
OpenLDAP libraries
ii  libnspr4                  2:1.7.3-5     
Netscape Portable Runtime
Library
ii  libnss3                   2:1.7.3-5     
Network Security Service
Libraries
ii  liborbit2                 1:2.10.2-1.1  
libraries for ORBit2 - a
CORBA ORB
ii  libpango1.0-0             1.6.0-3       
Layout and rendering of
internatio
ii  libpisock8                0.11.8-10     
Library for communicating
with a P
ii  libpisync0                0.11.8-10     
Synchronization library for
PalmOS
ii  libpopt0                  1.7-5          lib
for parsing cmdline
parameters
ii  libsm6                    4.3.0.dfsg.1-8 X
Window System Session
Management
ii  libsoup2.2-7              2.2.1-1        an
HTTP library
implementation in 
ii  libtasn1-2                0.2.10-3      
Manage ASN.1 structures
(runtime)
ii  libx11-6                  4.3.0.dfsg.1-8 X
Window System protocol
client li
ii  libxml2                   2.6.11-5       GNOME
XML library
ii  xlibs                     4.3.0.dfsg.1-8 X
Window System client
libraries m
ii  zlib1g                    1:1.2.2-3     
compression library -
runtime

-- no debconf information
Comment 1 Gerardo Marin 2005-01-29 10:56:39 UTC
This is a known bug on myrealbox server
Comment 2 Not Zed 2005-01-31 03:28:08 UTC
get an imap log and attach it here.

you'll need to do it when viewing a mail the first time, otherwise
data is cached about it.
(or remove data in ~/.evolution/mail/imap/user@account/ before loading
the message)

run evolution with CAMEL_DEBUG=all set in the environment to activate it.

it sounds like an imap server bug anyway, you could also try setting
CAMEL_IMAP_BRAINDAMAGED=1 in the environment, if that works that may
be all we can offer.


Comment 3 Brent Elmer 2005-03-09 01:12:04 UTC
Created attachment 44950 [details]
CAMEL_DEBUG=all log
Comment 4 Brent Elmer 2005-03-09 01:18:25 UTC
I created a CAMEL_DEBUG=all log file and attached it to the bug
report.  For the log all I did was run evolution and bring up a mail
that displays the raw html instead of processing the html into
readable format.  Using CAMEL_IMAP_BRAINDAMAGED=1 didn't help.  I will
reinstall the 1.4.x version that works so that I can read my mail.  Is
there a way that I can install both evolution versions in Debian?  It
is a pain to get the working 1.4 version of evolution installed after
I try the 2.0 version.
Comment 5 Not Zed 2005-03-10 11:39:48 UTC
the log doesn't contain any downloaded messages, you must've clicked
on previously downloaded messages.  the cache is in
~/.evolution/mail/imap/user@account/folderpath, and you can remove the
messages there to force a re-fetch (the files which start with numbers).

you need 2.0.3 or 2.0.4 for the braindamaged flag to work (it is
inclear which version you are using).
Comment 6 Brent Elmer 2005-03-10 15:10:31 UTC
I did clear the cache.  I don't know why it is unclear which version I
am using when it is clearly 2.0.3 at the beginning of the bug report.
 As soon as I get the time to try again I will try and get another
CAMEL_DEBUG dump.  Is it possible that you didn't see what you
expected because squid was caching?  Debian no longer has 1.4.6, which
works for me, so it is kind of a pain for me to keep bouncing back and
forth to test 2.0.3.
Comment 7 Brent Elmer 2005-03-11 00:52:34 UTC
Created attachment 44965 [details]
CAMEL_DEBUG=all log
Comment 8 Brent Elmer 2005-03-11 01:00:19 UTC
I added another CAMEL_DEBUG=all log.
Comment 9 Not Zed 2005-03-14 10:19:10 UTC
ok, this is a netmail bug (i know because hula has it and i tried to
fix it).  i'm sorry i misread the last log.  it doesn't support
xx.MIME queries, even though it advertises the imap 4.1 capability.

i.e. here it is returning body[1] not body[1.mime] that we asked for.

sending : A00028 UID FETCH 2241519 BODY.PEEK[1.MIME]
received: * 226 FETCH (UID 2241519 BODY[1] {1752}
received: )


the CAMEL_IMAP_BRAINDAMAGED workaround is definitely in 2.0.3 and
2.0.4, and it should address this problem.  i dont know why it
wouldn't be.

if that is set, then the log should show BODY.PEEK[0] or similar
rather than BODY.PEEK[1.MIME] etc.

i can't really offer more than that, because the server is seriously
broken in this case.