[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug




I've recently learned that Zmailer sometimes sends out invalid MIME error
reports.  I found the bug in errormail.c: the "dfltform" specification
does not place the "Content-Type" entry just before the "" entry, but
the code which adds the "boundary" notation to this form expects it
to be placed there.  The patch (attached), is simple and obvious...

(Bug found in 2.99.27, but verified to exist in 2.99.41 with patch.)

		--Ken Pizzini


--- transports/errormail/errormail.c-41p1	Tue Nov 19 17:21:59 1996
+++ transports/errormail/errormail.c	Tue Nov 19 17:23:34 1996
@@ -25,8 +25,8 @@
 		"Subject: email delivery error",
 		"Cc: The Postmaster <postmaster>",
 		"MIME-Version: 1.0",
-		"Content-Type: multipart/report; report-type=delivery-status;",
 		"Precedence: junk", /* BSD sendmail */
+		"Content-Type: multipart/report; report-type=delivery-status;",
 		"",
 		"Processing your mail message caused the following errors:",
 		NULL