http://bugzilla.spamassassin.org/show_bug.cgi?id=4068
Summary: SpamAssassin doesn't follow RFCs 822, 2045, and 2046
Product: Spamassassin
Version: 2.64
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: spamassassin
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
According to RFC 822, each field in a message header must be terminated by a
CRLF character sequence (ASCII 13 and 10 characters) and the message header must
be separated from the message body by a null line (two contigious CRLF
sequences).
I've noticed that when SpamAssassin adds fields to a message header, it doesn't
terminate its fields with CRLFs; it only adds a LF character to the end of each
of its fields. Since SpamAssassin adds its fields to the end of an existing
message header, this also means that for a message that SpamAssassin has
processed, instead of the required null line, a LF-CRLF sequence separates the
message header from the message body.
According to RFCs 2045 and 2046, CRLFs serve as line breaks to define MIME part
headers and bodies.
When SpamAssassin embeds the original message with a report and attaches the
original message as a MIME attachment to the message, it doesn't terminate the
lines that it adds with CRLFs.
Many e-mail clients and servers loosely comply with RFCs 822, 2045, and 2046
with respect to handling CRLFs but for clients and servers that are more strict,
messages that SpamAssassin have processed will be tagged as invalid (not RFC
822, 2045, or 2046 compliant) or will be incorrectly parsed because of the
missing CRLFs.
(Although SpamAssassin keeps the original message intact with CRLFs, the lines
that SpamAssassin adds do not have the required CRLFs.)
---
RFC 822 - Standard for the format of ARPA Internet text messages
3.2. HEADER FIELD DEFINITIONS
field = field-name ":" [ field-body ] CRLF
B.2. SEMANTICS
Headers occur before the message body and are terminated by a null line (i.e.,
two contiguous CRLFs).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.