]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.4.0-RC2 v2.4.0-RC2
authorWietse Venema <wietse@porcupine.org>
Thu, 1 Mar 2007 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sat, 10 Feb 2018 20:02:46 +0000 (15:02 -0500)
41 files changed:
postfix/HISTORY
postfix/README_FILES/DATABASE_README
postfix/README_FILES/TLS_LEGACY_README
postfix/README_FILES/TLS_README
postfix/conf/access
postfix/conf/canonical
postfix/conf/generic
postfix/conf/post-install
postfix/conf/relocated
postfix/conf/transport
postfix/conf/virtual
postfix/html/DATABASE_README.html
postfix/html/TLS_LEGACY_README.html
postfix/html/TLS_README.html
postfix/html/access.5.html
postfix/html/canonical.5.html
postfix/html/generic.5.html
postfix/html/relocated.5.html
postfix/html/transport.5.html
postfix/html/virtual.5.html
postfix/makedefs
postfix/man/man5/access.5
postfix/man/man5/canonical.5
postfix/man/man5/generic.5
postfix/man/man5/relocated.5
postfix/man/man5/transport.5
postfix/man/man5/virtual.5
postfix/proto/DATABASE_README.html
postfix/proto/TLS_LEGACY_README.html
postfix/proto/TLS_README.html
postfix/proto/access
postfix/proto/canonical
postfix/proto/generic
postfix/proto/relocated
postfix/proto/transport
postfix/proto/virtual
postfix/src/global/mail_version.h
postfix/src/master/multi_server.c
postfix/src/master/single_server.c
postfix/src/util/inet_listen.c
postfix/src/util/sane_accept.c

index 34c956f4e6ea650348834b68606f4815a1c2dbae..92ad76d49ec7a785d8b4e383b864b1cf37d4569d 100644 (file)
@@ -13305,6 +13305,16 @@ Apologies for any names omitted.
        mailbox dotlock files on all systems, and creates dotlock
        files before opening mailbox files.  Files: util/sys_defs.h.
 
+20070301
+
+       Workaround: updated workaround for broken Solaris accept().
+       File: util/inet_listen.c.
+
+       Workaround: on some FreeBSD versions, accept(2) can fail
+       with a bogus EINVAL error. We now allow accept(2) to fail
+       for a limited number of times before terminating the process.
+       Files: master/single_server.c, master/multi_server.c.
+
 Wish list:
 
        Update message content length when adding/removing headers.
index ef86f651cb45ed2309cf0a90dbcbf4521ac95897..c1202d22ae142e74bbcf14e516be5d743477a1c2 100644 (file)
@@ -244,7 +244,7 @@ To find out what database types your Postfix system supports, use the "p\bpo\bos\bs
         in tcp_table(5). The lookup table name is "tcp:host:port" where "host"
         specifies a symbolic hostname or a numeric IP address, and "port"
         specifies a symbolic service name or a numeric port number. This
-        protocol is not available up to and including Postfix version 2.2.
+        protocol is not available up to and including Postfix version 2.4.
     u\bun\bni\bix\bx (read-only)
         A limited way to query the UNIX authentication database. The following
         tables are implemented:
index c534beb4817fcb8ef9c7ba1bd62d68eaec3e615d..c3c9ee1773f7ddab06d43f418a074aa55b258fbc 100644 (file)
@@ -558,7 +558,7 @@ Their DSA counterparts:
 
     /etc/postfix/main.cf:
         smtp_tls_dcert_file = /etc/postfix/client-dsa.pem
-        smtp_tls_dkey_file = $smtpd_tls_cert_file
+        smtp_tls_dkey_file = $smtp_tls_cert_file
 
 To verify a remote SMTP server certificate, the Postfix SMTP client needs to
 trust the certificates of the issuing certification authorities. These
@@ -578,7 +578,7 @@ files in the directory when the information is needed. Thus, the
 $smtp_tls_CApath directory needs to be accessible inside the optional chroot
 jail.
 
