diff --git a/postfix/HISTORY b/postfix/HISTORY index 0e687f07a..87355d1e6 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -11702,6 +11702,31 @@ Apologies for any names omitted. smtp_dot_quit_workaround_threshold_time parameter. Files: smtp/smtp_proto.c, smtp/smtp.c. + Feature: mailbox_transport_maps and fallback_transport_maps + to search delivery transports by recipient name. Files: + local/mailbox.c, local/unknown.c. + + Feature: the master daemon now logs a warning when all + servers are busy that may accept remote connections, and + suggests to either increase the process count or to reduce + the service time per client. Files: master/master_ent.c, + master/master_avail.c. + +20051231 + + Bugfix: the anvil server would terminate after "max_idle" + seconds, even when this was less than the anvil_rate_time_unit + interval. File: anvil/anvil.c. + +20060102 + + Deleted the 20051229 dot-quit bug workaround. Automatically + deferring delivery created "no delivery" and "repeated + delivery" problems; and automatically turning off pipelining + for delayed mail was a bad workaround for a bad workaround. + The administrator still has the option to turn off pipelining + by hand if loss of mail is a concern. + Open problems: "postsuper -r" no longer resets the message arrival time, diff --git a/postfix/README_FILES/FILTER_README b/postfix/README_FILES/FILTER_README index 7b0245bb5..c6246bc8e 100644 --- a/postfix/README_FILES/FILTER_README +++ b/postfix/README_FILES/FILTER_README @@ -100,7 +100,7 @@ The content filter can be a simple shell script like this: 5 6 # Localize these. The -G option does nothing before Postfix 2.3. 7 INSPECT_DIR=/var/spool/filter - 8 SENDMAIL="/usr/sbin/sendmail -G -i" + 8 SENDMAIL="/usr/sbin/sendmail -G -i" # NEVER NEVER NEVER use "-t" here. 9 10 # Exit codes from 11 EX_TEMPFAIL=75 @@ -132,6 +132,9 @@ Notes: * Line 8: The -i option says don't stop reading input when a line contains "." only. + * Line 8: NEVER NEVER NEVER use the "-t" command-line option here. It will + mis-deliver mail, like sending mailing list mail back to the mailing list. + * Line 21: The idea is to first capture the message to file and then run the content through a third-party content filter program. @@ -335,9 +338,10 @@ the Postfix master.cf file: time. * With "-o smtp_send_xforward_command=yes", the scan transport will try to - forward the original client name and IP address to the after-filter smtpd - process, so that filtered mail is logged with the real client name IP - address. See smtp(8) and XFORWARD_README for more information. + forward the original client name and IP address through the content filter + to the after-filter smtpd process, so that filtered mail is logged with the + real client name IP address. See smtp(8) and XFORWARD_README for more + information. AAddvvaanncceedd ccoonntteenntt ffiilltteerr:: rruunnnniinngg tthhee ccoonntteenntt ffiilltteerr diff --git a/postfix/RELEASE_NOTES b/postfix/RELEASE_NOTES index 9dec3fe0d..fe5033314 100644 --- a/postfix/RELEASE_NOTES +++ b/postfix/RELEASE_NOTES @@ -17,19 +17,13 @@ Incompatibility with Postfix 2.1 and earlier If you upgrade from Postfix 2.1 or earlier, read RELEASE_NOTES-2.2 before proceeding. -Incompatibility with snapshot 20051228 +Incompatibility with snapshot 20060103 ====================================== -New workaround to limit the number of repeated deliveries with -servers or firewalls that mis-implement DOT+QUIT command pipelining. -After one documented case of lost mail, as of 20050929 Postfix is -more paranoid about malformed SMTP server replies. Unfortuately -this results in repeated deliveries with other broken systems. To -limit the number of repeated deliveries, the SMTP client no longer -pipelines the DOT+QUIT commands when mail is queued longer than the -time specified with the smtp_dot_quit_workaround_threshold_time -parameter (default: 3000s). More details are in the postconf(5) -manual. +The Postfix SMTP/LMTP client no longer defers mail when it receives +a malformed SMTP server reply in a session with command pipelining. +When helpful warnings are enabled, it will suggest that command +pipelining be disabled for the affected destination. Major changes with snapshot 20051222 ==================================== diff --git a/postfix/examples/chroot-setup/LINUX2 b/postfix/examples/chroot-setup/LINUX2 index f63c22c17..f9c6184d8 100644 --- a/postfix/examples/chroot-setup/LINUX2 +++ b/postfix/examples/chroot-setup/LINUX2 @@ -42,6 +42,8 @@ # Revision 1.4 2001/01/15 09:36:35 emma # add note it was successfully tested on Debian sid # +# 20060101 /lib64 support by Keith Owens. +# CP="cp -p" @@ -62,6 +64,7 @@ POSTFIX_DIR=${POSTFIX_DIR-/var/spool/postfix} cd ${POSTFIX_DIR} mkdir -p etc lib usr/lib/zoneinfo +test -d /lib64 && mkdir -p lib64 # find localtime (SuSE 5.3 does not have /etc/localtime) lt=/etc/localtime @@ -79,5 +82,10 @@ ln -s -f /etc/localtime usr/lib/zoneinfo cond_copy '/lib/libnss_*.so*' lib cond_copy '/lib/libresolv.so*' lib cond_copy '/lib/libdb.so*' lib +if test -d /lib64; then + cond_copy '/lib64/libnss_*.so*' lib64 + cond_copy '/lib64/libresolv.so*' lib64 + cond_copy '/lib64/libdb.so*' lib64 +fi postfix reload diff --git a/postfix/html/FILTER_README.html b/postfix/html/FILTER_README.html index f864a1f07..a89f31ac0 100644 --- a/postfix/html/FILTER_README.html +++ b/postfix/html/FILTER_README.html @@ -252,7 +252,7 @@ document for an introduction to the Postfix architecture.

