20030416
- Bugfix: missing output flush when message content did not
- end in newline while converting 8-bit to 7-bit mail. File:
- smtp/smtp_proto.c.
+ Bugfix: missing partial last line when 1) someone submits
+ 8-bit mail not ending in newline via /usr/sbin/sendmail
+ and 2) MIME input processing is turned off, and 3) MIME
+ 8bit->7bit conversion is requested upon delivery via SMTP.
Cleanup: auto-bcc recipients are now added in one place
(the cleanup server) instead of by individual front-end
smtp_host_lookup (default: dns, native). Files: smtp/smtp.c,
smtp/smtp_addr.c.
+20030418
+
+ Bugfix: "sendmail -t" broke with unrecognized message headers.
+
Open problems:
Low: smtp-source may block when sending large test messages.
* Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release.
*/
-#define MAIL_RELEASE_DATE "20030417"
+#define MAIL_RELEASE_DATE "20030418"
#define VAR_MAIL_VERSION "mail_version"
-#define DEF_MAIL_VERSION "2.0.8-" MAIL_RELEASE_DATE
+#define DEF_MAIL_VERSION "2.0.9-" MAIL_RELEASE_DATE
extern char *var_mail_version;
/*
* appropriate place.
*/
if (header_class == MIME_HDR_PRIMARY
+ && header_info
&& header_info->flags & HDR_OPT_RECIP
&& header_info->flags & HDR_OPT_EXTRACT
&& (state->resent == 0 || (header_info->flags & HDR_OPT_RR))) {
}
if (state->mime_state) {
+
+ /*
+ * The cleanup server normally ends MIME content with a
+ * normal text record. The following code is needed to flush
+ * an internal buffer when someone submits 8-bit mail not
+ * ending in newline via /usr/sbin/sendmail while MIME input
+ * processing is turned off, and MIME 8bit->7bit conversion
+ * is requested upon delivery.
+ */
mime_errs =
mime_state_update(state->mime_state, rec_type, "", 0);
if (mime_errs) {