-The choice between $smtp_tls_CAfile and $smtpd_tls_CApath is a space/time
+The choice between $smtp_tls_CAfile and $smtp_tls_CApath is a space/time
 tradeoff. If there are many trusted CAs, the cost of preloading them all into
 memory may not pay off in reduced access time when the certificate is needed.
 
index dc12a8ff76818326978d6722f5a077dbe3cb6212..33fd9bed0bd1e7a6ed311ea84e9bcfae5500adde 100644 (file)
@@ -673,7 +673,7 @@ Their DSA counterparts:
 
     /etc/postfix/main.cf:
         smtp_tls_dcert_file = /etc/postfix/client-dsa.pem
-        smtp_tls_dkey_file = $smtpd_tls_cert_file
+        smtp_tls_dkey_file = $smtp_tls_cert_file
 
 To verify a remote SMTP server certificate, the Postfix SMTP client needs to
 trust the certificates of the issuing certification authorities. These
@@ -693,7 +693,7 @@ files in the directory when the information is needed. Thus, the
 $smtp_tls_CApath directory needs to be accessible inside the optional chroot
 jail.
 
-The choice between $smtp_tls_CAfile and $smtpd_tls_CApath is a space/time
+The choice between $smtp_tls_CAfile and $smtp_tls_CApath is a space/time
 tradeoff. If there are many trusted CAs, the cost of preloading them all into
 memory may not pay off in reduced access time when the certificate is needed.
 
index 633f4d03bbfa87e29157f62cf8b9a02de604becc..bfdb724e1726e70981dc877876cdd242a56997d9 100644 (file)
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each  lookup  operation uses the entire query string once.
 #        Depending on the application, that  string  is  an  entire
index 1dc7395897e45ec8c79f0f66bec56002b8e93f3a..53f7dfeaeb15eaf6681cc12692cb812c1867e497 100644 (file)
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each lookup operation uses the entire address once.  Thus,
 #        user@domain  mail  addresses  are not broken up into their
index 232e7b058c492bfdbdf697d20111b603b5c410fb..9be1915c59e1a85d7a987eaa02945ca7c3f90ad5 100644 (file)
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each lookup operation uses the entire address once.  Thus,
 #        user@domain  mail  addresses  are not broken up into their
index 27d6ac2bde359bee8a3394a3471486e572fba1d4..6620d63223e43ac67b86da7b0feb4c73b920ee9a 100644 (file)
@@ -586,18 +586,9 @@ EOF
 
     # Turn on safety nets for new features that could bounce mail that
     # would be accepted by a previous Postfix version.
-    # This safety net is also documented in LOCAL_RECIPIENT_README.
 
-#    unknown_local=unknown_local_recipient_reject_code
-#    has_lrm=`$POSTCONF -c $config_directory -n local_recipient_maps`
-#    has_lrjc=`$POSTCONF -c $config_directory -n $unknown_local`
-#
-#    if [ -z "$has_lrm" -a -z "$has_lrjc" ]
-#    then
-#      echo SAFETY: editing main.cf, setting $unknown_local=450.
-#      echo See the LOCAL_RECIPIENT_README file for details.
-#      $POSTCONF -c $config_directory -e "$unknown_local = 450" || exit 1
-#    fi
+    # [The "unknown_local_recipient_reject_code = 450" safety net,
+    # introduced with Postfix 2.0 and deleted after Postfix 2.3.]
 
     # Add missing proxymap service to master.cf.
 
index ba018e5bc602718e47bb898d86fbc1ccfb0fc948..e0f70ae3bca876b225306967380549651320e7c3 100644 (file)
@@ -85,7 +85,7 @@
 #        regexp_table(5) or pcre_table(5). For a description of the
 #        TCP client/server table lookup protocol, see tcp_table(5).
 #        This feature is not available up to and including  Postfix
-#        version 2.3.
+#        version 2.4.
 # 
 #        Each  pattern  is  a regular expression that is applied to
 #        the entire address being looked up. Thus, user@domain mail
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each lookup operation uses the entire address once.  Thus,
 #        user@domain mail addresses are not broken  up  into  their
