[Tickets #3022] NEW: text attachments with very long lines get broken

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Nov 22 15:08:57 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3022
-----------------------------------------------------------------------
 Ticket             | 3022
 Created By         | adrieder at sbox.tugraz.at
 Summary            | text attachments with very long lines get broken
 Queue              | IMP
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2005-11-22 15:08) wrote:

When attaching a text file (e.g. xml) which has very long lines, the file
will be broken at the recepient side. This is because the SMTP server (e.g.
sendmail) will break lines after 990 characters in the following way:
  [1...990 characters]!
  rest of the line
This is critical, because applications (e.g. maple) can't read/parse the
resulting files.

This is an example of the relevant parts of the raw message:
[...headers...]
Subject: test 01
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="=_48ql1hbg4s8w"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs)
X-Scanned-By: MIMEDefang 2.52 on 129.27.3.25
X-Scanned-By: milter-sender/1.5.882 (mail [129.27.3.25]); Tue, 22 Nov 2005
22:56:02 +0100
X-Scanned-By: MIMEDefang 2.52 on 129.27.10.19

This message is in MIME format.

--=_48ql1hbg4s8w
Content-Type: text/plain;
	charset=ISO-8859-1;
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Test Text Body

--=_48ql1hbg4s8w
Content-Type: text/xml;
	charset=ISO-8859-1;
	name="mime-maple.mw"
Content-Disposition: attachment;
	filename="mime-maple.mw"
Content-Transfer-Encoding: 7bit

<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="7" minor="0"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="true"></View-Properties>
<MapleNet-Properties warnlevel="3" longdelim="true"  [........]




More information about the bugs mailing list