Bug 72389

Summary: RFC SHOULD violation: KMail doesn't fold headers with very long email addresses
Product: [Applications] kmail Reporter: Ingo Klöcker <kloecker>
Component: mimeAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jtamate, lemma, thilo.bangert
Priority: NOR Keywords: triaged
Version: 1.5.94   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ingo Klöcker 2004-01-11 13:21:47 UTC
Version:           1.5.94 (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

Example:

Send a message to the following address:
12345678901234567890123456789012345678901234567890 <1234567890@1234567890.1234567890>

KMail will produce the following header (all in one line):
To: 12345678901234567890123456789012345678901234567890 <1234567890@1234567890.1234567890>

According to RFC 2822 KMail should not produce lines that exceed 78 characters (excluding CRLF). So KMail SHOULD produce the following header:
To: 12345678901234567890123456789012345678901234567890[CRLF]
[WSP]<1234567890@1234567890.1234567890>
Comment 1 Jaime Torres 2008-09-09 17:46:47 UTC
kmail 1.10.1 only uses sends RCPT TO:<1234567890@1234567890.1234567890> and the name of the destinate is in the mail body (as seen in the smtp log).
Comment 2 Michael Leupold 2008-11-07 12:43:55 UTC
I can confirm what Jaime said. RCPT TO only uses the address part of the mail. I guess this can thus be considered fixed.