index 3f06884949edfcbd465cb13b3f49056fb0c18aa3..1258fb78acd096a1a9107c5bb84302a013021ffd 100644 (file)
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each  lookup  operation  uses the entire recipient address
 #        once.  Thus, some.domain.hierarchy is not  looked  up  via
index a3fc4cf407101fd33819a1a62368ca36abbe61f8..e1f3980ddf133991627c92f01610cf7d73bbab51 100644 (file)
 #        lookups are directed to a TCP-based server. For a descrip-
 #        tion of the TCP client/server lookup protocol, see tcp_ta-
 #        ble(5).  This feature is not available up to and including
-#        Postfix version 2.3.
+#        Postfix version 2.4.
 # 
 #        Each lookup operation uses the entire address once.  Thus,
 #        user@domain  mail  addresses  are not broken up into their
index 84838b56917da685412032d899a604192e1ebb35..315fe1c2095122f9f0ca484330d0609602d2f115 100644 (file)
@@ -54,7 +54,7 @@ documentation: </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#alias_maps">alias_maps</a> = hash:/etc/postfix/aliases            (local aliasing)
     <a href="postconf.5.html#header_checks">header_checks</a> = <a href="regexp_table.5.html">regexp</a>:/etc/postfix/header_checks (content filtering)
     <a href="postconf.5.html#transport_maps">transport_maps</a> = hash:/etc/postfix/transport      (routing table)
@@ -364,7 +364,7 @@ described in <a href="tcp_table.5.html">tcp_table(5)</a>. The lookup table name
 where "host" specifies a symbolic hostname or a numeric IP address,
 and "port" specifies a symbolic service name or a numeric port
 number. This protocol is not available up to and including Postfix
-version 2.2.  </dd>
+version 2.4.  </dd>
 
 <dt> <b>unix</b> (read-only) </dt>
 
index 634c3828bed0b9546389121e46a65a08605bd0de..9de6dff9054691601946703784203f3ea164abb3 100644 (file)
@@ -829,7 +829,7 @@ is correctly configured to supply its intermediate CA certificate). </p>
 <pre>
 /etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtp_tls_dcert_file">smtp_tls_dcert_file</a> = /etc/postfix/client-dsa.pem
-    <a href="postconf.5.html#smtp_tls_dkey_file">smtp_tls_dkey_file</a> = $<a href="postconf.5.html#smtpd_tls_cert_file">smtpd_tls_cert_file</a>
+    <a href="postconf.5.html#smtp_tls_dkey_file">smtp_tls_dkey_file</a> = $<a href="postconf.5.html#smtp_tls_cert_file">smtp_tls_cert_file</a>
 </pre>  
 </blockquote>
 
@@ -857,7 +857,7 @@ privileges) from the files in the directory when the information
 is needed. Thus, the $<a href="postconf.5.html#smtp_tls_CApath">smtp_tls_CApath</a> directory needs to be accessible
 inside the optional chroot jail.  </p>
 
-<p> The choice between $<a href="postconf.5.html#smtp_tls_CAfile">smtp_tls_CAfile</a> and $<a href="postconf.5.html#smtpd_tls_CApath">smtpd_tls_CApath</a> is
+<p> The choice between $<a href="postconf.5.html#smtp_tls_CAfile">smtp_tls_CAfile</a> and $<a href="postconf.5.html#smtp_tls_CApath">smtp_tls_CApath</a> is
 a space/time tradeoff. If there are many trusted CAs, the cost of
 preloading them all into memory may not pay off in reduced access time
 when the certificate is needed.  </p>
index 4ad9186121021352398c636fdf5ffe242b17fa4d..338d553e26100b84c06dc2246baac544464a61b2 100644 (file)
@@ -969,7 +969,7 @@ is correctly configured to supply its intermediate CA certificate). </p>
 <pre>
 /etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtp_tls_dcert_file">smtp_tls_dcert_file</a> = /etc/postfix/client-dsa.pem
