http://bugzilla.spamassassin.org/show_bug.cgi?id=3050
Summary: mime parser debug output is screwed up sometimes!
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: Libraries
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
The first problem is that the debug info appears at the end of the -D output.
The second problem is
that the debug output has _absolutely_ nothing to do with the input message.
For instance, for a
message with the main Content-Type of "text/html", the debug output is:
debug: ---- MIME PARSER START ----
debug: main message type: multipart/mixed
debug: parsing multipart, got boundary: ----------=_403043CE.45029781
debug: found part of type text/plain, boundary: ----------=_403043CE.45029781
debug: parsing normal part
debug: added part, type: text/plain
debug: found part of type message/rfc822, boundary:
----------=_403043CE.45029781
debug: parsing normal part
debug: added part, type: message/rfc822
debug: ---- MIME PARSER END ----
Even wierder is that the boundary changes per run:
debug: ---- MIME PARSER START ----
debug: main message type: multipart/mixed
debug: parsing multipart, got boundary: ----------=_403044D1.DEE3D148
debug: found part of type text/plain, boundary: ----------=_403044D1.DEE3D148
debug: parsing normal part
debug: added part, type: text/plain
debug: found part of type message/rfc822, boundary:
----------=_403044D1.DEE3D148
debug: parsing normal part
debug: added part, type: message/rfc822
debug: ---- MIME PARSER END ----
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.