]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.3-20051227
authorWietse Venema <wietse@porcupine.org>
Tue, 27 Dec 2005 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:31:59 +0000 (06:31 +0000)
postfix/HISTORY
postfix/README_FILES/INSTALL
postfix/html/INSTALL.html
postfix/html/postconf.5.html
postfix/man/man5/postconf.5
postfix/proto/INSTALL.html
postfix/proto/postconf.proto
postfix/src/global/mail_version.h
postfix/src/util/myaddrinfo.c
postfix/src/util/strcasecmp.c
postfix/src/util/sys_defs.h

index b17574f33aac1927862bc7339f2784b85eb9cdf5..2d7c3564d496cff3dbeafda49ab26faff2ffc857 100644 (file)
@@ -11677,6 +11677,19 @@ Apologies for any names omitted.
        the obsolete "/pattern1/!/pattern2/ action" syntax, for
        backwards compatibility with Postfix 2.0 and earlier.
 
+20051227
+
+       Bugfix: the 20051222 ISASCII paranoia broke the strcasecmp()
+       workaround for Solaris. File: util/strcasecmp.c.
+
+       Bitrot: SunOS4 pre-dates size_t, ssize_t, getsid().  File:
+       src/util/sys_defs.h. The SunOS4 tests had been suspended
+       due to what turned out to be a broken AUI-to-UTP transceiver.
+
+       Bugfix: the 20061226 cosmetic change broke non-IPV6 support
+       (example: sockaddr_to_hostaddr: Unknown error: success).
+       File: util/myaddrinfo.c.
+
 Open problems:
 
        "postsuper -r" no longer resets the message arrival time,
index ae994309bbc11e0b7857016656ebab64dbf81f37..cbb05de870ff3286189c77d6aaf182e0c52c837c 100644 (file)
@@ -95,7 +95,7 @@ At some point in time, a version of Postfix was supported on:
     OSF1.V3 - OSF1.V5 (Digital UNIX)
     Reliant UNIX 5.x
     Rhapsody 5.x
-    SunOS 4.1.4 (February 2005)
+    SunOS 4.1.4 (December 2005)
     SunOS 5.4 - 5.9 (Solaris 2.4..9)
     Ultrix 4.x (well, that was long ago)
 
index c27703e51cc37a0fd4d80434beaaa20903a1917a..267d0dd6f95575ac68bfff2916e22dab2ddd6fdf 100644 (file)
@@ -156,7 +156,7 @@ OPENSTEP 4.x <br>
 OSF1.V3 - OSF1.V5 (Digital UNIX) <br>
 Reliant UNIX 5.x <br>
 Rhapsody 5.x <br>
-SunOS 4.1.4 (February 2005) <br>
+SunOS 4.1.4 (December 2005) <br>
 SunOS 5.4 - 5.9 (Solaris 2.4..9) <br>
 Ultrix 4.x (well, that was long ago) <br>
 </p>
@@ -877,7 +877,7 @@ a hard-coded hostname.  </p>
 <p> The form enclosed with <tt>[]</tt> eliminates DNS MX lookups. </p>
 
 <p> By default, the SMTP client will do DNS lookups even when you
-specify a relay host. If your machine has no access to a DNS server,
+specify a <a href="postconf.5.html#relayhost">relay host</a>. If your machine has no access to a DNS server,
 turn off SMTP client DNS lookups like this: </p>
 
 <blockquote>
index eb78fb295e044e2707eb671329c980c9ac638d10..a0d06322ef4c79f6cec89adae0305d4ca2b77d7f 100644 (file)
@@ -3223,7 +3223,8 @@ concurrency per recipient.  </p>
 case insensitive lists of LHLO keywords (pipelining, starttls,
 auth, etc.) that the LMTP client will ignore in the LHLO response
 from a remote LMTP server. See <a href="postconf.5.html#lmtp_discard_lhlo_keywords">lmtp_discard_lhlo_keywords</a> for
-details. </p>
+details. The table is not indexed by hostname for consistency with
+smtpd_discard_ehlo_keyword_address_map </p>
 
 <p> This feature is available in Postfix 2.3 and later. </p>
 
@@ -6635,10 +6636,11 @@ into concurrency per recipient.  </p>
 (default: empty)</b></DT><DD>
 
 <p> Lookup tables, indexed by the remote SMTP server address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP client will ignore in the EHLO response