-    <a href="postconf.5.html#smtp_tls_dkey_file">smtp_tls_dkey_file</a> = $<a href="postconf.5.html#smtpd_tls_cert_file">smtpd_tls_cert_file</a>
+    <a href="postconf.5.html#smtp_tls_dkey_file">smtp_tls_dkey_file</a> = $<a href="postconf.5.html#smtp_tls_cert_file">smtp_tls_cert_file</a>
 </pre>  
 </blockquote>
 
@@ -997,7 +997,7 @@ privileges) from the files in the directory when the information
 is needed. Thus, the $<a href="postconf.5.html#smtp_tls_CApath">smtp_tls_CApath</a> directory needs to be accessible
 inside the optional chroot jail.  </p>
 
-<p> The choice between $<a href="postconf.5.html#smtp_tls_CAfile">smtp_tls_CAfile</a> and $<a href="postconf.5.html#smtpd_tls_CApath">smtpd_tls_CApath</a> is
+<p> The choice between $<a href="postconf.5.html#smtp_tls_CAfile">smtp_tls_CAfile</a> and $<a href="postconf.5.html#smtp_tls_CApath">smtp_tls_CApath</a> is
 a space/time tradeoff. If there are many trusted CAs, the cost of
 preloading them all into memory may not pay off in reduced access time
 when the certificate is needed.  </p>
