]> Pileus Git - ~andy/fetchmail/commitdiff
Another MIME fix.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 30 Nov 1998 17:17:36 +0000 (17:17 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 30 Nov 1998 17:17:36 +0000 (17:17 -0000)
svn path=/trunk/; revision=2239

NEWS
sink.c

diff --git a/NEWS b/NEWS
index 267b3714d1bfa70b6446750b18be65624ffb3110..00ae8d99b1b0e342e88c1a303b1325b75452e84c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,12 @@
                                Release Notes:
 
+4.7.0 ():
+* Peter Hamlen's fix for bounce-message generation.
+
+Feature freeze is in effect!
+
+There are 247 people on fetchmail-friends and 309 on fetchmail-announce.
+
 fetchmail-4.6.9 ():
 * Better RFC822 conformance in fetchmail trace headers.
 * Corrected MIME generation of bounce mail.
diff --git a/sink.c b/sink.c
index 0ef2b7e40e565a3cd098fad4371c965668a24843..e5d9ca7982dbe90415b9c45444c1b6abf4c36e8e 100644 (file)
--- a/sink.c
+++ b/sink.c
@@ -286,7 +286,7 @@ static int send_bouncemail(struct msgblk *msg,
     SockPrintf(sock, "From: FETCHMAIL-DAEMON@%s\r\n", fetchmailhost);
     SockPrintf(sock, "To: %s\n", msg->return_path);
     SockPrintf(sock, "MIME-Version: 1.0\r\n");
-    SockPrintf(sock, "Content-Type: multipart/report; report-type=text/plain; boundary=\"%s\"\r\n", boundary);
+    SockPrintf(sock, "Content-Type: multipart/report; report-type=delivery-status boundary=\"%s\"\r\n", boundary);
     SockPrintf(sock, "\r\n");
     SockPrintf(sock, "Content-Transfer-Encoding: 7bit\r\n");
     SockPrintf(sock, "\r\n");