Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Willy Gardiol on September 25, 2009, 06:22:29 AM

Title: Blank empty message body (see email source inside)
Post by: Willy Gardiol on September 25, 2009, 06:22:29 AM
Hallo!
roundcube version 0.3-stable.


Code: [Select]
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 62.149.162.43
X-Spam-Level:
X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,HTML_MESSAGE autolearn=ham
version=3.2.5
Received: (qmail 32637 invoked from network); 25 Sep 2009 11:50:03 +0200
Received: from blu0-omc3-s23.blu0.hotmail.com (65.55.116.98)
  by host43-162-149-62.serverdedicati.aruba.it with SMTP; 25 Sep 2009 11:50:03 +0200
Received-SPF: pass (host43-162-149-62.serverdedicati.aruba.it: SPF record at spf-a.hotmail.com designates 65.55.116.98 as permitted sender)
Received: from BLU116-W12 ([65.55.116.72]) by blu0-omc3-s23.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
Fri, 25 Sep 2009 02:50:04 -0700
Message-ID: <BLU116-W12293AE5FA0F3A7DA12F12A6D90@phx.gbl>
Return-Path: removed@hotmail.com
Content-Type: multipart/alternative;
boundary=&quot;_606aa0d7-dd39-4241-94e4-53b6b9080048_&quot;
X-Originating-IP: [194.184.40.66]
From: Removed <removed@hotmail.com>
To:  Also Removed <removed@gardiol.org>
Subject: RE: Prova...
Date: Fri, 25 Sep 2009 09:50:04 +0000
Importance: Normal
In-Reply-To: <e0e827b0b04e422d9c7743a9a19a13a4@127.0.0.1>
References: <e0e827b0b04e422d9c7743a9a19a13a4@127.0.0.1>
MIME-Version: 1.0
X-OriginalArrivalTime: 25 Sep 2009 09:50:04.0291 (UTC) FILETIME=[8E8C9530:01CA3DC5]

--_606aa0d7-dd39-4241-94e4-53b6b9080048_
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable


prova=20
=20
> Date: Fri=2C 25 Sep 2009 11:22:21 +0200
> Subject: Prova...
>=20
>=20
> Quando puoi=2C rispondi a questa...
>=20
>=20
     =0A=
_________________________________________________________________=0A=
Condividi e organizza le tue immagini con  Windows Live Foto.
=0A=
http://www.microsoft.com/windows/windowslive/photos.aspx =

--_606aa0d7-dd39-4241-94e4-53b6b9080048_
Content-Type: text/html; charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
prova&nbsp=3B<BR>&nbsp=3B<BR>&gt=3B Date: Fri=2C 25 Sep 2009 11:22:21 +0200=
<BR>&gt=3B
com<BR>&gt=3B Subject: Prova...<BR>&gt=3B <BR>&gt=3B <BR>&gt=3B Quando puoi=
=2C rispondi a questa...<BR>&gt=3B <BR>&gt=3B <BR>    <br /><hr />L=
ive Search Map <a href=3D'http://maps.live.it' target=3D'_new'>Cerchi la st=
rada pi=F9 breve per andare in ufficio? Chiedila a Live Search Maps!</a></b=
ody>
</html>=

--_606aa0d7-dd39-4241-94e4-53b6b9080048_--

This message shows up as blank/empty page. I can see all the headers, i can see the full source by selecting show source... but not the message!

This is very annoyng because... this happens with emails from my girlfriend!
Title: Blank empty message body (see email source inside)
Post by: almar on September 25, 2009, 06:54:13 AM
Hello Willy,

Can you put on the preview pane in "Mailbox view" check if the mail shows up there?

I'm sensing the same problem as I posted earlier. The message looks fine.

Almar
Title: Blank empty message body (see email source inside)
Post by: Willy Gardiol on September 25, 2009, 07:05:34 AM
Whether i double-click on the message to open it or i enable the preview panel and simply click on the email, the result does not change.

either the preview panel or the new window/page show the headers, date, subject, to, from... but the body below is simply... empty.
Title: Blank empty message body (see email source inside)
Post by: Willy Gardiol on September 25, 2009, 07:15:19 AM
Ok, i did some more research.
The following email _WORKS_:

Code: [Select]

X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 62.149.162.43
X-Spam-Level:
X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,HTML_MESSAGE autolearn=ham
version=3.2.5
Received: (qmail 32637 invoked from network); 25 Sep 2009 11:50:03 +0200
Received: from blu0-omc3-s23.blu0.hotmail.com (65.55.116.98)
  by host43-162-149-62.serverdedicati.aruba.it with SMTP; 25 Sep 2009 11:50:03 +0200