index 1500b784ad5e8e808be2bdba6e83efcc452776cb..7e9fceca204f92003757737312860ef3ad9a8964 100644 (file)
@@ -361,7 +361,7 @@ ACCESS(5)                                                            ACCESS(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each  lookup  operation uses the entire query string once.
        Depending on the application, that  string  is  an  entire
index 8ee71e6499a4da841ee54ed4ab22b85b27422b6d..8c6ceced96acb20880a66219ef352533ccd12144 100644 (file)
@@ -162,7 +162,7 @@ CANONICAL(5)                                                      CANONICAL(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each lookup operation uses the entire address once.  Thus,
        <i>user@domain</i>  mail  addresses  are not broken up into their
index e0c2a5e00bdc8ea5a0932656e3cb66aa39099a8f..ba40cc61441bce63e9feb634ad41ce0fed111d2f 100644 (file)
@@ -142,7 +142,7 @@ GENERIC(5)                                                          GENERIC(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each lookup operation uses the entire address once.  Thus,
        <i>user@domain</i>  mail  addresses  are not broken up into their
index f3d27d524df089866e548a75c3eeb5760b4f191a..ff47a34a71bd5fa0d80e0928741d5be4d44e1019 100644 (file)
@@ -91,7 +91,7 @@ RELOCATED(5)                                                      RELOCATED(5)
        <a href="regexp_table.5.html"><b>regexp_table</b>(5)</a> or <a href="pcre_table.5.html"><b>pcre_table</b>(5)</a>. For a description of the
        TCP client/server table lookup protocol, see <a href="tcp_table.5.html"><b>tcp_table</b>(5)</a>.
        This feature is not available up to and including  Postfix
-       version 2.3.
+       version 2.4.
 
        Each  pattern  is  a regular expression that is applied to
        the entire address being looked up. Thus, <i>user@domain</i> mail
@@ -112,7 +112,7 @@ RELOCATED(5)                                                      RELOCATED(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each lookup operation uses the entire address once.  Thus,
        <i>user@domain</i> mail addresses are not broken  up  into  their
index 609131a52d22f5cb8ca969f7506b5cdaa6b10aaf..5e06f5b55729a8949f7f629f4df80e1a8fdbf1e4 100644 (file)
@@ -243,7 +243,7 @@ TRANSPORT(5)                                                      TRANSPORT(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each  lookup  operation  uses the entire recipient address
        once.  Thus, <i>some.domain.hierarchy</i> is not  looked  up  via
index c1dd3872ebe2fcb7c0a26cdf62298c84457d02df..bc45d2a125154558c967b6231921f6855c7b5de8 100644 (file)
@@ -209,7 +209,7 @@ VIRTUAL(5)                                                          VIRTUAL(5)
        lookups are directed to a TCP-based server. For a descrip-
        tion of the TCP client/server lookup protocol, see <a href="tcp_table.5.html"><b>tcp_ta-</b></a>
        <a href="tcp_table.5.html"><b>ble</b>(5)</a>.  This feature is not available up to and including
-       Postfix version 2.3.
+       Postfix version 2.4.
 
        Each lookup operation uses the entire address once.  Thus,
        <i>user@domain</i>  mail  addresses  are not broken up into their
index 3a6842861ba88fd45abe474898173128333f432f..e8b07639fe4c59636614e047a71dbac12e563b95 100644 (file)
@@ -456,7 +456,7 @@ ${WARN='-Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \
 export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
 
 # Snapshot only.
-CCARGS="$CCARGS -DSNAPSHOT"
+#CCARGS="$CCARGS -DSNAPSHOT"
 
 # Non-production: needs thorough testing, or major changes are still
 # needed before the code stabilizes.
index ad4f084a404ef11b7da91fde75e9b450cab29bf8..568a12df7a4fd9f216229dc76e6e4f8cdf0607f4 100644 (file)
@@ -340,7 +340,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire query string once.
 Depending on the application, that string is an entire client
index 1faefbca7b67c4df95f21504c93eac26582a906c..f8b4747fa136aa4227b1c8423ae4c1cc59409c3f 100644 (file)
@@ -166,7 +166,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire address once.  Thus,
 \fIuser@domain\fR mail addresses are not broken up into their
index e0ec31a84e33361dc40bcc61a836872b8523f5b0..59fbc6651d64a86832f2589d1b0b950db4b8b9e0 100644 (file)
@@ -150,7 +150,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire address once.  Thus,
 \fIuser@domain\fR mail addresses are not broken up into their
index e1d65a2d6afb7c67e60db819afbbdce905d8639f..11f8136182fd4dac3b3503d00eccf6fa7e6f10fb 100644 (file)
@@ -98,7 +98,7 @@ directed to a TCP-based server. For a description of regular
 expression lookup table syntax, see \fBregexp_table\fR(5) or
 \fBpcre_table\fR(5). For a description of the TCP client/server
 table lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each pattern is a regular expression that is applied to the entire
 address being looked up. Thus, \fIuser@domain\fR mail addresses are not
@@ -119,7 +119,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire address once.  Thus,
 \fIuser@domain\fR mail addresses are not broken up into their
index 7283c334fbee3739067cbb12d81844248ca5fc51..dd5f12fa30b06b6c92ff097155538d784c184bb0 100644 (file)
@@ -249,7 +249,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire recipient address once.  Thus,
 \fIsome.domain.hierarchy\fR is not looked up via its parent domains,
index 7f7ee5f2f20db7afec70bc07e93a6e85b1ea888c..139c87a4a4c11f09ed365d0c0a89cea2497413b1 100644 (file)
@@ -221,7 +221,7 @@ pattern can be interpolated as \fB$1\fR, \fB$2\fR and so on.
 This section describes how the table lookups change when lookups
 are directed to a TCP-based server. For a description of the TCP
 client/server lookup protocol, see \fBtcp_table\fR(5).
-This feature is not available up to and including Postfix version 2.3.
+This feature is not available up to and including Postfix version 2.4.
 
 Each lookup operation uses the entire address once.  Thus,
 \fIuser@domain\fR mail addresses are not broken up into their
index ab2cf804f8018e4f5f2bde5d420adcb2284f19af..7718c7d213cbe1cff86c64e5b46e44081907720c 100644 (file)
@@ -364,7 +364,7 @@ described in tcp_table(5). The lookup table name is "tcp:host:port"
 where "host" specifies a symbolic hostname or a numeric IP address,
 and "port" specifies a symbolic service name or a numeric port
 number. This protocol is not available up to and including Postfix
-version 2.2.  </dd>
+version 2.4.  </dd>
 
 <dt> <b>unix</b> (read-only) </dt>
 
index ba1dff0374171db06bb6cd5fce36820170379a2a..5a05669563ff31692178a6007e50bbb5f8640a45 100644 (file)
@@ -829,7 +829,7 @@ is correctly configured to supply its intermediate CA certificate). </p>
 <pre>
 /etc/postfix/main.cf:
     smtp_tls_dcert_file = /etc/postfix/client-dsa.pem
-    smtp_tls_dkey_file = $smtpd_tls_cert_file
+    smtp_tls_dkey_file = $smtp_tls_cert_file
 </pre>  
 </blockquote>
 
@@ -857,7 +857,7 @@ privileges) from the files in the directory when the information
 is needed. Thus, the $smtp_tls_CApath directory needs to be accessible
 inside the optional chroot jail.  </p>
 
-<p> The choice between $smtp_tls_CAfile and $smtpd_tls_CApath is
+<p> The choice between $smtp_tls_CAfile and $smtp_tls_CApath is
 a space/time tradeoff. If there are many trusted CAs, the cost of
 preloading them all into memory may not pay off in reduced access time
 when the certificate is needed.  </p>
index 0d341714bc39b6b9136f7dfbbfcc2c68f98c558a..976082ac04aa59489dd9326fd264a6940da05dc2 100644 (file)
@@ -969,7 +969,7 @@ is correctly configured to supply its intermediate CA certificate). </p>
 <pre>
 /etc/postfix/main.cf:
     smtp_tls_dcert_file = /etc/postfix/client-dsa.pem
-    smtp_tls_dkey_file = $smtpd_tls_cert_file
+    smtp_tls_dkey_file = $smtp_tls_cert_file
 </pre>  
 </blockquote>
 
@@ -997,7 +997,7 @@ privileges) from the files in the directory when the information
 is needed. Thus, the $smtp_tls_CApath directory needs to be accessible
 inside the optional chroot jail.  </p>
 
-<p> The choice between $smtp_tls_CAfile and $smtpd_tls_CApath is
+<p> The choice between $smtp_tls_CAfile and $smtp_tls_CApath is
 a space/time tradeoff. If there are many trusted CAs, the cost of
 preloading them all into memory may not pay off in reduced access time
 when the certificate is needed.  </p>
index 2e2af8615bb759967e0533a2520b0ce2385e96c5..ff9876cf6801e49f15e16d8abdfc9b1a260d9689 100644 (file)
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #
 #      Each lookup operation uses the entire query string once.
 #      Depending on the application, that string is an entire client
index 1aeb6e7527c843dc796329912da223ab54ae3f47..67683058fda9e8e138250ca0fda506f9844e9530 100644 (file)
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #      
 #      Each lookup operation uses the entire address once.  Thus,
 #      \fIuser@domain\fR mail addresses are not broken up into their
index d19dfde45e8302350cb710d0e1abfce443e96289..e87029c877225f0ea26a725478375bfdffbdbfe8 100644 (file)
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #      
 #      Each lookup operation uses the entire address once.  Thus,
 #      \fIuser@domain\fR mail addresses are not broken up into their
index f1e1fe55bc9362ac3a165a53aedcf4d8d9506f5d..332911b3ec4d417f8ec3a324713406b339e3983b 100644 (file)
@@ -82,7 +82,7 @@
 #      expression lookup table syntax, see \fBregexp_table\fR(5) or
 #      \fBpcre_table\fR(5). For a description of the TCP client/server
 #      table lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #
 #      Each pattern is a regular expression that is applied to the entire
 #      address being looked up. Thus, \fIuser@domain\fR mail addresses are not
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #
 #      Each lookup operation uses the entire address once.  Thus,
 #      \fIuser@domain\fR mail addresses are not broken up into their
index f6d6fd502893b4555df1f240dbc523161fc5a158..e06cfb639a18b215934d2befa6ed36762526ef63 100644 (file)
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #
 #      Each lookup operation uses the entire recipient address once.  Thus,
 #      \fIsome.domain.hierarchy\fR is not looked up via its parent domains,
index 2ec87104b865b2921dba0036580683009a8fc237..971e3c71331809b129107554c1dee8276a9e9b2d 100644 (file)
 #      This section describes how the table lookups change when lookups
 #      are directed to a TCP-based server. For a description of the TCP
 #      client/server lookup protocol, see \fBtcp_table\fR(5).
-#      This feature is not available up to and including Postfix version 2.3.
+#      This feature is not available up to and including Postfix version 2.4.
 #
 #      Each lookup operation uses the entire address once.  Thus,
 #      \fIuser@domain\fR mail addresses are not broken up into their
index 9021b5dcaa9d7a0f74a4a9a0bb2f09aa318ecf67..f62b930895a385c37269d41653af2c5a06795c47 100644 (file)
@@ -20,8 +20,8 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20070228"
-#define MAIL_VERSION_NUMBER    "2.4.0-RC1"
+#define MAIL_RELEASE_DATE      "20070301"
+#define MAIL_VERSION_NUMBER    "2.4.0-RC2"
 
 #ifdef SNAPSHOT
 # define MAIL_VERSION_DATE     "-" MAIL_RELEASE_DATE
index c4dbb5c7d78bc85b0d15c219fa02ef5e15444217..b007986e6455a71855d2fd11adcc3e18d96ffb52 100644 (file)
@@ -393,7 +393,7 @@ static void multi_server_accept_local(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(multi_server_timeout, (char *) 0, time_left);
        return;
@@ -430,7 +430,7 @@ static void multi_server_accept_pass(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(multi_server_timeout, (char *) 0, time_left);
        return;
@@ -467,7 +467,7 @@ static void multi_server_accept_inet(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(multi_server_timeout, (char *) 0, time_left);
        return;
index 7e67eaa570bb25841f0d4447689928a457f4fc44..e22048f2bce00b837af00ad0d2ddf36a102057ee 100644 (file)
@@ -291,7 +291,7 @@ static void single_server_accept_local(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(single_server_timeout, (char *) 0, time_left);
        return;
@@ -327,7 +327,7 @@ static void single_server_accept_pass(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(single_server_timeout, (char *) 0, time_left);
        return;
@@ -363,7 +363,7 @@ static void single_server_accept_inet(int unused_event, char *context)
        msg_fatal("select unlock: %m");
     if (fd < 0) {
        if (errno != EAGAIN)
-           msg_fatal("accept connection: %m");
+           msg_error("accept connection: %m");
        if (time_left >= 0)
            event_request_timer(single_server_timeout, (char *) 0, time_left);
        return;
index 2c610a30170f35c442f348214bfe5d2e1654de2c..72f277cc3c5bc77d4afed3f39ca1e2f83843791a 100644 (file)
@@ -161,5 +161,8 @@ int     inet_listen(const char *addr, int backlog, int block_mode)
 
 int     inet_accept(int fd)
 {
-    return (sane_accept(fd, (struct sockaddr *) 0, (SOCKADDR_SIZE *) 0));
+    struct sockaddr_storage ss;
+    SOCKADDR_SIZE ss_len = sizeof(ss);
+
+    return (sane_accept(fd, (struct sockaddr *) & ss, &ss_len));
 }
index a4560c2c5c4d827b7b8ebfbe1e34da8f21370397..d158f5e9f4d843119798e24cf2f131128c0af5f1 100644 (file)
@@ -108,7 +108,7 @@ int     sane_accept(int sock, struct sockaddr * sa, SOCKADDR_SIZE *len)
      * timer.
      */
 #if defined(BROKEN_READ_SELECT_ON_TCP_SOCKET) && defined(SO_KEEPALIVE)
-    else if (sa != 0 && sa->sa_family == AF_INET) {
+    else if (sa && (sa->sa_family == AF_INET || sa->sa_family == AF_INET6)) {
        int     on = 1;
 
        (void) setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE,