Re: [Evolution] broken headers



cheers();

i dont really follow what this is about?  are you saying evolution is
creating broken mails or something else?

no... yes... maybe. ;)  Sorry, if you didn't get me, I will try to
explain it.

I just had time to dig deeper into that problem and found some strange
output of Evolution, version 1.2.0. (see below)


The mails in question that seem to be displayed broken are SPAM Mails,
not accepted by the recipients MTA and sent back. The original mails get
to me (postmaster) as an attached mail in an attached mail...

Evolution applies the mail view (nice header) even to the inside mails,
which is really nice. But somehow broken.

What I was pointing out in my first post, is that the innermost mail
(original) seems to have broken headers. The mail body starts with some
text, that obviously belongs to the header.


I just compared the mail Evolution displays (view: show email source)
with the mail in my mbx file (IMAP Server).

The output of 
% diff -b false-header.evolution.munged false-header.mailfile.munged
shows a significant difference in the innermost header (line 107):

That part from line 107 to 118 is doubled. And the inserted newline
indicates the end of the header, where it isn't.


--- snipp --
21a25
This is a MIME-encapsulated message
24,25d27
< Content-Type: text/plain; CHARSET=US-ASCII
< Content-Transfer-Encoding: 8bit
64a67
This is a MIME-encapsulated message
67,68d69
< Content-Type: text/plain; CHARSET=US-ASCII
< Content-Transfer-Encoding: 8bit
107,118d107
< Content-Type: text/plain; CHARSET=Windows-1252
< Content-Transfer-Encoding: 8bit
< 
< Return-Path: dave 2nd-world fr
< Received: from proxy.da.gov.ph ([202.73.161.3]) by rudersport.de
(8.11.6) id gAP0wlF13056; Sun, 24 Nov 2002 17:58:47 -0700 (MST)
< Received: from mailer.8415.com.br ([217.218.247.2]) by proxy.da.gov.ph
(AIX4.2/UCB 8.7/8.7) with SMTP id HAA110368; Mon, 25 Nov 2002 07:55:00
+0800 (TAIST)
< Message-Id: <200211242355 HAA110368 proxy da gov ph>
< To: <C:\``VipCustomer\`Mini Racer\mini racer txt proxy da gov ph>
< From: "shela livingston" <dave 2nd-world fr>
< Subject: FW: Awesome Christmas Gift for All Ages!
< Date: Sun, 24 Nov 2002 18:45:42 01800
< MIME-Version: 1.0
--- snipp --


I attached the complete diff output and both full source files to this
mail. I had to rewrite those files slightly just for better comparing
with a perl script, as Evolution rewrites header entrys, that span more
than one line. (btw: why that??)


anyway i suggest you create a bug on bugzilla.ximian.com, and attach
FULL email examples.

There was already an full mail attached to ma first post. For this
invention, I took the same mail.

I will file a bug, if it really is one. I wanted to take care of that
within this list first. And I wanted to point you to that error as fast
as possible, as it is fundamental, to rewrite and/or display mails
really correctly...


If you want/need some more testcases, I can provide you with more. I
will investigate more, but my first guess is the charset or the cascaded
mails.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Attachment: false-header.evolution.munged
Description: Text document

Attachment: false-header.evolution
Description: Text document

Attachment: false-header.mailfile.munged
Description: Text document

Attachment: false-header.mailfile
Description: Text document

Attachment: diff
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]