Received-SPF: pass (host43-162-149-62.serverdedicati.aruba.it: SPF record at spf-a.hotmail.com designates 65.55.116.98 as permitted sender)
Received: from BLU116-W12 ([65.55.116.72]) by blu0-omc3-s23.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
Fri, 25 Sep 2009 02:50:04 -0700
Message-ID: <BLU116-W12293AE5FA0F3A7DA12F12A6D90@phx.gbl>
Return-Path: removed@hotmail.com
Content-Type: multipart/alternative;
boundary=&quot;_606aa0d7-dd39-4241-94e4-53b6b9080048_&quot;
X-Originating-IP: [194.184.40.66]
From: Removed <removed@hotmail.com>
To: Removedl <removed@gardiol.org>
Subject: RE: Prova...
Date: Fri, 25 Sep 2009 09:50:04 +0000
Importance: Normal
In-Reply-To: <e0e827b0b04e422d9c7743a9a19a13a4@127.0.0.1>
References: <e0e827b0b04e422d9c7743a9a19a13a4@127.0.0.1>
MIME-Version: 1.0
X-OriginalArrivalTime: 25 Sep 2009 09:50:04.0291 (UTC) FILETIME=[8E8C9530:01CA3DC5]

--_606aa0d7-dd39-4241-94e4-53b6b9080048_
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable


prova=20
=20
> Date: Fri=2C 25 Sep 2009 11:22:21 +0200
> Subject: Prova...
>=20
>=20
> Quando puoi=2C rispondi a questa...
>=20
>=20
     =0A=
_________________________________________________________________=0A=
Condividi e organizza le tue immagini con  Windows Live Foto.
=0A=
http://www.microsoft.com/windows/windowslive/photos.aspx =

--_606aa0d7-dd39-4241-94e4-53b6b9080048_
Content-Type: text/html; charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
prova&nbsp=3B<BR>&nbsp=3B<BR>&gt=3B Date: Fri=2C 25 Sep 2009 11:22:21 +0200=
<BR>&gt=3B From: =
com<BR>&gt=3B Subject: Prova...<BR>&gt=3B <BR>&gt=3B <BR>&gt=3B Quando puoi=
=2C rispondi a questa...<BR>&gt=3B <BR>&gt=3B <BR>    <br /><hr />L=
ive Search Map <a href=3D'http://maps.live.it' target=3D'_new'>Cerchi la st=
rada pi=F9 breve per andare in ufficio? Chiedila a Live Search Maps!</a></b=
ody>
</html>=

--_606aa0d7-dd39-4241-94e4-53b6b9080048_--


What i did was to REPLY to this email... then my girlfriend answered and BANG, the answer is blank in roundcube...

Something must have changed between my reply and her reply.
Title: Blank empty message body (see email source inside)
Post by: robert.penz on September 26, 2009, 02:41:14 PM
I've the same problems with some mails.

I believe also that I know the problem. The problem occurs if in the email header empty lines occure. This is still a valid mail if the next line does start with an space.

For example, if the header has something like this:

Code: [Select]
References: <tPR5uYcaz0008cb6f@bay0-omc3-s17.bay0.hotmail.com>
 <BAY134-W4332358D64B11E113AAFECEDB10@phx.gbl>
X-OriginalArrivalTime: 25 Sep 2009 14:39:03.0406 (UTC) FILETIME=[ED7790E0:01CA3DED]


      <BAY120-W271460BF2B958BA97CCB7B919B0@phx.gbl>

     <BAY134-W290035BBFD837D6B2E2E30ED750@phx.gbl>

   <BAY134-W24A401A36AAA4B9C164260ED520@phx.gbl>

  <BAY134-W108A256FCD0BD9D3890914ED490@phx.gbl>


 <BAY134-W117C8AD81106C3D8A14DE9ED010@phx.gbl>
MIME-Version: 1.0

The body is shown empty, but if I remove the blank lines via ssh in the maildir on the server so it looks like this:

Code: [Select]
References:
 
X-OriginalArrivalTime: 25 Sep 2009 14:39:03.0406 (UTC) FILETIME=[ED7790E0:01CA3DED]
     
     
   
 
 
MIME-Version: 1.0



everything is shown correctly
Title: Blank empty message body (see email source inside)
Post by: anders on September 27, 2009, 03:34:25 AM
I got the same problem... Is there any solution for this yet?
Title: Blank empty message body (see email source inside)
Post by: robert.penz on September 27, 2009, 03:38:58 AM
I don't know of any fix.
Title: Blank empty message body (see email source inside)
Post by: Paul on September 28, 2009, 04:41:58 AM
Quote from: robert.penz;21775
I've the same problems with some mails.
I believe also that I know the problem. The problem occurs if in the email header empty lines occure. This is still a valid mail if the next line does start with an space.

I guess it is technically a valid email, but since everything after the empty line is part of the body, it's not a valid MIME email - the mime-version header is missing.

That said, these messages work fine in roundcube 0.2, and in most email programs. We've had three users who complained about this. Someone should open a ticket.
Title: Blank empty message body (see email source inside)
Post by: Willy Gardiol on September 28, 2009, 04:54:17 AM
I opened a bug here:

