MozillaZine

problem with base64 decoding

User Help for Mozilla Thunderbird
luiscosta
 
Posts: 11
Joined: May 5th, 2008, 7:58 am

Post Posted August 5th, 2009, 4:40 am

Since last week, I've been getting a few random emails that appear totally garbled (see print-screen below). From looking at the message source, the only thing in common between them I was able to find was the base64 encoding, so I'm guessing that's somehow related to this problem.

As far as I know, Thunderbird does decode base64 encoding, correct? Any ideas as to why this is happening?

Here's the header for one of the problematic emails:
From - Fri Jul 31 12:44:10 2009
X-Account-Key: account2
X-UIDL: 20967zZwZ6ei0Ix20090731124537
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00800000
X-Mozilla-Keys:
Received: from smtp06.bis.eu.blackberry.com by mail.traducta.pt
with SMTP (Code-Crafters Ability Mail Server 2.63);
Fri, 31 Jul 2009 12:45:35 +0100
Received: from bxe1017.bisx.produk.on.blackberry (bxe1017.bisx.produk.on.blackberry [172.24.204.32])
by srs.bis.eu.blackberry.com (8.13.7 TEAMON/8.13.7) with ESMTP id n6VBhtZT018322;
Fri, 31 Jul 2009 11:45:00 GMT
X-rim-org-msg-ref-id: 1936132050
Disposition-Notification-To: xxxxxxxxx
Message-ID: <1936132050-1249040700-cardhu_decombobulator_blackberry.rim.net-429307611-@bxe1017.bisx.produk.on.blackberry>
Content-Transfer-Encoding: base64
Reply-To: xxxxxxxxxxx
X-Priority: Normal
Sensitivity: Normal
Importance: Normal
To: xxxxxxxxxxxxx
Cc: xxxxxxxxxxxxxxxxxx
Subject: Re: ambiente remoto muito lento
From: "=?utf-8?B?VsOibmlhIENhc3RhbmhlaXJh?=" xxxxxxxxxxxxxxxxxxxx
Date: Fri, 31 Jul 2009 11:43:59 +0000
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0

Image

Rod Whiteley

User avatar
 
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post Posted August 5th, 2009, 5:15 am

Yes, Thunderbird decodes base64. Select the message and choose View – Message Source to see what is really in the message. Perhaps it is not really encoded, and the Content-Transfer-Encoding header is wrong. Otherwise copy and paste the first couple of lines of the message source in your reply here.
Rod

luiscosta
 
Posts: 11
Joined: May 5th, 2008, 7:58 am

Post Posted August 5th, 2009, 6:23 am

Rod Whiteley wrote:Yes, Thunderbird decodes base64. Select the message and choose View – Message Source to see what is really in the message. Perhaps it is not really encoded, and the Content-Transfer-Encoding header is wrong. Otherwise copy and paste the first couple of lines of the message source in your reply here.


The content of the message source appears like this:

T2sgTHVpcywg6SB2ZXJkYWRlLiBOYSBob3JhIGRvIGJsYWNrb3V0IGF06SBvIEFSIGRlaXhvdSBk
ZSBmdW5jaW9uYXIuIERlcG9pcyBuZW0gbWUgbGVtYnJlaSBtYWlzIGRpU3NvLgoKRGFxdWkgYSBw
cHVjbyBq4SBvIGxpZ28gZSBpbmZvcm1vLXRlLgoKT2JyaWdhZGEgZSBianMKLS0tLS0tT3JpZ2lu
YWwgTWVzc2FnZS0tLS0tLQpGcm9tOiBMdWlzIENvc3RhClRvOiB2YW5pYWNhc3RhbmhlaXJhQHRy
YWR1Y3RhLmNvbS5icgpDYzogc2VydnRlY25pY29AdHJhZHVjdGEucHQKUmVwbHlUbzogTHVpcyBD
b3N0YQpTdWJqZWN0OiBSZTogYW1iaWVudGUgcmVtb3RvIG11aXRvIGxlbnRvClNlbnQ6IEp1bCAz
MSwgMjAwOSAwNTo1OAoKQm9tIGRpYSBW4m5pYSwKCkhvdXZlIHVtYSBmYWxoYSBkZSBlbGVjdHJp
Y2lkYWRlIGFxdWkgb250ZW0gcG9yIHZvbHRhIGRhcyA4IGUgdGFsIGRhIApub2l0ZSwg6SBuYXR1
cmFsIHF1ZSBkZXBvaXMgZGUgbyBzaXN0ZW1hIHRlciB2b2x0YWRvIGEgYXJyYW5jYXIgZHVyYW50
ZSAKYWxndW0gdGVtcG8gZnVuY2lvbmUgYmFzdGFudGUgbWFpcyBsZW50bywgcG9ycXVlIGjhIHVt
YSBz6XJpZSBkZSAKb3BlcmHn9WVzIHF1ZSB0ZW0gZGUgZWZlY3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WVuc2Fn
ZW0gcG9yDQplbmdhbm8sIHBvciBmYXZvciBhcGFndWUtYSBlIGNvbXVuaXF1ZSBhIG9jb3Jy6m5j
aWEgYQ0KaW5mb0B0cmFkdWN0YS5jb20uYnI=

Rod Whiteley

User avatar
 
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post Posted August 5th, 2009, 7:33 am

Nothing wrong with that. It reads: "Ok Luis, é verdade. Na hora do blackout até o AR deixou d..." I do not know why your Thunderbird does not decode it but mine does.
Rod

luiscosta
 
Posts: 11
Joined: May 5th, 2008, 7:58 am

Post Posted August 5th, 2009, 8:00 am

Rod Whiteley wrote:Nothing wrong with that. It reads: "Ok Luis, é verdade. Na hora do blackout até o AR deixou d..." I do not know why your Thunderbird does not decode it but mine does.


This is getting stranger by the minute... I just realized this only happens on emails which are replies to (some of) our emails. And on top of that, I just sent an email to a person with which I had this problem (of the reply showing up all garbled), and her reply to my last email is displayed correctly. I'm totally clueless as to what is happening here.

Rod Whiteley

User avatar
 
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post Posted August 5th, 2009, 12:47 pm

If you would like to paste the entire message source, unmodified, in a private message to me, I'll try to investigate further.
Rod

luiscosta
 
Posts: 11
Joined: May 5th, 2008, 7:58 am

Post Posted August 6th, 2009, 1:18 am

Rod Whiteley wrote:If you would like to paste the entire message source, unmodified, in a private message to me, I'll try to investigate further.


Thank you, I will do that.

Rod Whiteley

User avatar
 
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post Posted August 6th, 2009, 4:02 am

A "security" program intercepted the message and added a line that reads "Bayesian score: 31.39" at the top. This destroys the integrity of the encoded message. The program that intercepted the message has a bug.
Rod

luiscosta
 
Posts: 11
Joined: May 5th, 2008, 7:58 am

Post Posted August 6th, 2009, 4:38 am

Thank you so much! I'm gonna deactivate the bayesian filter temporarily to see if that solves the problem.

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 12 guests