[Bug 144609] New: Load attachments on demand is broken

David Jander ddjander at yahoo.com
Tue Apr 24 15:22:06 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=144609         
           Summary: Load attachments on demand is broken
           Product: kmail
           Version: 1.9.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: ddjander yahoo com


Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

The "load attachments on demand" feature for IMAP seems to be broken (still) in version 1.9.5 of kmail. Here's a description of my system:

- 64-bit Kubuntu 6.10 with KDE 3.5.5 on an AMD64 single core (beryl running).
- Imap server: Cyrus IMAP cyrus-imapd-2.2.8-6.5 on a SuSE-9.2 box.

Reproduction of the problem:
============================

1.- Turn on "load attachments on demand".
2.- Receive an e-mail message on an IMAP account with an attachment. Not all e-mails trigger this problem, but here is part of the source of a message which DOES trigger the problem:

------ CUT HERE ----------
.... (various delivery-path headers) ...
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: application/x-gzip;
  name="help_en.html.tar.gz"
Content-Transfer-Encoding: base64
Content-Description: help_en.html.tar.gz
Content-Disposition: attachment;
	filename="help_en.html.tar.gz"
Subject: help
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Tue, 24 Apr 2007 15:24:51 +0200
Message-ID: <CFA8FB101903E144A42CBB375CCE888503FB49 pan03 pan lokaal>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: help
thread-index: AceGc/AoSkKckcAqR5mQ4s7k1WvDMQ==
From: XXXXXXXX
To: YYYYYYY
X-Virus-Scanned: by amavisd-new at ZZZZZ
X-Length: 5911
X-UID: 30479

H4sICB4ELkYAA2trU1pTYi50YXIA7Rtdb9w2Mq/dX8H45Rwg0dpJLgGKjYHESRsDsc9ofQju6cCV
uLusJVJHUna3v74zpD5IfTi25LQPJwLxemfI4cxwOF90dizN/8tEtDNZ+uQ7jSMYb968xs/jt/98
Zb8fv7bfYbw6On55/OT46M3xq9eAP3r7BAAvX799Qo6+F0P+KLShipAn/EbeqYBCM6X/Cob+2rF6
..... (more base64 code)...
----------- CUT HERE --------------

3.- Click on e-mail; you'll see just an icon with the file help_en.html.tar.gz.
4.- Right click on e-mail, choose "save as..." (or left-click and open with ark for instance)
5.- Save attachment (or open it).
6.- Attachment is only 153 bytes long (ought to be a few kb though).

How to work around the bug:
===========================

1.- Turn off "load attachments on demand".
2.- Repeat from point 2 above. Everything is fine now.

Further thoughts:
=================

I know this isn't new (there has been a similar bug in version 1.6 or something like that).
Obviously it wasn't fixed correctly or this is just a new bug.
I have had this problem with a few messages, I thought that once or twice closing and re-starting kmail fixed it (can't remember for sure though).
What's suspicious about the e-mail shown above, is that it is basically just an attachment, without a multipart container, but besides that, it looks pretty much ok.



More information about the Kdepim-bugs mailing list