2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-29 13:18:12 +00:00

postfix-2.3-20051227

This commit is contained in:
Wietse Venema 2005-12-27 00:00:00 -05:00 committed by Viktor Dukhovni
parent bb0be7749b
commit 29f0936a9d
11 changed files with 58 additions and 36 deletions

View 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,

View 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)

View 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>

View 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>

View 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)

View 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>

View 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>

View 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

View 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) {

View 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);

View 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
/*