Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/gnu/dist/sendmail Pull up revisions 1.5-1.7 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/df50ed2e3f0b
branches:  netbsd-1-5
changeset: 490780:df50ed2e3f0b
user:      he <he%NetBSD.org@localhost>
date:      Fri Mar 09 17:49:23 2001 +0000

description:
Pull up revisions 1.5-1.7 (requested by itojun):
  Upgrade to sendmail 8.11.3.

diffstat:

 gnu/dist/sendmail/RELEASE_NOTES             |  320 +++++++++++++++++++++++++++-
 gnu/dist/sendmail/cf/cf/generic-bsd4.4.cf   |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-hpux10.cf   |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-hpux9.cf    |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-linux.cf    |   57 ++--
 gnu/dist/sendmail/cf/cf/generic-osf1.cf     |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-solaris2.cf |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-sunos4.1.cf |   55 ++-
 gnu/dist/sendmail/cf/cf/generic-ultrix4.cf  |   55 ++-
 gnu/dist/sendmail/cf/m4/version.m4          |    6 +-
 gnu/dist/sendmail/sendmail/deliver.c        |  320 ++++++++++++++++++++-------
 gnu/dist/sendmail/sendmail/macro.c          |   35 +-
 gnu/dist/sendmail/sendmail/main.c           |  103 ++++++--
 gnu/dist/sendmail/sendmail/version.c        |    6 +-
 14 files changed, 910 insertions(+), 322 deletions(-)

diffs (truncated from 3303 to 300 lines):

diff -r 029933df3b28 -r df50ed2e3f0b gnu/dist/sendmail/RELEASE_NOTES
--- a/gnu/dist/sendmail/RELEASE_NOTES   Fri Mar 09 17:49:09 2001 +0000
+++ b/gnu/dist/sendmail/RELEASE_NOTES   Fri Mar 09 17:49:23 2001 +0000
@@ -1,11 +1,314 @@
                        SENDMAIL RELEASE NOTES
