6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/31/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13851] 8bit/binary Content-Transfer-Encoding should not be used via SMTP channel
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ \ /.___ __..__ | \ >< [__ (__ [__) |__// \[___.__)|
Comment
> Sorry, if the problem has already been solved (6.1.7 is not the most > recent of IMP), but I couldn't find such bug reports searching your > tickets. > > Our problem is, that an ISP started to use IMP as its webmail, and > since that point we started to receive malformed attachment contents. > The problem is that the XML based content is attached with > Content-Transfer-Encoding: 8bit, while it contained lines longer than > 1000 characters. > > Referring to Rfc 2045 (MIME): >> 6. Content-Transfer-Encoding Header Field >> >> Many media types which could be usefully transported via email are >> represented, in their "natural" format, as 8bit character or binary >> data. Such data cannot be transmitted over some transfer protocols. >> For example, RFC 821 (SMTP) restricts mail messages to 7bit US-ASCII >> data with lines no longer than 1000 characters including any trailing >> CRLF line separator. >> >> It is necessary, therefore, to define a standard mechanism for >> encoding such data into a 7bit short line format. Proper labelling >> of unencoded material in less restrictive formats for direct use over >> less restrictive transports is also desireable. This document >> specifies that such encodings will be indicated by a new "Content- >> Transfer-Encoding" header field. This field has not been defined by >> any previous standard. > > Accordingly 8bit and binary Content-Transfer-Encodings can be used > for ex. HTTP POSTs, however these are not to be used if the > transmission channel is SMTP, since Rfc 821 (SMTP) allows any SMTP > servers to break lines longer than 1000 characters or convert bodies > to 7bit by will. Since IMP is webmail client we might state that > every MIME structures it creates will be transferred via SMTP, > therefore the usage of 8bit and binary transfer-encodings are > contraindicated. > > Thx for your kind help!
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers