[Kde-pim] Error in decoding of attachment - pdf

Bjørge Solli bjorge.solli at gmail.com
Thu Jan 25 10:04:03 GMT 2007


On Thursday 25 January 2007 10:05, Tom Albers wrote:
> At Thursday 25 January 2007 09:44, you wrote:
> > I get these pdf documents once in a while, but from one particular sender
> > I am never able to open it with KMail. I have also tried to save it and
> > then opening it. I have tried several different wievers. I think the
> > error is twowise; I think the email is uncorrectly coded or the pdf is
> > uncorrectly coded at the senders part, and I think KMail does something
> > nasty to the file when it opens/saves it. When I try to open/save it with
> > Thunderbird it works fine. Does anyone else have this problem or know a
> > solution?
>
> Hi,
>
> Maybe you can check if you are bitten by:
> http://bugs.kde.org/show_bug.cgi?id=95733

Good guess, but not correct I believe:

First, I am not sending this attachment, I am receiving it, and the sender 
does not use KMail. The headers does not state client, but I think it is sent 
directly from a bank-system/bank-programme as this is actually my payslip 
from my work.

Second, the headers state that it should be 64-bit:
Content-Type: application/pdf;
  name="K0000P0000231.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="K0000P0000231.pdf"


KMail also identifies the attachment correctly as a pdf file.


The total (obfuscated) headers+beginning of message look like this:

Return-Path: <economy.dep at job.no>
Received: from murder ([unix socket])
	 by antarctica.job.no (Cyrus v2.2.12-OS X 10.4.8) with LMTPA;
	 Thu, 09 Nov 2006 16:07:14 +0100
X-Sieve: CMU Sieve 2.2
Received: from localhost (localhost [127.0.0.1])
	by antarctica.job.no (Postfix) with ESMTP id 0987C745BCC
	for <bjorge.solli at job.no>; Thu,  9 Nov 2006 16:07:14 +0100 (CET)
Received: from antarctica.job.no ([127.0.0.1])
 by localhost (antarctica.job.no [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 18688-08 for <bjorge.solli at job.no>;
 Thu,  9 Nov 2006 16:07:09 +0100 (CET)
Received: from arctica (arctica.job.no [100.100.100.100])
	by antarctica.job.no (Postfix) with ESMTP id 725477456B2
	for <bjorge.solli at job.no>; Thu,  9 Nov 2006 16:05:36 +0100 (CET)
From: "economy.dep at job.no" <economy.dep at job.no>
Subject: =?ISO-8859-1?Q?L=F8nnsslipp?=
To: bjorge.solli at job.no
MIME-Version: 1.0
Date: Thu, 9 Nov 2006 16:05:37 +0100
Content-Type: application/pdf;
  name="K0000P0000231.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="K0000P0000231.pdf"
Message-Id: <20061109150536.725477456B2 at antarctica.job.no>
X-Virus-Scanned: by amavisd-new at job.no
X-Spam-Status: No, hits=0.46 tagged_above=-999 required=5 tests=AWL, BAYES_05,
 MSGID_FROM_MTA_ID
X-Spam-Level: 
X-Length: 12145
X-UID: 14

JVBERi0xLjINCjEgMCBvYmoNCjw8IC9UeXBlIC9DYXRhbG9nIA0KL1BhZ2VzIDMgMCBSIA0KL1Zp
ZXdlclByZWZlcmVuY2VzIDw8IA0KPj4NCj4+IA0KZW5kb2JqDQo1IDAgb2JqDQo8PCAvVHlwZSAv
UGFnZSANCi9QYXJlbnQgNCAwIFIgDQovTWVkaWFCb3ggWzAgMCA1OTUgODQyXSANCi9SZXNvdXJj
...

-- 
Bjørge
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/



More information about the kde-pim mailing list