Bug 68976

Summary: kmail wraps header lines incorrectly when forwarding as attachment
Product: [Unmaintained] kmail Reporter: richard
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: lemma, Sascha-bugs.kde.org
Priority: NOR Keywords: triaged
Version First Reported In: 1.6   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richard 2003-11-24 23:18:17 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Gentoo Packages

Consider the following header line:

Received: from mwinf3002.me.freeserve.com (smtp1.freeserve.com [193.252.22.158])
	by helios.garandnet.net (Postfix) with ESMTP id AF2CDF1BED
	for <xxxxxxx@garandnet.net>; Mon, 24 Nov 2003 03:02:55 -0600 (CST)

When the email containing this line is forwarded as an attachment, the first line (which is around 80 characters long) is broken up, giving this:

Received: from mwinf3002.me.freeserve.com (smtp1.freeserve.com [193.252.22.
158])
	by helios.garandnet.net (Postfix) with ESMTP id AF2CDF1BED
	for <xxxxxxx@garandnet.net>; Mon, 24 Nov 2003 03:02:55 -0600 (CST)

The headers seem to be getting the same linewrapping as the message body, producing a broken message.
Comment 1 richard 2003-11-24 23:19:20 UTC
The header examples seem to have been mangled; in both cases, the last two lines were indented, but the others weren't.
Comment 2 Fernando Vilas 2008-11-09 15:52:17 UTC
Seems to be fixed in KMail 1.10.1 (KDE 4.1.2)
Comment 3 Michael Leupold 2008-11-23 18:31:44 UTC
I can't reproduce this bug on trunk r887937 either.