5 6 # Localize these. The -G option does nothing before Postfix 2.3. 7 INSPECT_DIR=/var/spool/filter - 8 SENDMAIL="/usr/sbin/sendmail -G -i" + 8 SENDMAIL="/usr/sbin/sendmail -G -i" # NEVER NEVER NEVER use "-t" here. 9 10 # Exit codes from <sysexits.h> 11 EX_TEMPFAIL=75 @@ -288,6 +288,10 @@ otherwise it disables address rewriting of message headers.

  • Line 8: The -i option says don't stop reading input when a line contains "." only.

    +
  • Line 8: NEVER NEVER NEVER use the "-t" command-line option +here. It will mis-deliver mail, like sending mailing list mail back +to the mailing list.

    +
  • Line 21: The idea is to first capture the message to file and then run the content through a third-party content filter program.

    @@ -348,7 +352,7 @@ is supposed to store its temporary files.

    with the pipe(8) delivery agent.

    -/etc/postfix/master.cf:
    +/etc/postfix/master.cf:
       # =============================================================
       # service type  private unpriv  chroot  wakeup  maxproc command
       #               (yes)   (yes)   (yes)   (never) (100)
    @@ -364,11 +368,11 @@ up a lot of system resources, so you don't want to have too much
     of it running at the same time. 

  • To turn on content filtering for mail arriving via SMTP -only, append "-o content_filter=filter:dummy" to the master.cf +only, append "-o content_filter=filter:dummy" to the master.cf entry that defines the Postfix SMTP server:

    -/etc/postfix/master.cf:
    +/etc/postfix/master.cf:
       # =============================================================
       # service type  private unpriv  chroot  wakeup  maxproc command
       #               (yes)   (yes)   (yes)   (never) (100)
    @@ -423,7 +427,7 @@ for filtered mail. 

    To turn off "simple" content filtering:

    -