-from a remote SMTP server. See <a href="postconf.5.html#smtp_discard_ehlo_keywords">smtp_discard_ehlo_keywords</a> for
-details. </p>
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP client will ignore in the EHLO response from a
+remote SMTP server. See <a href="postconf.5.html#smtp_discard_ehlo_keywords">smtp_discard_ehlo_keywords</a> for details. The
+table is not indexed by hostname for consistency with
+<a href="postconf.5.html#smtpd_discard_ehlo_keyword_address_maps">smtpd_discard_ehlo_keyword_address_maps</a>. </p>
 
 <p> This feature is available in Postfix 2.2 and later. </p>
 
@@ -8249,10 +8251,10 @@ is being rejected.
 (default: empty)</b></DT><DD>
 
 <p> Lookup tables, indexed by the remote SMTP client address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP server will not send in the EHLO response
-to a remote SMTP client. See <a href="postconf.5.html#smtpd_discard_ehlo_keywords">smtpd_discard_ehlo_keywords</a> for details.
-</p>
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP server will not send in the EHLO response to a
+remote SMTP client. See <a href="postconf.5.html#smtpd_discard_ehlo_keywords">smtpd_discard_ehlo_keywords</a> for details.
+The table is not searched by hostname for robustness reasons.  </p>
 
 <p> This feature is available in Postfix 2.2 and later. </p>
 
index 192116ec4615b8cb2931eecb2508d481ddce4e71..a8f8f4f9e1feca46046c7b8c9612d66d8e4ee9f5 100644 (file)
@@ -1728,7 +1728,8 @@ Lookup tables, indexed by the remote LMTP server address, with
 case insensitive lists of LHLO keywords (pipelining, starttls,
 auth, etc.) that the LMTP client will ignore in the LHLO response
 from a remote LMTP server. See lmtp_discard_lhlo_keywords for
-details.
+details. The table is not indexed by hostname for consistency with
+smtpd_discard_ehlo_keyword_address_map
 .PP
 This feature is available in Postfix 2.3 and later.
 .SH lmtp_discard_lhlo_keywords (default: $myhostname)
@@ -3698,10 +3699,11 @@ smtp_destination_concurrency_limit from concurrency per domain
 into concurrency per recipient.
 .SH smtp_discard_ehlo_keyword_address_maps (default: empty)
 Lookup tables, indexed by the remote SMTP server address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP client will ignore in the EHLO response
-from a remote SMTP server. See smtp_discard_ehlo_keywords for
-details.
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP client will ignore in the EHLO response from a
+remote SMTP server. See smtp_discard_ehlo_keywords for details. The
+table is not indexed by hostname for consistency with
+smtpd_discard_ehlo_keyword_address_maps.
 .PP
 This feature is available in Postfix 2.2 and later.
 .SH smtp_discard_ehlo_keywords (default: empty)
@@ -4726,9 +4728,10 @@ or sender address, so that it is possible to find out whose mail
 is being rejected.
 .SH smtpd_discard_ehlo_keyword_address_maps (default: empty)
 Lookup tables, indexed by the remote SMTP client address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP server will not send in the EHLO response
-to a remote SMTP client. See smtpd_discard_ehlo_keywords for details.
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP server will not send in the EHLO response to a
+remote SMTP client. See smtpd_discard_ehlo_keywords for details.
+The table is not searched by hostname for robustness reasons.
 .PP
 This feature is available in Postfix 2.2 and later.
 .SH smtpd_discard_ehlo_keywords (default: empty)
index 62bbc6661bf3328cfd7a2437a8ef469a9d87bb38..22a5e14465106257971776f6c523b63e0c19cfdc 100644 (file)
@@ -156,7 +156,7 @@ OPENSTEP 4.x <br>
 OSF1.V3 - OSF1.V5 (Digital UNIX) <br>
 Reliant UNIX 5.x <br>
 Rhapsody 5.x <br>
-SunOS 4.1.4 (February 2005) <br>
+SunOS 4.1.4 (December 2005) <br>
 SunOS 5.4 - 5.9 (Solaris 2.4..9) <br>
 Ultrix 4.x (well, that was long ago) <br>
 </p>
index 3bcaa68b20fc6c89b3efef8a0659bf78d3018198..c8c51be02cfdd6d432a3cbce4881a9028eb8a760 100644 (file)
@@ -7888,20 +7888,21 @@ to discard EHLO keywords selectively.  </p>
 %PARAM smtp_discard_ehlo_keyword_address_maps
 
 <p> Lookup tables, indexed by the remote SMTP server address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP client will ignore in the EHLO response