-      Id: RELEASE_NOTES,v 8.561.2.5.2.80 2000/07/19 20:40:57 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
+               other array indexing.  This bug is not believed to be
+               exploitable.  Noted by Michal Zalewski of the "Internet for
+               Schools" project (IdS).
+       Add an FFR (for future release) to drop privileges when using
+               address test mode.  This will be turned on in 8.12. It can
+               be enabled by compiling with:
+               APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TESTMODE_DROP_PRIVS')
+               in your devtools/Site/site.config.m4 file.  Suggested by
+               Michal Zalewski of the "Internet for Schools" project (IdS).
+       Fix potential problem with Cyrus-SASL security layer which may have
+               caused I/O errors, especially for mechanism DIGEST-MD5.
+       When QueueSortOrder was set to host, sendmail might not read
+               enough of the queue file to determine the host, making the
+               sort sub-optimal.  Problem noted by Jeff Earickson of
+               Colby College.
+       Don't issue DSNs for addresses which use the NOTIFY parameter (per
+               RFC 1891) but don't have FAILURE as value.
+       Initialize Cyrus-SASL library before the SMTP daemon is started.
+               This implies that every change to SASL related files requires
+               a restart of the daemon, e.g., Sendmail.conf, new SASL
+               mechanisms (in form of shared libraries).
+       Properly set the STARTTLS related macros during a queue run for
+               a cached connection.  Bug reported by Michael Kellen of
+               NxNetworks, Inc.
+       Log the server name in relay= for ruleset tls_server instead of the
+               client name.
+       Include original length of bad field/header when reporting
+               MaxMimeHeaderLength problems.  Requested by Ulrich Windl of
+               the Universitat Regensburg.
+       Fix delivery to set-user-ID files that are expanded from aliases in
+               DeliveryMode queue.  Problem noted by Ric Anderson of the
+               University of Arizona.
+       Fix LDAP map -m (match only) flag.  Problem noted by Jeff Giuliano
+               of Collective Technologies.
+       Avoid using a negative argument for sleep() calls when delaying answers
+               to EXPN/VRFY commands on systems which respond very slowly.
+               Problem noted by Mikolaj J. Habryn of Optus Internet
+               Engineering.
+       Make sure the F=u flag is set in the default prog mailer
+               definition.  Problem noted by Kari Hurtta of the Finnish
+               Meteorological Institute.
+       Fix IPv6 check for unspecified addresses.  Patch from
+               Jun-ichiro itojun Hagino of the KAME Project.
+       Fix return values for IRIX nsd map.  From Kari Hurtta of the Finnish
+               Meteorological Institute.
+       Fix parsing of DaemonPortOptions and ClientPortOptions.  Read all
+               of the parameters to find Family= setting before trying to
+               interpret Addr= and Port=.  Problem noted by Valdis
+               Kletnieks of Virginia Tech.
+       When delivering to a file directly from an alias, do not call
+               initgroups(); instead use the DefaultUser group information.
+               Problem noted by Marc Schaefer of ALPHANET NF.
+       RunAsUser now overrides the ownership of the control socket, if
+               created.  Otherwise, sendmail can not remove it upon
+               close.  Problem noted by Werner Wiethege.
+       Fix ConnectionRateThrottle counting as the option is the number of
+               overall connections, not the number of connections per
+               socket.  A future version may change this to per socket
+               counting.
+       Portability:
+               Clean up libsmdb so it functions properly on platforms
+                       where sizeof(u_int32_t) != sizeof(size_t).  Problem
+                       noted by Rein Tollevik of Basefarm AS.
+               Fix man page formatting for compatibility with Solaris'
+                       whatis.  From Stephen Gildea of InTouch Systems, Inc.
+               UnixWare 7 includes snprintf() support.  From Larry
+                       Rosenman.
+               IPv6 changes for platforms using KAME.  Patch from
+                       Jun-ichiro itojun Hagino of the KAME Project.
+               Avoid a typedef compile conflict with Berkeley DB 3.X and
+                       Solaris 2.5 or earlier.  Problem noted by Bob Hughes
+                       of Pacific Access.
+               Add preliminary support for AIX 5.  Contributed by
+                       Valdis Kletnieks of Virginia Tech.
+               Solaris 9 load average support from Andrew Tucker of Sun
+                       Microsystems.
+       CONFIG: Reject addresses of the form a!b if FEATURE(`nouucp', `r')
+               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.
+       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
+               patch by Motonori Nakamura of Kyoto University.
+       CONFIG: New OSTYPE(`aix5') contributed by Valdis Kletnieks of
+               Virginia Tech.
+       CONFIG: Pass the illegal header form <list:;> through untouched
+               instead of making it worse.  Problem noted by Motonori
+               Nakamura of Kyoto University.
+       CONTRIB: Added buildvirtuser (see `perldoc contrib/buildvirtuser`).
+       CONTRIB: qtool.pl: An empty queue is not an error.  Problem noted
+               by Jan Krueger of digitalanswers communications consulting
+               gmbh.
+       CONTRIB: domainmap.m4: Handle domains with '-' in them.  From Mark
+               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
+               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
+               installations where sendmail is actually a wrapper to
+               another MTA.  The change will re-appear in a future
+               version.
+       SMRSH: Use the vendor supplied directory on HPUX 10.X, HPUX 11.X,
+               and SunOS 5.8.  Requested by Jeff A. Earickson of Colby
+               College and John Beck of Sun Microsystems.
+       VACATION: Fix pattern matching for addresses to ignore.
+       VACATION: Don't reply to addresses of the form owner-*
+               or *-owner.
+       New Files:
+               cf/ostype/aix5.m4
+               contrib/buildvirtuser
+               devtools/OS/AIX.5.0
+
+8.11.1/8.11.1  2000/09/27
+       Fix SMTP EXPN command output if the address expands to a single
+               name.  Fix from John Beck of Sun Microsystems.
+       Don't try STARTTLS in the client if the PRNG has not been properly
+               seeded.  This problem only occurs on systems without
+               /dev/urandom.  Problem detected by Jan Krueger of
+               digitalanswers communications consulting gmbh and
+               Neil Rickert of Northern Illinois University.
+       Don't use the . and .. directories when expanding QueueDirectory
+               wildcards.
+       Do not try to cache LDAP connections across processes as a parent
+               process may close the connection before the child process
+               has completed.  Problem noted by Lai Yiu Fai of the Hong
+               Kong University of Science and Technology and Wolfgang
+               Hottgenroth of UUNET.
+       Use Timeout.fileopen to limit the amount of time spent trying to
+               read the LDAP secret from a file.
+       Prevent SIGTERM from removing a command line submitted item after
+               the user submits the message and before the first delivery
+               attempt completes.  Problem noted by Max France of AlphaNet.
+               Fix from Neil Rickert of Northern Illinois University.
+       Deal correctly with MaxMessageSize restriction if message size is
+               greater than 2^31.  Problem noted by Tim "Darth Dice" Bosserman
+               of EarthLink.
+       Turn off queue checkpointing if CheckpointInterval is set to zero.
+       Treat an empty home directory (from getpw*() or $HOME) as
+               non-existent instead of treating it as /.  Problem noted by
+               Todd C. Miller of Courtesan Consulting.
+       Don't drop duplicate headers when reading a queued item.  Problem
+               noted by Motonori Nakamura of Kyoto University.
+       Avoid bogus error text when logging the savemail panic "cannot
+               save rejected email anywhere".  Problem noted by Marc G.
+               Fournier of Acadia University.
+       If an LDAP search fails because the LDAP server went down, close
+               the map so subsequent searches reopen the map.  If there are
+               multiple LDAP servers, the down server will be skipped and
+               one of the others may be able to take over.
+       Set the ${load_avg} macro to the current load average, not the
+               previous load average query result.
+       If a non-optional map used in a check_* ruleset can't be opened,
+               return a temporary failure to the remote SMTP client
+               instead of ignoring the map.  Problem noted by Allan E
+               Johannesen of Worcester Polytechnic Institute.
+       Avoid a race condition when queuing up split envelopes by saving
+               the split envelopes before the original envelope.
+       Fix a bug in the PH_MAP code which caused mail to bounce instead of
+               defer if the PH server could not be contacted.  From Mark
+               Roth of the University of Illinois at Urbana-Champaign.
+       Prevent QueueSortOrder=Filename from interfering with -qR, -qS, and
+               ETRN.  Problem noted by Erik R. Leo of SoVerNet.
+       Change error code for unrecognized parameters to the SMTP MAIL and
+               RCPT commands from 501 to 555 per RFC 1869.  Problem
+               reported to Postfix by Robert Norris of Monash University.
+       Prevent overwriting the argument of -B on certain OS.  Problem
+               noted by Matteo Gelosa of I.NET S.p.A.
+       Use the proper routine for freeing memory with Netscape's LDAP
+               client libraries.  Patch from Paul Hilchey of the
+               University of British Columbia.
+       Portability:
+               Move the NETINET6 define to devtools/OS/SunOS.5.{8,9}
+                       instead of defining it in conf.h so users can
+                       override the setting.  Suggested by
+                       Henrik Nordstrom of Ericsson.
+               On HP-UX 10.X and 11.X, use /usr/sbin/sendmail instead of
+                       /usr/lib/sendmail for rmail and vacation.  From
+                       Jeff A. Earickson of Colby College.
+               On HP-UX 11.X, use /usr/sbin instead of /usr/libexec (which
+                       does not exist).  From Jeff A. Earickson of Colby
+                       College.
+               Avoid using the UCB subsystem on NCR MP-RAS 3.x.  From
+                       Tom Moore of NCR.
+               NeXT 3.X and 4.X installs man pages in /usr/man.  From
+                       Hisanori Gogota of NTT/InterCommunicationCenter.
+               Solaris 8 and later include /var/run.  The default PID file
+                       location is now /var/run/sendmail.pid.  From John
+                       Beck of Sun Microsystems.
+               SFIO includes snprintf() for those operating systems
+                       which do not.  From Todd C. Miller of Courtesan
+                       Consulting.
+       CONFIG: Use the result of _CERT_REGEX_SUBJECT_ not {cert_subject}.
+               Problem noted by Kaspar Brand of futureLab AG.
+       CONFIG: Change 553 SMTP reply code to 501 to avoid problems with
+               errors in the MAIL address.
+       CONFIG: Fix FEATURE(nouucp) usage in example .mc files.  Problem
+               noted by Ron Jarrell of Virginia Tech.
+       CONFIG: Add support for Solaris 8 (and later) as OSTYPE(solaris8).
+               Contributed by John Beck of Sun Microsystems.
+       CONFIG: Set confFROM_HEADER such that the mail hub can possibly add
+               GECOS information for an address.  This more closely
+               matches pre-8.10 nullclient behavior.  From Per Hedeland of
+               Ericsson.
+       CONFIG: Fix MODIFY_MAILER_FLAGS(): apply the flag modifications for
+               SMTP to all *smtp* mailers and those for RELAY to the relay



Home | Main Index | Thread Index | Old Index