Postfix 1.1 Patch 06 available

[email protected] (Wietse Venema) Tue, 26 Mar 2002 19:49:16 -0500 (EST)
Newsgroups gmane.mail.postfix.announce
Message-ID <[email protected]>
Postfix version 1.1 patchlevel 06 is a code cleanup release. The
main change is more graceful handling of message content with
abnormally long lines or with abnormally long logical message
headers.

The purpose of the changes is to avoid inter-operability problems,
and to avoid breaking MIME encapsulation so that attachments no
longer "disappear".

- The new code avoids problems with SMTP servers that will not
  receive mail with lines longer than the 1000 characters that are
  allowed by the SMTP standard.

- The new code is more graceful in the handling of abnormally long
  message headers. It will no longer switch from "message header"
  to "message body" mode in the middle of an abnormally long message
  header line.

The patch, as well as patched Postfix source code, can be found at
ftp://ftp.porcupine.org/mirrors/postfix-release/official/

       13348 Mar 26 19:39 postfix-1.1-patch06.gz
      213604 Mar 26 15:39 postfix-1.1.6.HISTORY
       52606 Mar 26 16:11 postfix-1.1.6.RELEASE_NOTES
     1186576 Mar 26 17:23 postfix-1.1.6.tar.gz
	 152 Mar 26 17:23 postfix-1.1.6.tar.gz.sig

You can also point your browser at:

    ftp://ftp.porcupine.org/mirrors/postfix-release/index.html

Soon to appear on the mirror sites listed on www.postfix.org.

	Wietse

Extract from the RELEASE_NOTES file:

	Incompatible changes with Postfix version 1.1.6 (released 20020326)
	===================================================================

	The Postfix SMTP client now breaks message header or body lines
	that are longer than $smtp_line_length_limit characters (default:
	990). Earlier Postfix versions broke lines at $line_length_limit
	characters (default: 2048). Postfix versions before 20010611 did
	not break long lines at all.  Reportedly, some mail servers refuse
	to receive mail with lines that exceed the 1000 character limit
	that is specified by the SMTP standard.

	The Postfix SMTP client now breaks long message header or body
	lines by inserting <CR> <LF> <SPACE>.  Earlier Postfix versions
	broke long lines by inserting <CR> <LF> only. This broke MIME
	encapsulation, causing MIME attachments to "disappear" with Postfix
	versions after 20010611.

	Postfix now discards text when a logical message header exceeds
	$header_size_limit characters (default: 102400). Earlier Postfix
	versions would place excess text, and all following text, in the
	message body. The same thing was done when a physical header line
	exceeded $line_length_limit characters (default: 2048).  Both
	behaviors broke MIME encapsulation, causing MIME attachments to
	"disappear" with all previous Postfix versions.

Extract from the HISTORY file:

20020318

	Workaround: Berkeley DB can't handle null key lookups,
	which happen with HELO names ending in ".".  Victor Duchovni,
	Morgan Stanley. File: smtpd/smtpd_check.c.

	Logging: log a hint when mail is deferred because the
	soft_bounce parameter is set. People sometimes forget to
	turn it off. File: global/bounce.c.

20020319

	Cleanup: add a msg_warn() call when fork() fails in
	pipe_command(), to make problems easier to investigate.
	Chris Wedgwood. File:  global/pipe_command.c.

20020324

	Cleanup: more graceful handling of long physical message
	header lines upon input. Physical header lines can now
	extend up to $header_size_limit characters. When a logical
	message header is too long, the excess text is discarded
	and Postfix no longer switches to body mode, to avoid
	breaking MIME encapsulation.  Based on code by Victor
	Duchovni, Morgan Stanley.  Files:  cleanup/cleanup_out.c,
	cleanup/cleanup_message.c.

	Cleanup: more graceful handling of long physical message
	header or body lines upon output by the SMTP client. The
	SMTP client output line length is controlled by a new
	parameter smtp_line_length_limit (default: 990; specify 0
	to disable the limit). Long lines are folded by inserting
	<CR> <LF> <SPACE>, to avoid breaking MIME encapsulation.
	Based on code by Victor Duchovni, Morgan Stanley.  File:
	smtp/smtp_proto.c.

20020325

	Cleanup: allow additional text after a WARN command in a
	header/body_checks pattern file, so that one can change
	REJECT+text into WARN+text and vice versa. Based on code
	by Fredrik Thulin, Stockholm University.

	Cleanup: log a warning when an unknown command is found in
	a header/body_checks pattern file, or when additional text
	is found after a command that does not expect additional
	text. Based on code by Fredrik Thulin, Stockholm University.

	Bugfix: sendmail should not recognize "." as the end of
	input when the current read operation started in the middle
	of a line.  Victor Duchovni, Morgan Stanley. File:
	sendmail/sendmail.c.