-from a remote SMTP server. See smtp_discard_ehlo_keywords for
-details. </p>
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP client will ignore in the EHLO response from a
+remote SMTP server. See smtp_discard_ehlo_keywords for details. The
+table is not indexed by hostname for consistency with
+smtpd_discard_ehlo_keyword_address_maps. </p>
 
 <p> This feature is available in Postfix 2.2 and later. </p>
 
 %PARAM smtpd_discard_ehlo_keyword_address_maps
 
 <p> Lookup tables, indexed by the remote SMTP client address, with
-case insensitive lists of EHLO keywords (pipelining, starttls,
-auth, etc.) that the SMTP server will not send in the EHLO response
-to a remote SMTP client. See smtpd_discard_ehlo_keywords for details.
-</p>
+case insensitive lists of EHLO keywords (pipelining, starttls, auth,
+etc.) that the SMTP server will not send in the EHLO response to a
+remote SMTP client. See smtpd_discard_ehlo_keywords for details.
+The table is not searched by hostname for robustness reasons.  </p>
 
 <p> This feature is available in Postfix 2.2 and later. </p>
 
@@ -8835,7 +8836,8 @@ This feature is available in Postfix 2.3 and later.
 case insensitive lists of LHLO keywords (pipelining, starttls,
 auth, etc.) that the LMTP client will ignore in the LHLO response
 from a remote LMTP server. See lmtp_discard_lhlo_keywords for
-details. </p>
+details. The table is not indexed by hostname for consistency with
+smtpd_discard_ehlo_keyword_address_map </p>
 
 <p> This feature is available in Postfix 2.3 and later. </p>
 
index 4572e1b3b9e35b3926be681477bdbcf5f63d85f0..f0381afbec577820cf09171153dca4e7702a1988 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20051226"
+#define MAIL_RELEASE_DATE      "20051227"
 #define MAIL_VERSION_NUMBER    "2.3"
 
 #ifdef SNAPSHOT
index 0cf8ab2b257b395a3a8abc9f21fb612ac3b45006..941d58b94f17f1101d0a7d86b16e29945648c928 100644 (file)
@@ -550,7 +550,6 @@ int     sockaddr_to_hostaddr(const struct sockaddr * sa, SOCKADDR_SIZE salen,
     if (hostaddr != 0) {
        if (inet_ntop(AF_INET, (void *) &(SOCK_ADDR_IN_ADDR(sa)),
                      hostaddr->buf, sizeof(hostaddr->buf)) == 0)
-           errno = ENOSPC;
            return (EAI_SYSTEM);
     }
     if (portnum != 0) {
index 6ed4671349c49b9ee9d6cc9302c4176186306bcd..07e9381912135bd5550db3d6a90018cd338693c0 100644 (file)
@@ -43,10 +43,10 @@ int     strcasecmp(const char *s1, const char *s2)
     const unsigned char *us1 = (const unsigned char *) s1;
     const unsigned char *us2 = (const unsigned char *) s2;
 
-    while (TOLOWER(*us1) == TOLOWER(*us2++))
+    while (tolower(*us1) == tolower(*us2++))
        if (*us1++ == '\0')
            return (0);
-    return (TOLOWER(*us1) - TOLOWER(*--us2));
+    return (tolower(*us1) - tolower(*--us2));
 }
 
 int     strncasecmp(const char *s1, const char *s2, size_t n)
@@ -56,8 +56,8 @@ int     strncasecmp(const char *s1, const char *s2, size_t n)
        const unsigned char *us2 = (const unsigned char *) s2;
 
        do {
-           if (TOLOWER(*us1) != TOLOWER(*us2++))
-               return (TOLOWER(*us1) - TOLOWER(*--us2));
+           if (tolower(*us1) != tolower(*us2++))
+               return (tolower(*us1) - tolower(*--us2));
            if (*us1++ == '\0')
                break;
        } while (--n != 0);
index 3665210918da842cdfcbe978d7009012aeacbdff..a66c803e84c412f2e3c0013b340f85a47b35326d 100644 (file)
@@ -307,6 +307,9 @@ extern int opterr;
 #define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
 #define STRCASECMP_IN_STRINGS_H
 #define OCTAL_TO_UNSIGNED(res, str) sscanf((str), "%o", &(res))
+#define size_t unsigned
+#define ssize_t        int
+#define getsid getpgrp
 #endif
 
  /*