Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/sendmail sync with 8.11.3.
details: https://anonhg.NetBSD.org/src/rev/fc1a4efa7100
branches: trunk
changeset: 504359:fc1a4efa7100
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Feb 28 04:12:05 2001 +0000
description:
sync with 8.11.3.
diffstat:
gnu/dist/sendmail/LICENSE | 4 +-
gnu/dist/sendmail/RELEASE_NOTES | 81 +++++-
gnu/dist/sendmail/cf/README | 42 ++-
gnu/dist/sendmail/cf/cf/generic-bsd4.4.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-hpux10.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-hpux9.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-linux.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-osf1.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-solaris2.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-sunos4.1.cf | 12 +-
gnu/dist/sendmail/cf/cf/generic-ultrix4.cf | 12 +-
gnu/dist/sendmail/cf/cf/knecht.mc | 16 +-
gnu/dist/sendmail/cf/m4/cfhead.m4 | 26 +-
gnu/dist/sendmail/cf/m4/version.m4 | 6 +-
gnu/dist/sendmail/devtools/M4/UNIX/defines.m4 | 19 +-
gnu/dist/sendmail/devtools/M4/UNIX/library.m4 | 6 +-
gnu/dist/sendmail/devtools/OS/OSF1.V5.0 | 12 -
gnu/dist/sendmail/devtools/OS/OpenBSD | 4 +-
gnu/dist/sendmail/devtools/README | 8 +-
gnu/dist/sendmail/devtools/bin/Build | 6 +-
gnu/dist/sendmail/devtools/bin/find_m4.sh | 9 +-
gnu/dist/sendmail/doc/op/Makefile | 26 +-
gnu/dist/sendmail/doc/op/op.me | 52 ++-
gnu/dist/sendmail/libmilter/README | 7 +-
gnu/dist/sendmail/libmilter/engine.c | 6 +-
gnu/dist/sendmail/libmilter/listener.c | 92 +++++-
gnu/dist/sendmail/libmilter/sm_gethost.c | 8 +-
gnu/dist/sendmail/libsmdb/smdb2.c | 9 +-
gnu/dist/sendmail/mail.local/mail.local.c | 374 ++++++++++++-------------
gnu/dist/sendmail/mailstats/mailstats.c | 2 +-
gnu/dist/sendmail/praliases/praliases.c | 21 +-
gnu/dist/sendmail/rmail/rmail.c | 8 +-
gnu/dist/sendmail/sendmail/README | 38 ++-
gnu/dist/sendmail/sendmail/bf.h | 5 +-
gnu/dist/sendmail/sendmail/bf_portable.c | 45 ++-
gnu/dist/sendmail/sendmail/bf_torek.c | 49 +++-
gnu/dist/sendmail/sendmail/collect.c | 37 +-
gnu/dist/sendmail/sendmail/conf.c | 85 +++--
gnu/dist/sendmail/sendmail/conf.h | 21 +-
gnu/dist/sendmail/sendmail/control.c | 4 +-
gnu/dist/sendmail/sendmail/daemon.c | 82 +++-
gnu/dist/sendmail/sendmail/deliver.c | 75 +++-
gnu/dist/sendmail/sendmail/domain.c | 40 +-
gnu/dist/sendmail/sendmail/headers.c | 8 +-
gnu/dist/sendmail/sendmail/macro.c | 6 +-
gnu/dist/sendmail/sendmail/main.c | 26 +-
gnu/dist/sendmail/sendmail/map.c | 60 ++-
gnu/dist/sendmail/sendmail/milter.c | 34 ++-
gnu/dist/sendmail/sendmail/parseaddr.c | 10 +-
gnu/dist/sendmail/sendmail/queue.c | 11 +-
gnu/dist/sendmail/sendmail/readcf.c | 19 +-
gnu/dist/sendmail/sendmail/recipient.c | 4 +-
gnu/dist/sendmail/sendmail/savemail.c | 7 +-
gnu/dist/sendmail/sendmail/sendmail.h | 13 +-
gnu/dist/sendmail/sendmail/srvrsmtp.c | 8 +-
gnu/dist/sendmail/sendmail/stats.c | 4 +-
gnu/dist/sendmail/sendmail/udb.c | 10 +-
gnu/dist/sendmail/sendmail/usersmtp.c | 36 ++-
gnu/dist/sendmail/sendmail/util.c | 17 +-
gnu/dist/sendmail/sendmail/version.c | 6 +-
gnu/dist/sendmail/smrsh/smrsh.c | 10 +-
gnu/dist/sendmail/vacation/vacation.c | 4 +-
62 files changed, 1124 insertions(+), 590 deletions(-)
diffs (truncated from 4584 to 300 lines):
diff -r be0e1ca1b950 -r fc1a4efa7100 gnu/dist/sendmail/LICENSE
--- a/gnu/dist/sendmail/LICENSE Wed Feb 28 03:57:37 2001 +0000
+++ b/gnu/dist/sendmail/LICENSE Wed Feb 28 04:12:05 2001 +0000
@@ -33,7 +33,7 @@
forth as paragraph 6 below, in the documentation and/or other materials
provided with the distribution. For the purposes of binary distribution
the "Copyright Notice" refers to the following language:
- "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+ "Copyright (c) 1998-2001 Sendmail, Inc. All rights reserved."
4. Neither the name of Sendmail, Inc. nor the University of California nor
the names of their contributors may be used to endorse or promote
@@ -76,4 +76,4 @@
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-Revision: 8.9, Last updated Date: 2000/03/03 19:24:11
+Revision: 8.9.4.1, Last updated Date: 2001/02/14 04:07:19
diff -r be0e1ca1b950 -r fc1a4efa7100 gnu/dist/sendmail/RELEASE_NOTES
--- a/gnu/dist/sendmail/RELEASE_NOTES Wed Feb 28 03:57:37 2001 +0000
+++ b/gnu/dist/sendmail/RELEASE_NOTES Wed Feb 28 04:12:05 2001 +0000
@@ -1,11 +1,86 @@
SENDMAIL RELEASE NOTES
- Id: RELEASE_NOTES,v 8.561.2.5.2.181 2000/12/28 23:56:46 gshapiro Exp
+ Id: RELEASE_NOTES,v 8.561.2.5.2.208 2001/02/26 21:24:54 gshapiro Exp
This listing shows the version of the sendmail binary, the version
of the sendmail configuration files, the date of release, and a
summary of the changes in that release.
+8.11.3/8.11.3 2001/02/27
+ Prevent a segmentation fault when a bogus value was used in the
+ LDAPDefaultSpec option's -r, -s, or -M flags and if a bogus
+ option was used. Problem noted by Allan E Johannesen of
+ Worcester Polytechnic Institute.
+ Prevent "token too long" message by shortening {currHeader} which
+ could be too long if the last copied character was a quote.
+ Problem detected by Jan Krueger of digitalanswers
+ communications consulting gmbh.
+ Additional IPv6 check for unspecified addresses. Patch from
+ Jun-ichiro itojun Hagino of the KAME Project.
+ Do not ignore the ClientPortOptions setting if DaemonPortOptions
+ Modifier=b (bind to same interface) is set and the
+ connection came in from the command line.
+ Do not bind to the loopback address if DaemonPortOptions
+ Modifier=b (bind to same interface) is set. Patch from
+ John Beck of Sun Microsystems.
+ Properly deal with open failures on non-optional maps used in
+ check_* rulesets by returning a temporary failure.
+ Buffered file I/O files were not being properly fsync'ed to disk
+ when they were committed.
+ Properly encode '=' for the AUTH= parameter of the MAIL command.
+ Problem noted by Hadmut Danisch.
+ Under certain circumstances the macro {server_name} could be set
+ to the wrong hostname (of a previous connection), which may
+ cause some rulesets to return wrong results. This would
+ usually cause mail to be queued up and delivered later on.
+ Ignore F=z (LMTP) mailer flag if $u is given in the mailer A=
+ equate. Problem noted by Motonori Nakamura of Kyoto
+ University.
+ Work around broken accept() implementations which only partially
+ fill in the peer address if the socket is closed before
+ accept() completes.
+ Return an SMTP "421" temporary failure if the data file can't be
+ opened where the "354" reply would normally be given.
+ Prevent a CPU loop in trying to expand a macro which doesn't exist
+ in a queue run. Problem noted by Gordon Lack of Glaxo
+ Wellcome.
+ If delivering via a program and that program exits with EX_TEMPFAIL,
+ note that fact for the mailq display instead of just showing
+ "Deferred". Problem noted by Motonori Nakamura of Kyoto
+ University.
+ If doing canonification via /etc/hosts, try both the fully
+ qualified hostname as well as the first portion of the
+ hostname. Problem noted by David Bremner of the
+ University of New Brunswick.
+ Portability:
+ Fix a compilation problem for mail.local and rmail if SFIO
+ is in use. Problem noted by Auteria Wally
+ Winzer Jr. of Champion Nutrition.
+ IPv6 changes for platforms using KAME. Patch from
+ Jun-ichiro itojun Hagino of the KAME Project.
+ OpenBSD 2.7 and higher has srandomdev(3). OpenBSD 2.8 and
+ higher has BSDI-style login classes. Patch from
+ Todd C. Miller of Courtesan Consulting.
+ Unixware 7.1.1 doesn't allow h_errno to be set directly if
+ sendmail is being compiled with -kthread. Problem
+ noted by Orion Poplawski of CQG, Inc.
+ CONTRIB: buildvirtuser: Substitute current domain for $DOMAIN and
+ current left hand side for $LHS in virtuser files.
+ DEVTOOLS: Do not pass make targets to recursive Build invocations.
+ Problem noted by Jeff Bronson of J.D. Bronson, Inc.
+ MAIL.LOCAL: In LMTP mode, do not return errors regarding problems
+ storing the temporary message file until after the remote
+ side has sent the final DATA termination dot. Problem
+ noted by Allan E Johannesen of Worcester Polytechnic
+ Institute.
+ MAIL.LOCAL: If LMTP mode is set, give a temporary error if users
+ are also specified on the command line. Patch from
+ Motonori Nakamura of Kyoto University.
+ PRALIASES: Skip over AliasFile specifications which aren't based on
+ database files (i.e., only show dbm, hash, and btree).
+ Renamed Files:
+ devtools/OS/OSF1.V5.0 => devtools/OS/OSF1.V5.x
+
8.11.2/8.11.2 2000/12/29
Prevent a segmentation fault when trying to set a class in
address test mode due to a negative array index. Audit
@@ -89,7 +164,7 @@
is used. Problem noted by Phil Homewood of Asia Online,
patch from Neil Rickert of Northern Illinois University.
CONFIG: Change the default DNS based blacklist server for
- FEATURE(`dnsbl') to blackholes.mail-abuse.org.
+ FEATURE(`dnsbl') to blackholes.mail-abuse.org.
CONFIG: Deal correctly with the 'C' flag in {daemon_flags}, i.e.,
implicitly assume canonical host names.
CONFIG: Deal with "::" in IPv6 addresses for access_db. Based on
@@ -107,7 +182,7 @@
Roth of the University of Illinois at Urbana-Champaign.
DEVTOOLS: Change the internal devtools OS, REL, and ARCH m4
variables into bldOS, bldREL, and bldARCH to prevent
- namespace collisions. Problem noted by Motonori Nakamura
+ namespace collisions. Problem noted by Motonori Nakamura
of Kyoto University.
RMAIL: Undo the 8.11.1 change to use -G when calling sendmail. It
causes some changes in behavior and may break rmail for
diff -r be0e1ca1b950 -r fc1a4efa7100 gnu/dist/sendmail/cf/README
--- a/gnu/dist/sendmail/cf/README Wed Feb 28 03:57:37 2001 +0000
+++ b/gnu/dist/sendmail/cf/README Wed Feb 28 04:12:05 2001 +0000
@@ -54,7 +54,7 @@
divert(-1)
#
- # Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
+ # Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
@@ -254,12 +254,13 @@
QUEUE_DIR [/var/spool/mqueue] The directory containing
queue files. To use multiple queues, supply
a value ending with an asterisk. For
- example, /var/spool/mqueue/q* will use all of the
+ example, /var/spool/mqueue/qd* will use all of the
directories or symbolic links to directories
- beginning with 'q' in /var/spool/mqueue as queue
+ beginning with 'qd' in /var/spool/mqueue as queue
directories. The names 'qf', 'df', and 'xf' are
- used as specific subdirectories for the corresponding
- queue file types.
+ reserved as specific subdirectories for the
+ corresponding queue file types as explained in
+ doc/op/op.me.
STATUS_FILE [/etc/mail/statistics] The file containing status
information.
LOCAL_MAILER_PATH [/bin/mail] The program used to deliver local mail.
@@ -665,7 +666,7 @@
although it can be used for a different effect with
MAIL_HUB.
- When used with without MAIL_HUB, email sent to
+ When used without MAIL_HUB, email sent to
"user%local.host@localhost" are marked as "sticky" -- that
is, the local addresses aren't matched against UDB,
don't go through ruleset 5, and are not forwarded to
@@ -1860,8 +1861,8 @@
access map according to their type. Three tags are available:
Connect: connection information (${client_addr}, ${client_name})
- From: sender
- To: recipient
+ From: envelope sender
+ To: envelope recipient
If the required item is looked up in a map, it will be tried first
with the corresponding tag in front, then (as fallback to enable
@@ -1913,7 +1914,7 @@
Connect:my.domain RELAY
if you need those entries at all (class {R} may take care of them).
-
+
FEATURE(`delay_checks') can take an optional argument:
FEATURE(`delay_checks', `friend')
@@ -1966,6 +1967,11 @@
H*: $>CheckHdr
+Notice: All rules act on tokens as explained in doc/op/op.{me,ps,txt}.
+That may cause problems with simple header checks due to the
+tokenization. It might be simpler to use a regex map and apply it
+to $&{currHeader}.
+
After all of the headers are read, the check_eoh ruleset will be called for
any final header-related checks. The ruleset is called with the number of
headers and the size of all of the headers in bytes separated by $|. One
@@ -2113,6 +2119,20 @@
TLS_Srv:secure.example.com ENCR:112
TLS_Clt:laptop.example.com PERM+VERIFY:112
+Notice: requiring that e-mail is sent to a server only encrypted,
+e.g., via
+
+TLS_Srv:secure.domain ENCR:112
+
+doesn't necessarily mean that e-mail sent to that domain is encrypted.
+If the domain has multiple MX servers, e.g.,
+
+secure.domain. IN MX 10 mail.secure.domain.
+secure.domain. IN MX 50 mail.other.domain.
+
+then mail to user@secure.domain may go unencrypted to mail.other.domain.
+
+
Received: Header
The Received: header reveals whether STARTTLS has been used. It contains an
@@ -2979,7 +2999,7 @@
intersection of this list and the list
of available mechanisms as determined
by the CYRUS SASL library.
-confDEF_AUTH_INFO DefaultAuthInfo [undefined] Filename that contains
+confDEF_AUTH_INFO DefaultAuthInfo [undefined] Name of file that contains
authentication information for
outgoing connections. This file
must contain the user id, the
@@ -3257,4 +3277,4 @@
8 DNS based blacklists
9 special local rulesets (1 and 2)
-Revision: 8.383.2.1.2.35, Last updated Date: 2000/12/17 17:19:11
+Revision: 8.383.2.1.2.42, Last updated Date: 2001/02/15 23:40:10
diff -r be0e1ca1b950 -r fc1a4efa7100 gnu/dist/sendmail/cf/cf/generic-bsd4.4.cf
--- a/gnu/dist/sendmail/cf/cf/generic-bsd4.4.cf Wed Feb 28 03:57:37 2001 +0000
+++ b/gnu/dist/sendmail/cf/cf/generic-bsd4.4.cf Wed Feb 28 04:12:05 2001 +0000
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
+# Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
@@ -16,14 +16,14 @@
#####
##### SENDMAIL CONFIGURATION FILE
#####
-##### built by gshapiro%horsey.gshapiro.net@localhost on Fri Dec 29 22:30:59 PST 2000
-##### in /usr/local/src/sendmail/devel/8.11/OpenSource/sendmail-8.11.2/cf/cf
+##### built by gshapiro%horsey.gshapiro.net@localhost on Tue Feb 27 14:54:23 PST 2001
+##### in /usr/local/src/sendmail/devel/8.11/OpenSource/sendmail-8.11.3/cf/cf
##### using ../ as configuration include directory
#####
######################################################################
######################################################################
-##### Id: cfhead.m4,v 8.76.4.13 2000/08/24 17:09:50 gshapiro Exp #####
+##### Id: cfhead.m4,v 8.76.4.15 2001/02/14 04:07:20 gshapiro Exp #####
##### Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp #####
##### Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp #####
@@ -105,7 +105,7 @@
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
-CEroot
+C{E}root
# who I masquerade as (null for no masquerading) (see also $=M)
DM
@@ -117,7 +117,7 @@
CPREDIRECT
# Configuration version number
-DZ8.11.2
+DZ8.11.3
###############
diff -r be0e1ca1b950 -r fc1a4efa7100 gnu/dist/sendmail/cf/cf/generic-hpux10.cf
--- a/gnu/dist/sendmail/cf/cf/generic-hpux10.cf Wed Feb 28 03:57:37 2001 +0000
+++ b/gnu/dist/sendmail/cf/cf/generic-hpux10.cf Wed Feb 28 04:12:05 2001 +0000
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
+# Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
@@ -16,14 +16,14 @@
#####
##### SENDMAIL CONFIGURATION FILE
#####
-##### built by gshapiro%horsey.gshapiro.net@localhost on Fri Dec 29 22:30:59 PST 2000
-##### in /usr/local/src/sendmail/devel/8.11/OpenSource/sendmail-8.11.2/cf/cf
+##### built by gshapiro%horsey.gshapiro.net@localhost on Tue Feb 27 14:54:24 PST 2001
+##### in /usr/local/src/sendmail/devel/8.11/OpenSource/sendmail-8.11.3/cf/cf
##### using ../ as configuration include directory
#####
Home |
Main Index |
Thread Index |
Old Index