#1486175 (Mail message is shown with empty body) ? Roundcube Webmail (http://trac.roundcube.net/ticket/1486175)
Title: Blank empty message body (see email source inside)
Post by: Paul on September 29, 2009, 04:41:53 AM
Quote from: Paul;21806


That said, these messages work fine in roundcube 0.2, and in most email programs. We've had three users who complained about this. Someone should open a ticket.


Sorry, it seems these messages don't work in roundcube 0.2, though they work in thunderbird. Still, we've started seeing these messages after upgrading to roundcube 0.3. Apparently something has changed in roundcube's outgoing email, that causes hotmail to reply with corrupt MIME messages.
Title: Blank empty message body (see email source inside)
Post by: Paul on September 29, 2009, 05:53:57 AM
Quote from: Paul;21833
Sorry, it seems these messages don't work in roundcube 0.2, though they work in thunderbird. Still, we've started seeing these messages after upgrading to roundcube 0.3. Apparently something has changed in roundcube's outgoing email, that causes hotmail to reply with corrupt MIME messages.


I've just exchanged a few emails with a hotmail user using roundcube 0.2, and the same problem occurs. Maybe it's not a Roundcube problem after all.
Title: Blank empty message body (see email source inside)
Post by: Paul on September 30, 2009, 03:34:29 AM
Quote from: Paul;21837
I've just exchanged a few emails with a hotmail user using roundcube 0.2, and the same problem occurs. Maybe it's not a Roundcube problem after all.


It must be a hotmail problem, see also Zen or hotmail problem? :: Zen Internet :: think broadband (http://forums.thinkbroadband.com/zen/3707177-zen-or-hotmail-problem.html)
Title: Blank empty message body (see email source inside)
Post by: steveg_nh on September 30, 2009, 09:44:41 AM
I actually have been having the same problem, which is why I came here to look to see if others were. I'm getting it from folks with aol and corporate email accounts as well.

In roundcube 0.2, when it happened, if I clicked "reply" I could see the original message. I can't do that anymore. Kind of frustrating.
Title: Blank empty message body (see email source inside)
Post by: steveg_nh on September 30, 2009, 10:04:49 AM
Seems to me too, that while standards are a good thing, programs should be smart enough to handle "common" errors, so users are not impacted.
Title: Blank empty message body (see email source inside)
Post by: martensson on September 30, 2009, 03:11:35 PM
I don't exactly agree with you on this one steveg_nh.. The garbage collecting company at your/my home does not accept all garbage, just some.. :)

Eitherway, In my case i ran into exactly the same problem.. And with a solution (well, for all the Dovecot users I know there is). Seems that Dovecot version 1.0 (default for Debian Etch par example) does not output the bodystructure well.. So the same problem...

But... On my brand new server, ofcourse equiped with Debian Lenny (and Dovecot 1.1.0.15) the problem doesn't exist! Seems like the guys @ Dovecot have fixed that problem in the newer releases.

Still trying to find the bug report / feature request, but my advice to you all: Update your mailserver (IMAP) to the latest version available.. If this doesn't help, go and make a bug report!
Title: Blank empty message body (see email source inside)
Post by: martensson on October 09, 2009, 04:06:03 PM
Paul,

Stop the idiocy. It's not the fault of Roundcube, but the fault of Hotmail. just update your mailserver to the latest version. RC 0.3 doesn't fix this problem, nor does 0.2.

Blaim Hotmail for changing their bodystructures not Roundcube.
Title: Blank empty message body (see email source inside)
Post by: steveg_nh on October 09, 2009, 05:37:41 PM
I does happen with emails originating from places other than hotmail though. I've had it from AOL and a corporate email account (not sure what he backend email was).
Title: Blank empty message body (see email source inside)
Post by: Willy Gardiol on October 12, 2009, 02:33:20 AM
If you follow the bug report page, there are two interesting patches that fix completely the problem.

While it is true that it is not a roundcube problem because its the mailserver that sends the wrong bodystructure, it is also true that its roundcube goal to show me my emails and it does me no good at all when roundcube fails at that.

Said this, the patches in the bug report do work perfectly and do address the problem fully: when the bodystructure is broken, just show the raw email data so that me, as an end user, can still see the email, which is why i use roundcube.

The rest is only mental games: roundcube is used to show email, so it have to show emails even if the server response are not 100% standard. Otherwise, people simply stop using it because it fails on the most basic and most important task: to show emails.

So please do not ignore all this but include in trunk the second patch in the bug report.

By the way, there is no blame here. Nobody blames RC or HM (hotmail), we just want to be able to read our email. Then, if horde works i use horde and stop using RC. But i like RC more and i believe in making it a better product so this is why i am here. Now what should i do? Go to all my hotmail friends and tell them to switch email? Go to hotmail iteself and say hey guys, you have to upgrade all your servers because what since all other mail clients out there works?

If you follow this line of tought we would not have a single line of deployed AJAX in the world because IE has never been fixed properly.