RELEASE_NOTES revision 110560
138032Speter			SENDMAIL RELEASE NOTES
2110560Sgshapiro      $Id: RELEASE_NOTES,v 8.1340.2.100 2002/12/28 19:47:00 ca Exp $
338032Speter
438032Speter
538032SpeterThis listing shows the version of the sendmail binary, the version
638032Speterof the sendmail configuration files, the date of release, and a
738032Spetersummary of the changes in that release.
838032Speter
9110560Sgshapiro8.12.7/8.12.7	2002/12/29
10110560Sgshapiro	Properly clean up macros to avoid persistence of session data
11110560Sgshapiro		across various connections.  This could cause session
12110560Sgshapiro		oriented restrictions, e.g., STARTTLS requirements,
13110560Sgshapiro		to erroneously allow a connection.  Problem noted
14110560Sgshapiro		by Tim Maletic of Priority Health.
15110560Sgshapiro	Do not lookup MX records when sorting the MSP queue.  The MSP
16110560Sgshapiro		only needs to relay all mail to the MTA.  Problem found
17110560Sgshapiro		by Gary Mills of the University of Manitoba.
18110560Sgshapiro	Do not restrict the length of connection information to 100
19110560Sgshapiro		characters in some logging statements.  Problem noted by
20110560Sgshapiro		Erik Parker.
21110560Sgshapiro	When converting an enhanced status code to an exit status, use
22110560Sgshapiro		EX_CONFIG if the first digit is not 2, 4, or 5 or if *.1.5
23110560Sgshapiro		is used.
24110560Sgshapiro	Reset macro $x when receiving another MAIL command.  Problem
25110560Sgshapiro		noted by Vlado Potisk of Wigro s.r.o.
26110560Sgshapiro	Don't bother setting the permissions on the build area statistics
27110560Sgshapiro		file, the proper permissions will be put on the file at
28110560Sgshapiro		install time.  This fixes installation over NFS for some
29110560Sgshapiro		users.  Problem noted by Martin J. Dellwo of 3-Dimensional
30110560Sgshapiro		Pharmaceuticals, Inc.
31110560Sgshapiro	Fix problem of decoding SASLv2 encrypted data.  Problem noted by
32110560Sgshapiro		Alex Deiter of Mobile TeleSystems, Komi Republic.
33110560Sgshapiro	Log milter socket open errors at MilterLogLevel 1 or higher instead
34110560Sgshapiro		of 11 or higher.
35110560Sgshapiro	Print early system errors to the console instead of silently
36110560Sgshapiro		exiting.  Problem noted by James Jong of IBM.
37110560Sgshapiro	Do not process a queue group if Runners is set to 0, regardless
38110560Sgshapiro		of whether F=f or sendmail is run in verbose mode (-v).
39110560Sgshapiro		The use of -qGname will still force queue group "name"
40110560Sgshapiro		to be run even if Runners=0.
41110560Sgshapiro	Change the level for logging the fact that a daemon is refusing
42110560Sgshapiro		connections due to high load from LOG_INFO to LOG_NOTICE.
43110560Sgshapiro		Patch from John Beck of Sun Microsystems.
44110560Sgshapiro	Use location information for submit.cf from NetInfo
45110560Sgshapiro		(/locations/sendmail/submit.cf) if available.
46110560Sgshapiro	Re-enable ForkEachJob which was lost in 8.12.0.  Problem noted by
47110560Sgshapiro		Neil Rickert of Northern Illinois University.
48110560Sgshapiro	Make behavior of /canon in debug mode consistent with usage in
49110560Sgshapiro		rulesets.  Patch from Shigeno Kazutaka of IIJ.
50110560Sgshapiro	Fix a potential memory leak in envelope splitting.  Problem noted
51110560Sgshapiro		by John Majikes of IBM.
52110560Sgshapiro	Do not try to share an mailbox database LDAP connection across
53110560Sgshapiro		different processes.  Problem noted by Randy Kunkee.
54110560Sgshapiro	Fix logging for undelivered recipients when the SMTP connection
55110560Sgshapiro		times out during message collection.  Problem noted by Neil
56110560Sgshapiro		Rickert of Northern Illinois University.
57110560Sgshapiro	Avoid problems with QueueSortOrder=random due to problems with
58110560Sgshapiro		qsort() on Solaris (and maybe some other operating systems).
59110560Sgshapiro		Problem noted by Stephan Schulz of Gruner+Jahr..
60110560Sgshapiro	If -f "" is specified, set the sender address to "<>".  Problem
61110560Sgshapiro		noted by Matthias Andree.
62110560Sgshapiro	Fix formatting problem of footnotes for plain text output on some
63110560Sgshapiro		versions of tmac.  Patch from Per Hedeland of Ericsson.
64110560Sgshapiro	Portability:
65110560Sgshapiro		Berkeley DB 4.1 support (requires at least 4.1.25).
66110560Sgshapiro		Some getopt(3) implementations in GNU/Linux are broken
67110560Sgshapiro			and pass a NULL pointer to an option which requires
68110560Sgshapiro			an argument, hence the builtin version of
69110560Sgshapiro			sendmail is used instead.  This can be overridden
70110560Sgshapiro			by using -DSM_CONF_GETOPT=0.  Problem noted by
71110560Sgshapiro			Vlado Potisk of Wigro s.r.o.
72110560Sgshapiro		Support for nph-1.2.0 from Mark D. Roth of the University
73110560Sgshapiro			of Illinois at Urbana-Champaign.
74110560Sgshapiro		Support for FreeBSD 5.0's MAC labeling from Robert Watson
75110560Sgshapiro			of the TrustedBSD Project.
76110560Sgshapiro		Support for reading the number of processors on an IRIX
77110560Sgshapiro			system from Michel Bourget of SGI.
78110560Sgshapiro		Support for UnixWare 7.1 based on input from Larry Rosenman.
79110560Sgshapiro		Interix support from Nedelcho Stanev of Atlantic Sky
80110560Sgshapiro			Corporation.
81110560Sgshapiro		Update Mac OS X/Darwin portability from Wilfredo Sanchez.
82110560Sgshapiro	CONFIG: Enforce tls_client restrictions even if delay_checks
83110560Sgshapiro		is used.  Problem noted by Malte Starostik.
84110560Sgshapiro	CONFIG: Deal with an empty hostname created via bogus
85110560Sgshapiro		DNS entries to get around access restrictions.
86110560Sgshapiro		Problem noted by Kai Schlichting.
87110560Sgshapiro	CONFIG: Use FEATURE(`msp', `[127.0.0.1]') in submit.mc by default
88110560Sgshapiro		to avoid problems with hostname resolution for localhost
89110560Sgshapiro		which on many systems does not resolve to 127.0.0.1 (or
90110560Sgshapiro		::1 for IPv6).  If you do not use IPv4 but only IPv6 then
91110560Sgshapiro		you need to change submit.mc accordingly, see the comment
92110560Sgshapiro		in the file itself.
93110560Sgshapiro	CONFIG: Set confDONT_INIT_GROUPS to True in submit.mc to avoid
94110560Sgshapiro		error messages from initgroups(3) on AIX 4.3 when sending
95110560Sgshapiro		mail to non-existing users. Problem noted by Mark Roth of
96110560Sgshapiro		the University of Illinois at Urbana-Champaign.
97110560Sgshapiro	CONFIG: Allow local_procmail to override local_lmtp settings.
98110560Sgshapiro	CONFIG: Always allow connections from 127.0.0.1 or IPv6:::1 to
99110560Sgshapiro		relay.
100110560Sgshapiro	CONTRIB: cidrexpand: Deal with the prefix tags that may be included
101110560Sgshapiro		in access_db.
102110560Sgshapiro	CONTRIB: New version of doublebounce.pl contributed by Leo Bicknell.
103110560Sgshapiro	LIBMILTER: On Solaris libmilter may get into an endless loop if
104110560Sgshapiro		an error in the communication from/to the MTA occurs.
105110560Sgshapiro		Patch from Gurusamy Sarathy of Active State.
106110560Sgshapiro	LIBMILTER: Ignore EINTR from sigwait(3) which may happen on Tru64.
107110560Sgshapiro		Patch from from Jose Marcio Martins da Cruz of Ecole
108110560Sgshapiro		Nationale Superieure des Mines de Paris.
109110560Sgshapiro	MAIL.LOCAL: Fix a truncation race condition if the close() on
110110560Sgshapiro		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
111110560Sgshapiro		Sun Microsystems.
112110560Sgshapiro	MAIL.LOCAL: Fix a potential file descriptor leak if mkstemp(3)
113110560Sgshapiro		fails.  Patch from John Beck of Sun Microsystems.
114110560Sgshapiro	SMRSH: SECURITY: Only allow regular files or symbolic links to be
115110560Sgshapiro		used for a command.  Problem noted by David Endler of
116110560Sgshapiro		iDEFENSE, Inc.
117110560Sgshapiro	New Files:
118110560Sgshapiro		devtools/OS/Interix
119110560Sgshapiro		include/sm/bdb.h
120110560Sgshapiro
121102528Sgshapiro8.12.6/8.12.6	2002/08/26
122102528Sgshapiro	Do not add the FallbackMXhost (or its MX records) to the list
123102528Sgshapiro		returned by the bestmx map when -z is used as option.
124102528Sgshapiro		Otherwise sendmail may act as an open relay if FallbackMXhost
125102528Sgshapiro		and FEATURE(`relay_based_on_MX') are used together.
126102528Sgshapiro		Problem noted by Alexander Ignatyev.
127102528Sgshapiro	Properly split owner- mailing list messages when SuperSafe is set
128102528Sgshapiro		to interactive.  Problem noted by Todd C. Miller of
129102528Sgshapiro		Courtesan Consulting.
130102528Sgshapiro	Make sure that an envelope is queued in the selected queue group
131102528Sgshapiro		even if some recipients are deleted or invalid.  Problem
132102528Sgshapiro		found by Chris Adams of HiWAAY Informations Services.
133102528Sgshapiro	Do not send a bounce message if a message is completely collected
134102528Sgshapiro		from the SMTP client.  Problem noted by Kari Hurtta of the
135102528Sgshapiro		Finnish Meteorological Institute.
136102528Sgshapiro	Provide an 'install-submit-st' target for sendmail/Makefile to
137102528Sgshapiro		install the MSP statistics file using the file named in the
138102528Sgshapiro		confMSP_STFILE devtools variable.  Requested by Jeff
139102528Sgshapiro		Earickson of Colby College.
140102528Sgshapiro	Queue up mail with a temporary error if setusercontext() fails
141102528Sgshapiro		during a delivery attempt.  Patch from Todd C. Miller of
142102528Sgshapiro		Courtesan Consulting.
143102528Sgshapiro	Fix handling of base64 encoded client authentication data for
144102528Sgshapiro		SMTP AUTH.  Patch from Elena Slobodnik of life medien GmbH.
145102528Sgshapiro	Set the OpenLDAP option LDAP_OPT_RESTART so the client libraries
146102528Sgshapiro		restart interrupted system calls.  Problem noted by Luiz
147102528Sgshapiro		Henrique Duma of BSIOne.
148102528Sgshapiro	Prevent a segmentation fault if a program passed a NULL envp using
149102528Sgshapiro		execve().
150102528Sgshapiro	Document a problem with the counting of queue runners that may
151102528Sgshapiro		cause delays if MaxQueueChildren is set too low. Problem
152102528Sgshapiro		noted by Ian Duplisse of Cable Television Laboratories, Inc.
153102528Sgshapiro	If discarding a message based on a recipient, don't try to look up
154102528Sgshapiro		the recipient in the mailbox database if F=w is set.  This
155102528Sgshapiro		allows users to discard bogus recipients when dealing with
156102528Sgshapiro		spammers without tipping them off.  Problem noted by Neil
157102528Sgshapiro		Rickert of Northern Illinois University.
158102528Sgshapiro	If applying a header check to a header with unstructured data,
159102528Sgshapiro		e.g., Subject:, then do not run syntax checks that are
160102528Sgshapiro		supposed for addresses on the header content.
161102528Sgshapiro	Count messages rejected/discarded via the check_data ruleset.
162102528Sgshapiro	Portability:
163102528Sgshapiro		Fix compilation on systems which do not allow simple
164102528Sgshapiro			copying of the variable argument va_list.  Based on
165102528Sgshapiro			fix from Scott Walters.
166102528Sgshapiro		Fix NSD map open bug.  From Michel Bourget of SGI.
167102528Sgshapiro		Add some additional IRIX shells to the default shell
168102528Sgshapiro			list.  From Michel Bourget of SGI.
169102528Sgshapiro		Fix compilation issues on Mac OS X 10.2 (Darwin 6.0).
170102528Sgshapiro			NETISO support has been dropped.
171102528Sgshapiro	CONFIG: There was a seemingly minor change in 8.12.4 with respect
172102528Sgshapiro		to handling entries of IP nets/addresses with RHS REJECT.
173102528Sgshapiro		These would be rejected in check_rcpt instead of only
174102528Sgshapiro		being activated in check_relay.  This change has been made to
175102528Sgshapiro		avoid potential bogus temporary rejection of relay attempts
176102528Sgshapiro		"450 4.7.1 Relaying temporarily denied. Cannot resolve PTR
177102528Sgshapiro		record for ..." if delay_checks is enabled.  However, this
178102528Sgshapiro		modification causes a change of behavior if an IP net/address
179102528Sgshapiro		is listed in the access map with REJECT and a host/domain
180102528Sgshapiro		name is listed with OK or RELAY, hence it has been reversed
181102528Sgshapiro		such that the behavior of 8.12.3 is restored.  The original
182102528Sgshapiro		change was made on request of Neil Rickert of Northern
183102528Sgshapiro		Illinois University, the side effect has been found by
184102528Sgshapiro		Stefaan Van Hoornick.
185102528Sgshapiro	CONFIG: Make sure delay_checks works even for sender addresses
186102528Sgshapiro		using the local hostname ($j) or domains in class {P}.
187102528Sgshapiro		Based on patch from Neil Rickert of Northern Illinois
188102528Sgshapiro		University.
189102528Sgshapiro	CONFIG: Fix temporary error handling for LDAP Routing lookups.
190102528Sgshapiro		Fix from Andrzej Filip.
191102528Sgshapiro	CONTRIB: New version of etrn.pl script and external man page
192102528Sgshapiro		(etrn.0) from John Beck of Sun Microsystems.
193102528Sgshapiro	LIBMILTER: Protect a free(3) operation from being called with a
194102528Sgshapiro		NULL pointer.  Problem noted by Andrey J. Melnikoff.
195102528Sgshapiro	LIBMILTER: Protect against more interrupted select() calls.  Based
196102528Sgshapiro		on patch from Jose Marcio Martins da Cruz of Ecole Nationale
197102528Sgshapiro		Superieure des Mines de Paris.
198102528Sgshapiro	New Files:
199102528Sgshapiro		contrib/etrn.0
200102528Sgshapiro
20198841Sgshapiro8.12.5/8.12.5	2002/06/25
20298841Sgshapiro	SECURITY: The DNS map can cause a buffer overflow if the user
20398841Sgshapiro		specifies a dns map using TXT records in the configuration
20498841Sgshapiro		file and a rogue DNS server is queried.  None of the
20598841Sgshapiro		sendmail supplied configuration files use this option hence
20698841Sgshapiro		they are not vulnerable.  Problem noted independently by
20798841Sgshapiro		Joost Pol of PINE Internet and Anton Rang of Sun Microsystems.
20898841Sgshapiro	Unprintable characters in responses from DNS servers for the DNS
20998841Sgshapiro		map type are changed to 'X' to avoid potential problems
21098841Sgshapiro		with rogue DNS servers.
21198841Sgshapiro	Require a suboption when setting the Milter option.  Problem noted
21298841Sgshapiro		by Bryan Costales.
21398841Sgshapiro	Do not silently overwrite command line settings for
21498841Sgshapiro		DirectSubmissionModifiers.  Problem noted by Bryan
21598841Sgshapiro		Costales.
21698841Sgshapiro	Prevent a segmentation fault when clearing the event list by
21798841Sgshapiro		turning off alarms before checking if event list is
21898841Sgshapiro		empty.  Problem noted by Allan E Johannesen of Worcester
21998841Sgshapiro		Polytechnic Institute.
22098841Sgshapiro	Close a potential race condition in transitioning a memory buffered
22198841Sgshapiro		file onto disk.  From Janani Devarajan of Sun Microsystems.
22298841Sgshapiro	Portability:
22398841Sgshapiro		Include paths.h on Linux systems running glibc 2.0 or later
22498841Sgshapiro			to get the definition for _PATH_SENDMAIL, used by
22598841Sgshapiro			rmail and vacation.  Problem noted by Kevin
22698841Sgshapiro			A. McGrail of Peregrine Hardware.
22798841Sgshapiro		NOTE: Linux appears to have broken flock() again.  Unless
22898841Sgshapiro			the bug is fixed before sendmail 8.13 is shipped,
22998841Sgshapiro			8.13 will change the default locking method to
23098841Sgshapiro			fcntl() for Linux kernel 2.4 and later.  You may
23198841Sgshapiro			want to do this in 8.12 by compiling with
23298841Sgshapiro			-DHASFLOCK=0.  Be sure to update other sendmail
23398841Sgshapiro			related programs to match locking techniques.
23498841Sgshapiro
23598121Sgshapiro8.12.4/8.12.4	2002/06/03
23698121Sgshapiro	SECURITY: Inherent limitations in the UNIX file locking model
23798121Sgshapiro		can leave systems open to a local denial of service
23898121Sgshapiro		attack.  Be sure to read the "FILE AND MAP PERMISSIONS"
23998121Sgshapiro		section of the top level README for more information.
24098121Sgshapiro		Problem noted by lumpy.
24198121Sgshapiro	Use TempFileMode (defaults to 0600) for the permissions of PidFile
24298121Sgshapiro		instead of 0644.
24398121Sgshapiro	Change the default file permissions for new alias database files
24498121Sgshapiro		from 0644 to 0640.  This can be overridden at compile time
24598121Sgshapiro		by setting the DBMMODE macro.
24698121Sgshapiro	Fix a potential core dump problem if the environment variable
24798121Sgshapiro		NAME is set.  Problem noted by Beth A. Chaney of
24898121Sgshapiro		Purdue University.
24998121Sgshapiro	Expand macros before passing them to libmilter.  Problem noted
25098121Sgshapiro		by Jose Marcio Martins da Cruz of Ecole Nationale
25198121Sgshapiro		Superieure des Mines de Paris.
25298121Sgshapiro	Rewind the df (message body) before truncating it when libmilter
25398121Sgshapiro		replaces the body of a message.  Problem noted by Gisle Aas
25498121Sgshapiro		of Active State.
25598121Sgshapiro	Change SMTP reply code for AUTH failure from 500 to 535 and the
25698121Sgshapiro		initial zero-length response to "=" per RFC 2554.  Patches
25798121Sgshapiro		from Kenneth Murchison of Oceana Matrix Ltd.
25898121Sgshapiro	Do not try to fix broken message/rfc822 MIME attachments by
25998121Sgshapiro		inserting a MIME-Version: header when MaxMimeHeaderLength
26098121Sgshapiro		is set and no 8 to 7 bit conversion is needed.  Based on
26198121Sgshapiro		patch from Rehor Petr of ICZ (Czech Republic).
26298121Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" if the connection
26398121Sgshapiro		is rejected anyway.  Noted by Chris Loelke.
26498121Sgshapiro	Mention the submission mail queue in the mailq man page.  Requested
26598121Sgshapiro		by Bill Fenner of AT&T.
26698121Sgshapiro	Set ${msg_size} macro when reading a message from the command line
26798121Sgshapiro		or the queue.
26898121Sgshapiro	Detach from shared memory before dropping privileges back to
26998121Sgshapiro		user who started sendmail.
27098121Sgshapiro	If AllowBogusHELO is set to false (default) then also complain if
27198121Sgshapiro		the argument to HELO/EHLO contains white space.  Suggested
27298121Sgshapiro		by Seva Gluschenko of Cronyx Plus.
27398121Sgshapiro	Allow symbolicly linked forward files in writable directory paths
27498121Sgshapiro		if both ForwardFileInUnsafeDirPath and
27598121Sgshapiro		LinkedForwardFileInWritableDir DontBlameSendmail options
27698121Sgshapiro		are set.  Problem noted by Werner Spirk of
27798121Sgshapiro		Leibniz-Rechenzentrum Munich.
27898121Sgshapiro	Portability:
27998121Sgshapiro		Operating systems that lack the ftruncate() call will not
28098121Sgshapiro			be able to use Milter's body replacement feature.
28198121Sgshapiro			This only affects Altos, Maxion, and MPE/iX.
28298121Sgshapiro		Digital UNIX 5.0 has changed flock() semantics to be
28398121Sgshapiro			non-compliant.  Problem noted by Martin Mokrejs of
28498121Sgshapiro			Charles University in Prague.
28598121Sgshapiro		The sparc64 port of FreeBSD 5.0 now supports shared
28698121Sgshapiro			memory.
28798121Sgshapiro	CONFIG: FEATURE(`preserve_luser_host') needs the macro map.
28898121Sgshapiro		Problem noted by Andrzej Filip.
28998121Sgshapiro	CONFIG: Using 'local:' as a mailertable value with
29098121Sgshapiro		FEATURE(`preserve_luser_host') and LUSER_RELAY caused mail
29198121Sgshapiro		to be misaddressed.  Problem noted by Andrzej Filip.
29298121Sgshapiro	CONFIG: Provide a workaround for DNS based rejection lists that
29398121Sgshapiro		fail for AAAA queries.  Problem noted by Chris Boyd.
29498121Sgshapiro	CONFIG: Accept the machine's hostname as resolvable when checking
29598121Sgshapiro		the sender address.  This allows locally submitted mail to
29698121Sgshapiro		be accepted if the machine isn't connected to a nameserver
29798121Sgshapiro		and doesn't have an /etc/hosts entry for itself.  Problem
29898121Sgshapiro		noted by Robert Watson of the TrustedBSD Project.
29998121Sgshapiro	CONFIG: Use deferred expansion for checking the ${deliveryMode}
30098121Sgshapiro		macro in case the SMTP VERB command is used.  Problem
30198121Sgshapiro		noted by Bryan Costales.
30298121Sgshapiro	CONFIG: Avoid a duplicate '@domain' virtusertable lookup if no
30398121Sgshapiro		matches are found.  Fix from Andrzej Filip.
30498121Sgshapiro	CONFIG: Fix wording in default dnsbl rejection message.  Suggested
30598121Sgshapiro		by Lou Katz of Metron Computerware, Ltd.
30698121Sgshapiro	CONFIG: Add mailer cyrusv2 for Cyrus V2.  Contributed by
30798121Sgshapiro		Kenneth Murchison of Oceana Matrix Ltd.
30898121Sgshapiro	CONTRIB: Fix wording in default dnsblaccess rejection message to
30998121Sgshapiro		match dnsbl change.
31098121Sgshapiro	DEVTOOLS: Add new option for access mode of statistics file,
31198121Sgshapiro		confSTMODE, which specifies the permissions when initially
31298121Sgshapiro		installing the sendmail statistics file.
31398121Sgshapiro	LIBMILTER: Mark the listening socket as close-on-exec in case
31498121Sgshapiro		a user's filter starts other applications.
31598121Sgshapiro	LIBSM: Allow the MBDB initialize, lookup, and/or terminate
31698121Sgshapiro		functions in SmMbdbTypes to be set to NULL.
31798121Sgshapiro	MAKEMAP: Change the default file permissions for new databases from
31898121Sgshapiro		0644 to 0640.  This can be overridden at compile time
31998121Sgshapiro		by setting the DBMMODE macro.
32098121Sgshapiro	SMRSH: Fix man page bug: replace SMRSH_CMDBIN with SMRSH_CMDDIR.
32198121Sgshapiro		Problem noted by Dave Alden of Ohio State University.
32298121Sgshapiro	VACATION: When listing the vacation database (-l), don't show
32398121Sgshapiro		bogus timestamps for excluded (-x) addresses.  Problem
32498121Sgshapiro		noted by Bryan Costales.
32598121Sgshapiro	New Files:
32698121Sgshapiro		cf/mailer/cyrusv2.m4
32798121Sgshapiro
32894334Sgshapiro8.12.3/8.12.3	2002/04/05
32994334Sgshapiro	NOTICE: In general queue files should not be moved if queue groups
33094334Sgshapiro		are used.  In previous versions this could cause mail
33194334Sgshapiro		not to be delivered if a queue file is repeatedly moved
33294334Sgshapiro		by an external process whenever sendmail moved it back
33394334Sgshapiro		into the right place.  Some precautions have been taken
33494334Sgshapiro		to avoid moving queue files if not really necessary.
33594334Sgshapiro		sendmail may use links to refer to queue files and it
33694334Sgshapiro		may store the path of data files in queue files.  Hence
33794334Sgshapiro		queue files should not be moved unless those internals
33894334Sgshapiro		are understood and the integrity of the files is not
33994334Sgshapiro		compromised.  Problem noted by Anne Bennett of Concordia
34094334Sgshapiro		University.
34194334Sgshapiro	If an error mail is created, and the mail is split across different
34294334Sgshapiro		queue directories, and SuperSafe is off, then write the mail
34394334Sgshapiro		to disk before splitting it, otherwise an assertion is
34494334Sgshapiro		triggered.  Problem tracked down by Henning Schmiedehausen
34594334Sgshapiro		of INTERMETA.
34694334Sgshapiro	Fix possible race condition that could cause sendmail to forget
34794334Sgshapiro		running queues.  Problem noted by Jeff Wasilko of smoe.org.
34894334Sgshapiro	Handle bogus qf files better without triggering assertions.
34994334Sgshapiro		Problem noted by Guy Feltin.
35094334Sgshapiro	Protect against interrupted select() call when enforcing Milter
35194334Sgshapiro		read and write timeouts.  Patch from Gurusamy Sarathy of
35294334Sgshapiro		ActiveState.
35394334Sgshapiro	Matching queue IDs with -qI should be case sensitive.  Problem
35494334Sgshapiro		noted by Anne Bennett of Concordia University.
35594334Sgshapiro	If privileges have been dropped, don't try to change group ID to
35694334Sgshapiro		the RunAsUser group.  Problem noted by Neil Rickert of
35794334Sgshapiro		Northern Illinois University.
35894334Sgshapiro	Fix SafeFileEnvironment path munging when the specified path
35994334Sgshapiro		contains a trailing slash.  Based on patch from Dirk Meyer
36094334Sgshapiro		of Dinoex.
36194334Sgshapiro	Do not limit sendmail command line length to SM_ARG_MAX (usually
36294334Sgshapiro		4096).  Problem noted by Allan E Johannesen of Worcester
36394334Sgshapiro		Polytechnic Institute.
36494334Sgshapiro	Clear full name of sender for each new envelope to avoid bogus data
36594334Sgshapiro		if several mails are sent in one session and some of them
36694334Sgshapiro		do not have a From: header.  Problem noted by Bas Haakman.
36794334Sgshapiro	Change timeout check such that cached information about a connection
36894334Sgshapiro		will be immediately invalid if ConnectionCacheTimeout is zero.
36994334Sgshapiro		Based on patch from David Burns of Portland State University.
37094334Sgshapiro	Properly count message size for mailstats during mail collection.
37194334Sgshapiro		Problem noted by Werner Wiethege.
37294334Sgshapiro	Log complete response from LMTP delivery agent on failure.  Based on
37394334Sgshapiro		patch from by Motonori Nakamura of Kyoto University.
37494334Sgshapiro	Provide workaround for getopt() implementations that do not catch
37594334Sgshapiro		missing arguments.
37694334Sgshapiro	Fix the message size calculation if the message body is replaced by
37794334Sgshapiro		a milter filter and buffered file I/O is being used.
37894334Sgshapiro		Problem noted by Sergey Akhapkin of Dr.Web.
37994334Sgshapiro	Do not honor SIGUSR1 requests if running with extra privileges.
38094334Sgshapiro		Problem noted by Werner Wiethege.
38194334Sgshapiro	Prevent a file descriptor leak on mail delivery if the initial
38294334Sgshapiro		connect fails and DialDelay is set.  Patch from Servaas
38394334Sgshapiro		Vandenberghe of Katholieke Universiteit Leuven.
38494334Sgshapiro	Properly deal with a case where sendmail is called by root running
38594334Sgshapiro		a set-user-ID (non-root) program.  Problem noted by Jon
38694334Sgshapiro		Lusky of ISS Atlanta.
38794334Sgshapiro	Avoid leaving behind stray transcript (xf) files if multiple queue
38894334Sgshapiro		directories are used and mail is sent to a mailing list
38994334Sgshapiro		which has an owner- alias.  Problem noted by Anne Bennett
39094334Sgshapiro		of Concordia University.
39194334Sgshapiro	Fix class map parsing code if optional key is specified.  Problem
39294334Sgshapiro		found by Mario Nigrovic.
39394334Sgshapiro	The SMTP daemon no longer tries to fix up improperly dot-stuffed
39494334Sgshapiro		incoming messages.  A leading dot is always stripped by the
39594334Sgshapiro		SMTP receiver regardless of whether or not it is followed by
39694334Sgshapiro		another dot.  Problem noted by Jordan Ritter of darkridge.com.
39794334Sgshapiro	Fix corruption when doing automatic MIME 7-bit quoted-printable or
39894334Sgshapiro		base64 encoding to 8-bit text.  Problem noted by Mark
39994334Sgshapiro		Elvers.
40094334Sgshapiro	Correct the statistics gathered for total number of connections.
40194334Sgshapiro		Instead of being the exact same number as the total number
40294334Sgshapiro		of messages (T line in mailstats) it now represents the
40394334Sgshapiro		total number of TCP connections.
40494334Sgshapiro	Be more explicit about syntax errors in addresses, especially
40594334Sgshapiro		non-ASCII characters, and properly create DSNs if necessary.
40694334Sgshapiro		Problem noted by Leena Heino of the University of Tampere.
40794334Sgshapiro	Prevent small timeouts from being lost on slow machines if itimers
40894334Sgshapiro		are used.  Problem noted by Suresh Ramasubramanian.
40994334Sgshapiro	Prevent a race condition on child cleanup for delivery to files.
41094334Sgshapiro		Problem noted by Fletcher Mattox of the University of
41194334Sgshapiro		Texas.
41294334Sgshapiro	Change the SMTP error code for temporary map failures from 421
41394334Sgshapiro		to 451.
41494334Sgshapiro	Do not assume that realloc(NULL, size) works on all OS (this was
41594334Sgshapiro		only done in one place: queue group creation).  Based on
41694334Sgshapiro		patch by Bryan Costales.
41794334Sgshapiro	Initialize Timeout.iconnect in the code to prevent randomly short
41894334Sgshapiro		timeouts.  Problem noted by Bradley Watts of AT&T Canada.
41994334Sgshapiro	Do not try to send a second SMTP QUIT command if the remote
42094334Sgshapiro		responds to a MAIL command with a 421 reply or on I/O
42194334Sgshapiro		errors.  By doing so, the host was marked as having a
42294334Sgshapiro		temporary problem and other mail destined for that host was
42394334Sgshapiro		queued for the next queue run.  Problem noted by Fletcher
42494334Sgshapiro		Mattox of the University of Texas, Allan E Johannesen of
42594334Sgshapiro		Worcester Polytechnic Institute, Larry Greenfield of CMU,
42694334Sgshapiro		and Neil Rickert of Northern Illinois University.
42794334Sgshapiro	Ignore error replies from the SMTP QUIT command (including servers
42894334Sgshapiro		which drop the connection instead of responding to the
42994334Sgshapiro		command).
43094334Sgshapiro	Portability:
43194334Sgshapiro		Check LDAP_API_VERSION to determine if ldap_memfree() is
43298121Sgshapiro			available.
43394334Sgshapiro		Define HPUX10 when building on HP-UX 10.X.  That platform
43494334Sgshapiro			now gets the proper _PATH_SENDMAIL and SMRSH_CMDDIR
43594334Sgshapiro			settings.  Patch from Elias Halldor Agustsson of
43694334Sgshapiro			Skyrr.
43794334Sgshapiro		Fix dependency building on Mac OS X and Darwin.  Problem
43894334Sgshapiro			noted by John Beck.
43994334Sgshapiro		Preliminary support for the sparc64 port of FreeBSD 5.0.
44094334Sgshapiro		Add /sbin/sh as an acceptable user shell on HP-UX.  From
44194334Sgshapiro			Rajesh Somasund of Hewlett-Packard.
44294334Sgshapiro	CONFIG: Add FEATURE(`authinfo') to allow a separate database for
44394334Sgshapiro		SMTP AUTH information.  This feature was actually added in
44494334Sgshapiro		8.12.0 but a release note was not included.
44594334Sgshapiro	CONFIG: Do not bounce mail if FEATURE(`ldap_routing')'s bounce
44694334Sgshapiro		parameter is set and the LDAP lookup returns a temporary
44794334Sgshapiro		error.
44894334Sgshapiro	CONFIG: Honor FEATURE(`relay_hosts_only') when using
44994334Sgshapiro		FEATURE(`relay_mail_from', `domain').  Problem noted by
45094334Sgshapiro		Krzysztof Oledzki.
45194334Sgshapiro	CONFIG: FEATURE(`msp') now disables any type of alias
45294334Sgshapiro		initialization as aliases are not needed for the MSP.
45394334Sgshapiro	CONFIG: Allow users to override RELAY_MAILER_ARGS when FEATURE(`msp')
45494334Sgshapiro		is in use.  Patch from Andrzej Filip.
45594334Sgshapiro	CONFIG: FEATURE(`msp') uses `[localhost]' as default instead of
45694334Sgshapiro		`localhost' and turns on MX lookups for the SMTP mailers.
45794334Sgshapiro		This will only have an effect if a parameter is specified,
45894334Sgshapiro		i.e., an MX lookup will be performed on the hostname unless
45994334Sgshapiro		it is embedded in square brackets.  Problem noted by
46094334Sgshapiro		Theo Van Dinter of Collective Technologies.
46194334Sgshapiro	CONFIG: Set confTIME_ZONE to USE_TZ in submit.mc (TimeZoneSpec= in
46294334Sgshapiro		submit.cf) to use $TZ for time stamps.  This is a compromise
46394334Sgshapiro		to allow for the proper time zone on systems where the
46494334Sgshapiro		default results in misleading time stamps. That is, syslog
46594334Sgshapiro		time stamps and Date headers on submitted mail will use the
46694334Sgshapiro		user's $TZ setting.  Problem noted by Mark Roth of the
46794334Sgshapiro		University of Illinois at Urbana-Champaign, solution proposed
46894334Sgshapiro		by Neil Rickert of Northern Illinois University.
46994334Sgshapiro	CONFIG: Mac OS X (Darwin) ships with mail.local as non-set-user-ID
47094334Sgshapiro		binary.  Adjust local mailer flags accordingly.  Problem
47194334Sgshapiro		noted by John Beck.
47294334Sgshapiro	CONTRIB: Add a warning to qtool.pl to not move queue files around
47394334Sgshapiro		if queue groups are used.
47494334Sgshapiro	CONTRIB: buildvirtuser: Add -f option to force rebuild.
47594334Sgshapiro	CONTRIB: smcontrol.pl: Add -f option to specify control socket.
47694334Sgshapiro	CONTRIB: smcontrol.pl: Add support for 'memdump' command.
47794334Sgshapiro		Suggested by Bryan Costales.
47894334Sgshapiro	DEVTOOLS: Add dependency generation for test programs.
47994334Sgshapiro	LIBMILTER: Remove conversion of port number for the socket
48094334Sgshapiro		structure that is passed to xxfi_connect().  Notice:
48198121Sgshapiro		this fix requires that sendmail and libmilter both have
48298121Sgshapiro		this change; mixing versions may lead to wrong port
48394334Sgshapiro		values depending on the endianness of the involved systems.
48494334Sgshapiro		Problem noted by Gisle Aas of ActiveState.
48594334Sgshapiro	LIBMILTER: If smfi_setreply() sets a custom reply code of '4XX' but
48694334Sgshapiro		SMFI_REJECT is returned, ignore the custom reply.  Do the
48794334Sgshapiro		same if '5XX' is used and SMFI_TEMPFAIL is returned.
48894334Sgshapiro	LIBMILTER: Install include files in ${INCLUDEDIR}/libmilter/ as
48994334Sgshapiro		required by mfapi.h.  Problem noted by Jose Marcio Martins
49094334Sgshapiro		da Cruz of Ecole Nationale Superieure des Mines de Paris.
49194334Sgshapiro	LIBSM: Add SM_CONF_LDAP_MEMFREE as a configuration define.  Set
49294334Sgshapiro		this to 1 if your LDAP client libraries include
49394334Sgshapiro		ldap_memfree().
49494334Sgshapiro	LIBSMDB: Avoid a file creation race condition for Berkeley DB 1.X
49594334Sgshapiro		and NDBM on systems with the O_EXLOCK open(2) flag.
49694334Sgshapiro	SMRSH: Fix compilation problem on some operating systems.  Problem
49794334Sgshapiro		noted by Christian Krackowizer of schuler technodat GmbH.
49894334Sgshapiro	VACATION: Allow root to operate on user vacation databases.  Based
49994334Sgshapiro		on patch from Greg Couch of the University of California,
50094334Sgshapiro		San Francisco.
50194334Sgshapiro	VACATION: Don't ignore -C option.  Based on patch by Bryan Costales.
50294334Sgshapiro	VACATION: Clarify option usage in the man page.  Problem noted by
50394334Sgshapiro		Joe Barbish.
50494334Sgshapiro	New Files:
50594334Sgshapiro		libmilter/docs/smfi_setbacklog.html
50694334Sgshapiro
50790792Sgshapiro8.12.2/8.12.2	2002/01/13
50890792Sgshapiro	Don't complain too much if stdin, stdout, or stderr are missing
50990792Sgshapiro		at startup, only log an error message.
51090792Sgshapiro	Fix potential problem if an unknown operation mode (character
51190792Sgshapiro		following -b) has been specified.
51290792Sgshapiro	Prevent purgestat from looping even if someone changes the
51390792Sgshapiro		permissions or owner of hoststatus files.  Problem noted
51490792Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
51590792Sgshapiro	Properly record dropped connections in persistent host status.
51690792Sgshapiro		Problem noted by Ulrich Windl of the Universitat
51790792Sgshapiro		Regensburg.
51890792Sgshapiro	Remove newlines from recipients read via sendmail -t to prevent
51990792Sgshapiro		SMTP protocol errors when sending the RCPT command.
52090792Sgshapiro		Problem noted by William D. Colburn of the New Mexico
52190792Sgshapiro		Institute of Mining and Technology.
52290792Sgshapiro	Only log milter body replacements once instead of for each body
52390792Sgshapiro		chunk sent by a filter.  Problem noted by Kari Hurtta of
52490792Sgshapiro		the Finnish Meteorological Institute.
52590792Sgshapiro	In 8.12.0 and 8.12.1, the headers were mistakenly not included in
52690792Sgshapiro		the message size calculation.  Problem noted by Kari Hurtta
52790792Sgshapiro		of the Finnish Meteorological Institute.
52890792Sgshapiro	Since 8.12 no longer forks at the SMTP MAIL command, the daemon
52990792Sgshapiro		needs to collect children status to avoid zombie processes.
53090792Sgshapiro		Problem noted by Chris Adams of HiWAAY Informations Services.
53190792Sgshapiro	Shut down "nullserver" and ETRN-only connections after 25 bad
53290792Sgshapiro		commands are issued.  This makes it consistent with normal
53390792Sgshapiro		SMTP connections.
53490792Sgshapiro	Avoid duplicate logging of milter rejections.  Problem noted by
53590792Sgshapiro		William D. Colburn of the New Mexico Institute of Mining
53690792Sgshapiro		and Technology.
53790792Sgshapiro	Error and delay DSNs were being sent to postmaster instead of the
53890792Sgshapiro		message sender if the sender had used a deprecated RFC822
53990792Sgshapiro		source route.  Problem noted by Kari Hurtta of the Finnish
54090792Sgshapiro		Meteorological Institute.
54190792Sgshapiro	Fix FallbackMXhost behavior for temporary errors during address
54290792Sgshapiro		parsing.  Problem noted by Jorg Bielak from Coastal Web
54390792Sgshapiro		Online.
54490792Sgshapiro	For systems on which stat(2) does not return a value for st_blksize
54590792Sgshapiro		that is the "optimal blocksize for I/O" three new compile
54690792Sgshapiro		time flags are available: SM_IO_MAX_BUF_FILE, SM_IO_MIN_BUF,
54790792Sgshapiro		and SM_IO_MAX_BUF, which define an upper limit for
54890792Sgshapiro		regular files, and a lower and upper limit for other file
54990792Sgshapiro		types, respectively.
55090792Sgshapiro	Fix a potential deadlock if two events are supposed to occur at
55190792Sgshapiro		exactly the same time.  Problem noted by Valdis Kletnieks
55290792Sgshapiro		of Virginia Tech.
55390792Sgshapiro	Perform envelope splitting for aliases listed directly in the
55490792Sgshapiro		alias file, not just for include/.forward files.
55590792Sgshapiro		Problem noted by John Beck of Sun Microsystems.
55690792Sgshapiro	Allow selection of queue group for mailq using -qGgroup.
55790792Sgshapiro		Based on patch by John Beck of Sun Microsystems.
55890792Sgshapiro	Make sure cached LDAP connections used my multiple maps in the same
55990792Sgshapiro		process are closed.  Patch from Taso N. Devetzis.
56090792Sgshapiro	If running as root, allow reading of class files in protected
56190792Sgshapiro		directories.  Patch from Alexander Talos of the University
56290792Sgshapiro		of Vienna.
56390792Sgshapiro	Correct a few LDAP related memory leaks.  Patch from David Powell
56490792Sgshapiro		of Sun Microsystems.
56590792Sgshapiro	Allow specification of an empty realm via the authinfo ruleset.
56690792Sgshapiro		This is necessary to interoperate as an SMTP AUTH client
56790792Sgshapiro		with servers that do not support realms when using
56890792Sgshapiro		CRAM-MD5.  Problem noted by Bjoern Voigt of TU Berlin.
56990792Sgshapiro	Avoid a potential information leak if AUTH PLAIN is used and the
57090792Sgshapiro		server gets stuck while processing that command.  Problem
57190792Sgshapiro		noted by Chris Adams from HiWAAY Informations Services.
57290792Sgshapiro	In addition to printing errors when parsing recipients during
57390792Sgshapiro		command line invocations log them to make it simpler
57490792Sgshapiro		to understand possible DSNs to postmaster.
57590792Sgshapiro	Do not use FallbackMXhost on mailers which have the F=0 flag set.
57690792Sgshapiro	Allow local mailers (F=l) to specify a host for TCP connections
57790792Sgshapiro		instead of forcing localhost.
57890792Sgshapiro	Obey ${DESTDIR} for installation of the client mail queue and
57990792Sgshapiro		submit.cf.  Patch from Peter 'Luna' Runestig.
58090792Sgshapiro	Re-enable support for -M option which was broken in 8.12.1.  Problem
58190792Sgshapiro		noted by Neil Rickert of Northern Illinois University.
58290792Sgshapiro	If a remote server violates the SMTP standard by unexpectedly
58390792Sgshapiro		dropping the connection during an SMTP transaction, stop
58490792Sgshapiro		sending commands.  This prevents bogus "Bad file number"
58590792Sgshapiro		recipient status.  Problem noted by Allan E Johannesen of
58690792Sgshapiro		Worcester Polytechnic Institute.
58790792Sgshapiro	Do not use a size estimate of 100 for postmaster bounces, it's
58890792Sgshapiro		almost always too small; do not guess the size at all.
58990792Sgshapiro	New VENDOR_DEC for Compaq/DEC.  Requested by James Seagraves of
59090792Sgshapiro		Compaq Computer Corp.
59190792Sgshapiro	Fix DaemonPortOptions IPv6 address parsing such that ::1 works
59290792Sgshapiro		properly.  Problem noted by Valdis Kletnieks of Virginia
59390792Sgshapiro		Tech.
59490792Sgshapiro	Portability:
59590792Sgshapiro		Fix IPv6 network interface probing on HP-UX 11.X.  Based on
59690792Sgshapiro			patch provided by HP.
59790792Sgshapiro		Mac OS X (aka Darwin) has a broken setreuid() call, but a
59890792Sgshapiro			working seteuid() call.  From Daniel J. Luke.
59990792Sgshapiro		Use proper type for a 32-bit integer on SINIX.  From Ganu
60090792Sgshapiro			Sachin of Siemens.
60190792Sgshapiro		Set SM_IO_MIN_BUF (4K) and SM_IO_MAX_BUF (8K) for HP-UX.
60290792Sgshapiro		Reduce optimization from +O3 to +O2 on HP-UX 11.  This
60390792Sgshapiro			fixes a problem that caused additional bogus
60490792Sgshapiro			characters to be written to the qf file.  Problem
60590792Sgshapiro			noted by Tapani Tarvainen.
60690792Sgshapiro		Set LDA_USE_LOCKF by default for UnixWare.  Problem noted
60790792Sgshapiro			by Boyd Lynn Gerber.
60890792Sgshapiro		Add support for HP MPE/iX.  See sendmail/README for port
60990792Sgshapiro			information.  From Mark Bixby of Hewlett-Packard.
61090792Sgshapiro		New portability defines HASNICE, HASRRESVPORT, USE_ENVIRON,
61190792Sgshapiro			USE_DOUBLE_FORK, and NEEDLINK.  See sendmail/README
61290792Sgshapiro			for more information.  From Mark Bixby of
61390792Sgshapiro			Hewlett-Packard.
61490792Sgshapiro		If an OS doesn't have a method of finding free disk space
61590792Sgshapiro			(SFS_NONE), lie and say there is plenty of space.
61690792Sgshapiro			From Mark Bixby of Hewlett-Packard.
61790792Sgshapiro		Add support for AIX 5.1.  From Valdis Kletnieks of
61890792Sgshapiro			Virginia Tech.
61990792Sgshapiro		Fix man page location for NeXTSTEP.  From Hisanori Gogota
62090792Sgshapiro			of the NTT/InterCommunication Center.
62190792Sgshapiro		Do not assume that strerror() always returns a string.
62290792Sgshapiro			Problem noted by John Beck of Sun Microsystems.
62390792Sgshapiro	CONFIG: Add OSTYPE(freebsd5) for FreeBSD 5.X, which has removed
62490792Sgshapiro		UUCP from the base operating system.  From Mark Murray of
62590792Sgshapiro		FreeBSD Services, Ltd.
62690792Sgshapiro	CONFIG: Add OSTYPE(mpeix) and a generic .mc file for HP MPE/iX
62790792Sgshapiro		systems.  From Mark Bixby of Hewlett-Packard.
62890792Sgshapiro	CONFIG: Add support for selecting a queue group for all mailers.
62990792Sgshapiro		Based on proposal by Stephen L. Ulmer of the University of
63090792Sgshapiro		Florida.
63190792Sgshapiro	CONFIG: Fix error reporting for compat_check.m4.  Problem noted by
63290792Sgshapiro		Altin Waldmann.
63390792Sgshapiro	CONFIG: Do not override user selections for confRUN_AS_USER and
63490792Sgshapiro		confTRUSTED_USER in FEATURE(msp).  From Mark Bixby of
63590792Sgshapiro		Hewlett-Packard.
63690792Sgshapiro	LIBMILTER: Fix bug that prevented the removal of a socket after
63790792Sgshapiro		libmilter terminated.  Problem reported by Andrey V. Pevnev
63890792Sgshapiro		of MSFU.
63990792Sgshapiro	LIBMILTER: Fix configuration error that required libsm for linking.
64090792Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
64190792Sgshapiro		Institute.
64290792Sgshapiro	LIBMILTER: Portability fix for OpenUNIX.  Patch from Larry Rosenman.
64390792Sgshapiro	LIBMILTER: Fix a theoretical memory leak and a possible attempt
64490792Sgshapiro		to free memory twice.
64590792Sgshapiro	LIBSM: Fix a potential segmentation violation in the I/O library.
64690792Sgshapiro		Problem found and analyzed by John Beck and Tim Haley
64790792Sgshapiro		of Sun Microsystems.
64890792Sgshapiro	LIBSM: Do not clear the LDAP configuration information when
64990792Sgshapiro		terminating the mailbox database connection in the LDAP
65090792Sgshapiro		example code.  Problem noted by Nikos Voutsinas of the
65190792Sgshapiro		University of Athens.
65290792Sgshapiro	New Files:
65390792Sgshapiro		cf/cf/generic-mpeix.cf
65490792Sgshapiro		cf/cf/generic-mpeix.mc
65590792Sgshapiro		cf/ostype/freebsd5.m4
65690792Sgshapiro		cf/ostype/mpeix.m4
65790792Sgshapiro		devtools/OS/AIX.5.1
65890792Sgshapiro		devtools/OS/MPE-iX
65990792Sgshapiro		include/sm/os/sm_os_mpeix.h
66090792Sgshapiro		libsm/mpeix.c
66190792Sgshapiro
66290792Sgshapiro8.12.1/8.12.1	2001/10/01
66390792Sgshapiro	SECURITY: Check whether dropping group privileges actually succeeded
66490792Sgshapiro		to avoid possible compromises of the mail system by
66590792Sgshapiro		supplying bogus data.  Add configuration options for
66690792Sgshapiro		different set*gid() calls to reset saved gid.  Problem
66790792Sgshapiro		found by Michal Zalewski.
66890792Sgshapiro	PRIVACY: Prevent information leakage when sendmail has extra
66990792Sgshapiro		privileges by disabling debugging (command line -d flag)
67090792Sgshapiro		during queue runs and disabling ETRN when sendmail -bs is
67190792Sgshapiro		used.  Suggested by Michal Zalewski.
67290792Sgshapiro	Avoid memory corruption problems resulting from bogus .cf files.
67390792Sgshapiro		Problem found by Michal Zalewski.
67490792Sgshapiro	Set the ${server_addr} macro to name of mailer when doing LMTP
67590792Sgshapiro		delivery.  LMTP systems may offer SMTP Authentication or
67690792Sgshapiro		STARTTLS causing sendmail to use this macro in rulesets.
67790792Sgshapiro	If debugging is turned on (-d0.10) print not just the default
67890792Sgshapiro		values for configuration file and pid file but also the
67990792Sgshapiro		selected values.  Problem noted by Brad Chapman.
68090792Sgshapiro	Continue dealing with broken nameservers by ignoring SERVFAIL
68190792Sgshapiro		errors returned on T_AAAA (IPv6) lookups at delivery time
68290792Sgshapiro		if ResolverOptions=WorkAroundBrokenAAAA is set.  Previously
68390792Sgshapiro		this only applied to hostname canonification.  Problem
68490792Sgshapiro		noted by Bill Fenner of AT&T Research.
68590792Sgshapiro	Ignore comments in NIS host records when trying to find the
68690792Sgshapiro		canonical name for a host.
68790792Sgshapiro	When sendmail has extra privileges, limit mail submission command
68890792Sgshapiro		line flags (i.e., -G, -h, -F, etc.)  to mail submission
68990792Sgshapiro		operating modes (i.e., -bm, -bs, -bv, etc.).  Idea based on
69090792Sgshapiro		suggestion from Michal Zalewski.
69190792Sgshapiro	Portability:
69290792Sgshapiro		AIX: Use `oslevel` if available to determine OS version.
69390792Sgshapiro			`uname` does not given complete information.
69490792Sgshapiro			Problem noted by Keith Neufeld of the Cessna
69590792Sgshapiro			Aircraft Company.
69690792Sgshapiro		OpenUNIX: Use lockf() for LDA delivery (affects mail.local).
69790792Sgshapiro			Problem noticed by Boyd Lynn Gerber of ZENEX.
69890792Sgshapiro		Avoid compiler warnings by not using pointers to pass
69990792Sgshapiro			integers.  Problem noted by Todd C. Miller of
70090792Sgshapiro			Courtesan Consulting.
70190792Sgshapiro	CONFIG: Add restrictqrun to PrivacyOptions for the MSP to minimize
70290792Sgshapiro		problems with potential misconfigurations.
70390792Sgshapiro	CONFIG: Fix comment showing default value of MaxHopCount.  Problem
70490792Sgshapiro		noted by Greg Robinson of the Defence Science and
70590792Sgshapiro		Technology Organisation of Australia.
70690792Sgshapiro	CONFIG: dnsbl: If an argument specifies an error message in case
70790792Sgshapiro		of temporary lookup failures for DNS based blacklists
70890792Sgshapiro		then use it.
70990792Sgshapiro	LIBMILTER: Install mfdef.h, required by mfapi.h.  Problem noted by
71090792Sgshapiro		Richard A. Nelson of Debian.
71190792Sgshapiro	LIBMILTER: Add __P definition for OS that lack it.  Problem noted
71290792Sgshapiro		by Chris Adams from HiWAAY Informations Services.
71390792Sgshapiro	LIBSMDB: Fix a lock race condition that affects makemap, praliases,
71490792Sgshapiro		and vacation.
71590792Sgshapiro	MAKEMAP: Avoid going beyond the end of an input line if it does
71690792Sgshapiro		not contain a value for a key.  Based on patch from
71790792Sgshapiro		Mark Bixby from Hewlett-Packard.
71890792Sgshapiro	New Files:
71990792Sgshapiro		test/Build
72090792Sgshapiro		test/Makefile
72190792Sgshapiro		test/Makefile.m4
72290792Sgshapiro		test/README
72390792Sgshapiro		test/t_dropgid.c
72490792Sgshapiro		test/t_setgid.c
72590792Sgshapiro	Deleted Files:
72690792Sgshapiro		include/sm/stdio.h
72790792Sgshapiro		include/sm/sysstat.h
72890792Sgshapiro
72990792Sgshapiro8.12.0/8.12.0	2001/09/08
73090792Sgshapiro	*NOTICE*: The default installation of sendmail does not use
73190792Sgshapiro		set-user-ID root anymore.  You need to create a new user and
73290792Sgshapiro		a new group before installing sendmail (both called smmsp by
73390792Sgshapiro		default).  The installation process tries to install
73490792Sgshapiro		/etc/mail/submit.cf and creates /var/spool/clientmqueue by
73590792Sgshapiro		default.  Please see sendmail/SECURITY for details.
73690792Sgshapiro	SECURITY: Check for group and world writable forward and :include:
73790792Sgshapiro		files.  These checks can be turned off if absolutely
73890792Sgshapiro		necessary using the DontBlameSendmail option and the new
73990792Sgshapiro		flags:
74090792Sgshapiro			GroupWritableForwardFile
74190792Sgshapiro			WorldWritableForwardFile
74290792Sgshapiro			GroupWritableIncludeFile
74390792Sgshapiro			WorldWritableIncludeFile
74490792Sgshapiro		Problem noted by Slawek Zak of Politechnika Warszawska,
74590792Sgshapiro	SECURITY: Drop privileges when using address test mode.  Suggested
74690792Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
74790792Sgshapiro		(IdS).
74890792Sgshapiro	Fixed problem of a global variable being used for a timeout jump
74990792Sgshapiro		point where the variable could become overused for more than
75090792Sgshapiro		one timeout concurrently.  This erroneous behavior resulted in
75190792Sgshapiro		a corrupted stack causing a core dump.  The timeout is now
75290792Sgshapiro		handled via libsm.  Problem noted by Michael Shapiro,
75390792Sgshapiro		John Beck, and Carl Smith of Sun Microsystems.
75490792Sgshapiro	If sendmail is set-group-ID then that group ID is used for permission
75590792Sgshapiro		checks (group ID of RunAsUser).  This allows use of a
75690792Sgshapiro		set-group-ID sendmail binary for initial message submission
75790792Sgshapiro		and no set-user-ID root sendmail is needed.  For details
75890792Sgshapiro		see sendmail/SECURITY.
75990792Sgshapiro	Log a warning if a non-trusted user changes the syslog label.
76090792Sgshapiro		Based on notice from Bryan Costales of SL3D, Inc.
76190792Sgshapiro	If sendmail is called for initial delivery, try to use submit.cf
76290792Sgshapiro		with a fallback of sendmail.cf as configuration file.  See
76390792Sgshapiro		sendmail/SECURITY.
76490792Sgshapiro	New configuration file option UseMSP to allow group writable queue
76590792Sgshapiro		files if the group is the same as that of a set-group-ID
76690792Sgshapiro		sendmail binary.  See sendmail/SECURITY.
76790792Sgshapiro	The .cf file is chosen based on the operation mode. For -bm (default),
76890792Sgshapiro		-bs, and -t it is submit.cf if it exists for all others it
76990792Sgshapiro		is sendmail.cf (to be backward compatible).  This selection
77090792Sgshapiro		can be changed by the new option -Ac or -Am (alternative .cf
77190792Sgshapiro		file: client or mta).  See sendmail/SECURITY.
77290792Sgshapiro	The SMTP server no longer forks on each MAIL command.  The ONEX
77390792Sgshapiro		command has been removed.
77490792Sgshapiro	Implement SMTP PIPELINING per RFC 2920.  It can be turned off
77590792Sgshapiro		at compile time or per host (ruleset).
77690792Sgshapiro	New option MailboxDatabase specifies the type of mailbox database
77790792Sgshapiro		used to look up local mail recipients; the default value
77890792Sgshapiro		is "pw", which means to use getpwnam().  New mailbox database
77990792Sgshapiro		types can be added by adding custom code to libsm/mbdb.c.
78090792Sgshapiro	Queue file names are now 15 characters long, rather than 14 characters
78190792Sgshapiro		long, to accomodate envelope splitting.  File systems with
78290792Sgshapiro		a 14 character file name length limit are no longer
78390792Sgshapiro		supported.
78490792Sgshapiro	Recipient list used for delivery now gets internally ordered by
78590792Sgshapiro		hostsignature (character string version of MX RR).  This orders
78690792Sgshapiro		recipients for the same MX RR's together meaning smaller
78790792Sgshapiro		portions of the list need to be scanned (instead of the whole
78890792Sgshapiro		list) each delivery() pass to determine piggybacking.  The
78990792Sgshapiro		significance of the change is better the larger the recipient
79090792Sgshapiro		list.  Hostsignature is now created during recipient list
79190792Sgshapiro		creation rather than just before delivery.
79290792Sgshapiro	Enhancements for more opportunistic piggybacking.  Previous
79390792Sgshapiro		piggybacking (called coincidental) extended to coattail
79490792Sgshapiro		piggybacking.  Rather than complete MX RR matching
79590792Sgshapiro		(coincidental) piggybacking is done if just the lowest value
79690792Sgshapiro		preference matches (coattail).
79790792Sgshapiro	If sendmail receives a temporary error on a RCPT TO: command, it will
79890792Sgshapiro		try other MX hosts if available.
79990792Sgshapiro	DefaultAuthInfo can contain a list of mechanisms to be used for
80090792Sgshapiro		outgoing (client-side) SMTP Authentication.
80190792Sgshapiro	New modifier 'A' for DaemonPortOptions/ClientPortOptions to disable
80290792Sgshapiro		AUTH (overrides 'a' modifier in DaemonPortOptions).  Based
80390792Sgshapiro		on patch from Lyndon Nerenberg of Messaging Direct.
80490792Sgshapiro	Enable AUTH mechanism EXTERNAL if STARTTLS is used.
80590792Sgshapiro	A new ruleset authinfo can be used to return client side
80690792Sgshapiro		authentication information for AUTH instead of DefaultAuthInfo.
80790792Sgshapiro		Therefore the DefaultAuthInfo option is deprecated and will be
80890792Sgshapiro		removed in future versions.
80990792Sgshapiro	Accept any SMTP continuation code 3xy for AUTH even though RFC 2554
81090792Sgshapiro		requires 334.  Mercury 1.48 is a known offender.
81190792Sgshapiro	Add new option AuthMaxBits to limit the overall encryption strength
81290792Sgshapiro		for the security layer in SMTP AUTH (SASL).  See
81390792Sgshapiro		doc/op/op.me for details.
81490792Sgshapiro	Introduce new STARTTLS related macros {cn_issuer}, {cn_subject},
81590792Sgshapiro		{cert_md5} which hold the CN (common name) of the CA that
81690792Sgshapiro		signed the presented certificate, the CN and the MD5 hash
81790792Sgshapiro		of the presented certificate, respectively.
81890792Sgshapiro	New ruleset try_tls to decide whether to try (as client) STARTTLS.
81990792Sgshapiro	New ruleset srv_features to enable/disable certain features in the
82090792Sgshapiro		server per connection.  See doc/op/op.me for details.
82190792Sgshapiro	New ruleset tls_rcpt to decide whether to send e-mail to a particular
82290792Sgshapiro		recipient; useful to decide whether a conection is secure
82390792Sgshapiro		enough on a per recipient basis.
82490792Sgshapiro	New option TLSSrvOptions to modify some aspects of the server
82590792Sgshapiro		for STARTTLS.
82690792Sgshapiro	If no certificate has been requested, the macro {verify} has the
82790792Sgshapiro		value "NOT".
82890792Sgshapiro	New M=S modifier for ClientPortOptions/DaemonPortOptions to turn off
82990792Sgshapiro		using/offering STARTTLS when delivering/receiving e-mail.
83090792Sgshapiro	Macro expand filenames/directories for certs and keys in the .cf file.
83190792Sgshapiro		Proposed by Neil Rickert of Northern Illinois University.
83290792Sgshapiro	Generate an ephemeral RSA key for a STARTTLS connection only if
83390792Sgshapiro		really required.  This change results in a noticable
83490792Sgshapiro		performance gains on most machines.  Moreover, if shared
83590792Sgshapiro		memory is in use, reuse the key several times.
83690792Sgshapiro	Add queue groups which can be used to group queue directories with
83790792Sgshapiro		the same behavior together.  See doc/op/op.me for details.
83890792Sgshapiro	If the new option FastSplit (defaults to one) has a value greater
83990792Sgshapiro		than zero, it suppresses the MX lookups on addresses when they
84090792Sgshapiro		are initially sorted which may result in faster envelope
84190792Sgshapiro		splitting.  If the mail is submitted directly from the
84290792Sgshapiro		command line, then the value also limits the number of
84390792Sgshapiro		processes to deliver the envelopes; if more envelopes are
84490792Sgshapiro		created they are only queued up and must be taken care of
84590792Sgshapiro		by a queue run.
84690792Sgshapiro	The check for 'enough disk space' now pays attention to which file
84790792Sgshapiro		system each queue directory resides in.
84890792Sgshapiro	All queue runners can be cleanly terminated via SIGTERM to parent.
84990792Sgshapiro	New option QueueFileMode for the default permissions of queue files.
85090792Sgshapiro	Add parallel queue runner code.  Allows multiple queue runners per work
85190792Sgshapiro		group (one or more queues in a multi-queue environment
85290792Sgshapiro		collected together) to process the same work list at the
85390792Sgshapiro		same time.
85490792Sgshapiro	Option MaxQueueChildren added to limit the number of concurrently
85590792Sgshapiro		active queue runner processes.
85690792Sgshapiro	New option MaxRunnersPerQueue to specify the maximum number of queue
85790792Sgshapiro		runners per queue group.
85890792Sgshapiro	Queue member selection by substring pattern matching now allows
85990792Sgshapiro		the pattern to be negated.  For -qI, -qR and -qS it is
86090792Sgshapiro		permissible for -q!I, -q!R and -q!S to mean remove members
86190792Sgshapiro		of the queue that match during processing.
86290792Sgshapiro	New -qp[time] option is similar to -qtime, except that instead of
86390792Sgshapiro		periodically forking a child to process the queue, a single
86490792Sgshapiro		child is forked for each queue that sleeps between queue
86590792Sgshapiro		runs.  A SIGHUP signal can be sent to restart this
86690792Sgshapiro		persistent queue runner.
86790792Sgshapiro	The SIGHUP signal now restarts a timed queue run process (i.e., a
86890792Sgshapiro		sendmail process which only runs the queue at an interval:
86990792Sgshapiro		sendmail -q15m).
87090792Sgshapiro	New option NiceQueueRun	to set the priority of queue runners.
87190792Sgshapiro		Proposed by Thom O'Connor.
87290792Sgshapiro	sendmail will run the queue(s) in the background when invoked with -q
87390792Sgshapiro		unless the new -qf option or -v is used.
87490792Sgshapiro	QueueSortOrder=Random sorts the queue randomly, which is useful if
87590792Sgshapiro		several queue runners are started by hand to avoid contention.
87690792Sgshapiro	QueueSortOrder=Modification sorts the queue by the modification time
87790792Sgshapiro		of the qf file (older entries first).
87890792Sgshapiro	Support Deliver By SMTP Service Extension (RFC 2852) which allows
87990792Sgshapiro		a client to specify an amount of time within which an e-mail
88090792Sgshapiro		should be delivered.  New option DeliverByMin added to set the
88190792Sgshapiro		minimum amount of time or disable the extension.
88290792Sgshapiro	Non-printable characters (ASCII: 0-31, 127) in mailbox addresses are
88390792Sgshapiro		not allowed unless escaped or quoted.
88490792Sgshapiro	Add support for a generic DNS map.  Based on a patch contributed
88590792Sgshapiro		by Leif Johansson of Stockholm University, which was based on
88690792Sgshapiro		work by Assar Westerlund of Swedish Institute of Computer
88790792Sgshapiro		Science, Kista, and Johan Danielsson of Royal Institute of
88890792Sgshapiro		Technology, Stockholm, Sweden.
88990792Sgshapiro	MX records will be looked up for FallBackMXhost.  To use the old
89090792Sgshapiro		behavior (no MX lookups), put the name in square brackets.
89190792Sgshapiro		Proposed by Thom O'Connor.
89290792Sgshapiro	Use shared memory to store free space of filesystems that are used
89390792Sgshapiro		for queues, if shared memory is available and if a key is set
89490792Sgshapiro		via SharedMemoryKey.  This minimizes the number of system
89590792Sgshapiro		calls to check the available space.  See doc/op/op.me for
89690792Sgshapiro		details.
89790792Sgshapiro	If shared memory is compiled in the option -bP can be used to print
89890792Sgshapiro		the number of entries in the queue(s).
89990792Sgshapiro	Enable generic mail filter API (milter).  See libmilter/README
90090792Sgshapiro		and the usual documentation for details.
90190792Sgshapiro	Remove AutoRebuildAliases option, deprecated since 8.10.
90290792Sgshapiro	Remove '-U' (initial user submission) command line option as
90390792Sgshapiro		announced in 8.10.
90490792Sgshapiro	Remove support for non-standard SMTP command XUSR.  Use an MSA instead.
90590792Sgshapiro	New macro {addr_type} which contains whether the current address is
90690792Sgshapiro		an envelope sender or recipient address.  Suggested by
90790792Sgshapiro		Neil Rickert of Northern Illinois University.
90890792Sgshapiro	Two new options for host maps: -d (retransmission timeout),
90990792Sgshapiro		-r (number of retries).
91090792Sgshapiro	New option for LDAP maps: the -V<sep> allows you to specify a
91190792Sgshapiro		separator such that a lookup can return both an attribute
91290792Sgshapiro		and value separated by the given separator.
91390792Sgshapiro	Add new operators '%', '|', '&' (modulo, binary or, binary and)
91490792Sgshapiro		to map class arith.
91590792Sgshapiro	If DoubleBounceAddress expands to an empty string, ``double bounces''
91690792Sgshapiro		(errors that occur when sending an error message) are dropped.
91790792Sgshapiro	New DontBlameSendmail options GroupReadableSASLDBFile and
91890792Sgshapiro		GroupWritableSASLDBFile to relax requirements for sasldb files.
91990792Sgshapiro	New DontBlameSendmail options GroupReadableKeyFile to relax
92090792Sgshapiro		requirements for files containing secret keys.  This is
92190792Sgshapiro		necessary for the MSP if client authentification is used.
92290792Sgshapiro	Properly handle quoted filenames for class files (to allow for
92390792Sgshapiro		filenames with spaces).
92490792Sgshapiro	Honor the resolver option RES_NOALIASES when canonifying hostnames.
92590792Sgshapiro	Add macros to avoid the reuse of {if_addr} etc:
92690792Sgshapiro		{if_name_out}	hostname of interface of outgoing connection.
92790792Sgshapiro		{if_addr_out}	address of interface of outgoing connection.
92890792Sgshapiro		{if_family_out}	family of interface of outgoing connection.
92990792Sgshapiro		The latter two are only set if the interface does not belong
93090792Sgshapiro		to the loopback net.
93190792Sgshapiro	Add macro {nrcpts} which holds the number of (validated) recipients.
93290792Sgshapiro	DialDelay option applies only to mailers with flag 'Z'.  Patch from
93390792Sgshapiro		Juergen Georgi of RUS University of Stuttgart.
93490792Sgshapiro	New Timeout.lhlo,auth,starttls options to limit the time waiting for
93590792Sgshapiro		an answer to the LMTP LHLO, SMTP AUTH or STARTTLS command.
93690792Sgshapiro	New Timeout.aconnect option to limit the overall waiting time for
93790792Sgshapiro		all connections for a single delivery attempt to succeed.
93890792Sgshapiro	Limit the rate recipients in the SMTP envelope are accepted once
93990792Sgshapiro		a threshold number of recipients has been rejected (option
94090792Sgshapiro		BadRcptThrottle).  From Gregory A Lundberg of the WU-FTPD
94190792Sgshapiro		Development Group.
94290792Sgshapiro	New option DelayLA to delay connections if the load averages
94390792Sgshapiro		exceeds the specified value.  The default of 0 does not
94490792Sgshapiro		change the previous behavior.  A value greater than 0
94590792Sgshapiro		will cause sendmail to sleep for one second on most
94690792Sgshapiro		SMTP commands and before accepting connections if that
94790792Sgshapiro		load average is exceeded.
94890792Sgshapiro	Use a dynamic (instead of fixed-size) buffer for the list of
94990792Sgshapiro		recipients that are sent during a connection to a mailer.
95090792Sgshapiro		This also introduces a new mailer field 'r' which defines
95190792Sgshapiro		the maximum number of recipients (defaults to 100).
95290792Sgshapiro		Based on patch by Motonori Nakamura of Kyoto University.
95390792Sgshapiro	Add new F=1 mailer flag to disable sending of null characters ('\0').
95490792Sgshapiro	Add new F=2 mailer flag to disable use of ESMTP, using SMTP instead.
95590792Sgshapiro	The deprecated [TCP] builtin mailer pathname (P=) is gone.  Use [IPC]
95690792Sgshapiro		instead.
95790792Sgshapiro	IPC is no longer available as first mailer argument (A=) for [IPC]
95890792Sgshapiro		builtin mailer pathnames.  Use TCP instead.
95990792Sgshapiro	PH map code updated to use the new libphclient API instead of the
96090792Sgshapiro		old libqiapi library.  Contributed by Mark Roth of the
96190792Sgshapiro		University of Illinois at Urbana-Champaign.
96290792Sgshapiro	New option DirectSubmissionModifiers to define {daemon_flags}
96390792Sgshapiro		for direct (command line) submissions.
96490792Sgshapiro	New M=O modifier for DaemonPortOptions to ignore the socket in
96590792Sgshapiro		case of failures.  Based on patch by Jun-ichiro itojun
96690792Sgshapiro		Hagino of the KAME Project.
96790792Sgshapiro	Add Disposition-Notification-To: (RFC 2298) to the list of headers
96890792Sgshapiro		whose content is rewritten similar to Reply-To:.
96990792Sgshapiro		Proposed by Andrzej Filip.
97090792Sgshapiro	Use STARTTLS/AUTH=server/client for logging incoming/outgoing
97190792Sgshapiro		STARTTLS/AUTH connections; log incoming connections at level
97290792Sgshapiro		9 or higher.  Use AUTH/STARTTLS instead of SASL/TLS for SMTP
97390792Sgshapiro		AUTH/STARTTLS related logfile entries.
97490792Sgshapiro	Convert unprintable characters (and backslash) into octal or C format
97590792Sgshapiro		before logging.
97690792Sgshapiro	Log recipients if no message is transferred but QUIT/RSET is given
97790792Sgshapiro		(at LogLevel 9/10 or higher).
97890792Sgshapiro	Log discarded recipients at LogLevel 10 or higher.
97990792Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" for connections
98090792Sgshapiro		in which most commands are rejected due to check_relay or
98190792Sgshapiro		TCP Wrappers if the host tries one of those commands anyway.
98290792Sgshapiro	Change logging format for cloned envelopes to be similar to that for
98390792Sgshapiro		DSNs ("old id: new id: clone").  Suggested by Ulrich Windl
98490792Sgshapiro		of the Universitat Regensburg.
98590792Sgshapiro	Added libsm, a C library of general purpose abstractions including
98690792Sgshapiro		assertions, tracing and debugging with named debug categories,
98790792Sgshapiro		exception handling, malloc debugging, resource pools,
98890792Sgshapiro		portability abstractions, and an extensible buffered I/O
98990792Sgshapiro		package.  It will at some point replace libsmutil.
99090792Sgshapiro		See libsm/index.html for details.
99190792Sgshapiro	Fixed most memory leaks in sendmail which were previously taken
99290792Sgshapiro		care of by fork() and exit().
99390792Sgshapiro	Use new sm_io*() functions in place of stdio calls.  Allows for
99490792Sgshapiro		more consistent portablity amongst different platforms
99590792Sgshapiro		new and old (from new libsm).
99690792Sgshapiro	Common I/O pkg means just one buffering method needed instead of two
99790792Sgshapiro		('bf_portable' and 'bf_torek' now just 'bf').
99890792Sgshapiro	Sfio no longer needed as SASL/TLS code uses sm_io*() API's.
99990792Sgshapiro	New possible value 'interactive' for SuperSafe which can be used
100090792Sgshapiro		together with DeliveryMode=interactive is to avoid some disk
100190792Sgshapiro		synchronizations calls.
100290792Sgshapiro	Add per-recipient status information to mailq -v output.
100390792Sgshapiro	T_ANY queries are no longer used by sendmail.
100490792Sgshapiro	When compiling with "gcc -O -Wall" specify "-DSM_OMIT_BOGUS_WARNINGS"
100590792Sgshapiro		too (see include/sm/cdefs.h for more info).
100690792Sgshapiro	sendmail -d now has general support for named debug categories.
100790792Sgshapiro		See libsm/debug.html and section 3.4 of doc/op/op.me
100890792Sgshapiro		for details.
100990792Sgshapiro	Eliminate the "postmaster warning" DSNs on address parsing errors
101090792Sgshapiro		such as unbalanced angle brackets or parentheses.  The DSNs
101190792Sgshapiro		generated by this condition were illegal (not RFC conform).
101290792Sgshapiro		Problem noted by Ulrich Windl of the Universitaet Regensburg.
101390792Sgshapiro	Do not issue a DSN if the ruleset localaddr resolves to the $#error
101490792Sgshapiro		mailer and the recipient has hence been rejected during the
101590792Sgshapiro		SMTP dialogue.  Problem reported by Larry Greenfield of CMU.
101690792Sgshapiro	Deal with a case of multiple deliveries on misconfigured systems
101790792Sgshapiro		that do not have postmaster defined.  If an email was sent
101890792Sgshapiro		from an address to which a DSN cannot be returned and
101990792Sgshapiro		in which at least one recipient address is non-deliverable,
102090792Sgshapiro		then that email had been delivered in each queue run.
102190792Sgshapiro		Problem reported by Matteo HCE Valsasna of Universita
102290792Sgshapiro		degli Studi dell'Insubria.
102390792Sgshapiro	The compilation options SMTP, DAEMON, and QUEUE have been removed,
102490792Sgshapiro		i.e., the corresponding code is always compiled in now.
102590792Sgshapiro	Log the command line in daemon/queue-run mode at LogLevel 10 and
102690792Sgshapiro		higher.  Suggested by Robert Harker of Harker Systems.
102790792Sgshapiro	New ResolverOptions setting: WorkAroundBrokenAAAA.  When
102890792Sgshapiro		attempting to canonify a hostname, some broken nameservers
102990792Sgshapiro		will return SERVFAIL (a temporary failure) on T_AAAA (IPv6)
103090792Sgshapiro		lookups.  If you want to excuse this behavior, use this new
103190792Sgshapiro		flag.  Suggested by Chris Foote of SE Network Access and
103290792Sgshapiro		Mark Roth of the University of Illinois at
103390792Sgshapiro		Urbana-Champaign.
103490792Sgshapiro	Free the memory allocated by getipnodeby{addr,name}().  Problem
103590792Sgshapiro		noted by Joy Latten of IBM.
103690792Sgshapiro	ConnectionRateThrottle limits the number of connections per second
103790792Sgshapiro		to each daemon individually, not the overall number of
103890792Sgshapiro		connections.
103990792Sgshapiro	Specifying only "ldap:" as an AliasFile specification will force
104090792Sgshapiro		sendmail to use a default alias schema as outlined in the
104190792Sgshapiro		``USING LDAP FOR ALIASES, MAPS, and CLASSES'' section of
104290792Sgshapiro		cf/README.
104390792Sgshapiro	Add a new syntax for the 'F' (file class) sendmail.cf command.  If
104490792Sgshapiro		the first character after the class name is not a '/' or a
104590792Sgshapiro		'|' and it contains an '@' (e.g., F{X}key@class:spec), the
104690792Sgshapiro		rest of the line will be parsed as a map lookup.  This
104790792Sgshapiro		allows classes to be filled via a map lookup.  See op.me
104890792Sgshapiro		for more syntax information.  Specifically, this can be
104990792Sgshapiro		used for commands such as VIRTUSER_DOMAIN_FILE() to read
105090792Sgshapiro		the list of domains via LDAP (see the ``USING LDAP FOR
105190792Sgshapiro		ALIASES, MAPS, and CLASSES'' section of cf/README for an
105290792Sgshapiro		example).
105390792Sgshapiro	The new macro ${sendmailMTACluster} determines the LDAP cluster for
105490792Sgshapiro		the default schema used in the above two items.
105590792Sgshapiro	Unless DontBlameSendmail=RunProgramInUnsafeDirPath is set, log a
105690792Sgshapiro		warning if a program being run from a mailer or file class
105790792Sgshapiro		(e.g., F|/path/to/prog) is in an unsafe directory path.
105890792Sgshapiro	Unless DontBlameSendmail=RunWritableProgram is set, log a warning
105990792Sgshapiro		if a program being run from a mailer or file class
106090792Sgshapiro		(e.g., F|/path/to/prog) is group or world writable.
106190792Sgshapiro	Loopback interfaces (e.g., "lo0") are now probed for class {w}
106290792Sgshapiro		hostnames.  Setting DontProbeInterfaces to "loopback"
106390792Sgshapiro		(without quotes) will disable this and return to the
106490792Sgshapiro		pre-8.12 behavior of only probing non-loopback interfaces.
106590792Sgshapiro		Suggested by Bryan Stansell of GNAC.
106690792Sgshapiro	In accordance with RFC 2821 section 4.1.4, accept multiple
106790792Sgshapiro		HELO/EHLO commands.
106890792Sgshapiro	Multiple ClientPortOptions settings are now allowed, one for each
106990792Sgshapiro		possible protocol family which may be used for outgoing
107090792Sgshapiro		connections.  Restrictions placed on one family only affect
107190792Sgshapiro		outgoing connections on that particular family.  Because of
107290792Sgshapiro		this change, the ${client_flags} macro is not set until the
107390792Sgshapiro		connection is established.  Based on patch from Motonori
107490792Sgshapiro		Nakamura of Kyoto University.
107590792Sgshapiro	PrivacyOptions=restrictexpand instructs sendmail to drop privileges
107690792Sgshapiro		when the -bv option is given by users who are neither root
107790792Sgshapiro		nor the TrustedUser so users can not read private aliases,
107890792Sgshapiro		forwards, or :include: files.  It also will override the -v
107990792Sgshapiro		(verbose) command line option.
108090792Sgshapiro	If the M=b modifier is set in DaemonPortOptions and the interface
108190792Sgshapiro		address can't be used for the outgoing connection, fall
108290792Sgshapiro		back to the settings in ClientPortOptions (if set).
108390792Sgshapiro		Problem noted by John Beck of Sun Microsystems.
108490792Sgshapiro	New named config file rule check_data for DATA command (input:
108590792Sgshapiro		number of recipients).  Based on patch from Mark Roth of
108690792Sgshapiro		the University of Illinois at Urbana-Champaign.
108790792Sgshapiro	Add support for ETRN queue selection per RFC 1985.  The queue group
108890792Sgshapiro		can be specified using the '#' option character.  For
108990792Sgshapiro		example, 'ETRN #queuegroup'.
109090792Sgshapiro	If an LDAP server times out or becomes unavailable, close the
109190792Sgshapiro		current connection and reopen to get to one of the fallback
109290792Sgshapiro		servers.  Patch from Paul Hilchey of the University of
109390792Sgshapiro		British Columbia.
109490792Sgshapiro	Make default error number on $#error messages 550 instead of 501
109590792Sgshapiro		because 501 is not allowed on all commands.
109690792Sgshapiro	The .cf file option UnsafeGroupWrites is deprecated, it should be
109790792Sgshapiro		replaced with the settings GroupWritableForwardFileSafe
109890792Sgshapiro		and GroupWritableIncludeFileSafe in DontBlameSendmail
109990792Sgshapiro		if required.
110090792Sgshapiro	The deprecated ldapx map class has been removed.  Use the ldap map
110190792Sgshapiro		class instead.
110290792Sgshapiro	Any IPv6 addresses used in configuration should be prefixed by the
110390792Sgshapiro		"IPv6:" tag to identify the address properly.  For example,
110490792Sgshapiro		if you want to add the IPv6 address [2002:c0a8:51d2::23f4] to
110590792Sgshapiro		class {w}, you would need to add [IPv6:2002:c0a8:51d2::23f4].
110690792Sgshapiro	Change the $&{opMode} macro if the operation mode changes while the
110790792Sgshapiro		MTA is running.  For example, during a queue run.
110890792Sgshapiro	Add "use_inet6" as a new ResolverOptions flag to control the
110990792Sgshapiro		RES_USE_INET6 resolver option.  Based on patch from Rick
111090792Sgshapiro		Nelson of IBM.
111190792Sgshapiro	The maximum number of commands before the MTA slows down when too
111290792Sgshapiro		many "light weight" commands have been received are now
111390792Sgshapiro		configurable during compile time.  The current values and
111490792Sgshapiro		their defaults are:
111590792Sgshapiro		    MAXBADCOMMANDS	25	unknown commands
111690792Sgshapiro		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
111790792Sgshapiro		    MAXHELOCOMMANDS	3	HELO, EHLO
111890792Sgshapiro		    MAXVRFYCOMMANDS	6	VRFY, EXPN
111990792Sgshapiro		    MAXETRNCOMMANDS	8	ETRN
112090792Sgshapiro		Setting a value to 0 disables the check.  Patch from Bryan
112190792Sgshapiro		Costales of SL3D, Inc.
112290792Sgshapiro	The header syntax H?${MyMacro}?X-My-Header: now not only checks if
112390792Sgshapiro		${MyMacro} is defined but also that it is not empty.
112490792Sgshapiro	Properly quote usernames with special characters if they are used
112590792Sgshapiro		in headers.  Problem noted by Kari Hurtta of the Finnish
112690792Sgshapiro		Meteorological Institute.
112790792Sgshapiro	Be sure to include the proper Final-Recipient: DSN header in bounce
112890792Sgshapiro		messages for messages for mailing list expanded addresses
112990792Sgshapiro		which are not delivered on the initial attempt.
113090792Sgshapiro	Do not treat errors as sticky when doing delivery via LMTP after
113190792Sgshapiro		the final dot has been sent to avoid affecting future
113290792Sgshapiro		deliveries.  Problem reported by Larry Greenfield of CMU.
113390792Sgshapiro	New compile time flag REQUIRES_DIR_FSYNC which turns on support for
113490792Sgshapiro		file systems that require to call fsync() for a directory
113590792Sgshapiro		if the meta-data in it has been changed.  This should be
113690792Sgshapiro		set at least for ReiserFS; it is enabled by default for Linux.
113790792Sgshapiro		See sendmail/README for further information.
113890792Sgshapiro	Avoid file locking deadlock when updating the statistics file if
113990792Sgshapiro		sendmail is signaled to terminate.  Problem noted by
114090792Sgshapiro		Christophe Wolfhugel of France Telecom.
114190792Sgshapiro	Set the $c macro (hop count) as it is being set instead of when the
114290792Sgshapiro		envelope is initialized.  Problem noted by Kari Hurtta of
114390792Sgshapiro		the Finnish Meteorological Institute.
114490792Sgshapiro	Properly count recipients for DeliveryMode defer and queue.  Fix
114590792Sgshapiro		from Peter A. Friend of EarthLink.
114690792Sgshapiro	Treat invalid hesiod lookups as permanent errors instead of
114790792Sgshapiro		temporary errors.  Problem noted by Russell McOrmond of
114890792Sgshapiro		flora.ca.
114990792Sgshapiro	Portability:
115090792Sgshapiro		Remove support for AIX 2, which supports only 14 character
115190792Sgshapiro			filenames and is outdated anyway.  Suggested by
115290792Sgshapiro			Valdis Kletnieks of Virginia Tech.
115390792Sgshapiro		Change several settings for Irix 6: remove confSBINDIR,
115490792Sgshapiro			i.e., use default /usr/sbin, change owner/group
115590792Sgshapiro			of man pages and user-executable to root/sys, set
115690792Sgshapiro			optimization limit to 0 (unlimited).  Based on patch
115790792Sgshapiro			from Ayamura Kikuchi, M.D, and proposal from Kari
115890792Sgshapiro			Hurtta of the Finnish Meteorological Institute.
115990792Sgshapiro		Do not assume LDAP support is installed by default under
116090792Sgshapiro			Solaris 8 and later.
116190792Sgshapiro		Add support for OpenUNIX.
116290792Sgshapiro	CONFIG: Increment version number of config file to 10.
116390792Sgshapiro	CONFIG: Add an install target and a README file in cf/cf.
116490792Sgshapiro	CONFIG: Don't accept addresses of the form a@b@, a@b@c, a@[b]c, etc.
116590792Sgshapiro	CONFIG: Reject empty recipient addresses (in check_rcpt).
116690792Sgshapiro	CONFIG: The access map uses an option of -T<TMPF> to deal with
116790792Sgshapiro		temporary lookup failures.
116890792Sgshapiro	CONFIG: New value for access map: SKIP, which causes the default
116990792Sgshapiro		action to be taken by aborting the search for domain names
117090792Sgshapiro		or IP nets.
117190792Sgshapiro	CONFIG: check_rcpt can deal with TEMPFAIL for either recipient or
117290792Sgshapiro		relay address as long as the other part allows the email
117390792Sgshapiro		to get through.
117490792Sgshapiro	CONFIG: Entries for virtusertable can make use of a third parameter
117590792Sgshapiro		"%3" which contains "+detail" of a wildcard match, i.e., an
117690792Sgshapiro		entry like user+*@domain.  This allows handling of details by
117790792Sgshapiro		using %1%3 as the RHS.  Additionally, a "+" wildcard has been
117890792Sgshapiro		introduced to match only non-empty details of addresses.
117990792Sgshapiro	CONFIG: Numbers for rulesets used by MAILERs have been removed
118090792Sgshapiro		and hence there is no required order within the MAILER
118190792Sgshapiro		section anymore except for MAILER(`uucp') which must come
118290792Sgshapiro		after MAILER(`smtp') if uucp-dom and uucp-uudom are used.
118390792Sgshapiro	CONFIG: Hosts listed in the generics domain class {G}
118490792Sgshapiro		(GENERICS_DOMAIN() and GENERICS_DOMAIN_FILE()) are treated
118590792Sgshapiro		as canonical.  Suggested by Per Hedeland of Ericsson.
118690792Sgshapiro	CONFIG: If FEATURE(`delay_checks') is used, make sure that a lookup
118790792Sgshapiro		in the access map which returns OK or RELAY actually
118890792Sgshapiro		terminates check_* ruleset checking.
118990792Sgshapiro	CONFIG: New tag TLS_Rcpt: for access map to be used by ruleset
119090792Sgshapiro		tls_rcpt, see cf/README for details.
119190792Sgshapiro	CONFIG: Change format of Received: header line which reveals whether
119290792Sgshapiro		STARTTLS has been used to "(version=${tls_version}
119390792Sgshapiro		cipher=${cipher} bits=${cipher_bits} verify=${verify})".
119490792Sgshapiro	CONFIG: Use "Spam:" as tag for lookups for FEATURE(`delay_checks')
119590792Sgshapiro		options friends/haters instead of "To:" and enable
119690792Sgshapiro		specification of whole domains instead of just users.
119790792Sgshapiro		Notice: this change is not backward compatible.
119890792Sgshapiro		Suggested by Chris Adams from HiWAAY Informations Services.
119990792Sgshapiro	CONFIG: Allow for local extensions for most new rulesets, see
120090792Sgshapiro		cf/README for details.
120190792Sgshapiro	CONFIG: New FEATURE(`lookupdotdomain') to lookup also .domain in
120290792Sgshapiro		the access map.  Proposed by Randall Winchester of the
120390792Sgshapiro		University of Maryland.
120490792Sgshapiro	CONFIG: New FEATURE(`local_no_masquerade') to avoid masquerading for
120590792Sgshapiro		the local mailer.  Proposed by Ingo Brueckl of Wupper Online.
120690792Sgshapiro	CONFIG: confRELAY_MSG/confREJECT_MSG can override the default
120790792Sgshapiro		messages for an unauthorized relaying attempt/for access
120890792Sgshapiro		map entries with RHS REJECT, respectively.
120990792Sgshapiro	CONFIG: FEATURE(`always_add_domain') takes an optional argument
121090792Sgshapiro		to specify another domain to be added instead of the local one.
121190792Sgshapiro		Suggested by Richard H. Gumpertz of Computer Problem
121290792Sgshapiro		Solving.
121390792Sgshapiro	CONFIG: confAUTH_OPTIONS allows setting of Cyrus-SASL specific
121490792Sgshapiro		options, see doc/op/op.me for details.
121590792Sgshapiro	CONFIG: confAUTH_MAX_BITS sets the maximum encryption strength for
121690792Sgshapiro		the security layer in SMTP AUTH (SASL).
121790792Sgshapiro	CONFIG: If Local_localaddr resolves to $#ok, localaddr is terminated
121890792Sgshapiro		immediately.
121990792Sgshapiro	CONFIG: FEATURE(`enhdnsbl') is an enhanced version of dnsbl which
122090792Sgshapiro		allows checking of the return values of the DNS lookups.
122190792Sgshapiro		See cf/README for details.
122290792Sgshapiro	CONFIG: FEATURE(`dnsbl') allows now to specify the behavior for
122390792Sgshapiro		temporary lookup failures.
122490792Sgshapiro	CONFIG: New option confDELIVER_BY_MIN to specify minimum time for
122590792Sgshapiro		Deliver By (RFC 2852) or to turn off the extension.
122690792Sgshapiro	CONFIG: New option confSHARED_MEMORY_KEY to set the key for shared
122790792Sgshapiro		memory use.
122890792Sgshapiro	CONFIG: New FEATURE(`compat_check') to look up a key consisting
122990792Sgshapiro		of the sender and the recipient address delimited by the
123090792Sgshapiro		string "<@>", e.g., sender@sdomain<@>recipient@rdomain,
123190792Sgshapiro		in the access map.  Based on code contributed by Mathias
123290792Sgshapiro		Koerber of Singapore Telecommunications Ltd.
123390792Sgshapiro	CONFIG: Add EXPOSED_USER_FILE() command to allow an exposed user
123490792Sgshapiro		file.  Suggested by John Beck of Sun Microsystems.
123590792Sgshapiro	CONFIG: Don't use MAILER-DAEMON for error messages delivered
123690792Sgshapiro		via LMTP.  Problem reported by Larry Greenfield of CMU.
123790792Sgshapiro	CONFIG: New FEATURE(`preserve_luser_host') to preserve the name of
123890792Sgshapiro		the recipient host if LUSER_RELAY is used.
123990792Sgshapiro	CONFIG: New FEATURE(`preserve_local_plus_detail') to preserve the
124090792Sgshapiro		+detail portion of the address when passing address to
124190792Sgshapiro		local delivery agent.  Disables alias and .forward +detail
124290792Sgshapiro		stripping.  Only use if LDA supports this.
124390792Sgshapiro	CONFIG: Removed deprecated FEATURE(`rbl').
124490792Sgshapiro	CONFIG: Add LDAPROUTE_EQUIVALENT() and LDAPROUTE_EQUIVALENT_FILE()
124590792Sgshapiro		which allow you to specify 'equivalent' hosts for LDAP
124690792Sgshapiro		Routing lookups.  Equivalent hostnames are replaced by the
124790792Sgshapiro		masquerade domain name for lookups.  See cf/README for
124890792Sgshapiro		additional details.
124990792Sgshapiro	CONFIG: Add a fourth argument to FEATURE(`ldap_routing') which
125090792Sgshapiro		instructs the rulesets on what to do if the address being
125190792Sgshapiro		looked up has +detail information.  See cf/README for more
125290792Sgshapiro		information.
125390792Sgshapiro	CONFIG: When chosing a new destination via LDAP Routing, also look
125490792Sgshapiro		up the new routing address/host in the mailertable.  Based
125590792Sgshapiro		on patch from Don Badrak of the United States Census Bureau.
125690792Sgshapiro	CONFIG: Do not reject the SMTP Mail from: command if LDAP Routing
125790792Sgshapiro		is in use and the bounce option is enabled.  Only reject
125890792Sgshapiro		recipients as user unknown.
125990792Sgshapiro	CONFIG: Provide LDAP support for the remaining database map
126090792Sgshapiro		features.  See the ``USING LDAP FOR ALIASES AND MAPS''
126190792Sgshapiro		section of cf/README for more information.
126290792Sgshapiro	CONFIG: Add confLDAP_CLUSTER which defines the ${sendmailMTACluster}
126390792Sgshapiro		macro used for LDAP searches as described above in ``USING
126490792Sgshapiro		LDAP FOR ALIASES, MAPS, AND CLASSES''.
126590792Sgshapiro	CONFIG: confCLIENT_OPTIONS has been replaced by CLIENT_OPTIONS(),
126690792Sgshapiro		which takes the options as argument and can be used
126790792Sgshapiro		multiple times; see cf/README for details.
126890792Sgshapiro	CONFIG: Add configuration macros for new options:
126990792Sgshapiro		confBAD_RCPT_THROTTLE		BadRcptThrottle
127090792Sgshapiro		confDIRECT_SUBMISSION_MODIFIERS	DirectSubmissionModifiers
127190792Sgshapiro		confMAILBOX_DATABASE		MailboxDatabase
127290792Sgshapiro		confMAX_QUEUE_CHILDREN		MaxQueueChildren
127390792Sgshapiro		confMAX_RUNNERS_PER_QUEUE	MaxRunnersPerQueue
127490792Sgshapiro		confNICE_QUEUE_RUN		NiceQueueRun
127590792Sgshapiro		confQUEUE_FILE_MODE		QueueFileMode
127690792Sgshapiro		confFAST_SPLIT			FastSplit
127790792Sgshapiro		confTLS_SRV_OPTIONS		TLSSrvOptions
127890792Sgshapiro		See above (and related documentation) for further information.
127990792Sgshapiro	CONFIG: Add configuration variables for new timeout options:
128090792Sgshapiro		confTO_ACONNECT		Timeout.aconnect
128190792Sgshapiro		confTO_AUTH		Timeout.auth
128290792Sgshapiro		confTO_LHLO		Timeout.lhlo
128390792Sgshapiro		confTO_STARTTLS		Timeout.starttls
128490792Sgshapiro	CONFIG: Add configuration macros for mail filter API:
128590792Sgshapiro		confINPUT_MAIL_FILTERS		InputMailFilters
128690792Sgshapiro		confMILTER_LOG_LEVEL		Milter.LogLevel
128790792Sgshapiro		confMILTER_MACROS_CONNECT	Milter.macros.connect
128890792Sgshapiro		confMILTER_MACROS_HELO		Milter.macros.helo
128990792Sgshapiro		confMILTER_MACROS_ENVFROM	Milter.macros.envfrom
129090792Sgshapiro		confMILTER_MACROS_ENVRCPT	Milter.macros.envrcpt
129190792Sgshapiro		Mail filters can be defined via INPUT_MAIL_FILTER() and
129290792Sgshapiro		MAIL_FILTER().  See libmilter/README, cf/README, and
129390792Sgshapiro		doc/op/op.me for details.
129490792Sgshapiro	CONFIG: Add support for accepting temporarily unresolvable domains.
129590792Sgshapiro		See cf/README for details.  Based on patch by Motonori
129690792Sgshapiro		Nakamura of Kyoto University.
129790792Sgshapiro	CONFIG: confDEQUOTE_OPTS can be used to specify options for the
129890792Sgshapiro		dequote map.
129990792Sgshapiro	CONFIG: New macro QUEUE_GROUP() to define queue groups.
130090792Sgshapiro	CONFIG: New FEATURE(`queuegroup') to select a queue group based
130190792Sgshapiro		on the full e-mail address or the domain of the recipient.
130290792Sgshapiro	CONFIG: Any IPv6 addresses used in configuration should be prefixed
130390792Sgshapiro		by the "IPv6:" tag to identify the address properly.  For
130490792Sgshapiro		example, if you want to use the IPv6 address
130590792Sgshapiro		2002:c0a8:51d2::23f4 in the access database, you would need
130690792Sgshapiro		to use IPv6:2002:c0a8:51d2::23f4 on the left hand side.
130790792Sgshapiro		This affects the access database as well as the
130890792Sgshapiro		relay-domains and local-host-names files.
130990792Sgshapiro	CONFIG: OSTYPE(aux) has been renamed to OSTYPE(a-ux).
131090792Sgshapiro	CONFIG: Avoid expansion of m4 keywords in SMART_HOST.
131190792Sgshapiro	CONFIG: Add MASQUERADE_EXCEPTION_FILE() for reading masquerading
131290792Sgshapiro		exceptions from a file.  Suggested by Trey Breckenridge of
131390792Sgshapiro		Mississippi State University.
131490792Sgshapiro	CONFIG: Add LOCAL_USER_FILE() for reading local users
131590792Sgshapiro		(LOCAL_USER() -- $={L}) entries from a file.
131690792Sgshapiro	CONTRIB: dnsblaccess.m4 is a further enhanced version of enhdnsbl.m4
131790792Sgshapiro		which allows to lookup error codes in the access map.
131890792Sgshapiro		Contributed by Neil Rickert of Northern Illinois University.
131990792Sgshapiro	DEVTOOLS: Add new options for installation of include and library
132090792Sgshapiro		files: confINCGRP, confINCMODE, confINCOWN, confLIBGRP,
132190792Sgshapiro		confLIBMODE, confLIBOWN.
132290792Sgshapiro	DEVTOOLS: Add new option confDONT_INSTALL_CATMAN to turn off
132390792Sgshapiro		installation of the the formatted man pages on operating
132490792Sgshapiro		systems which don't include cat directories.
132590792Sgshapiro	EDITMAP: New program for editing maps as supplement to makemap.
132690792Sgshapiro	MAIL.LOCAL: Mail.local now uses the libsm mbdb package to look up
132790792Sgshapiro		local mail recipients.  New option -D mbdb specifies the
132890792Sgshapiro		mailbox database type.
132990792Sgshapiro	MAIL.LOCAL: New option "-h filename" which instructs mail.local to
133090792Sgshapiro		deliver the mail to the named file in the user's home
133190792Sgshapiro		directory instead of the system mail spool area.  Based on
133290792Sgshapiro		patch from Doug Hardie of the Los Angeles Free-Net.
133390792Sgshapiro	MAILSTATS: New command line option -P which acts the same as -p but
133490792Sgshapiro		doesn't truncate the statistics file.
133590792Sgshapiro	MAKEMAP: Add new option -t to specify a different delimiter
133690792Sgshapiro		instead of white space.
133790792Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
133890792Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
133990792Sgshapiro		Meteorological Institute.
134090792Sgshapiro	SMRSH: Use the vendor supplied directory on FreeBSD 3.3 and later.
134190792Sgshapiro	VACATION: Change Auto-Submitted: header value from auto-generated to
134290792Sgshapiro		auto-replied.  From Kenneth Murchison of Oceana Matrix Ltd.
134390792Sgshapiro	VACATION: New option -d to send error/debug messages to stdout
134490792Sgshapiro		instead of syslog.
134590792Sgshapiro	VACATION: New option -U which prevents the attempt to lookup login
134690792Sgshapiro		in the password file.  The -f and -m options must be used
134790792Sgshapiro		to specify the database and message file since there is no
134890792Sgshapiro		home directory for the default settings for these options.
134990792Sgshapiro	VACATION: Vacation now uses the libsm mbdb package to look up
135090792Sgshapiro		local mail recipients; it reads the MailboxDatabase option
135190792Sgshapiro		from the sendmail.cf file.  New option -C cffile which
135290792Sgshapiro		specifies the path of the sendmail.cf file.
135390792Sgshapiro	New Directories:
135490792Sgshapiro		libmilter/docs
135590792Sgshapiro	New Files:
135690792Sgshapiro		cf/cf/README
135790792Sgshapiro		cf/cf/submit.cf
135890792Sgshapiro		cf/cf/submit.mc
135990792Sgshapiro		cf/feature/authinfo.m4
136090792Sgshapiro		cf/feature/compat_check.m4
136190792Sgshapiro		cf/feature/enhdnsbl.m4
136290792Sgshapiro		cf/feature/msp.m4
136390792Sgshapiro		cf/feature/local_no_masquerade.m4
136490792Sgshapiro		cf/feature/lookupdotdomain.m4
136590792Sgshapiro		cf/feature/preserve_luser_host.m4
136690792Sgshapiro		cf/feature/preserve_local_plus_detail.m4
136790792Sgshapiro		cf/feature/queuegroup.m4
136890792Sgshapiro		cf/sendmail.schema
136990792Sgshapiro		contrib/dnsblaccess.m4
137090792Sgshapiro		devtools/M4/UNIX/sm-test.m4
137190792Sgshapiro		devtools/OS/OpenUNIX.5.i386
137290792Sgshapiro		editmap/*
137390792Sgshapiro		include/sm/*
137490792Sgshapiro		libsm/*
137590792Sgshapiro		libsmutil/cf.c
137690792Sgshapiro		libsmutil/err.c
137790792Sgshapiro		sendmail/SECURITY
137890792Sgshapiro		sendmail/TUNING
137990792Sgshapiro		sendmail/bf.c
138090792Sgshapiro		sendmail/bf.h
138190792Sgshapiro		sendmail/sasl.c
138290792Sgshapiro		sendmail/sm_resolve.c
138390792Sgshapiro		sendmail/sm_resolve.h
138490792Sgshapiro		sendmail/tls.c
138590792Sgshapiro	Deleted Files:
138690792Sgshapiro		cf/feature/rbl.m4
138790792Sgshapiro		cf/ostype/aix2.m4
138890792Sgshapiro		devtools/OS/AIX.2
138990792Sgshapiro		include/sendmail/cdefs.h
139090792Sgshapiro		include/sendmail/errstring.h
139190792Sgshapiro		include/sendmail/useful.h
139290792Sgshapiro		libsmutil/errstring.c
139390792Sgshapiro		sendmail/bf_portable.c
139490792Sgshapiro		sendmail/bf_portable.h
139590792Sgshapiro		sendmail/bf_torek.c
139690792Sgshapiro		sendmail/bf_torek.h
139790792Sgshapiro		sendmail/clock.c
139890792Sgshapiro	Renamed Files:
139990792Sgshapiro		cf/cf/generic-solaris2.mc => cf/cf/generic-solaris.mc
140090792Sgshapiro		cf/cf/generic-solaris2.cf => cf/cf/generic-solaris.cf
140190792Sgshapiro		cf/ostype/aux.m4 => cf/ostype/a-ux.m4
140290792Sgshapiro
140382017Sgshapiro8.11.6/8.11.6	2001/08/20
140482017Sgshapiro	SECURITY: Fix a possible memory access violation when specifying
140582017Sgshapiro		out-of-bounds debug parameters.  Problem detected by
140682017Sgshapiro		Cade Cairns of SecurityFocus.
140782017Sgshapiro	Avoid leaking recipient information in unrelated DSNs.  This could
140882017Sgshapiro		happen if a connection is aborted, several mails had been
140982017Sgshapiro		scheduled for delivery via that connection, and the timeout
141082017Sgshapiro		is reached such that several DSNs are sent next.  Problem
141182017Sgshapiro		noted by Dileepan Moorkanat of Hewlett-Packard.
141282017Sgshapiro	Fix a possible segmentation violation when specifying too many
141382017Sgshapiro		wildcard operators in a rule.  Problem detected by
141482017Sgshapiro		Werner Wiethege.
141582017Sgshapiro	Avoid a segmentation fault on non-matching Hesiod lookups.  Problem
141682017Sgshapiro		noted by Russell McOrmond of flora.ca
141782017Sgshapiro
141880785Sgshapiro8.11.5/8.11.5	2001/07/31
141980785Sgshapiro	Fix a possible race condition when sending a HUP signal to restart
142080785Sgshapiro		the daemon.  This could terminate the current process without
142180785Sgshapiro		starting a new daemon.  Problem reported by Wolfgang Breyha
142280785Sgshapiro		of SE Netway Communications.
142380785Sgshapiro	Only apply MaxHeadersLength when receiving a message via SMTP or
142480785Sgshapiro		the command line.  Problem noted by Andrey J. Melnikoff.
142580785Sgshapiro	When finding the system's local hostname on an IPv6-enabled system
142680785Sgshapiro		which doesn't have any IPv6 interface addresses, fall back
142780785Sgshapiro		to looking up only IPv4 addresses.  Problem noted by Tim
142880785Sgshapiro		Bosserman of EarthLink.
142980785Sgshapiro	When commands were being rejected due to check_relay or TCP
143080785Sgshapiro		Wrappers, the ETRN command was not giving a response.
143180785Sgshapiro	Incoming IPv4 connections on a Family=inet6 daemon (using
143280785Sgshapiro		IPv4-mapped addresses) were incorrectly labeled as "may be
143380785Sgshapiro		forged".  Problem noted by Per Steinar Iversen of Oslo
143480785Sgshapiro		University College.
143580785Sgshapiro	Shutdown address test mode cleanly on SIGTERM.  Problem noted by
143680785Sgshapiro		Greg King of the OAO Corporation.
143780785Sgshapiro	Restore the original real uid (changed in main() to prevent
143880785Sgshapiro		out of band signals) before invoking a delivery agent.
143980785Sgshapiro		Some delivery agents use this for the "From " envelope
144080785Sgshapiro		"header".  Problem noted by Leslie Carroll of the
144180785Sgshapiro		University at Albany.
144280785Sgshapiro	Mark closed file descriptors properly to avoid reuse. Problem
144380785Sgshapiro		noted by Jeff Bronson of J.D. Bronson, Inc.
144480785Sgshapiro	Setting Timeout options on the command line will also override
144580785Sgshapiro		their sub-suboptions in the .cf file, e.g., -O
144680785Sgshapiro		Timeout.queuereturn=2d will set all queuereturn timeouts
144780785Sgshapiro		to 2 days.  Problem noted by Roger B.A. Klorese.
144880785Sgshapiro	Portability:
144980785Sgshapiro		BSD/OS has a broken setreuid() implementation.  Problem
145080785Sgshapiro			noted by Vernon Schryver of Rhyolite Software.
145180785Sgshapiro		BSD/OS has /dev/urandom(4) (as of version 4.1/199910 ?).
145280785Sgshapiro			Noted by Vernon Schryver of Rhyolite Software.
145380785Sgshapiro		BSD/OS has fchown(2).  Noted by Dave Yadallee of Netline
145480785Sgshapiro			2000 Internet Solutions Inc.
145580785Sgshapiro		Solaris 2.X and later have strerror(3).  From Sebastian
145680785Sgshapiro			Hagedorn of Cologne University.
145780785Sgshapiro	CONFIG: Fix parsing for IPv6 domain literals in addresses
145880785Sgshapiro		(user@[IPv6:address]).  Problem noted by Liyuan Zhou.
145980785Sgshapiro
146077349Sgshapiro8.11.4/8.11.4	2001/05/28
146177349Sgshapiro	Clean up signal handling routines to reduce the chances of heap
146277349Sgshapiro		corruption and other potential race conditions.
146377349Sgshapiro		Terminating and restarting the daemon may not be
146477349Sgshapiro		instantaneous due to this change.  Also, non-root users can
146577349Sgshapiro		no longer send out-of-band signals.  Problem reported by
146677349Sgshapiro		Michal Zalewski of BindView.
146777349Sgshapiro	If LogLevel is greater than 9 and SASL fails to negotiate an
146877349Sgshapiro		encryption layer, avoid core dump logging the encryption
146977349Sgshapiro		strength.  Problem noted by Miroslav Zubcic of Crol.
147077349Sgshapiro	If a server offers "AUTH=" and "AUTH " and the list of mechanisms is
147177349Sgshapiro		different in those two lines, sendmail might not have
147277349Sgshapiro		recognized (and used) all of the offered mechanisms.
147377349Sgshapiro	Fix an IP address lookup problem on Solaris 2.0 - 2.3.  Patch
147477349Sgshapiro		from Kenji Miyake.
147577349Sgshapiro	This time, really don't use the .. directory when expanding
147677349Sgshapiro		QueueDirectory wildcards.
147777349Sgshapiro	If a process is interrupted while closing a map, don't try to close
147877349Sgshapiro		the same map again while exiting.
147977349Sgshapiro	Allow local mailers (F=l) to contact remote hosts (e.g., via
148077349Sgshapiro		LMTP).  Problem noted by Norbert Klasen of the University
148177349Sgshapiro		of Tuebingen.
148277349Sgshapiro	If Timeout.QueueReturn was set to a value less the time it took
148377349Sgshapiro		to write a new queue file (e.g., 0 seconds), the bounce
148477349Sgshapiro		message would be lost.  Problem noted by Lorraine L Goff of
148577349Sgshapiro		Oklahoma State University.
148677349Sgshapiro	Pass map argument vector into map rewriting engine for the regex
148777349Sgshapiro		and prog map types.  Problem noted by Stephen Gildea of
148877349Sgshapiro		InTouch Systems, Inc.
148977349Sgshapiro	When closing an LDAP map due to a temporary error, close all of the
149077349Sgshapiro		other LDAP maps which share the original map's connection
149177349Sgshapiro		to the LDAP server.  Patch from Victor Duchovni of
149277349Sgshapiro		Morgan Stanley.
149377349Sgshapiro	To detect changes of NDBM aliases files check the timestamp of the
149477349Sgshapiro		.pag file instead of the .dir file.  Problem noted by Neil
149577349Sgshapiro		Rickert of Northern Illinois University.
149677349Sgshapiro	Don't treat temporary hesiod lookup failures as permanent.  Patch
149777349Sgshapiro		from Werner Wiethege.
149877349Sgshapiro	If ClientPortOptions is set, make sure to create the outgoing socket
149977349Sgshapiro		with the family set in that option.  Patch from Sean Farley.
150077349Sgshapiro	Avoid a segmentation fault trying to dereference a NULL pointer
150177349Sgshapiro		when logging a MaxHopCount exceeded error with an empty
150277349Sgshapiro		recipient list.  Problem noted by Chris Adams of HiWAAY
150377349Sgshapiro		Internet Services.
150477349Sgshapiro	Fix DSN for "Too many hops" bounces.  Problem noticed by Ulrich
150577349Sgshapiro		Windl of the Universitaet Regensburg.
150677349Sgshapiro	Fix DSN for "mail loops back to me" bounces.  Problem noticed by
150777349Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
150877349Sgshapiro	Portability:
150977349Sgshapiro		OpenBSD has a broken setreuid() implementation.
151077349Sgshapiro	CONFIG: Undo change from 8.11.1: change 501 SMTP reply code back
151177349Sgshapiro		to 553 since it is allowed by DRUMS.
151277349Sgshapiro	CONFIG: Add OSTYPE(freebsd4) for FreeBSD 4.X.
151377349Sgshapiro	DEVTOOLS: install.sh did not properly handle paths in the source
151477349Sgshapiro		file name argument.  Noted by Kari Hurtta of the Finnish
151577349Sgshapiro		Meteorological Institute.
151677349Sgshapiro	DEVTOOLS: Add FAST_PID_RECYCLE to compile time options for OpenBSD
151777349Sgshapiro		since it generates random process ids.
151877349Sgshapiro	PRALIASES: Add back adaptive algorithm to deal with different endings
151977349Sgshapiro		of entries in the database (with/without trailing '\0').
152077349Sgshapiro		Patch from John Beck of Sun Microsystems.
152177349Sgshapiro	New Files:
152277349Sgshapiro		cf/ostype/freebsd4.m4
152377349Sgshapiro
152473188Sgshapiro8.11.3/8.11.3	2001/02/27
152573188Sgshapiro	Prevent a segmentation fault when a bogus value was used in the
152673188Sgshapiro		LDAPDefaultSpec option's -r, -s, or -M flags and if a bogus
152773188Sgshapiro		option was used.  Problem noted by Allan E Johannesen of
152873188Sgshapiro		Worcester Polytechnic Institute.
152973188Sgshapiro	Prevent "token too long" message by shortening {currHeader} which
153073188Sgshapiro		could be too long if the last copied character was a quote.
153173188Sgshapiro		Problem detected by Jan Krueger of digitalanswers
153273188Sgshapiro		communications consulting gmbh.
153373188Sgshapiro	Additional IPv6 check for unspecified addresses.  Patch from
153473188Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
153573188Sgshapiro	Do not ignore the ClientPortOptions setting if DaemonPortOptions
153673188Sgshapiro		Modifier=b (bind to same interface) is set and the
153773188Sgshapiro		connection came in from the command line.
153873188Sgshapiro	Do not bind to the loopback address if DaemonPortOptions
153973188Sgshapiro		Modifier=b (bind to same interface) is set.  Patch from
154073188Sgshapiro		John Beck of Sun Microsystems.
154173188Sgshapiro	Properly deal with open failures on non-optional maps used in
154273188Sgshapiro		check_* rulesets by returning a temporary failure.
154373188Sgshapiro	Buffered file I/O files were not being properly fsync'ed to disk
154473188Sgshapiro		when they were committed.
154573188Sgshapiro	Properly encode '=' for the AUTH= parameter of the MAIL command.
154673188Sgshapiro		Problem noted by Hadmut Danisch.
154773188Sgshapiro	Under certain circumstances the macro {server_name} could be set
154873188Sgshapiro		to the wrong hostname (of a previous connection), which may
154973188Sgshapiro		cause some rulesets to return wrong results.  This would
155073188Sgshapiro		usually cause mail to be queued up and delivered later on.
155173188Sgshapiro	Ignore F=z (LMTP) mailer flag if $u is given in the mailer A=
155273188Sgshapiro		equate.  Problem noted by Motonori Nakamura of Kyoto
155373188Sgshapiro		University.
155473188Sgshapiro	Work around broken accept() implementations which only partially
155573188Sgshapiro		fill in the peer address if the socket is closed before
155673188Sgshapiro		accept() completes.
155773188Sgshapiro	Return an SMTP "421" temporary failure if the data file can't be
155873188Sgshapiro		opened where the "354" reply would normally be given.
155973188Sgshapiro	Prevent a CPU loop in trying to expand a macro which doesn't exist
156073188Sgshapiro		in a queue run.  Problem noted by Gordon Lack of Glaxo
156173188Sgshapiro		Wellcome.
156273188Sgshapiro	If delivering via a program and that program exits with EX_TEMPFAIL,
156373188Sgshapiro		note that fact for the mailq display instead of just showing
156473188Sgshapiro		"Deferred".  Problem noted by Motonori Nakamura of Kyoto
156573188Sgshapiro		University.
156673188Sgshapiro	If doing canonification via /etc/hosts, try both the fully
156773188Sgshapiro		qualified hostname as well as the first portion of the
156873188Sgshapiro		hostname.  Problem noted by David Bremner of the
156973188Sgshapiro		University of New Brunswick.
157073188Sgshapiro	Portability:
157173188Sgshapiro		Fix a compilation problem for mail.local and rmail if SFIO
157273188Sgshapiro			is in use.  Problem noted by Auteria Wally
157373188Sgshapiro			Winzer Jr. of Champion Nutrition.
157473188Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
157573188Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
157673188Sgshapiro		OpenBSD 2.7 and higher has srandomdev(3).  OpenBSD 2.8 and
157773188Sgshapiro			higher has BSDI-style login classes.  Patch from
157873188Sgshapiro			Todd C.  Miller of Courtesan Consulting.
157973188Sgshapiro		Unixware 7.1.1 doesn't allow h_errno to be set directly if
158073188Sgshapiro			sendmail is being compiled with -kthread.  Problem
158173188Sgshapiro			noted by Orion Poplawski of CQG, Inc.
158273188Sgshapiro	CONTRIB: buildvirtuser: Substitute current domain for $DOMAIN and
158373188Sgshapiro		current left hand side for $LHS in virtuser files.
158473188Sgshapiro	DEVTOOLS: Do not pass make targets to recursive Build invocations.
158573188Sgshapiro		Problem noted by Jeff Bronson of J.D. Bronson, Inc.
158673188Sgshapiro	MAIL.LOCAL: In LMTP mode, do not return errors regarding problems
158773188Sgshapiro		storing the temporary message file until after the remote
158873188Sgshapiro		side has sent the final DATA termination dot.  Problem
158973188Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic
159073188Sgshapiro		Institute.
159173188Sgshapiro	MAIL.LOCAL: If LMTP mode is set, give a temporary error if users
159273188Sgshapiro		are also specified on the command line.  Patch from
159373188Sgshapiro		Motonori Nakamura of Kyoto University.
159473188Sgshapiro	PRALIASES: Skip over AliasFile specifications which aren't based on
159573188Sgshapiro		database files (i.e., only show dbm, hash, and btree).
159673188Sgshapiro	Renamed Files:
159773188Sgshapiro		devtools/OS/OSF1.V5.0 => devtools/OS/OSF1.V5.x
159873188Sgshapiro
159971345Sgshapiro8.11.2/8.11.2	2000/12/29
160071345Sgshapiro	Prevent a segmentation fault when trying to set a class in
160171345Sgshapiro		address test mode due to a negative array index.  Audit
160271345Sgshapiro		other array indexing.  This bug is not believed to be
160371345Sgshapiro		exploitable.  Noted by Michal Zalewski of the "Internet for
160471345Sgshapiro		Schools" project (IdS).
160571345Sgshapiro	Add an FFR (for future release) to drop privileges when using
160671345Sgshapiro		address test mode.  This will be turned on in 8.12. It can
160771345Sgshapiro		be enabled by compiling with:
160871345Sgshapiro		APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TESTMODE_DROP_PRIVS')
160971345Sgshapiro		in your devtools/Site/site.config.m4 file.  Suggested by
161071345Sgshapiro		Michal Zalewski of the "Internet for Schools" project (IdS).
161171345Sgshapiro	Fix potential problem with Cyrus-SASL security layer which may have
161271345Sgshapiro		caused I/O errors, especially for mechanism DIGEST-MD5.
161371345Sgshapiro	When QueueSortOrder was set to host, sendmail might not read
161471345Sgshapiro		enough of the queue file to determine the host, making the
161571345Sgshapiro		sort sub-optimal.  Problem noted by Jeff Earickson of
161671345Sgshapiro		Colby College.
161771345Sgshapiro	Don't issue DSNs for addresses which use the NOTIFY parameter (per
161871345Sgshapiro		RFC 1891) but don't have FAILURE as value.
161971345Sgshapiro	Initialize Cyrus-SASL library before the SMTP daemon is started.
162071345Sgshapiro		This implies that every change to SASL related files requires
162171345Sgshapiro		a restart of the daemon, e.g., Sendmail.conf, new SASL
162271345Sgshapiro		mechanisms (in form of shared libraries).
162371345Sgshapiro	Properly set the STARTTLS related macros during a queue run for
162471345Sgshapiro		a cached connection.  Bug reported by Michael Kellen of
162571345Sgshapiro		NxNetworks, Inc.
162671345Sgshapiro	Log the server name in relay= for ruleset tls_server instead of the
162771345Sgshapiro		client name.
162871345Sgshapiro	Include original length of bad field/header when reporting
162971345Sgshapiro		MaxMimeHeaderLength problems.  Requested by Ulrich Windl of
163071345Sgshapiro		the Universitat Regensburg.
163171345Sgshapiro	Fix delivery to set-user-ID files that are expanded from aliases in
163271345Sgshapiro		DeliveryMode queue.  Problem noted by Ric Anderson of the
163371345Sgshapiro		University of Arizona.
163471345Sgshapiro	Fix LDAP map -m (match only) flag.  Problem noted by Jeff Giuliano
163571345Sgshapiro		of Collective Technologies.
163671345Sgshapiro	Avoid using a negative argument for sleep() calls when delaying answers
163771345Sgshapiro		to EXPN/VRFY commands on systems which respond very slowly.
163871345Sgshapiro		Problem noted by Mikolaj J. Habryn of Optus Internet
163971345Sgshapiro		Engineering.
164071345Sgshapiro	Make sure the F=u flag is set in the default prog mailer
164171345Sgshapiro		definition.  Problem noted by Kari Hurtta of the Finnish
164271345Sgshapiro		Meteorological Institute.
164371345Sgshapiro	Fix IPv6 check for unspecified addresses.  Patch from
164471345Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
164571345Sgshapiro	Fix return values for IRIX nsd map.  From Kari Hurtta of the Finnish
164671345Sgshapiro		Meteorological Institute.
164771345Sgshapiro	Fix parsing of DaemonPortOptions and ClientPortOptions.  Read all
164871345Sgshapiro		of the parameters to find Family= setting before trying to
164971345Sgshapiro		interpret Addr= and Port=.  Problem noted by Valdis
165071345Sgshapiro		Kletnieks of Virginia Tech.
165171345Sgshapiro	When delivering to a file directly from an alias, do not call
165271345Sgshapiro		initgroups(); instead use the DefaultUser group information.
165371345Sgshapiro		Problem noted by Marc Schaefer of ALPHANET NF.
165471345Sgshapiro	RunAsUser now overrides the ownership of the control socket, if
165571345Sgshapiro		created.  Otherwise, sendmail can not remove it upon
165671345Sgshapiro		close.  Problem noted by Werner Wiethege.
165771345Sgshapiro	Fix ConnectionRateThrottle counting as the option is the number of
165871345Sgshapiro		overall connections, not the number of connections per
165971345Sgshapiro		socket.  A future version may change this to per socket
166071345Sgshapiro		counting.
166171345Sgshapiro	Portability:
166271345Sgshapiro		Clean up libsmdb so it functions properly on platforms
166371345Sgshapiro			where sizeof(u_int32_t) != sizeof(size_t).  Problem
166471345Sgshapiro			noted by Rein Tollevik of Basefarm AS.
166571345Sgshapiro		Fix man page formatting for compatibility with Solaris'
166671345Sgshapiro			whatis.  From Stephen Gildea of InTouch Systems, Inc.
166771345Sgshapiro		UnixWare 7 includes snprintf() support.  From Larry
166871345Sgshapiro			Rosenman.
166971345Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
167071345Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
167171345Sgshapiro		Avoid a typedef compile conflict with Berkeley DB 3.X and
167271345Sgshapiro			Solaris 2.5 or earlier.  Problem noted by Bob Hughes
167371345Sgshapiro			of Pacific Access.
167471345Sgshapiro		Add preliminary support for AIX 5.  Contributed by
167571345Sgshapiro			Valdis Kletnieks of Virginia Tech.
167671345Sgshapiro		Solaris 9 load average support from Andrew Tucker of Sun
167771345Sgshapiro			Microsystems.
167871345Sgshapiro	CONFIG: Reject addresses of the form a!b if FEATURE(`nouucp', `r')
167971345Sgshapiro		is used.  Problem noted by Phil Homewood of Asia Online,
168071345Sgshapiro		patch from Neil Rickert of Northern Illinois University.
168171345Sgshapiro	CONFIG: Change the default DNS based blacklist server for
168273188Sgshapiro		FEATURE(`dnsbl') to blackholes.mail-abuse.org.
168371345Sgshapiro	CONFIG: Deal correctly with the 'C' flag in {daemon_flags}, i.e.,
168471345Sgshapiro		implicitly assume canonical host names.
168571345Sgshapiro	CONFIG: Deal with "::" in IPv6 addresses for access_db.  Based on
168671345Sgshapiro		patch by Motonori Nakamura of Kyoto University.
168771345Sgshapiro	CONFIG: New OSTYPE(`aix5') contributed by Valdis Kletnieks of
168871345Sgshapiro		Virginia Tech.
168971345Sgshapiro	CONFIG: Pass the illegal header form <list:;> through untouched
169071345Sgshapiro		instead of making it worse.  Problem noted by Motonori
169171345Sgshapiro		Nakamura of Kyoto University.
169271345Sgshapiro	CONTRIB: Added buildvirtuser (see `perldoc contrib/buildvirtuser`).
169371345Sgshapiro	CONTRIB: qtool.pl: An empty queue is not an error.  Problem noted
169471345Sgshapiro		by Jan Krueger of digitalanswers communications consulting
169571345Sgshapiro		gmbh.
169671345Sgshapiro	CONTRIB: domainmap.m4: Handle domains with '-' in them.  From Mark
169771345Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
169871345Sgshapiro	DEVTOOLS: Change the internal devtools OS, REL, and ARCH m4
169971345Sgshapiro		variables into bldOS, bldREL, and bldARCH to prevent
170073188Sgshapiro		namespace collisions.  Problem noted by Motonori Nakamura
170171345Sgshapiro		of Kyoto University.
170271345Sgshapiro	RMAIL: Undo the 8.11.1 change to use -G when calling sendmail.  It
170371345Sgshapiro		causes some changes in behavior and may break rmail for
170471345Sgshapiro		installations where sendmail is actually a wrapper to
170571345Sgshapiro		another MTA.  The change will re-appear in a future
170671345Sgshapiro		version.
170771345Sgshapiro	SMRSH: Use the vendor supplied directory on HPUX 10.X, HPUX 11.X,
170871345Sgshapiro		and SunOS 5.8.  Requested by Jeff A. Earickson of Colby
170971345Sgshapiro		College and John Beck of Sun Microsystems.
171071345Sgshapiro	VACATION: Fix pattern matching for addresses to ignore.
171171345Sgshapiro	VACATION: Don't reply to addresses of the form owner-*
171271345Sgshapiro		or *-owner.
171371345Sgshapiro	New Files:
171471345Sgshapiro		cf/ostype/aix5.m4
171571345Sgshapiro		contrib/buildvirtuser
171671345Sgshapiro		devtools/OS/AIX.5.0
171771345Sgshapiro
171866494Sgshapiro8.11.1/8.11.1	2000/09/27
171966494Sgshapiro	Fix SMTP EXPN command output if the address expands to a single
172066494Sgshapiro		name.  Fix from John Beck of Sun Microsystems.
172166494Sgshapiro	Don't try STARTTLS in the client if the PRNG has not been properly
172266494Sgshapiro		seeded.  This problem only occurs on systems without
172366494Sgshapiro		/dev/urandom.  Problem detected by Jan Krueger of
172466494Sgshapiro		digitalanswers communications consulting gmbh and
172566494Sgshapiro		Neil Rickert of Northern Illinois University.
172666494Sgshapiro	Don't use the . and .. directories when expanding QueueDirectory
172766494Sgshapiro		wildcards.
172866494Sgshapiro	Do not try to cache LDAP connections across processes as a parent
172966494Sgshapiro		process may close the connection before the child process
173066494Sgshapiro		has completed.  Problem noted by Lai Yiu Fai of the Hong
173166494Sgshapiro		Kong University of Science and Technology and Wolfgang
173266494Sgshapiro		Hottgenroth of UUNET.
173366494Sgshapiro	Use Timeout.fileopen to limit the amount of time spent trying to
173466494Sgshapiro		read the LDAP secret from a file.
173566494Sgshapiro	Prevent SIGTERM from removing a command line submitted item after
173666494Sgshapiro		the user submits the message and before the first delivery
173766494Sgshapiro		attempt completes.  Problem noted by Max France of AlphaNet.
173866494Sgshapiro		Fix from Neil Rickert of Northern Illinois University.
173966494Sgshapiro	Deal correctly with MaxMessageSize restriction if message size is
174071345Sgshapiro		greater than 2^31.  Problem noted by Tim "Darth Dice" Bosserman
174171345Sgshapiro		of EarthLink.
174266494Sgshapiro	Turn off queue checkpointing if CheckpointInterval is set to zero.
174366494Sgshapiro	Treat an empty home directory (from getpw*() or $HOME) as
174466494Sgshapiro		non-existent instead of treating it as /.  Problem noted by
174566494Sgshapiro		Todd C. Miller of Courtesan Consulting.
174666494Sgshapiro	Don't drop duplicate headers when reading a queued item.  Problem
174766494Sgshapiro		noted by Motonori Nakamura of Kyoto University.
174866494Sgshapiro	Avoid bogus error text when logging the savemail panic "cannot
174966494Sgshapiro		save rejected email anywhere".  Problem noted by Marc G.
175066494Sgshapiro		Fournier of Acadia University.
175166494Sgshapiro	If an LDAP search fails because the LDAP server went down, close
175266494Sgshapiro		the map so subsequent searches reopen the map.  If there are
175366494Sgshapiro		multiple LDAP servers, the down server will be skipped and
175466494Sgshapiro		one of the others may be able to take over.
175566494Sgshapiro	Set the ${load_avg} macro to the current load average, not the
175666494Sgshapiro		previous load average query result.
175766494Sgshapiro	If a non-optional map used in a check_* ruleset can't be opened,
175866494Sgshapiro		return a temporary failure to the remote SMTP client
175966494Sgshapiro		instead of ignoring the map.  Problem noted by Allan E
176066494Sgshapiro		Johannesen of Worcester Polytechnic Institute.
176166494Sgshapiro	Avoid a race condition when queuing up split envelopes by saving
176266494Sgshapiro		the split envelopes before the original envelope.
176366494Sgshapiro	Fix a bug in the PH_MAP code which caused mail to bounce instead of
176466494Sgshapiro		defer if the PH server could not be contacted.  From Mark
176566494Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
176666494Sgshapiro	Prevent QueueSortOrder=Filename from interfering with -qR, -qS, and
176766494Sgshapiro		ETRN.  Problem noted by Erik R. Leo of SoVerNet.
176866494Sgshapiro	Change error code for unrecognized parameters to the SMTP MAIL and
176966494Sgshapiro		RCPT commands from 501 to 555 per RFC 1869.  Problem
177066494Sgshapiro		reported to Postfix by Robert Norris of Monash University.
177166494Sgshapiro	Prevent overwriting the argument of -B on certain OS.  Problem
177266494Sgshapiro		noted by Matteo Gelosa of I.NET S.p.A.
177366494Sgshapiro	Use the proper routine for freeing memory with Netscape's LDAP
177466494Sgshapiro		client libraries.  Patch from Paul Hilchey of the
177566494Sgshapiro		University of British Columbia.
177666494Sgshapiro	Portability:
177766494Sgshapiro		Move the NETINET6 define to devtools/OS/SunOS.5.{8,9}
177866494Sgshapiro			instead of defining it in conf.h so users can
177966494Sgshapiro			override the setting.  Suggested by
178066494Sgshapiro			Henrik Nordstrom of Ericsson.
178166494Sgshapiro		On HP-UX 10.X and 11.X, use /usr/sbin/sendmail instead of
178266494Sgshapiro			/usr/lib/sendmail for rmail and vacation.  From
178366494Sgshapiro			Jeff A. Earickson of Colby College.
178466494Sgshapiro		On HP-UX 11.X, use /usr/sbin instead of /usr/libexec (which
178566494Sgshapiro			does not exist).  From Jeff A. Earickson of Colby
178666494Sgshapiro			College.
178766494Sgshapiro		Avoid using the UCB subsystem on NCR MP-RAS 3.x.  From
178866494Sgshapiro			Tom Moore of NCR.
178966494Sgshapiro		NeXT 3.X and 4.X installs man pages in /usr/man.  From
179066494Sgshapiro			Hisanori Gogota of NTT/InterCommunicationCenter.
179166494Sgshapiro		Solaris 8 and later include /var/run.  The default PID file
179266494Sgshapiro			location is now /var/run/sendmail.pid.  From John
179366494Sgshapiro			Beck of Sun Microsystems.
179466494Sgshapiro		SFIO includes snprintf() for those operating systems
179566494Sgshapiro			which do not.  From Todd C. Miller of Courtesan
179666494Sgshapiro			Consulting.
179766494Sgshapiro	CONFIG: Use the result of _CERT_REGEX_SUBJECT_ not {cert_subject}.
179866494Sgshapiro		Problem noted by Kaspar Brand of futureLab AG.
179966494Sgshapiro	CONFIG: Change 553 SMTP reply code to 501 to avoid problems with
180066494Sgshapiro		errors in the MAIL address.
180166494Sgshapiro	CONFIG: Fix FEATURE(nouucp) usage in example .mc files.  Problem
180266494Sgshapiro		noted by Ron Jarrell of Virginia Tech.
180366494Sgshapiro	CONFIG: Add support for Solaris 8 (and later) as OSTYPE(solaris8).
180466494Sgshapiro		Contributed by John Beck of Sun Microsystems.
180566494Sgshapiro	CONFIG: Set confFROM_HEADER such that the mail hub can possibly add
180666494Sgshapiro		GECOS information for an address.  This more closely
180766494Sgshapiro		matches pre-8.10 nullclient behavior.  From Per Hedeland of
180866494Sgshapiro		Ericsson.
180966494Sgshapiro	CONFIG: Fix MODIFY_MAILER_FLAGS(): apply the flag modifications for
181066494Sgshapiro		SMTP to all *smtp* mailers and those for RELAY to the relay
181166494Sgshapiro		mailer as described in cf/README.
181266494Sgshapiro	MAIL.LOCAL: Open the mailbox as the recipient not root so quotas
181366494Sgshapiro		are obeyed.  Problem noted by Damian Kuczynski of NIK.
181466494Sgshapiro	MAKEMAP: Do not change a map's owner to the TrustedUser if using
181566494Sgshapiro		makemap to 'unmake' the map.
181666494Sgshapiro	RMAIL: Avoid overflowing the list of recipients being passed to
181766494Sgshapiro		sendmail.
181866494Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
181966494Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
182066494Sgshapiro		Meteorological Institute.
182166494Sgshapiro	VACATION: Read the complete message to avoid "broken pipe" signals.
182266494Sgshapiro	VACATION: Do not cut off vacation.msg files which have a single
182366494Sgshapiro		dot as the only character on the line.
182466494Sgshapiro	New Files:
182566494Sgshapiro		cf/ostype/solaris8.m4
182666494Sgshapiro
182764562Sgshapiro8.11.0/8.11.0	2000/07/19
182864562Sgshapiro	SECURITY: If sendmail is installed as a non-root set-user-ID binary
182964562Sgshapiro		(not the normal case), some operating systems will still
183064562Sgshapiro		keep a saved-uid of the effective-uid when sendmail tries
183164562Sgshapiro		to drop all of its privileges.  If sendmail needs to drop
183264562Sgshapiro		these privileges and the operating system doesn't set the
183364562Sgshapiro		saved-uid as well, exit with an error.  Problem noted by
183464562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
183564562Sgshapiro	SECURITY: sendmail depends on snprintf() NUL terminating the string
183664562Sgshapiro		it populates.  It is possible that some broken
183764562Sgshapiro		implementations of snprintf() exist that do not do this.
183864562Sgshapiro		Systems in this category should compile with
183964562Sgshapiro		-DSNPRINTF_IS_BROKEN=1.  Use test/t_snprintf.c to test your
184064562Sgshapiro		system and report broken implementations to
184164562Sgshapiro		sendmail-bugs@sendmail.org and your OS vendor.  Problem
184264562Sgshapiro		noted by Slawomir Piotrowski of TELSAT GP.
184364562Sgshapiro	Support SMTP Service Extension for Secure SMTP (RFC 2487) (STARTTLS).
184464562Sgshapiro		Implementation influenced by the example programs of
184564562Sgshapiro		OpenSSL and the work of Lutz Jaenicke of TU Cottbus.
184664562Sgshapiro	Add new STARTTLS related options CACERTPath, CACERTFile,
184764562Sgshapiro		ClientCertFile, ClientKeyFile, DHParameters, RandFile,
184864562Sgshapiro		ServerCertFile, and ServerKeyFile.  These are documented in
184964562Sgshapiro		cf/README and doc/op/op.*.
185064562Sgshapiro	New STARTTLS related macros: ${cert_issuer}, ${cert_subject},
185164562Sgshapiro		${tls_version}, ${cipher}, ${cipher_bits}, ${verify},
185264562Sgshapiro		${server_name}, and ${server_addr}.  These are documented
185364562Sgshapiro		in cf/README and doc/op/op.*.
185464562Sgshapiro	Add support for the Entropy Gathering Daemon (EGD) for better
185564562Sgshapiro		random data.
185664562Sgshapiro	New DontBlameSendmail option InsufficientEntropy for systems which
185764562Sgshapiro		don't properly seed the PRNG for OpenSSL but want to
185864562Sgshapiro		try to use STARTTLS despite the security problems.
185964562Sgshapiro	Support the security layer in SMTP AUTH for mechanisms which
186064562Sgshapiro		support encryption.  Based on code contributed by Tim
186164562Sgshapiro		Martin of CMU.
186264562Sgshapiro	Add new macro ${auth_ssf} to reflect the SMTP AUTH security
186364562Sgshapiro		strength factor.
186464562Sgshapiro	LDAP's -1 (single match only) flag was not honored if the -z
186564562Sgshapiro		(delimiter) flag was not given.  Problem noted by ST Wong of
186664562Sgshapiro		the Chinese University of Hong Kong.  Fix from Mark Adamson
186764562Sgshapiro		of CMU.
186864562Sgshapiro	Add more protection from accidentally tripping OpenLDAP 1.X's
186964562Sgshapiro		ld_errno == LDAP_DECODING_ERROR hack on ldap_next_attribute().
187064562Sgshapiro		Suggested by Kurt Zeilenga of OpenLDAP.
187164562Sgshapiro	Fix the default family selection for DaemonPortOptions.  As
187264562Sgshapiro		documented, unless a family is specified in a
187364562Sgshapiro		DaemonPortOptions option, "inet" is the default.  It is
187464562Sgshapiro		also the default if no DaemonPortOptions value is set.
187564562Sgshapiro		Therefore, IPv6 users should configure additional sockets
187664562Sgshapiro		by adding DaemonPortOptions settings with Family=inet6 if
187764562Sgshapiro		they wish to also listen on IPv6 interfaces.  Problem noted
187864562Sgshapiro		by Jun-ichiro itojun Hagino of the KAME Project.
187964562Sgshapiro	Set ${if_family} when setting ${if_addr} and ${if_name} to reflect
188064562Sgshapiro		the interface information for an outgoing connection.
188164562Sgshapiro		Not doing so was creating a mismatch between the socket
188264562Sgshapiro		family and address used in subsequent connections if the
188364562Sgshapiro		M=b modifier was set in DaemonPortOptions.  Problem noted
188464562Sgshapiro		by John Beck of Sun Microsystems.
188564562Sgshapiro	If DaemonPortOptions modifier M=b is used, determine the socket
188664562Sgshapiro		family based on the IP address.  ${if_family} is no longer
188764562Sgshapiro		persistent (i.e., saved in qf files).  Patch from John Beck
188864562Sgshapiro		of Sun Microsystems.
188964562Sgshapiro	sendmail 8.10 and 8.11 reused the ${if_addr} and ${if_family}
189064562Sgshapiro		macros for both the incoming interface address/family and
189164562Sgshapiro		the outgoing interface address/family.  In order for M=b
189264562Sgshapiro		modifier in DaemonPortOptions to work properly, preserve
189364562Sgshapiro		the incoming information in the queue file for later
189464562Sgshapiro		delivery attempts.
189564562Sgshapiro	Use SMTP error code and enhanced status code from check_relay in
189664562Sgshapiro		responses to commands.  Problem noted by Jeff Wasilko of
189764562Sgshapiro		smoe.org.
189864562Sgshapiro	Add more vigilance in checking for putc() errors on output streams
189964562Sgshapiro		to protect from a bug in Solaris 2.6's putc().  Problem
190064562Sgshapiro		noted by Graeme Hewson of Oracle.
190164562Sgshapiro	The LDAP map -n option (return attribute names only) wasn't working.
190264562Sgshapiro		Problem noted by Ajay Matia.
190364562Sgshapiro	Under certain circumstances, an address could be listed as deferred
190464562Sgshapiro		but would be bounced back to the sender as failed to be
190564562Sgshapiro		delivered when it really should have been queued.  Problem
190664562Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic Institute.
190764562Sgshapiro	Prevent a segmentation fault in a child SMTP process from getting
190864562Sgshapiro		the SMTP transaction out of sync.  Problem noted by Per
190964562Sgshapiro		Hedeland of Ericsson.
191064562Sgshapiro	Turn off RES_DEBUG if SFIO is defined unless SFIO_STDIO_COMPAT
191164562Sgshapiro		is defined to avoid a core dump due to incompatibilities
191264562Sgshapiro		between sfio and stdio.  Problem noted by Neil Rickert
191364562Sgshapiro		of Northern Illinois University.
191464562Sgshapiro	Don't log useless envelope ID on initial connection log.  Problem
191564562Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological Institute.
191664562Sgshapiro	Convert the free disk space shown in a control socket status query
191764562Sgshapiro		to kilobyte units.
191864562Sgshapiro	If TryNullMXList is True and there is a temporary DNS failure
191964562Sgshapiro		looking up the hostname, requeue the message for a later
192064562Sgshapiro		attempt.  Problem noted by Ari Heikkinen of Pohjois-Savo
192164562Sgshapiro		Polytechnic.
192264562Sgshapiro	Under the proper circumstances, failed connections would be recorded
192364562Sgshapiro		as "Bad file number" instead of "Connection failed" in the
192464562Sgshapiro		queue file and persistent host status.  Problem noted by
192564562Sgshapiro		Graeme Hewson of Oracle.
192664562Sgshapiro	Avoid getting into an endless loop if a non-hoststat directory exists
192764562Sgshapiro		within the hoststatus directory (e.g., lost+found).
192864562Sgshapiro		Patch from Valdis Kletnieks of Virginia Tech.
192964562Sgshapiro	Make sure Timeout.queuereturn=now returns a bounce message to the
193064562Sgshapiro		sender.  Problem noted by Per Hedeland of Ericsson.
193164562Sgshapiro	If a message data file can't be opened at delivery time, panic and
193264562Sgshapiro		abort the attempt instead of delivering a message that
193364562Sgshapiro		states "<<< No Message Collected >>>".
193464562Sgshapiro	Fixup the GID checking code from 8.10.2 as it was overly
193564562Sgshapiro		restrictive.  Problem noted by Mark G. Thomas of Mark
193664562Sgshapiro		G. Thomas Consulting.
193764562Sgshapiro	Preserve source port number instead of replacing it with the ident
193864562Sgshapiro		port number (113).
193964562Sgshapiro	Document the queue status characters in the mailq man page.
194064562Sgshapiro		Suggested by Ulrich Windl of the Universitat Regensburg.
194164562Sgshapiro	Process queued items in which none of the recipient addresses have
194264562Sgshapiro		host portions (or there are no recipients).  Problem noted
194364562Sgshapiro		by Valdis Kletnieks of Virginia Tech.
194464562Sgshapiro	If a cached LDAP connection is used for multiple maps, make sure
194564562Sgshapiro		only the first to open the connection is allowed to close
194664562Sgshapiro		it so a later map close doesn't break the connection for
194764562Sgshapiro		other maps.  Problem noted by Wolfgang Hottgenroth of UUNET.
194864562Sgshapiro	Netscape's LDAP libraries do not support Kerberos V4
194964562Sgshapiro		authentication.  Patch from Rainer Schoepf of the
195064562Sgshapiro		University of Mainz.
195164562Sgshapiro	Provide workaround for inconsistent handling of data passed
195264562Sgshapiro		via callbacks to Cyrus SASL prior to version 1.5.23.
195364562Sgshapiro	Mention ENHANCEDSTATUSCODES in the SMTP HELP helpfile.  Omission
195464562Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg.
195564562Sgshapiro	Portability:
195664562Sgshapiro		Add the ability to read IPv6 interface addresses into class
195764562Sgshapiro			'w' under FreeBSD (and possibly others).  From Jun
195864562Sgshapiro			Kuriyama of IMG SRC, Inc. and the FreeBSD Project.
195964562Sgshapiro		Replace code for finding the number of CPUs on HPUX.
196064562Sgshapiro		NCRUNIX MP-RAS 3.02 SO_REUSEADDR socket option does not
196164562Sgshapiro			work properly causing problems if the accept()
196264562Sgshapiro			fails and the socket needs to be reopened.  Patch
196364562Sgshapiro			from Tom Moore of NCR.
196464562Sgshapiro		NetBSD uses a .0 extension of formatted man pages.  From
196566494Sgshapiro			Andrew Brown of Crossbar Security.
196664562Sgshapiro		Return to using the IPv6 AI_DEFAULT flag instead of AI_V4MAPPED
196764562Sgshapiro			for calls to getipnodebyname().  The Linux
196864562Sgshapiro			implementation is broken so AI_ADDRCONFIG is stripped
196964562Sgshapiro			under Linux.  From John Beck of Sun Microsystems and
197064562Sgshapiro			John Kennedy of Cal State University, Chico.
197164562Sgshapiro	CONFIG: Catch invalid addresses containing a ',' at the wrong place.
197264562Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
197364562Sgshapiro	CONFIG: New variables for the new sendmail options:
197464562Sgshapiro		confCACERT_PATH			CACERTPath
197564562Sgshapiro		confCACERT			CACERTFile
197664562Sgshapiro		confCLIENT_CERT			ClientCertFile
197764562Sgshapiro		confCLIENT_KEY			ClientKeyFile
197864562Sgshapiro		confDH_PARAMETERS		DHParameters
197964562Sgshapiro		confRAND_FILE			RandFile
198064562Sgshapiro		confSERVER_CERT			ServerCertFile
198164562Sgshapiro		confSERVER_KEY			ServerKeyFile
198264562Sgshapiro	CONFIG: Provide basic rulesets for TLS policy control and add new
198364562Sgshapiro		tags to the access database to support these policies.  See
198464562Sgshapiro		cf/README for more information.
198564562Sgshapiro	CONFIG: Add TLS information to the Received: header.
198664562Sgshapiro	CONFIG: Call tls_client ruleset from check_mail in case it wasn't
198764562Sgshapiro		called due to a STARTTLS command.
198864562Sgshapiro	CONFIG: If TLS_PERM_ERR is defined, TLS related errors are permanent
198964562Sgshapiro		instead of temporary.
199064562Sgshapiro	CONFIG: FEATURE(`relay_hosts_only') didn't work in combination with
199164562Sgshapiro		the access map and relaying to a domain without using a To:
199264562Sgshapiro		tag.  Problem noted by Mark G. Thomas of Mark G. Thomas
199364562Sgshapiro		Consulting.
199464562Sgshapiro	CONFIG: Set confEBINDIR to /usr/sbin to match the devtools entry in
199564562Sgshapiro		OSTYPE(`linux') and OSTYPE(`mklinux').  From Tim Pierce of
199664562Sgshapiro		RootsWeb.com.
199764562Sgshapiro	CONFIG: Make sure FEATURE(`nullclient') doesn't use aliasing and
199864562Sgshapiro		forwarding to make it as close to the old behavior as
199964562Sgshapiro		possible.  Problem noted by George W. Baltz of the
200064562Sgshapiro		University of Maryland.
200164562Sgshapiro	CONFIG: Added OSTYPE(`darwin') for Mac OS X and Darwin users.  From
200264562Sgshapiro		Wilfredo Sanchez of Apple Computer, Inc.
200364562Sgshapiro	CONFIG: Changed the map names used by FEATURE(`ldap_routing') from
200464562Sgshapiro		ldap_mailhost and ldap_mailroutingaddress to ldapmh and
200564562Sgshapiro		ldapmra as underscores in map names cause problems if
200664562Sgshapiro		underscore is in OperatorChars.  Problem noted by Bob Zeitz
200764562Sgshapiro		of the University of Alberta.
200864562Sgshapiro	CONFIG: Apply blacklist_recipients also to hosts in class {w}.
200964562Sgshapiro		Patch from Michael Tratz of Esosoft Corporation.
201064562Sgshapiro	CONFIG: Use A=TCP ... instead of A=IPC ... in SMTP mailers.
201164562Sgshapiro	CONTRIB: Add link_hash.sh to create symbolic links to the hash
201264562Sgshapiro		of X.509 certificates.
201364562Sgshapiro	CONTRIB: passwd-to-alias.pl:  More protection from special characters;
201464562Sgshapiro		treat special shells as root aliases; skip entries where the
201564562Sgshapiro		GECOS full name and username match.  From Ulrich Windl of the
201664562Sgshapiro		Universitat Regensburg.
201764562Sgshapiro	CONTRIB: qtool.pl: Add missing last_modified_time method and fix a
201864562Sgshapiro		typo.  Patch from Graeme Hewson of Oracle.
201964562Sgshapiro	CONTRIB: re-mqueue.pl: Improve handling of a race between re-mqueue
202064562Sgshapiro		and sendmail.  Patch from Graeme Hewson of Oracle.
202164562Sgshapiro	CONTRIB: re-mqueue.pl: Don't exit(0) at end so can be called as
202264562Sgshapiro		subroutine Patch from Graeme Hewson of Oracle.
202364562Sgshapiro	CONTRIB: Add movemail.pl (move old mail messages between queues by
202464562Sgshapiro		calling re-mqueue.pl) and movemail.conf (configuration
202564562Sgshapiro		script for movemail.pl).  From Graeme Hewson of Oracle.
202664562Sgshapiro	CONTRIB: Add cidrexpand (expands CIDR blocks as a preprocessor to
202764562Sgshapiro		makemap).  From Derek J. Balling of Yahoo,Inc.
202864562Sgshapiro	DEVTOOLS: INSTALL_RAWMAN installation option mistakenly applied any
202964562Sgshapiro		extension modifications (e.g., MAN8EXT) to the installation
203064562Sgshapiro		target.  Patch from James Ralston of Carnegie Mellon
203164562Sgshapiro		University.
203264562Sgshapiro	DEVTOOLS: Add support for SunOS 5.9.
203364562Sgshapiro	DEVTOOLS: New option confLN contains the command used to create
203464562Sgshapiro		links.
203564562Sgshapiro	LIBSMDB: Berkeley DB 2.X and 3.X errors might be lost and not
203664562Sgshapiro		reported.
203764562Sgshapiro	MAIL.LOCAL: DG/UX portability.  Problem noted by Tim Boyer of
203864562Sgshapiro		Denman Tire Corporation.
203964562Sgshapiro	MAIL.LOCAL: Prevent a possible DoS attack when compiled with
204064562Sgshapiro		-DCONTENTLENGTH.  Based on patch from 3APA3A@SECURITY.NNOV.RU.
204164562Sgshapiro	MAILSTATS: Fix usage statement (-p and -o are optional).
204264562Sgshapiro	MAKEMAP: Change man page layout as workaround for problem with nroff
204364562Sgshapiro		and -man on Solaris 7.  Patch from Larry Williamson.
204464562Sgshapiro	RMAIL: AIX 4.3 has snprintf().  Problem noted by David Hayes of
204564562Sgshapiro		Black Diamond Equipment, Limited.
204664562Sgshapiro	RMAIL: Prevent a segmentation fault if the incoming message does not
204764562Sgshapiro		have a From line.
204864562Sgshapiro	VACATION: Read all of the headers before deciding whether or not
204964562Sgshapiro		to respond instead of stopping after finding recipient.
205064562Sgshapiro	Added Files:
205164562Sgshapiro		cf/ostype/darwin.m4
205264562Sgshapiro		contrib/cidrexpand
205364562Sgshapiro		contrib/link_hash.sh
205464562Sgshapiro		contrib/movemail.conf
205564562Sgshapiro		contrib/movemail.pl
205664562Sgshapiro		devtools/OS/SunOS.5.9
205764562Sgshapiro		test/t_snprintf.c
205864562Sgshapiro
205964562Sgshapiro8.10.2/8.10.2	2000/06/07
206064562Sgshapiro	SECURITY: Work around broken Linux setuid() implementation.
206164562Sgshapiro		On Linux, a normal user process has the ability to subvert
206264562Sgshapiro		the setuid() call such that it is impossible for a root
206364562Sgshapiro		process to drop its privileges.  Problem noted by Wojciech
206464562Sgshapiro		Purczynski of elzabsoft.pl.
206564562Sgshapiro	SECURITY: Add more vigilance around set*uid(), setgid(), setgroups(),
206664562Sgshapiro		initgroups(), and chroot() calls.
206764562Sgshapiro	Added Files:
206864562Sgshapiro		test/t_setuid.c
206964562Sgshapiro
207064562Sgshapiro8.10.1/8.10.1	2000/04/06
207164562Sgshapiro	SECURITY: Limit the choice of outgoing (client-side) SMTP
207264562Sgshapiro		Authentication mechanisms to those specified in
207364562Sgshapiro		AuthMechanisms to prevent information leakage.  We do not
207464562Sgshapiro		recommend use of PLAIN for outgoing mail as it sends the
207564562Sgshapiro		password in clear text to possibly untrusted servers.  See
207664562Sgshapiro		cf/README's DefaultAuthInfo section for additional information.
207764562Sgshapiro	Copy the ident argument for openlog() to avoid problems on some
207864562Sgshapiro		OSs.  Based on patch from Rob Bajorek from Webhelp.com.
207964562Sgshapiro	Avoid bogus error message when reporting an alias line as too long.
208064562Sgshapiro	Avoid bogus socket error message if sendmail.cf version level is
208164562Sgshapiro		greater than sendmail binary supported version.  Patch
208264562Sgshapiro		from John Beck of Sun Microsystems.
208364562Sgshapiro	Prevent a malformed ruleset (missing right hand side) from causing
208464562Sgshapiro		a segmentation fault when using address test mode.  Based on
208564562Sgshapiro		patch from John Beck of Sun Microsystems.
208664562Sgshapiro	Prevent memory leak from use of NIS maps and yp_match(3).  Problem
208764562Sgshapiro		noted by Gil Kloepfer of the University of Texas at Austin.
208864562Sgshapiro	Fix queue file permission checks to allow for TrustedUser ownership.
208964562Sgshapiro	Change logging of errors from the trust_auth ruleset to LogLevel 10
209064562Sgshapiro		or higher.
209164562Sgshapiro	Avoid simple password cracking attacks against SMTP AUTH by using
209264562Sgshapiro		exponential delay after too many tries within one connection.
209364562Sgshapiro	Encode an initial empty AUTH challenge as '=', not as empty string.
209464562Sgshapiro	Avoid segmentation fault on EX_SOFTWARE internal error logs.
209564562Sgshapiro		Problem noted by Allan E Johannesen of Worcester
209664562Sgshapiro		Polytechnic Institute.
209764562Sgshapiro	Ensure that a header check which resolves to $#discard actually
209864562Sgshapiro		discards the message.
209964562Sgshapiro	Emit missing value warnings for aliases with no right hand side
210064562Sgshapiro		when newaliases is run instead of only when delivery is
210164562Sgshapiro		attempted to the alias.
210264562Sgshapiro	Remove AuthOptions missing value warning for consistency with other
210364562Sgshapiro		flag options.
210464562Sgshapiro	Portability:
210564562Sgshapiro		SECURITY: Specify a run-time shared library search path for
210664562Sgshapiro			AIX 4.X instead of using the dangerous AIX 4.X
210764562Sgshapiro			linker semantics.  AIX 4.X users should consult
210864562Sgshapiro			sendmail/README for further information.  Problem
210964562Sgshapiro			noted by Valdis Kletnieks of Virginia Tech.
211064562Sgshapiro		Avoid use of strerror(3) call.  Problem noted by Charles
211164562Sgshapiro			Levert of Ecole Polytechnique de Montreal.
211264562Sgshapiro		DGUX requires -lsocket -lnsl and has a non-standard install
211364562Sgshapiro			program.  From Tim Boyer of Denman Tire Corporation.
211464562Sgshapiro		HPUX 11.0 has a broken res_search() function.
211564562Sgshapiro		Updates to devtools/OS/NeXT.3.X, NeXT.4.X, and NEXTSTEP.4.X
211664562Sgshapiro			from J. P. McCann of E I A.
211764562Sgshapiro		Digital UNIX/Compaq Tru64 5.0 now includes snprintf(3).
211864562Sgshapiro			Problem noted by Michael Long of Info Avenue Internet
211964562Sgshapiro			Services, LLC.
212064562Sgshapiro		Modern (post-199912) OpenBSD versions include working
212164562Sgshapiro			strlc{at,py}(3) functions.  From Todd C. Miller of
212264562Sgshapiro			Courtesan Consulting.
212364562Sgshapiro		SINIX doesn't have random(3).  From Gerald Rinske of
212464562Sgshapiro			Siemens Business Services.
212564562Sgshapiro	CONFIG: Change error message about unresolvable sender domain to
212664562Sgshapiro		include the sender address.  Proposed by Wolfgang Rupprecht
212764562Sgshapiro		of WSRCC.
212864562Sgshapiro	CONFIG: Fix usenet mailer calls.
212964562Sgshapiro	CONFIG: If RELAY_MAILER_FLAGS is not defined, use SMTP_MAILER_FLAGS
213064562Sgshapiro		to be backward compatible with 8.9.
213164562Sgshapiro	CONFIG: Change handling of default case @domain for virtusertable
213264562Sgshapiro		to allow for +*@domain to deal with +detail.
213364562Sgshapiro	CONTRIB: Remove converting.sun.configs -- it is obsolete.
213464562Sgshapiro	DEVTOOLS: confUBINMODE was being ignored.  Fix from KITAZIMA, Tuneki
213564562Sgshapiro		of NEC.
213664562Sgshapiro	DEVTOOLS: Add to NCR platform list and include the architecture
213764562Sgshapiro		(i486).  From Tom J. Moore of NCR.
213864562Sgshapiro	DEVTOOLS: SECURITY: Change method of linking with sendmail utility
213964562Sgshapiro		libraries to work around the AIX 4.X and SunOS 4.X linker's
214064562Sgshapiro		overloaded -L option.  Problem noted by Valdis Kletnieks of
214164562Sgshapiro		Virginia Tech.
214264562Sgshapiro	DEVTOOLS: configure.sh was overriding the user's choice for
214364562Sgshapiro		confNROFF.  Problem noted by Glenn A. Malling of Syracuse
214464562Sgshapiro		University.
214564562Sgshapiro	DEVTOOLS: New variables conf_prog_LIB_POST and confBLDVARIANT added
214664562Sgshapiro		for other internal projects but included in the open source
214764562Sgshapiro		release.
214864562Sgshapiro	LIBSMDB: Check for ".db" instead of simply "db" at the end of the
214964562Sgshapiro		map name to determine whether or not to add the extension.
215064562Sgshapiro		This fixes makemap when building the userdb file.  Problem
215164562Sgshapiro		noted by Andrew J Cole of the University of Leeds.
215264562Sgshapiro	LIBSMDB: Allow a database to be opened for updating and created if
215364562Sgshapiro		it doesn't already exist.  Problem noted by Rand Wacker of
215464562Sgshapiro		Sendmail.
215564562Sgshapiro	LIBSMDB: If type is SMDB_TYPE_DEFAULT and both NEWDB and NDBM are
215664562Sgshapiro		available, fall back to NDBM if NEWDB open fails.  This
215764562Sgshapiro		fixes praliases.  Patch	from John Beck of Sun Microsystems.
215864562Sgshapiro	LIBSMUTIL: safefile()'s SFF_NOTEXCL check was being misinterpreted
215964562Sgshapiro		as SFF_NOWRFILES.
216064562Sgshapiro	OP.ME: Clarify some issues regarding mailer flags.  Suggested by
216164562Sgshapiro		Martin Mokrejs of The Charles University and Neil Rickert of
216264562Sgshapiro		Northern Illinois University.
216364562Sgshapiro	PRALIASES: Restore 8.9.X functionality of being able to search for
216464562Sgshapiro		particular keys in a database by specifying the keys on the
216564562Sgshapiro		command line.  Man page updated accordingly.  Patch from
216664562Sgshapiro		John Beck of Sun Microsystems.
216764562Sgshapiro	VACATION: SunOS 4.X portability from Charles Levert of Ecole
216864562Sgshapiro		Polytechnique de Montreal.
216964562Sgshapiro	VACATION: Fix -t option which is ignored but available for
217064562Sgshapiro		compatibility with Sun's version, based on patch from
217164562Sgshapiro		Volker Dobler of Infratest Burke.
217264562Sgshapiro	Added Files:
217364562Sgshapiro		devtools/M4/UNIX/smlib.m4
217464562Sgshapiro		devtools/OS/OSF1.V5.0
217564562Sgshapiro	Deleted Files:
217664562Sgshapiro		contrib/converting.sun.configs
217764562Sgshapiro	Deleted Directories (already done in 8.10.0 but not listed):
217864562Sgshapiro		doc/intro
217964562Sgshapiro		doc/usenix
218064562Sgshapiro		doc/changes
218164562Sgshapiro
218264562Sgshapiro8.10.0/8.10.0	2000/03/01
218364562Sgshapiro	    *************************************************************
218480785Sgshapiro	    * The engineering department at Sendmail, Inc. has suffered	*
218580785Sgshapiro	    * the tragic loss of a key member of our engineering team.	*
218680785Sgshapiro	    * Julie Van Bourg was the Vice President of Engineering	*
218780785Sgshapiro	    * at Sendmail, Inc. during the development and deployment	*
218880785Sgshapiro	    * of this release.  It was her vision, dedication, and	*
218980785Sgshapiro	    * support that has made this release a success.  Julie died	*
219080785Sgshapiro	    * on October 26, 1999 of cancer.  We have lost a leader, a	*
219180785Sgshapiro	    * coach, and a friend.					*
219280785Sgshapiro	    *								*
219380785Sgshapiro	    * This release is dedicated to her memory and to the joy,	*
219480785Sgshapiro	    * strength, ideals, and hope that she brought to all of us.	*
219580785Sgshapiro	    * Julie, we miss you!					*
219664562Sgshapiro	    *************************************************************
219764562Sgshapiro	SECURITY: The safe file checks now back track through symbolic
219864562Sgshapiro		links to make sure the files can't be compromised due
219964562Sgshapiro		to poor permissions on the parent directories of the
220064562Sgshapiro		symbolic link target.
220164562Sgshapiro	SECURITY: Only root, TrustedUser, and users in class t can rebuild
220264562Sgshapiro		the alias map.  Problem noted by Michal Zalewski of the
220364562Sgshapiro		"Internet for Schools" project (IdS).
220464562Sgshapiro	SECURITY: There is a potential for a denial of service attack if
220564562Sgshapiro		the AutoRebuildAliases option is set as a user can kill the
220664562Sgshapiro		sendmail process while it is rebuilding the aliases file
220764562Sgshapiro		(leaving it in an inconsistent state).  This option and
220864562Sgshapiro		its use is deprecated and will be removed from a future
220964562Sgshapiro		version of sendmail.
221064562Sgshapiro	SECURITY: Make sure all file descriptors (besides stdin, stdout, and
221164562Sgshapiro		stderr) are closed before restarting sendmail.  Problem noted
221264562Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
221364562Sgshapiro		(IdS).
221464562Sgshapiro	Begin using /etc/mail/ for sendmail related files.  This affects
221564562Sgshapiro		a large number of files.  See cf/README for more details.
221664562Sgshapiro	The directory structure of the distribution has changed slightly
221764562Sgshapiro		for easier code sharing among the programs.
221864562Sgshapiro	Support SMTP AUTH (see RFC 2554).  New macros for this purpose
221964562Sgshapiro		are ${auth_authen}, ${auth_type}, and ${auth_author}
222064562Sgshapiro		which hold the client's authentication credentials,
222164562Sgshapiro		the mechanism used for authentication, and the
222264562Sgshapiro		authorization identity (i.e., the AUTH= parameter if
222364562Sgshapiro		supplied).  Based on code contributed by Tim Martin of CMU.
222464562Sgshapiro	On systems which use the Torek stdio library (all of the BSD
222564562Sgshapiro		distributions), use memory-buffered files to reduce
222664562Sgshapiro		file system overhead by not creating temporary files on
222764562Sgshapiro		disk.  Contributed by Exactis.com, Inc.
222864562Sgshapiro	New option DataFileBufferSize to control the maximum size of a
222964562Sgshapiro		memory-buffered data (df) file before a disk-based file is
223064562Sgshapiro		used.  Contributed by Exactis.com, Inc.
223164562Sgshapiro	New option XscriptFileBufferSize to control the maximum size of a
223264562Sgshapiro		memory-buffered transcript (xf) file before a disk-based
223364562Sgshapiro		file is used.  Contributed by Exactis.com, Inc.
223464562Sgshapiro	sendmail implements RFC 2476 (Message Submission), e.g., it can
223564562Sgshapiro		now listen on several different ports.  Use:
223664562Sgshapiro		O DaemonPortOptions=Name=MSA, Port=587, M=E
223764562Sgshapiro		to run a Message Submission Agent (MSA); this is turned
223864562Sgshapiro		on by default in m4-generated .cf files; it can be turned
223964562Sgshapiro		off with FEATURE(`no_default_msa').
224064562Sgshapiro	The 'XUSR' SMTP command is deprecated.  Mail user agents should
224164562Sgshapiro		begin using RFC 2476 Message Submission for initial user
224264562Sgshapiro		message submission.  XUSR may disappear from a future release.
224364562Sgshapiro	The new '-G' (relay (gateway) submission) command line option
224464562Sgshapiro		indicates that the message being submitted from the command
224564562Sgshapiro		line is for relaying, not initial submission.  This means
224664562Sgshapiro		the message will be rejected if the addresses are not fully
224764562Sgshapiro		qualified and no canonicalization will be done.  Future
224864562Sgshapiro		releases may even reject improperly formed messages.
224964562Sgshapiro	The '-U' (initial user submission) command line option is
225064562Sgshapiro		deprecated and may be removed from a future release.
225164562Sgshapiro		Mail user agents should begin using '-G' to indicate that
225264562Sgshapiro		this is a relay submission (the inverse of -U).
225364562Sgshapiro	The next release of sendmail will assume that any message submitted
225464562Sgshapiro		from the command line is an initial user submission and act
225564562Sgshapiro		accordingly.
225664562Sgshapiro	If sendmail doesn't have enough privileges to run a .forward
225764562Sgshapiro		program or deliver to file as the owner of that file, the
225864562Sgshapiro		address is marked as unsafe.  This means if RunAsUser is
225964562Sgshapiro		set, users won't be able to use programs or delivery to
226064562Sgshapiro		files in their .forward files.  Administrators can override
226164562Sgshapiro		this by setting the DontBlameSendmail option to the new
226264562Sgshapiro		setting NonRootSafeAddr.
226364562Sgshapiro	Allow group or world writable directories if the sticky bit is set
226464562Sgshapiro		on the directory and DontBlameSendmail is set to
226564562Sgshapiro		TrustStickyBit.  Based on patch from Chris Metcalf of
226664562Sgshapiro		InCert Software.
226764562Sgshapiro	Prevent logging of unsafe directory paths for non-existent forward
226864562Sgshapiro		files if the new DontWarnForwardFileInUnsafeDirPath bit is
226964562Sgshapiro		set in the DontBlameSendmail option.  Requested by many.
227064562Sgshapiro	New Timeout.control option to limit the total time spent satisfying
227164562Sgshapiro		a control socket request.
227264562Sgshapiro	New Timeout.resolver options for controlling BIND resolver
227364562Sgshapiro		settings:
227464562Sgshapiro		Timeout.resolver.retrans
227564562Sgshapiro			Sets the resolver's retransmission time interval (in
227664562Sgshapiro			seconds).  Sets both Timeout.resolver.retrans.first
227764562Sgshapiro			and Timeout.resolver.retrans.normal.
227864562Sgshapiro		Timeout.resolver.retrans.first
227964562Sgshapiro			Sets the resolver's retransmission time interval (in
228064562Sgshapiro			seconds) for the first attempt to deliver a message.
228164562Sgshapiro		Timeout.resolver.retrans.normal
228264562Sgshapiro			Sets the resolver's retransmission time interval (in
228364562Sgshapiro			seconds) for all resolver lookups except the first
228464562Sgshapiro			delivery attempt.
228564562Sgshapiro		Timeout.resolver.retry
228664562Sgshapiro			Sets the number of times to retransmit a resolver
228764562Sgshapiro			query.  Sets both Timeout.resolver.retry.first
228864562Sgshapiro			and Timeout.resolver.retry.normal.
228964562Sgshapiro		Timeout.resolver.retry.first
229064562Sgshapiro			Sets the number of times to retransmit a resolver
229164562Sgshapiro			query for the first attempt to deliver a message.
229264562Sgshapiro		Timeout.resolver.retry.normal
229364562Sgshapiro			Sets the number of times to retransmit a resolver
229464562Sgshapiro			query for all resolver lookups except the first
229564562Sgshapiro			delivery attempt.
229664562Sgshapiro		Contributed by Exactis.com, Inc.
229764562Sgshapiro	Support multiple queue directories.  To use multiple queues, supply
229864562Sgshapiro		a QueueDirectory option value ending with an asterisk.  For
229964562Sgshapiro		example, /var/spool/mqueue/q* will use all of the
230064562Sgshapiro		directories or symbolic links to directories beginning with
230164562Sgshapiro		'q' in /var/spool/mqueue as queue directories.  Keep in
230264562Sgshapiro		mind, the queue directory structure should not be changed
230364562Sgshapiro		while sendmail is running.  Queue runs create a separate
230464562Sgshapiro		process for running each queue unless the verbose flag is
230564562Sgshapiro		given on a non-daemon queue run.  New items are randomly
230664562Sgshapiro		assigned to a queue.  Contributed by Exactis.com, Inc.
230764562Sgshapiro	Support different directories for qf, df, and xf queue files; if
230864562Sgshapiro		subdirectories or symbolic links to directories of those names
230964562Sgshapiro		exist in the queue directories, they are used for the
231064562Sgshapiro		corresponding queue files.  Keep in mind, the queue
231164562Sgshapiro		directory structure should not be changed while sendmail is
231264562Sgshapiro		running.  Proposed by Mathias Koerber of Singapore
231364562Sgshapiro		Telecommunications Ltd.
231464562Sgshapiro	New queue file naming system which uses a filename guaranteed to be
231564562Sgshapiro		unique for 60 years.  This allows queue IDs to be assigned
231664562Sgshapiro		without fancy file system locking.  Queued items can be
231764562Sgshapiro		moved between queues easily.  Contributed by Exactis.com,
231864562Sgshapiro		Inc.
231964562Sgshapiro	Messages which are undeliverable due to temporary address failures
232064562Sgshapiro		(e.g., DNS failure) will now go to the FallBackMX host, if
232164562Sgshapiro		set.  Contributed by Exactis.com, Inc.
232264562Sgshapiro	New command line option '-L tag' which sets the identifier used for
232364562Sgshapiro		syslog.  Contributed by Exactis.com, Inc.
232464562Sgshapiro	QueueSortOrder=Filename will sort the queue by filename.  This
232564562Sgshapiro		avoids opening and reading each queue file when preparing
232664562Sgshapiro		to run the queue.  Contributed by Exactis.com, Inc.
232764562Sgshapiro	Shared memory counters and microtimers functionality has been
232864562Sgshapiro		donated by Exactis.com, Inc.
232964562Sgshapiro	The SCCS ID tags have been replaced with RCS ID tags.
233064562Sgshapiro	Allow trusted users (those on a T line or in $=t) to set the
233164562Sgshapiro		QueueDirectory (Q) option without an X-Authentication-Warning:
233264562Sgshapiro		being added.  Suggested by Michael K. Sanders.
233364562Sgshapiro	IPv6 support based on patches from John Kennedy of Cal State
233464562Sgshapiro		University, Chico, Motonori Nakamura of Kyoto University,
233564562Sgshapiro		and John Beck of Sun Microsystems.
233664562Sgshapiro	In low-disk space situations, where sendmail would previously refuse
233764562Sgshapiro		connections, still accept them, but only allow ETRN commands.
233864562Sgshapiro		Suggested by Mathias Koerber of Singapore Telecommunications
233964562Sgshapiro		Ltd.
234064562Sgshapiro	The [IPC] builtin mailer now allows delivery to a UNIX domain socket
234164562Sgshapiro		on systems which support them.  This can be used with LMTP
234264562Sgshapiro		local delivery agents which listen on a named socket.  An
234364562Sgshapiro		example mailer might be:
234464562Sgshapiro			Mexecmail, P=[IPC], F=lsDFMmnqSXzA5@/:|, E=\r\n,
234564562Sgshapiro				S=10, R=20/40, T=DNS/RFC822/X-Unix,
234664562Sgshapiro				A=FILE /var/run/lmtpd
234764562Sgshapiro		Code contributed by Lyndon Nerenberg of Messaging Direct.
234864562Sgshapiro	The [TCP] builtin mailer name is now deprecated.  Use [IPC]
234964562Sgshapiro		instead.
235064562Sgshapiro	The first mailer argument in the [IPC] mailer is now checked for a
235164562Sgshapiro		legitimate value.  Possible values are TCP (for TCP/IP
235264562Sgshapiro		connections), IPC (which will be deprecated in a future
235364562Sgshapiro		version), and FILE (for UNIX domain socket delivery).
235464562Sgshapiro	PrivacyOptions=goaway no longer includes the noetrn and the noreceipts
235564562Sgshapiro		flags.
235664562Sgshapiro	PrivacyOptions=nobodyreturn instructs sendmail not to include the
235764562Sgshapiro		body of the original message on delivery status
235864562Sgshapiro		notifications.
235964562Sgshapiro	Don't announce DSN if PrivacyOptions=noreceipts is set.  Problem noted
236064562Sgshapiro		by Dan Bernstein, fix from Robert Harker of Harker Systems.
236164562Sgshapiro	Accept the SMTP RSET command even when rejecting commands due to TCP
236264562Sgshapiro		Wrappers or the check_relay ruleset.  Problem noted by
236364562Sgshapiro		Steve Schweinhart of America Online.
236464562Sgshapiro	Warn if OperatorChars is set multiple times.  OperatorChars should
236564562Sgshapiro		not be set after rulesets are defined.  Suggested by
236664562Sgshapiro		Mitchell Blank Jr of Exec-PC.
236764562Sgshapiro	Do not report temporary failure on delivery to files.  In
236864562Sgshapiro		interactive delivery mode, this would result in two SMTP
236964562Sgshapiro		responses after the DATA command.  Problem noted by
237064562Sgshapiro		Nik Conwell of Boston University.
237164562Sgshapiro	Check file close when mailing to files.  Problem noted by Nik
237264562Sgshapiro		Conwell of Boston University.
237364562Sgshapiro	Avoid a segmentation fault when using the LDAP map.  Patch from
237464562Sgshapiro		Curtis W. Hillegas of Princeton University.
237564562Sgshapiro	Always bind to the LDAP server regardless of whether you are using
237664562Sgshapiro		ldap_open() or ldap_init().  Fix from Raj Kunjithapadam of
237764562Sgshapiro		@Home Network.
237864562Sgshapiro	New ruleset trust_auth to determine whether a given AUTH=
237964562Sgshapiro		parameter of the MAIL command should be trusted.  See SMTP
238064562Sgshapiro		AUTH, cf/README, and doc/op/op.ps.
238164562Sgshapiro	Allow new named config file rules check_vrfy, check_expn, and
238264562Sgshapiro		check_etrn for VRFY, EXPN, and ETRN commands, respectively,
238364562Sgshapiro		similar to check_rcpt etc.
238464562Sgshapiro	Introduce new macros ${rcpt_mailer}, ${rcpt_host}, ${rcpt_addr},
238564562Sgshapiro		${mail_mailer}, ${mail_host}, ${mail_addr} that hold
238664562Sgshapiro		the results of parsing the RCPT and MAIL arguments, i.e.
238764562Sgshapiro		the resolved triplet from $#mailer $@host $:addr.
238864562Sgshapiro		From Kari Hurtta of the Finnish Meteorological Institute.
238964562Sgshapiro	New macro ${client_resolve} which holds the result of the resolve
239064562Sgshapiro		call for ${client_name}: OK, FAIL, FORGED, TEMP.  Proposed
239164562Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
239264562Sgshapiro	New macros ${dsn_notify}, ${dsn_envid}, and ${dsn_ret} that hold
239364562Sgshapiro		the corresponding DSN parameter values.  Proposed by
239464562Sgshapiro		Mathias Herberts.
239564562Sgshapiro	New macro ${msg_size} which holds the value of the SIZE= parameter,
239664562Sgshapiro		i.e., usually the size of the message (in an ESMTP dialogue),
239764562Sgshapiro		before the message has been collected, thereafter it holds
239864562Sgshapiro		the message size as computed by sendmail (and can be used
239964562Sgshapiro		in check_compat).
240064562Sgshapiro	The macro ${deliveryMode} now specifies the current delivery mode
240164562Sgshapiro		sendmail is using instead of the value of the DeliveryMode
240264562Sgshapiro		option.
240364562Sgshapiro	New macro ${ntries} holds the number of delivery attempts.
240464562Sgshapiro	Drop explicit From: if same as what would be generated only if it is
240564562Sgshapiro		a local address.  From Motonori Nakamura of Kyoto University.
240664562Sgshapiro	Write pid to file also if sendmail only processes the queue.
240764562Sgshapiro		Proposed by Roy J. Mongiovi of Georgia Tech.
240864562Sgshapiro	Log "low on disk space" only when necessary.
240964562Sgshapiro	New macro ${load_avg} can be used to check the current load average.
241064562Sgshapiro		Suggested by Scott Gifford of The Internet Ramp.
241164562Sgshapiro	Return-Receipt-To: header implies DSN request if option RrtImpliesDsn
241264562Sgshapiro		is set.
241364562Sgshapiro	Flag -S for maps to specify the character which is substituted
241464562Sgshapiro		for spaces (instead of the default given by O BlankSub).
241564562Sgshapiro	Flag -D for maps: perform no lookup in deferred delivery mode.
241664562Sgshapiro		This flag is set by default for the host map.  Based on a
241764562Sgshapiro		proposal from Ian MacPhedran of the University of Saskatchewan.
241864562Sgshapiro	Open maps only on demand, not at startup.
241964562Sgshapiro	Log warning about unsupported IP address families.
242064562Sgshapiro	New option MaxHeadersLength allows to specify a maximum length
242164562Sgshapiro		of the sum of all headers.  This can be used to prevent
242264562Sgshapiro		a denial-of-service attack.
242364562Sgshapiro	New option MaxMimeHeaderLength which limits the size of MIME
242464562Sgshapiro		headers and parameters within those headers.  This option
242564562Sgshapiro		is intended to protect mail user agents from buffer
242664562Sgshapiro		overflow attacks.
242764562Sgshapiro	Added option MaxAliasRecursion to specify the maximum depth of
242864562Sgshapiro		alias recursion.
242964562Sgshapiro	New flag F=6 for mailers to strip headers to seven bit.
243064562Sgshapiro	Map type syslog to log the key via syslogd.
243164562Sgshapiro	Entries in the alias file can be continued by putting a backslash
243264562Sgshapiro		directly before the newline.
243364562Sgshapiro	New option DeadLetterDrop to define the location of the system-wide
243464562Sgshapiro		dead.letter file, formerly hardcoded to
243564562Sgshapiro		/usr/tmp/dead.letter.  If this option is not set (the
243664562Sgshapiro		default), sendmail will not attempt to save to a
243764562Sgshapiro		system-wide dead.letter file if it can not bounce the mail
243864562Sgshapiro		to the user nor postmaster.  Instead, it will rename the qf
243964562Sgshapiro		file as it has in the past when the dead.letter file
244064562Sgshapiro		could not be opened.
244164562Sgshapiro	New option PidFile to define the location of the pid file.  The
244264562Sgshapiro		value of this option is macro expanded.
244364562Sgshapiro	New option ProcessTitlePrefix specifies a prefix string for the
244464562Sgshapiro		process title shown in 'ps' listings.
244564562Sgshapiro	New macros for use with the PidFile and ProcessTitlePrefix options
244664562Sgshapiro		(along with the already existing macros):
244764562Sgshapiro		${daemon_info}      Daemon information, e.g.
244864562Sgshapiro		                    SMTP+queueing@00:30:00
244964562Sgshapiro		${daemon_addr}	    Daemon address, e.g., 0.0.0.0
245064562Sgshapiro		${daemon_family}    Daemon family, e.g., inet, inet6, etc.
245164562Sgshapiro		${daemon_name}      Daemon name, e.g., MSA.
245264562Sgshapiro		${daemon_port}	    Daemon port, e.g., 25
245364562Sgshapiro		${queue_interval}   Queue run interval, e.g., 00:30:00
245464562Sgshapiro	New macros especially for virtual hosting:
245564562Sgshapiro		${if_name}	hostname of interface of incoming connection.
245664562Sgshapiro		${if_addr}	address of interface of incoming connection.
245764562Sgshapiro		The latter is only set if the interface does not belong to the
245864562Sgshapiro		loopback net.
245964562Sgshapiro	If a message being accepted via a method other than SMTP and
246064562Sgshapiro		would be rejected by a header check, do not send the message.
246164562Sgshapiro		Suggested by Phil Homewood of Mincom Pty Ltd.
246264562Sgshapiro	Don't strip comments for header checks if $>+ is used instead of $>.
246364562Sgshapiro		Provide header value as quoted string in the macro
246464562Sgshapiro		${currHeader} (possibly truncated to MAXNAME).  Suggested by
246564562Sgshapiro		Jan Krueger of Unix-AG of University of Hannover.
246664562Sgshapiro		The length of the header value is stored in ${hdrlen}.
246764562Sgshapiro	H*: allows to specify a default ruleset for header checks.  This
246864562Sgshapiro		ruleset will only be called if the individual header does
246964562Sgshapiro		not have its own ruleset assigned.  Suggested by Jan
247064562Sgshapiro		Krueger of Unix-AG of University of Hannover.
247164562Sgshapiro		The name of the header field stored in ${hdr_name}.
247264562Sgshapiro	Comments (i.e., text within parentheses) in rulesets are not
247364562Sgshapiro		removed if the config file version is greater than or equal
247464562Sgshapiro		to 9.  For example, "R$+ ( 1 )		$@ 1" matches the
247564562Sgshapiro		input "token (1)" but does not match "token".
247664562Sgshapiro	Avoid removing the Content-Transfer-Encoding MIME header on
247764562Sgshapiro		MIME messages.  Problem noted by Sigurbjorn B. Larusson of
247864562Sgshapiro		Multimedia Consumer Services.  Fix from Per Hedeland of
247964562Sgshapiro		Ericsson.
248064562Sgshapiro	Avoid duplicate Content-Transfer-Encoding MIME header on
248164562Sgshapiro		messages with 8-bit text in headers.  Problem noted by
248264562Sgshapiro		Per Steinar Iversen of Oslo College.  Fix from Per Hedeland
248364562Sgshapiro		of Ericsson.
248464562Sgshapiro	Avoid keeping maps locked longer than necessary when re-opening a
248564562Sgshapiro		modified database map file.  Problem noted by Chris Adams
248664562Sgshapiro		of Renaissance Internet Services.
248764562Sgshapiro	Resolving to the $#error mailer with a temporary failure code (e.g.,
248864562Sgshapiro		$#error $@ tempfail $: "400 Temporary failure") will now
248964562Sgshapiro		queue up the message instead of bouncing it.
249064562Sgshapiro	Be more liberal in acceptable responses to an SMTP RSET command as
249164562Sgshapiro		standard does not provide any indication of what to do when
249264562Sgshapiro		something other than 250 is received.  Based on a patch
249364562Sgshapiro		from Steve Schweinhart of America Online.
249464562Sgshapiro	New option TrustedUser allows to specify a user who can own
249564562Sgshapiro		important files instead of root.  This requires HASFCHOWN.
249664562Sgshapiro	Fix USERDB conditional so compiling with NEWDB or HESIOD and
249764562Sgshapiro		setting USERDB=0 works.  Fix from Jorg Zanger of Schock.
249864562Sgshapiro	Fix another instance (similar to one in 8.9.3) of a network failure
249964562Sgshapiro		being mis-logged as "Illegal Seek" instead of whatever
250064562Sgshapiro		really went wrong.  From John Beck of Sun Microsystems.
250164562Sgshapiro	$? tests also whether the macro is non-null.
250264562Sgshapiro	Print an error message if a mailer definition contains an invalid
250364562Sgshapiro		equate name.
250464562Sgshapiro	New mailer equate /= to specify a directory to chroot() into before
250564562Sgshapiro		executing the mailer program.  Suggested by Igor Vinokurov.
250664562Sgshapiro	New mailer equate W= to specify the maximum time to wait for the
250764562Sgshapiro		mailer to return after sending all data to it.
250864562Sgshapiro	Only free memory from the process list when adding a new process
250964562Sgshapiro		into a previously filled slot.  Previously, the memory was
251064562Sgshapiro		freed at removal time.  Since removal can happen in a
251164562Sgshapiro		signal handler, this may leave the memory map in an
251264562Sgshapiro		inconsistent state.  Problem noted by Jeff A. Earickson and
251364562Sgshapiro		David Cooley of Colby College.
251464562Sgshapiro	When using the UserDB @hostname catch-all, do not try to lookup
251564562Sgshapiro		local users in the passwd file.  The UserDB code has
251664562Sgshapiro		already decided the message will be passed to another host
251764562Sgshapiro		for processing.  Fix from Tony Landells of Burdett
251864562Sgshapiro		Buckeridge Young Limited.
251964562Sgshapiro	Support LDAP authorization via either a file containing the
252064562Sgshapiro		password or Kerberos V4 using the new map options
252164562Sgshapiro		'-ddistinguished_name', '-Mmethod', and '-Pfilename'.  The
252264562Sgshapiro		distinguished_name is who to login as.  The method can be
252364562Sgshapiro		one of LDAP_AUTH_NONE, LDAP_AUTH_SIMPLE, or
252464562Sgshapiro		LDAP_AUTH_KRBV4.  The filename is the file containing the
252564562Sgshapiro		secret key for LDAP_AUTH_SIMPLE or the name of the Kerberos
252664562Sgshapiro		ticket file for LDAP_AUTH_KRBV4.  Patch from Booker Bense
252764562Sgshapiro		of Stanford University.
252864562Sgshapiro	The ldapx map has been renamed to ldap.  The use of ldapx is
252964562Sgshapiro		deprecated and will be removed in a future version.
253064562Sgshapiro	If the result of an LDAP search returns a multi-valued attribute
253164562Sgshapiro		and the map has the column delimiter set, it turns that
253264562Sgshapiro		response into a delimiter separated string.  The LDAP map
253364562Sgshapiro		will traverse multiple entries as well.  LDAP alias maps
253464562Sgshapiro		automatically set the column delimiter to the comma.
253564562Sgshapiro		Based on patch from Booker Bense of Stanford University and
253664562Sgshapiro		idea from Philip A. Prindeville of Mirapoint, Inc.
253764562Sgshapiro	Support return of multiple values for a single LDAP lookup.  The
253864562Sgshapiro		values to be returned should be in a comma separated string.
253964562Sgshapiro		For example, `-v "email,emailother"'.  Patch from
254064562Sgshapiro		Curtis W. Hillegas of Princeton University.
254164562Sgshapiro	Allow the use of LDAP for alias maps.
254264562Sgshapiro	If no LDAP attributes are specified in an LDAP map declaration, all
254364562Sgshapiro		attributes found in the match will be returned.
254464562Sgshapiro	Prevent commas in quoted strings in the AliasFile value from
254564562Sgshapiro		breaking up a single entry into multiple entries.  This is
254664562Sgshapiro		needed for LDAP alias file specifications to allow for
254764562Sgshapiro		comma separated key and value strings.
254864562Sgshapiro	Keep connections to LDAP server open instead of opening and closing
254964562Sgshapiro		for each lookup.  To reduce overhead, sendmail will cache
255064562Sgshapiro		connections such that multiple maps which use the same
255164562Sgshapiro		host, port, bind DN, and authentication will only result in
255264562Sgshapiro		a single connection to that host.
255364562Sgshapiro	Put timeout in the proper place for USE_LDAP_INIT.
255464562Sgshapiro	Be more careful about checking for errors and freeing memory on
255564562Sgshapiro		LDAP lookups.
255664562Sgshapiro	Use asynchronous LDAP searches to save memory and network
255764562Sgshapiro		resources.
255864562Sgshapiro	Do not copy LDAP query results if the map's match only flag is set.
255964562Sgshapiro	Increase portability to the Netscape LDAP libraries.
256064562Sgshapiro	Change the parsing of the LDAP filter specification.  '%s' is still
256164562Sgshapiro		replaced with the literal contents of the map lookup key --
256264562Sgshapiro		note that this means a lookup can be done using the LDAP
256364562Sgshapiro		special characters.  The new '%0' token can be used instead
256464562Sgshapiro		of '%s' to encode the key buffer according to RFC 2254.
256564562Sgshapiro		For example, if the LDAP map specification contains '-k
256664562Sgshapiro		"(user=%s)"' and a lookup is done on "*", this would be
256764562Sgshapiro		equivalent to '-k "(user=*)"' -- matching ANY record with a
256864562Sgshapiro		user attribute.  Instead, if the LDAP map specification
256964562Sgshapiro		contains '-k "(user=%0)"' and a lookup is done on "*", this
257064562Sgshapiro		would be equivalent to '-k "(user=\2A)"' -- matching a user
257164562Sgshapiro		with the name "*".
257264562Sgshapiro	New LDAP map flags: "-1" requires a single match to be returned, if
257364562Sgshapiro		more than one is returned, it is equivalent to no records
257464562Sgshapiro		being found; "-r never|always|search|find" sets the LDAP
257564562Sgshapiro		alias dereference option; "-Z size" limits the number of
257664562Sgshapiro		matches to return.
257764562Sgshapiro	New option LDAPDefaultSpec allows a default map specification for
257864562Sgshapiro		LDAP maps.  The value should only contain LDAP specific
257964562Sgshapiro		settings such as "-h host -p port -d bindDN", etc.  The
258064562Sgshapiro		settings will be used for all LDAP maps unless they are
258164562Sgshapiro		specified in the individual map specification ('K'
258264562Sgshapiro		command).  This option should be set before any LDAP maps
258364562Sgshapiro		are defined.
258464562Sgshapiro	Prevent an NDBM alias file opening loop when the NDBM open
258564562Sgshapiro		continually fails.  Fix from Roy J. Mongiovi of Georgia
258664562Sgshapiro		Tech.
258764562Sgshapiro	Reduce memory utilization for smaller symbol table entries.  In
258864562Sgshapiro		particular, class entries get much smaller, which can be
258964562Sgshapiro		important if you have large classes.
259064562Sgshapiro	On network-related temporary failures, record the hostname which
259164562Sgshapiro		gave error in the queued status message.  Requested by
259264562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
259364562Sgshapiro	Add new F=% mailer flag to allow for a store and forward
259464562Sgshapiro		configuration.  Mailers which have this flag will not attempt
259571345Sgshapiro		delivery on initial receipt of a message or on queue runs
259664562Sgshapiro		unless the queued message is selected using one of the
259764562Sgshapiro		-qI/-qR/-qS queue run modifiers or an ETRN request.  Code
259864562Sgshapiro		provided by Philip Guenther of Gustavus Adolphus College.
259964562Sgshapiro	New option ControlSocketName which, when set, creates a daemon
260064562Sgshapiro		control socket.  This socket allows an external program to
260164562Sgshapiro		control and query status from the running sendmail daemon
260264562Sgshapiro		via a named socket, similar to the ctlinnd interface to the
260364562Sgshapiro		INN news server.  Access to this interface is controlled by
260464562Sgshapiro		the UNIX file permissions on the named socket on most UNIX
260564562Sgshapiro		systems (see sendmail/README for more information).  An
260664562Sgshapiro		example control program is provided as contrib/smcontrol.pl.
260764562Sgshapiro	Change the default values of QueueLA from 8 to (8 * numproc) and
260864562Sgshapiro		RefuseLA from 12 to (12 * numproc) where numproc is the
260964562Sgshapiro		number of processors online on the system (if that can be
261064562Sgshapiro		determined).  For single processor machines, this change
261164562Sgshapiro		has no effect.
261264562Sgshapiro	Don't return body of message to postmaster on "Too many hops" bounces.
261364562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
261464562Sgshapiro	Give more detailed DSN descriptions for some cases.  Patch from
261564562Sgshapiro		Motonori Nakamura of Kyoto University.
261664562Sgshapiro	Logging of alias, forward file, and UserDB expansion now happens
261764562Sgshapiro		at LogLevel 11 or higher instead of 10 or higher.
261864562Sgshapiro	Logging of an envelope's complete delivery (the "done" message) now
261964562Sgshapiro		happens at LogLevel 10 or higher instead of 11 or higher.
262064562Sgshapiro	Logging of TCP/IP or UNIX standard input connections now happens at
262164562Sgshapiro		LogLevel 10 or higher.  Previously, only TCP/IP connections
262264562Sgshapiro		were logged, and on at LogLevel 12 or higher.  Setting
262364562Sgshapiro		LogLevel to 10 will now assist users in tracking frequent
262464562Sgshapiro		connection-based denial of service attacks.
262564562Sgshapiro	Log basic information about authenticated connections at LogLevel
262664562Sgshapiro		10 or higher.
262764562Sgshapiro	Log SMTP Authentication mechanism and author when logging the sender
262864562Sgshapiro		information (from= syslog line).
262964562Sgshapiro	Log the DSN code for each recipient if one is available as a new
263064562Sgshapiro		equate (dsn=).
263164562Sgshapiro	Macro expand PostmasterCopy and DoubleBounceAddress options.
263264562Sgshapiro	New "ph" map for performing ph queries in rulesets.  More
263364562Sgshapiro		information is available at
263471345Sgshapiro		http://www-dev.cso.uiuc.edu/sendmail/.  Contributed by Mark
263571345Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
263664562Sgshapiro	Detect temporary lookup failures in the host map if looking up a
263764562Sgshapiro		bracketed IP address.  Problem noted by Kari Hurtta of the
263864562Sgshapiro		Finnish Meteorological Institute.
263964562Sgshapiro	Do not report a Remote-MTA on local deliveries.  Problem noted by
264064562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
264164562Sgshapiro	When a forward file points to an alias which runs a program, run
264264562Sgshapiro		the program as the default user and the default group, not
264364562Sgshapiro		the forward file user.  This change also assures the
264464562Sgshapiro		:include: directives in aliases are also processed using
264564562Sgshapiro		the default user and group.  Problem noted by Sergiu
264664562Sgshapiro		Popovici of DNT Romania.
264764562Sgshapiro	Prevent attempts to save a dead.letter file for a user with
264864562Sgshapiro		no home directory (/no/such/directory).  Problem noted by
264964562Sgshapiro		Michael Brown of Finnigan FT/MS.
265064562Sgshapiro	Include message delay and number of tries when logging that a
265164562Sgshapiro		message has been completely delivered (LogLevel of 10 or
265264562Sgshapiro		above).  Suggested by Nick Hilliard of Ireland Online.
265364562Sgshapiro	Log the sender of a message even if none of the recipients were
265464562Sgshapiro		accepted.  If some of the recipients were rejected, it is
265564562Sgshapiro		helpful to know the sender of the message.
265664562Sgshapiro	Check the root directory (/) when checking a path for safety.
265764562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
265864562Sgshapiro	Prevent multiple responses to the DATA command if DeliveryMode is
265964562Sgshapiro		interactive and delivering to an alias which resolves to
266064562Sgshapiro		multiple files.
266164562Sgshapiro	Macros in the helpfile are expanded if the helpfile version is 2 or
266264562Sgshapiro		greater (see below); the help function doesn't print the
266364562Sgshapiro		version of sendmail any longer, instead it is placed in
266464562Sgshapiro		the helpfile ($v).  Suggested by Chuck Foster of UUNET
266564562Sgshapiro		PIPEX.  Additionally, comment lines (starting with #) are
266664562Sgshapiro		skipped and a version line (#vers) is introduced.  The
266764562Sgshapiro		helpfile version for 8.10.0 is 2, if no version or an older
266864562Sgshapiro		version is found, a warning is logged.  The '#vers'
266964562Sgshapiro		directive should be placed at the top of the help file.
267064562Sgshapiro	Use fsync() when delivering to a file to guarantee the delivery to
267164562Sgshapiro		disk succeeded.  Suggested by Nick Christenson.
267264562Sgshapiro	If delivery to a file is unsuccessful, truncate the file back to its
267364562Sgshapiro		length before the attempt.
267464562Sgshapiro	If a forward points to a filename for delivery, change to the
267564562Sgshapiro		user's uid before checking permissions on the file.  This
267664562Sgshapiro		allows delivery to files on NFS mounted directories where
267764562Sgshapiro		root is remapped to nobody.  Problem noted by Harald
267864562Sgshapiro		Daeubler of Universitaet Ulm.
267964562Sgshapiro	purgestat and sendmail -bH purge only expired (Timeout.hoststatus)
268064562Sgshapiro		host status files, not all files.
268164562Sgshapiro	Any macros stored in the class $={persistentMacros} will be saved
268264562Sgshapiro		in the queue file for the message and set when delivery
268364562Sgshapiro		is attempted on the queued item.  Suggested by Kyle Jones of
268464562Sgshapiro		Wonderworks Inc.
268564562Sgshapiro	Add support for storing information between rulesets using the new
268664562Sgshapiro		macro map class.  This can be used to store information
268764562Sgshapiro		between queue runs as well using $={persistentMacros}.
268864562Sgshapiro		Based on an idea from Jan Krueger of Unix-AG of University
268964562Sgshapiro		of Hannover.
269064562Sgshapiro	New map class arith to allow for computations in rules.  The
269164562Sgshapiro		operation (+, -, *, /, l (for less than), and =) is given
269264562Sgshapiro		as key.  The two operands are specified as arguments; the
269364562Sgshapiro		lookup returns the result of the computation.  For example,
269464562Sgshapiro		"$(arith l $@ 4 $@ 2 $)" will return "FALSE" and
269564562Sgshapiro		"$(arith + $@ 4 $@ 2 $)" will return "6".
269664562Sgshapiro	Add new syntax for header declarations which decide whether to
269764562Sgshapiro		include the header based on a macro rather than a mailer
269864562Sgshapiro		flag:
269964562Sgshapiro			H?${MyMacro}?X-My-Header: ${MyMacro}
270064562Sgshapiro		This should be used along with $={persistentMacros}.
270164562Sgshapiro		It can be used for adding headers to a message based on
270264562Sgshapiro		the results of check_* and header check rulesets.
270364562Sgshapiro	Allow new named config file rule check_eoh which is called after
270464562Sgshapiro		all of the headers have been collected.  The input to the
270564562Sgshapiro		ruleset the number of headers and the size of all of the
270664562Sgshapiro		headers in bytes separated by $|.  This ruleset along with
270764562Sgshapiro		the macro storage map can be used to correlate information
270864562Sgshapiro		gathered between headers and to check for missing headers.
270964562Sgshapiro		See cf/README or doc/op/op.ps for an example.
271064562Sgshapiro	Change the default for the MeToo option to True to correspond
271164562Sgshapiro		to the clarification in the DRUMS SMTP Update spec.  This
271264562Sgshapiro		option is deprecated and will be removed from a future
271364562Sgshapiro		version.
271464562Sgshapiro	Change the sendmail binary default for SendMimeErrors to True.
271564562Sgshapiro	Change the sendmail binary default for SuperSafe to True.
271664562Sgshapiro	Display ruleset names in debug and address test mode output
271764562Sgshapiro		if referencing a named ruleset.
271864562Sgshapiro	New mailer equate m= which will limit the number of messages
271964562Sgshapiro		delivered per connection on an SMTP or LMTP mailer.
272064562Sgshapiro	Improve QueueSortOrder=Host by reversing the hostname before
272164562Sgshapiro		using it to sort.  Now all the same domains are really run
272264562Sgshapiro		through the queue together.  If they have the same MX host,
272364562Sgshapiro		then they will have a much better opportunity to use the
272464562Sgshapiro		connection cache if available.  This should be a reasonable
272564562Sgshapiro		performance improvement.  Patch from Randall Winchester of
272664562Sgshapiro		the University of Maryland.
272764562Sgshapiro	If a message is rejected by a header check ruleset, log who would
272864562Sgshapiro		have received the message if it had not been rejected.
272964562Sgshapiro	New "now" value for Timeout.queuereturn to bounce entries from the
273064562Sgshapiro		queue immediately.  No delivery attempt is made.
273164562Sgshapiro	Increase sleeping time exponentially after too many "bad" commands
273264562Sgshapiro		up to 4 minutes delay (compare MAX{BAD,NOOP,HELO,VRFY,ETRN}-
273364562Sgshapiro		COMMANDS).
273464562Sgshapiro	New option ClientPortOptions similar to DaemonPortOptions
273564562Sgshapiro		but for outgoing connections.
273664562Sgshapiro	New suboptions for DaemonPortOptions: Name (a name used for
273764562Sgshapiro		error messages and logging) and Modifiers, i.e.
273864562Sgshapiro			a	require authentication
273964562Sgshapiro			b	bind to interface through which mail has
274064562Sgshapiro				been received
274164562Sgshapiro			c	perform hostname canonification
274264562Sgshapiro			f	require fully qualified hostname
274364562Sgshapiro			h	use name of interface for outgoing HELO
274464562Sgshapiro				command
274564562Sgshapiro			C	don't perform hostname canonification
274664562Sgshapiro			E	disallow ETRN (see RFC 2476)
274764562Sgshapiro	New suboption for ClientPortOptions: Modifiers, i.e.
274864562Sgshapiro			h	use name of interface for HELO command
274964562Sgshapiro	The version number for queue files (qf) has been incremented to 4.
275064562Sgshapiro	Log unacceptable HELO/EHLO domain name attempts if LogLevel is set
275164562Sgshapiro		to 10 or higher.  Suggested by Rick Troxel of the National
275264562Sgshapiro		Institutes of Health.
275364562Sgshapiro	If a mailer dies, print the status in decimal instead of octal
275464562Sgshapiro		format.  Suggested by Michael Shapiro of Sun Microsystems.
275564562Sgshapiro	Limit the length of all MX records considered for delivery to 8k.
275664562Sgshapiro	Move message priority from sender to recipient logging.  Suggested by
275764562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
275864562Sgshapiro	Add support for Berkeley DB 3.X.
275964562Sgshapiro	Add fix for Berkeley DB 2.X fcntl() locking race condition.
276064562Sgshapiro		Requires a post-2.7.5 version of Berkeley DB.
276164562Sgshapiro	Support writing traffic log (sendmail -X option) to a FIFO.
276264562Sgshapiro		Patch submitted by Rick Heaton of Network Associates, Inc.
276364562Sgshapiro	Do not ignore Timeout settings in the .cf file when a Timeout
276464562Sgshapiro		sub-options is set on the command line.  Problem noted by
276564562Sgshapiro		Graeme Hewson of Oracle.
276664562Sgshapiro	Randomize equal preference MX records each time delivery is
276764562Sgshapiro		attempted via a new connection to a host instead of once per
276864562Sgshapiro		session.  Suggested by Scott Salvidio of Compaq.
276964562Sgshapiro	Implement enhanced status codes as defined by RFC 2034.
277064562Sgshapiro	Add [hostname] to class w for the names of all interfaces unless
277164562Sgshapiro		DontProbeInterfaces is set. This is useful for sending mails
277264562Sgshapiro		to hosts which have dynamically assigned names.
277364562Sgshapiro	If a message is bounced due to bad MIME conformance, avoid bouncing
277464562Sgshapiro		the bounce for the same reason.  If the body is not 8-bit
277564562Sgshapiro		clean, and EightBitMode isn't set to pass8, the body will
277664562Sgshapiro		not be included in the bounce.  Problem noted by Valdis
277764562Sgshapiro		Kletnieks of Virginia Tech.
277864562Sgshapiro	The timeout for sending a message via SMTP has been changed from
277964562Sgshapiro		'${msgsize} / 16 + (${nrcpts} * 300)' to a timeout which
278064562Sgshapiro		simply checks for progress on sending data every 5 minutes.
278164562Sgshapiro		This will detect the inability to send information quicker
278264562Sgshapiro		and reduce the number of processes simply waiting to
278364562Sgshapiro		timeout.
278464562Sgshapiro	Prevent a segmentation fault on systems which give a partial filled
278564562Sgshapiro		interface address structure when loading the system network
278664562Sgshapiro		interface addresses.  Fix from Reinier Bezuidenhout of
278764562Sgshapiro		Nanoteq.
278864562Sgshapiro	Add a compile-time configuration macro, MAXINTERFACES, which
278964562Sgshapiro		indicates the number of interfaces to read when probing
279064562Sgshapiro		for hostnames and IP addresses for class w ($=w).  The
279164562Sgshapiro		default value is 512.  Based on idea from Reinier
279264562Sgshapiro		Bezuidenhout of Nanoteq.
279364562Sgshapiro	If the RefuseLA option is set to 0, do not reject connections based
279464562Sgshapiro		on load average.
279564562Sgshapiro	Allow ruleset 0 to have a name.  Problem noted by Neil Rickert of
279664562Sgshapiro		Northern Illinois University.
279764562Sgshapiro	Expand the Return-Path: header at delivery time, after "owner-"
279864562Sgshapiro		envelope splitting has occurred.
279964562Sgshapiro	Don't try to sort the queue if there are no entries. Patch from
280064562Sgshapiro		Luke Mewburn from RMIT University.
280164562Sgshapiro	Add a "/quit" command to address test mode.
280264562Sgshapiro	Include the proper sender in the UNIX "From " line and Return-Path:
280364562Sgshapiro		header when undeliverable mail is saved to ~/dead.letter.
280464562Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
280564562Sgshapiro		Institute.
280664562Sgshapiro	The contents of a class can now be copied to another class using
280764562Sgshapiro		the syntax: "C{Dest} $={Source}".  This would copy all of
280864562Sgshapiro		the items in class $={Source} into the class $={Dest}.
280964562Sgshapiro	Include original envelope's error transcript in bounces created for
281064562Sgshapiro		split (owner-) envelopes to see the original errors when
281164562Sgshapiro		the recipients were added.  Based on fix from Motonori
281264562Sgshapiro		Nakamura of Kyoto University.
281364562Sgshapiro	Show reason for permanent delivery errors directly after the
281464562Sgshapiro		addresses.  From Motonori Nakamura of Kyoto University.
281564562Sgshapiro	Prevent a segmentation fault when bouncing a split-envelope
281664562Sgshapiro		message.  Patch from Motonori Nakamura of Kyoto University.
281764562Sgshapiro	If the specification for the queue run interval (-q###) has a
281864562Sgshapiro		syntax error, consider the error fatal and exit.
281964562Sgshapiro	Pay attention to CheckpointInterval during LMTP delivery.  Problem
282064562Sgshapiro		noted by Motonori Nakamura of Kyoto University.
282164562Sgshapiro	On operating systems which have setlogin(2), use it to set the
282264562Sgshapiro		login name to the RunAsUserName when starting as a daemon.
282364562Sgshapiro		This is for delivery to programs which use getlogin().
282464562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
282564562Sgshapiro	Differentiate between "command not implemented" and "command
282664562Sgshapiro		unrecognized" in the SMTP dialogue.
282764562Sgshapiro	Strip returns from forward and include files.  Problem noted by
282864562Sgshapiro		Allan E Johannesen of Worcester Polytechnic Institute.
282964562Sgshapiro	Prevent a core dump when using 'sendmail -bv' on an address which
283064562Sgshapiro		resolves to the $#error mailer with a temporary failure.
283164562Sgshapiro		Based on fix from Neil Rickert of Northern Illinois
283264562Sgshapiro		University.
283364562Sgshapiro	Prevent multiple deliveries of a message with a "non-local alias"
283464562Sgshapiro		pointing to a local user, if canonicalization fails
283564562Sgshapiro		the message was requeued *and* delivered to the alias.
283664562Sgshapiro	If an invalid ruleset is declared, the ruleset name could be
283764562Sgshapiro		ignored and its rules added to S0.  Instead, ignore the
283864562Sgshapiro		ruleset lines as well.
283964562Sgshapiro	Avoid incorrect Final-Recipient, Action, and X-Actual-Recipient
284064562Sgshapiro		success DSN fields as well as duplicate entries for a
284164562Sgshapiro		single address due to S5 and UserDB processing.  Problems
284264562Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological
284364562Sgshapiro		Institute.
284464562Sgshapiro	Turn off timeouts when exiting sendmail due to an interrupt signal
284564562Sgshapiro		to prevent the timeout from firing during the exit process.
284664562Sgshapiro		Problem noted by Michael Shapiro of Sun Microsystems.
284764562Sgshapiro	Do not append @MyHostName to non-RFC822 addresses output by the EXPN
284864562Sgshapiro		command or on Final-Recipient: and X-Actual-Recipient: DSN
284964562Sgshapiro		headers.  Non-RFC822 addresses include deliveries to
285064562Sgshapiro		programs, file, DECnet, etc.
285164562Sgshapiro	Fix logic for determining if a local user is using -f or -bs to
285264562Sgshapiro		spoof their return address.  Based on idea from Neil Rickert
285364562Sgshapiro		of Northern Illinois University and patch from Per Hedeland
285464562Sgshapiro		of Ericsson.
285564562Sgshapiro	Report the proper UID in the bounce message if an :include: file is
285664562Sgshapiro		owned by a uid that doesn't map to a username and the
285764562Sgshapiro		:include: file contains delivery to a file or program.
285864562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
285964562Sgshapiro	Avoid the attempt of trying to send a second SMTP QUIT command if
286064562Sgshapiro		the remote server responds to the first QUIT with a 4xx
286164562Sgshapiro		response code and drops the connection.  This behavior was
286264562Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg when
286364562Sgshapiro		sendmail was talking to the Mercury 1.43 MTA.
286464562Sgshapiro	If a hostname lookup times out and ServiceSwitchFile is set but the
286564562Sgshapiro		file is not present, the lookup failure would be marked as
286664562Sgshapiro		a permanent failure instead of a temporary failure.  Fix
286764562Sgshapiro		from Russell King of the ARM Linux Project.
286864562Sgshapiro	Handle aliases or forwards which deliver to programs using tabs
286964562Sgshapiro		instead of spaces between arguments.  Problem noted by Randy
287064562Sgshapiro		Wormser.  Fix from Neil Rickert of Northern Illinois
287164562Sgshapiro		University.
287264562Sgshapiro	Allow MaxRecipientsPerMessage option to be set on the command line
287364562Sgshapiro		by normal users (e.g., sendmail won't drop its root
287464562Sgshapiro		privileges) to allow overrides for message submission via
287564562Sgshapiro		'sendmail -bs'.
287664562Sgshapiro	Set the names for help file and statistics file to "helpfile" and
287764562Sgshapiro		"statistics", respectively, if no parameters are given for
287864562Sgshapiro		them in the .cf file.
287964562Sgshapiro	Avoid bogus 'errbody: I/O Error -7' log messages when sending
288064562Sgshapiro		success DSN messages for messages relayed to non-DSN aware
288164562Sgshapiro		systems.  Problem noted by Juergen Georgi of RUS University
288264562Sgshapiro		of Stuttgart and Kyle Tucker of Parexel International.
288364562Sgshapiro	Prevent +detail information from interfering with local delivery to
288464562Sgshapiro		multiple users in the same transaction (F=m).
288564562Sgshapiro	Add H_FORCE flag for the X-Authentication-Warning: header, so it
288664562Sgshapiro		will be added even if one already exists.  Problem noted
288764562Sgshapiro		by Michal Zalewski of Marchew Industries.
288864562Sgshapiro	Stop processing SMTP commands if the SMTP connection is dropped.
288964562Sgshapiro		This prevents a remote system from flooding the connection
289064562Sgshapiro		with commands and then disconnecting.  Previously, the
289164562Sgshapiro		server would process all of the buffered commands.  Problem
289264562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
289364562Sgshapiro	Properly process user-supplied headers beginning with '?'.  Problem
289464562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
289564562Sgshapiro	If multiple header checks resolve to the $#error mailer, use the
289664562Sgshapiro		last permanent (5XX) failure if any exist.  Otherwise, use
289764562Sgshapiro		the last temporary (4XX) failure.
289864562Sgshapiro	RFC 1891 requires "hexchar" in a "xtext" to be upper case.  Patch
289964562Sgshapiro		from Ronald F. Guilmette of Infinite Monkeys & Co.
290064562Sgshapiro	Timeout.ident now defaults to 5 seconds instead of 30 seconds to
290164562Sgshapiro		prevent the now common delays associated with mailing to a
290264562Sgshapiro		site which drops IDENT packets.  Suggested by many.
290364562Sgshapiro	Persistent host status data is not reloaded disk when current data
290464562Sgshapiro		is available in the in-memory cache.  Problem noted by Per
290564562Sgshapiro		Hedeland of Ericsson.
290664562Sgshapiro	mailq displays unprintable characters in addresses as their octal
290764562Sgshapiro		representation and a leading backslash.  This avoids problems
290864562Sgshapiro		with "unprintable" characters.  Problem noted by Michal
290964562Sgshapiro		Zalewski of the "Internet for Schools" project (IdS).
291064562Sgshapiro	The mail line length limit (L= equate) was adding the '!' indicator
291164562Sgshapiro		one character past the limit.  This would cause subsequent
291264562Sgshapiro		hops to break the line again.  The '!' is now placed in
291364562Sgshapiro		the last column of the limit if the line needs to be broken.
291464562Sgshapiro		Problem noted by Joe Pruett of Q7 Enterprises.  Based on fix
291564562Sgshapiro		from Per Hedeland of Ericsson.
291664562Sgshapiro	If a resolver ANY query is larger than the UDP packet size, the
291764562Sgshapiro		resolver will fall back to TCP.  However, some
291864562Sgshapiro		misconfigured firewalls black 53/TCP so the ANY lookup
291964562Sgshapiro		fails whereas an MX or A record might succeed.  Therefore,
292064562Sgshapiro		don't fail on ANY queries.
292164562Sgshapiro	If an SMTP recipient is rejected due to syntax errors in the
292264562Sgshapiro		address, do not send an empty postmaster notification DSN
292364562Sgshapiro		to the postmaster.  Problem noted by Neil Rickert of
292464562Sgshapiro		Northern Illinois University.
292564562Sgshapiro	Allow '_' and '.' in map names when parsing a sequence map
292664562Sgshapiro		specification.  Patch from William Setzer of North Carolina
292764562Sgshapiro		State University.
292864562Sgshapiro	Fix hostname in logging of read timeouts for the QUIT command on
292964562Sgshapiro		cached connections.  Problem noted by Neil Rickert of
293064562Sgshapiro		Northern Illinois University.
293164562Sgshapiro	Use a more descriptive entry to log "null" connections, i.e.,
293264562Sgshapiro		"host did not issue MAIL/EXPN/VRFY/ETRN during connection".
293364562Sgshapiro	Fix a file descriptor leak in ONEX mode.
293464562Sgshapiro	Portability:
293564562Sgshapiro		Reverse signal handling logic such that sigaction(2) with
293664562Sgshapiro			the SA_RESTART flag is the preferred method and the
293764562Sgshapiro			other signal methods are only tried if SA_RESTART
293864562Sgshapiro			is not available.  Problem noted by Allan E
293964562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
294064562Sgshapiro		AIX 4.x supports the sa_len member of struct sockaddr.
294164562Sgshapiro			This allows network interface probing to work
294264562Sgshapiro			properly.  Fix from David Bronder of the
294364562Sgshapiro			University of Iowa.
294464562Sgshapiro		AIX 4.3 has snprintf() support.
294564562Sgshapiro		Use "PPC" as the architecture name when building under
294664562Sgshapiro			AIX.  This will be reflected in the obj.* directory
294764562Sgshapiro			name.
294864562Sgshapiro		Apple Darwin support based on Apple Rhapsody port.
294964562Sgshapiro		Fixed AIX 'make depend' method from Valdis Kletnieks of
295064562Sgshapiro			Virginia Tech.
295164562Sgshapiro		Digital UNIX has uname(2).
295264562Sgshapiro		GNU Hurd updates from Mark Kettenis of the University of
295364562Sgshapiro			Amsterdam.
295464562Sgshapiro		Improved HPUX 11.0 portability.
295564562Sgshapiro		Properly determine the number of CPUs on FreeBSD 2.X,
295664562Sgshapiro			FreeBSD 3.X, HP/UX 10.X and HP/UX 11.X.
295764562Sgshapiro		Remove special IRIX ABI cases from Build script and the OS
295864562Sgshapiro			files.  Use the standard 'cc' options used by SGI
295964562Sgshapiro			in building the operating system.  Users can
296064562Sgshapiro			override the defaults by setting confCC and
296164562Sgshapiro			confLIBSEARCHPATH appropriately.
296264562Sgshapiro		IRIX nsd map support from Bob Mende of SGI.
296364562Sgshapiro		Minor devtools fixes for IRIX from Bob Mende of SGI.
296464562Sgshapiro		Linux patch for IP_SRCROUTE support from Joerg Dorchain
296564562Sgshapiro			of MW EDV & ELECTRONIC.
296664562Sgshapiro		Linux now uses /usr/sbin for confEBINDIR in the build
296764562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
296864562Sgshapiro		Remove special treatment for Linux PPC in the build
296964562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
297064562Sgshapiro		Motorolla UNIX SYSTEM V/88 Release 4.0 support from
297164562Sgshapiro			Sergey Rusanov of the Republic of Udmurtia.
297264562Sgshapiro		NCR MP-RAS 3.x includes regular expression support.  From
297364562Sgshapiro			Tom J. Moore of NCR.
297464562Sgshapiro		NEC EWS-UX/V series settings for _PATH_VENDOR_CF and
297564562Sgshapiro			_PATH_SENDMAILPID from Oota Toshiya of
297664562Sgshapiro			NEC Computers Group Planning Division.
297764562Sgshapiro		Minor NetBSD owner/group tweaks from Ayamura Kikuchi, M.D.
297864562Sgshapiro		NEWS-OS 6.X listed SYSLOG_BUFSIZE as 256 in confENVDEF and
297964562Sgshapiro			1024 in conf.h.  Since confENVDEF would be used,
298064562Sgshapiro			use that value in conf.h.
298164562Sgshapiro		Use NeXT's NETINFO to get domain name.  From Gerd Knops of
298264562Sgshapiro			BITart Consulting.
298364562Sgshapiro		Use NeXT's NETINFO for alias and hostname resolution if
298464562Sgshapiro			AUTO_NETINFO_ALIASES and AUTO_NETINFO_HOSTS are
298564562Sgshapiro			defined.  Patch from Wilfredo Sanchez of Apple
298664562Sgshapiro			Computer, Inc.
298764562Sgshapiro		NeXT portability tweaks.  Problems reported by Dragan
298864562Sgshapiro			Milicic of the University of Utah and J. P. McCann
298964562Sgshapiro			of E I A.
299064562Sgshapiro		New compile flag FAST_PID_RECYCLE: set this if your system
299164562Sgshapiro			can reuse the same PID in the same second.
299264562Sgshapiro		New compile flag HASFCHOWN: set this if your OS has
299364562Sgshapiro			fchown(2).
299464562Sgshapiro		New compile flag HASRANDOM: set this to 0 if your OS does
299564562Sgshapiro			not have random(3).  rand() will be used instead.
299664562Sgshapiro		New compile flag HASSRANDOMDEV: set this if your OS has
299764562Sgshapiro			srandomdev(3).
299864562Sgshapiro		New compile flag HASSETLOGIN: set this if your OS has
299964562Sgshapiro			setlogin(2).
300064562Sgshapiro		Replace SINIX and ReliantUNIX support with version
300164562Sgshapiro			specific SINIX files.  From Gerald Rinske of
300264562Sgshapiro			Siemens Business Services.
300364562Sgshapiro		Use the 60-second load average instead of the 5 second load
300464562Sgshapiro			average on Compaq Tru64 UNIX (formerly Digital
300564562Sgshapiro			UNIX).  From Chris Teakle of the University of Qld.
300664562Sgshapiro		Use ANSI C by default for Compaq Tru64 UNIX.  Suggested by
300764562Sgshapiro			Randall Winchester of Swales Aerospace.
300864562Sgshapiro		Correct setgroups() prototype for Compaq Tru64 UNIX.
300964562Sgshapiro			Problem noted by Randall Winchester of Swales
301064562Sgshapiro			Aerospace.
301164562Sgshapiro		Hitachi 3050R/3050RX and 3500 Workstations running
301264562Sgshapiro			HI-UX/WE2 4.02, 6.10 and 7.10 from Motonori
301364562Sgshapiro			NAKAMURA of Kyoto University.
301464562Sgshapiro		New compile flag NO_GETSERVBYNAME: set this to disable
301564562Sgshapiro			use of getservbyname() on systems which can
301664562Sgshapiro			not lookup a service by name over NIS, such as
301764562Sgshapiro			HI-UX.  Patch from Motonori NAKAMURA of Kyoto
301864562Sgshapiro			University.
301964562Sgshapiro		Use devtools/bin/install.sh on SCO 5.x.  Problem noted
302064562Sgshapiro			by Sun Wenbing of the China Engineering and
302164562Sgshapiro			Technology Information Network.
302264562Sgshapiro		make depend didn't work properly on UNIXWARE 4.2.  Problem
302364562Sgshapiro			noted by Ariel Malik of Netology, Ltd.
302464562Sgshapiro		Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
302564562Sgshapiro		Set confSTDIO_TYPE to torek for BSD-OS, FreeBSD, NetBSD,
302664562Sgshapiro			and OpenBSD.
302764562Sgshapiro		A recent Compaq Ultrix 4.5 Y2K patch has broken detection
302864562Sgshapiro			of local_hostname_length().  See sendmail/README
302964562Sgshapiro			for more details.  Problem noted by Allan E
303064562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
303164562Sgshapiro	CONFIG: Begin using /etc/mail/ for sendmail related files.  This
303264562Sgshapiro		affects a large number of files.  See cf/README for more
303364562Sgshapiro		details.
303464562Sgshapiro	CONFIG: New macro MAIL_SETTINGS_DIR contains the path (including
303564562Sgshapiro		trailing slash) for the mail settings directory.
303664562Sgshapiro	CONFIG: Increment version number of config file to 9.
303764562Sgshapiro	CONFIG: OSTYPE(`bsdi1.0') and OSTYPE(`bsdi2.0') have been
303864562Sgshapiro		deprecated and may be removed from a future release.
303964562Sgshapiro		BSD/OS users should begin using OSTYPE(`bsdi').
304090792Sgshapiro	CONFIG: OpenBSD 2.4 installs mail.local non-set-user-ID root.  This
304164562Sgshapiro		requires a new OSTYPE(`openbsd').  From Todd C. Miller of
304264562Sgshapiro		Courtesan Consulting.
304364562Sgshapiro	CONFIG: New OSTYPE(`hpux11') for HP/UX 11.X.
304464562Sgshapiro	CONFIG: A syntax error in check_mail would cause fake top-level
304564562Sgshapiro		domains (.BITNET, .DECNET, .FAX, .USENET, and .UUCP) to
304664562Sgshapiro		be improperly rejected as unresolvable.
304764562Sgshapiro	CONFIG: New FEATURE(`dnsbl') takes up to two arguments (name of
304864562Sgshapiro		DNS server, rejection message) and can be included
304964562Sgshapiro		multiple times.
305064562Sgshapiro	CONFIG: New FEATURE(`relay_mail_from') allows relaying if the
305164562Sgshapiro		mail sender is listed as RELAY in the access map (and tagged
305264562Sgshapiro		with From:).
305364562Sgshapiro	CONFIG: Optional tagging of LHS in the access map (Connect:,
305464562Sgshapiro		From:, To:) to enable finer control.
305564562Sgshapiro	CONFIG: New FEATURE(`ldap_routing') implements LDAP address
305664562Sgshapiro		routing.  See cf/README for a complete description of the
305764562Sgshapiro		new functionality.
305864562Sgshapiro	CONFIG: New variables for the new sendmail options:
305964562Sgshapiro		confAUTH_MECHANISMS		AuthMechanisms
306064562Sgshapiro		confAUTH_OPTIONS		AuthOptions
306164562Sgshapiro		confCLIENT_OPTIONS		ClientPortOptions
306264562Sgshapiro		confCONTROL_SOCKET_NAME		ControlSocketName
306364562Sgshapiro		confDEAD_LETTER_DROP		DeadLetterDrop
306464562Sgshapiro		confDEF_AUTH_INFO		DefaultAuthInfo
306564562Sgshapiro		confDF_BUFFER_SIZE		DataFileBufferSize
306664562Sgshapiro		confLDAP_DEFAULT_SPEC		LDAPDefaultSpec
306764562Sgshapiro		confMAX_ALIAS_RECURSION		MaxAliasRecursion
306864562Sgshapiro		confMAX_HEADERS_LENGTH		MaxHeadersLength
306964562Sgshapiro		confMAX_MIME_HEADER_LENGTH	MaxMimeHeaderLength
307064562Sgshapiro		confPID_FILE			PidFile
307164562Sgshapiro		confPROCESS_TITLE_PREFIX	ProcessTitlePrefix
307264562Sgshapiro		confRRT_IMPLIES_DSN		RrtImpliesDsn
307364562Sgshapiro		confTO_CONTROL			Timeout.control
307464562Sgshapiro		confTO_RESOLVER_RETRANS		Timeout.resolver.retrans
307564562Sgshapiro		confTO_RESOLVER_RETRANS_FIRST	Timeout.resolver.retrans.first
307664562Sgshapiro		confTO_RESOLVER_RETRANS_NORMAL	Timeout.resolver.retrans.normal
307764562Sgshapiro		confTO_RESOLVER_RETRY		Timeout.resolver.retry
307864562Sgshapiro		confTO_RESOLVER_RETRY_FIRST	Timeout.resolver.retry.first
307964562Sgshapiro		confTO_RESOLVER_RETRY_NORMAL	Timeout.resolver.retry.normal
308064562Sgshapiro		confTRUSTED_USER		TrustedUser
308164562Sgshapiro		confXF_BUFFER_SIZE		XscriptFileBufferSize
308264562Sgshapiro	CONFIG: confDAEMON_OPTIONS has been replaced by DAEMON_OPTIONS(),
308364562Sgshapiro		which takes the options as argument and can be used
308464562Sgshapiro		multiple times; see cf/README for details.
308564562Sgshapiro	CONFIG: Add a fifth mailer definition to MAILER(`smtp') called
308664562Sgshapiro		"dsmtp".  This mail provides on-demand delivery using the
308764562Sgshapiro		F=% mailer flag described above.  The "dsmtp" mailer
308864562Sgshapiro		definition uses the new DSMTP_MAILER_ARGS which defaults
308964562Sgshapiro		to "IPC $h".
309064562Sgshapiro	CONFIG: New variables LOCAL_MAILER_MAXMSGS, SMTP_MAILER_MAXMSGS,
309164562Sgshapiro		and RELAY_MAILER_MAXMSGS for setting the m= equate for the
309264562Sgshapiro		local, smtp, and relay mailers respectively.
309364562Sgshapiro	CONFIG: New variable LOCAL_MAILER_DSN_DIAGNOSTIC_CODE for setting
309464562Sgshapiro		the DSN Diagnostic-Code type for the local mailer.  The
309564562Sgshapiro		value should be changed with care.
309664562Sgshapiro	CONFIG: FEATURE(`local_lmtp') now sets the DSN Diagnostic-Code type
309764562Sgshapiro		for the local mailer to the proper value of "SMTP".
309864562Sgshapiro	CONFIG: All included maps are no longer optional by default; if
309964562Sgshapiro		there there is a problem with a map, sendmail will
310064562Sgshapiro		complain.
310164562Sgshapiro	CONFIG: Removed root from class E; use EXPOSED_USER(`root')
310264562Sgshapiro		to get the old behavior.  Suggested by Joe Pruett
310364562Sgshapiro		of Q7 Enterprises.
310464562Sgshapiro	CONFIG: MASQUERADE_EXCEPTION() defines hosts/subdomains which
310564562Sgshapiro		will not be masqueraded.  Proposed by Arne Wichmann
310664562Sgshapiro		of MPI Saarbruecken, Griff Miller of PGS Tensor,
310764562Sgshapiro		Jayme Cox of Broderbund Software Inc.
310864562Sgshapiro	CONFIG: A list of exceptions for FEATURE(`nocanonify') can be
310964562Sgshapiro		specified by CANONIFY_DOMAIN or CANONIFY_DOMAIN_FILE,
311064562Sgshapiro		i.e., a list of domains which are passed to $[ ... $]
311164562Sgshapiro		for canonification. Based on an idea from Neil Rickert
311264562Sgshapiro		of Northern Illinois University.
311364562Sgshapiro	CONFIG: If `canonify_hosts' is specified as parameter for
311464562Sgshapiro		FEATURE(`nocanonify') then addresses which have only
311564562Sgshapiro		a hostname, e.g., <user@host>, will be canonified.
311664562Sgshapiro	CONFIG: If FEATURE(`nocanonify') is turned on, a trailing dot is
311764562Sgshapiro		nevertheless added to addresses with more than one component
311864562Sgshapiro		in it.
311964562Sgshapiro	CONFIG: Canonification is no longer attempted for any host or domain
312064562Sgshapiro		in class 'P' ($=P).
312164562Sgshapiro	CONFIG: New class for matching virtusertable entries $={VirtHost} that
312264562Sgshapiro		can be populated by VIRTUSER_DOMAIN or VIRTUSER_DOMAIN_FILE.
312364562Sgshapiro		FEATURE(`virtuser_entire_domain') can be used to apply this
312464562Sgshapiro		class also to entire subdomains.  Hosts in this class are
312564562Sgshapiro		treated as canonical in SCanonify2, i.e., a trailing dot
312664562Sgshapiro		is added.
312764562Sgshapiro	CONFIG: If VIRTUSER_DOMAIN() or VIRTUSER_DOMAIN_FILE() are used,
312864562Sgshapiro		include $={VirtHost} in $=R (hosts allowed to relay).
312964562Sgshapiro	CONFIG: FEATURE(`generics_entire_domain') can be used to apply the
313064562Sgshapiro		genericstable also to subdomains of $=G.
313164562Sgshapiro	CONFIG: Pass "+detail" as %2 for virtusertable lookups.
313264562Sgshapiro		Patch from Noam Freedman from University of Chicago.
313364562Sgshapiro	CONFIG: Pass "+detail" as %1 for genericstable lookups.  Suggested
313464562Sgshapiro		by Raymond S Brand of rsbx.net.
313564562Sgshapiro	CONFIG: Allow @domain in genericstable to override masquerading.
313664562Sgshapiro		Suggested by Owen Duffy from Owen Duffy & Associates.
313764562Sgshapiro	CONFIG: LOCAL_DOMAIN() adds entries to class w.  Suggested by Steve
313864562Sgshapiro		Hubert of University of Washington.
313964562Sgshapiro	CONFIG: OSTYPE(`gnuhurd') has been replaced by OSTYPE(`gnu') as
314064562Sgshapiro		GNU is now the canonical system name.  From Mark
314164562Sgshapiro		Kettenis of the University of Amsterdam.
314264562Sgshapiro	CONFIG: OSTYPE(`unixware7') updates from Larry Rosenman.
314364562Sgshapiro	CONFIG: Do not include '=' in option expansion if there is no value
314464562Sgshapiro		associated with the option.  From Andrew Brown of
314564562Sgshapiro		Graffiti World Wide, Inc.
314664562Sgshapiro	CONFIG: Add MAILER(`qpage') to define a new pager mailer.  Contributed
314764562Sgshapiro		by Philip A. Prindeville of Enteka Enterprise Technology
314864562Sgshapiro		Services.
314964562Sgshapiro	CONFIG: MAILER(`cyrus') was not preserving case for mail folder
315064562Sgshapiro		names.  Problem noted by Randall Winchester of Swales
315164562Sgshapiro		Aerospace.
315264562Sgshapiro	CONFIG: RELAY_MAILER_FLAGS can be used to define additional flags
315364562Sgshapiro		for the relay mailer.  Suggested by Doug Hughes of Auburn
315464562Sgshapiro		University and Brian Candler.
315564562Sgshapiro	CONFIG: LOCAL_MAILER_FLAGS now includes 'P' (Add Return-Path:
315664562Sgshapiro		header) by default.  Suggested by Per Hedeland of Ericsson.
315764562Sgshapiro	CONFIG: Use SMART_HOST for bracketed addresses, e.g., user@[host].
315864562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
315964562Sgshapiro		Institute.
316064562Sgshapiro	CONFIG: New macro MODIFY_MAILER_FLAGS to tweak *_MAILER_FLAGS;
316164562Sgshapiro		i.e., to set, add, or delete flags.
316264562Sgshapiro	CONFIG: If SMTP AUTH is used then relaying is allowed for any user
316364562Sgshapiro		who authenticated via a "trusted" mechanism, i.e., one that
316464562Sgshapiro		is defined via TRUST_AUTH_MECH(`list of mechanisms').
316564562Sgshapiro	CONFIG: FEATURE(`delay_checks') delays check_mail and check_relay
316664562Sgshapiro		after check_rcpt and allows for exceptions from the checks.
316764562Sgshapiro	CONFIG: Map declarations have been moved into their associated
316864562Sgshapiro		feature files to allow greater flexibility in use of
316964562Sgshapiro		sequence maps.  Suggested by Per Hedeland of Ericsson.
317064562Sgshapiro	CONFIG: New macro LOCAL_MAILER_EOL to override the default end of
317164562Sgshapiro		line string for the local mailer.  Requested by Il Oh of
317264562Sgshapiro		Willamette Industries, Inc.
317364562Sgshapiro	CONFIG: Route addresses are stripped, i.e., <@a,@b,@c:user@d> is
317464562Sgshapiro		converted to <user@d>
317564562Sgshapiro	CONFIG: Reject bogus return address of <@@hostname>, generated by
317664562Sgshapiro		Sun's older, broken configuration files.
317764562Sgshapiro	CONFIG: FEATURE(`nullclient') now provides the full rulesets of a
317864562Sgshapiro		normal configuration, allowing anti-spam checks to be
317964562Sgshapiro		performed.
318064562Sgshapiro	CONFIG: Don't return a permanent error (Relaying denied) if
318164562Sgshapiro		${client_name} can't be resolved just temporarily.
318264562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
318364562Sgshapiro		Institute.
318464562Sgshapiro	CONFIG: Change numbered rulesets into named (which still can
318564562Sgshapiro		be accessed by their numbers).
318664562Sgshapiro	CONFIG: FEATURE(`nouucp') takes one parameter: reject or nospecial
318764562Sgshapiro		which describes whether to disallow "!" in the local part
318864562Sgshapiro		of an address.
318964562Sgshapiro	CONFIG: Call Local_localaddr from localaddr (S5) which can be used
319064562Sgshapiro		to rewrite an address from a mailer which has the F=5 flag
319164562Sgshapiro		set.  If the ruleset returns a mailer, the appropriate
319264562Sgshapiro		action is taken, otherwise the returned tokens are ignored.
319364562Sgshapiro	CONFIG: cf/ostype/solaris.m4 has been renamed to solaris2.pre5.m4
319464562Sgshapiro		and cf/ostype/solaris2.m4 is now a copy of solaris2.ml.m4.
319564562Sgshapiro		The latter is kept around for backward compatibility.
319664562Sgshapiro	CONFIG: Allow ":D.S.N:" for mailer/virtusertable "error:" entries,
319764562Sgshapiro		where "D.S.N" is an RFC 1893 compliant error code.
319864562Sgshapiro	CONFIG: Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
319964562Sgshapiro	CONFIG: Remove second space between username and date in UNIX From_
320064562Sgshapiro		line.  Noted by Allan E Johannesen of Worcester Polytechnic
320164562Sgshapiro		Institute.
320264562Sgshapiro	CONFIG: Make sure all of the mailers have complete T= equates.
320364562Sgshapiro	CONFIG: Extend FEATURE(`local_procmail') so it can now take
320464562Sgshapiro		arguments overriding the mailer program, arguments, and
320564562Sgshapiro		mailer definition flags.  This makes it possible to use
320664562Sgshapiro		other programs such as maildrop for local delivery.
320764562Sgshapiro	CONFIG: Emit warning if FEATURE(`local_lmtp') or
320864562Sgshapiro		FEATURE(`local_procmail') is given after MAILER(`local').
320964562Sgshapiro		Patch from Richard A. Nelson of IBM.
321064562Sgshapiro	CONFIG: Add SMTP Authentication information to Received: header
321164562Sgshapiro		default value (confRECEIVED_HEADER).
321264562Sgshapiro	CONFIG: Remove `l' flag from USENET_MAILER_FLAGS as it is not a
321364562Sgshapiro		local mailer.  Problem noted by Per Hedeland of Ericsson.
321464562Sgshapiro	CONTRIB: Added bounce-resender.pl from Brian R. Gaeke of the
321564562Sgshapiro		University of California at Berkeley.
321664562Sgshapiro	CONTRIB: Added domainmap.m4 from Mark D. Roth of the University of
321764562Sgshapiro		Illinois at Urbana-Champaign.
321864562Sgshapiro	CONTRIB: etrn.pl now recognizes bogus host names.  Patch from
321964562Sgshapiro		Bruce Barnett of GE's R&D Lab.
322064562Sgshapiro	CONTRIB: Patches for re-mqueue.pl by Graeme Hewson of Oracle
322164562Sgshapiro		Corporation UK.
322264562Sgshapiro	CONTRIB: Added qtool.pl to assist in managing the queues.
322364562Sgshapiro	DEVTOOLS: Prevent user environment variables from interfering with
322464562Sgshapiro		the Build scripts.  Problem noted by Ezequiel H. Panepucci of
322564562Sgshapiro		Yale University.
322664562Sgshapiro	DEVTOOLS: 'Build -M' will display the obj.* directory which will
322764562Sgshapiro		be used for building.
322864562Sgshapiro	DEVTOOLS: 'Build -A' will display the architecture that would be
322964562Sgshapiro		used for a fresh build.
323064562Sgshapiro	DEVTOOLS: New variable confRANLIB, set automatically by configure.sh.
323164562Sgshapiro	DEVTOOLS: New variable confRANLIBOPTS for the options to send to
323264562Sgshapiro		ranlib.
323364562Sgshapiro	DEVTOOLS: 'Build -O <path>' will have the object files build in
323464562Sgshapiro		<path>/obj.*.  Suggested by Bryan Costales of Exactis.
323564562Sgshapiro	DEVTOOLS: New variable confNO_MAN_BUILD which will prevent the
323664562Sgshapiro		building of the man pages when defined.  Suggested by Bryan
323764562Sgshapiro		Costales.
323864562Sgshapiro	DEVTOOLS: New variables confNO_HELPFILE_INSTALL and
323964562Sgshapiro		confNO_STATISTICS_INSTALL which will prevent the
324064562Sgshapiro		installation of the sendmail helpfile and statistics file
324164562Sgshapiro		respectively.  Suggested by Bryan Costales.
324264562Sgshapiro	DEVTOOLS: Recognize ReliantUNIX as SINIX.  Patch from Gerald Rinske
324364562Sgshapiro		of Siemens Business Services.
324464562Sgshapiro	DEVTOOLS: New variable confSTDIO_TYPE which defines the type of
324564562Sgshapiro		stdio library.  The new buffered file I/O depends on the
324664562Sgshapiro		Torek stdio library.  This option can be either portable or
324764562Sgshapiro		torek.
324864562Sgshapiro	DEVTOOLS: New variables confSRCADD and confSMSRCADD which
324964562Sgshapiro		correspond to confOBJADD and confSMOBJADD respectively.
325064562Sgshapiro		They should contain the C source files for the object files
325164562Sgshapiro		listed in confOBJADD and confSMOBJADD.  These file names
325264562Sgshapiro		will be passed to the 'make depend' stage of compilation.
325364562Sgshapiro	DEVTOOLS: New program specific variables for each of the programs
325464562Sgshapiro		in the sendmail distribution.  Each has the form
325564562Sgshapiro		`conf_prog_ENVDEF', for example, `conf_sendmail_ENVDEF'.
325664562Sgshapiro		The new variables are conf_prog_ENVDEF, conf_prog_LIBS,
325764562Sgshapiro		conf_prog_SRCADD, and conf_prog_OBJADD.
325864562Sgshapiro	DEVTOOLS: Build system redesign.  This should have little affect on
325964562Sgshapiro		building the distribution, but documentation on the changes
326064562Sgshapiro		are in devtools/README.
326164562Sgshapiro	DEVTOOLS: Don't allow 'Build -f file' if an object directory already
326264562Sgshapiro		exists.  Suggested by Valdis Kletnieks of Virginia Tech.
326364562Sgshapiro	DEVTOOLS: Rename confSRCDIR to confSMSRCDIR since it only identifies
326464562Sgshapiro		the path to the sendmail source directory.  confSRCDIR is a
326564562Sgshapiro		new variable which identifies the root of the source
326664562Sgshapiro		directories for all of the programs in the distribution.
326764562Sgshapiro	DEVTOOLS: confSRCDIR and confSMSRCDIR are now determined at Build
326864562Sgshapiro		time.  They can both still be overridden by setting the m4
326964562Sgshapiro		macro.
327064562Sgshapiro	DEVTOOLS: confSBINGRP now defaults to bin instead of kmem.
327164562Sgshapiro	DEVTOOLS: 'Build -Q prefix' uses devtools/Site/prefix.*.m4 for
327264562Sgshapiro		build configurations, and places objects in obj.prefix.*/.
327364562Sgshapiro		Complains as 'Build -f file' does for existing object
327464562Sgshapiro		directories.  Suggested by Tom Smith of Digital Equipment
327564562Sgshapiro		Corporation.
327664562Sgshapiro	DEVTOOLS: Setting confINSTALL_RAWMAN will install unformatted
327764562Sgshapiro		manual pages in the directory tree specified by
327864562Sgshapiro		confMANROOTMAN.
327964562Sgshapiro	DEVTOOLS: If formatting the manual pages fails, copy in the
328064562Sgshapiro		preformatted pages from the distribution.  The new variable
328164562Sgshapiro		confCOPY specifies the copying program.
328264562Sgshapiro	DEVTOOLS: Defining confFORCE_RMAIL will install rmail without
328364562Sgshapiro		question.  Suggested by Terry Lambert of Whistle
328464562Sgshapiro		Communications.
328564562Sgshapiro	DEVTOOLS: confSTFILE and confHFFILE can be used to change the names
328664562Sgshapiro		of the installed statistics and help files, respectively.
328764562Sgshapiro	DEVTOOLS: Remove spaces in `uname -r` output when determining
328864562Sgshapiro		operating system identity.  Problem noted by Erik
328964562Sgshapiro		Wachtenheim of Dartmouth College.
329064562Sgshapiro	DEVTOOLS: New variable confLIBSEARCHPATH to specify the paths that
329164562Sgshapiro		will be search for the libraries specified in confLIBSEARCH.
329264562Sgshapiro		Defaults to "/lib /usr/lib /usr/shlib".
329364562Sgshapiro	DEVTOOLS: New variables confSTRIP and confSTRIPOPTS for specifying
329464562Sgshapiro		how to strip binaries.  These are used by the new
329564562Sgshapiro		install-strip target.
329664562Sgshapiro	DEVTOOLS: New config file site.post.m4 which is included after
329764562Sgshapiro		the others (if it exists).
329864562Sgshapiro	DEVTOOLS: Change order of LIBS: first product specific libraries
329964562Sgshapiro		then the default ones.
330090792Sgshapiro	MAIL.LOCAL: Will not be installed set-user-ID root.  To use mail.local
330164562Sgshapiro		as local delivery agent without LMTP mode, use
330264562Sgshapiro		MODIFY_MAILER_FLAGS(`LOCAL', `+S')
330364562Sgshapiro		to set the S flag.
330464562Sgshapiro	MAIL.LOCAL: Do not reject addresses which would otherwise be
330564562Sgshapiro		accepted by sendmail.  Suggested by Neil Rickert of
330664562Sgshapiro		Northern Illinois University.
330764562Sgshapiro	MAIL.LOCAL: New -7 option which causes LMTP mode not to advertise
330864562Sgshapiro		8BITMIME in the LHLO response.  Suggested by Kari Hurtta of
330964562Sgshapiro		the Finnish Meteorological Institute.
331064562Sgshapiro	MAIL.LOCAL: Add support for the maillock() routines by defining
331164562Sgshapiro		MAILLOCK when compiling.  Also requires linking with
331264562Sgshapiro		-lmail.  Patch from Neil Rickert of Northern Illinois
331364562Sgshapiro		University.
331464562Sgshapiro	MAIL.LOCAL: Create a Content-Length: header if CONTENTLENGTH is
331564562Sgshapiro		defined when compiling.  Automatically set for Solaris 2.3
331664562Sgshapiro		and later.  Patch from Neil Rickert of Northern Illinois
331764562Sgshapiro		University.
331864562Sgshapiro	MAIL.LOCAL: Move the initialization of the 'notifybiff' address
331964562Sgshapiro		structure to the beginning of the program.  This ensures that
332064562Sgshapiro		the getservbyname() is done before any seteuid to a possibly
332164562Sgshapiro		unauthenticated user.  If you are using NIS+ and secure RPC
332264562Sgshapiro		on a Solaris system, this avoids syslog messages such as,
332364562Sgshapiro		"authdes_refresh: keyserv(1m) is unable to encrypt session
332464562Sgshapiro		key."  Patch from Neil Rickert of Northern Illinois
332564562Sgshapiro		University.
332664562Sgshapiro	MAIL.LOCAL: Support group writable mail spool files when MAILGID is
332764562Sgshapiro		set to the gid to use (-DMAILGID=6) when compiling.
332864562Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
332964562Sgshapiro	MAIL.LOCAL: When a mail message included lines longer than 2046
333064562Sgshapiro		characters (in LMTP mode), mail.local split the incoming
333164562Sgshapiro		line up into 2046-character output lines (excluding the
333264562Sgshapiro		newline).  If an input line was 2047 characters long
333364562Sgshapiro		(excluding CR-LF) and the last character was a '.',
333464562Sgshapiro		mail.local saw it as the end of input, transfered it to the
333564562Sgshapiro		user mailbox and tried to write an `ok' back to sendmail.
333664562Sgshapiro		If the message was much longer, both sendmail and
333764562Sgshapiro		mail.local would deadlock waiting for each other to read
333864562Sgshapiro		what they have written.  Problem noted by Peter Jeremy of
333964562Sgshapiro		Alcatel Australia Limited.
334064562Sgshapiro	MAIL.LOCAL: New option -b to return a permanent error instead of a
334164562Sgshapiro		temporary error if a mailbox exceeds quota.  Suggested by
334264562Sgshapiro		Neil Rickert of Northern Illinois University.
334364562Sgshapiro	MAIL.LOCAL: The creation of a lockfile is subject to a global
334464562Sgshapiro		timeout to avoid starvation.
334564562Sgshapiro	MAIL.LOCAL: Properly parse addresses with multiple quoted
334664562Sgshapiro		local-parts.  Problem noted by Ronald F. Guilmette of
334764562Sgshapiro		Infinite Monkeys & Co.
334864562Sgshapiro	MAIL.LOCAL: NCR MP/RAS 3.X portability from Tom J. Moore of NCR.
334964562Sgshapiro	MAILSTATS: New -p option to invoke program mode in which stats are
335064562Sgshapiro		printed in a machine readable fashion and the stats file
335164562Sgshapiro		is reset.  Patch from Kevin Hildebrand of the University
335264562Sgshapiro		of Maryland.
335364562Sgshapiro	MAKEMAP: If running as root, automatically change the ownership of
335464562Sgshapiro		generated maps to the TrustedUser as specified in the
335564562Sgshapiro		sendmail configuration file.
335664562Sgshapiro	MAKEMAP: New -C option to accept an alternate sendmail
335764562Sgshapiro		configuration file to use for finding the TrustedUser
335864562Sgshapiro		option.
335964562Sgshapiro	MAKEMAP: New -u option to dump (unmap) a database.  Based on
336064562Sgshapiro		code contributed by Roy Mongiovi of Georgia Tech.
336164562Sgshapiro	MAKEMAP: New -e option to allow empty values.  Suggested by Philip
336264562Sgshapiro		A. Prindeville of Enteka Enterprise Technology Services.
336364562Sgshapiro	MAKEMAP: Compile cleanly on 64-bit operating systems.  Problem
336464562Sgshapiro		noted by Gerald Rinske of Siemens Business Services.
336564562Sgshapiro	OP.ME: Correctly document interaction between F=S and U= mailer
336664562Sgshapiro		equates.  Problem noted by Bob Halley of Internet Engines.
336764562Sgshapiro	OP.ME: Fixup Timeout documentation.  From Graeme Hewson of Oracle
336864562Sgshapiro		Corporation UK.
336964562Sgshapiro	OP.ME: The Timeout [r] option was incorrectly listed as "safe"
337064562Sgshapiro		(e.g., sendmail would not drop root privileges if the
337164562Sgshapiro		option was specified on the command line).  Problem noted
337264562Sgshapiro		by Todd C. Miller of Courtesan Consulting.
337364562Sgshapiro	PRALIASES: Handle the hash and btree map specifications for
337464562Sgshapiro		Berkeley DB.  Patch from Brian J. Coan of the
337564562Sgshapiro		Institute for Global Communications.
337664562Sgshapiro	PRALIASES: Read the sendmail.cf file for the location(s) of the
337764562Sgshapiro		alias file(s) if the -f option is not used.  Patch from
337864562Sgshapiro		John Beck of Sun Microsystems.
337964562Sgshapiro	PRALIASES: New -C option to specify an alternate sendmail
338064562Sgshapiro		configuration file to use for finding alias file(s).  Patch
338164562Sgshapiro		from John Beck of Sun Microsystems.
338264562Sgshapiro	SMRSH: allow shell commands echo, exec, and exit.  Allow command
338364562Sgshapiro		lists using || and &&.  Based on patch from Brian J. Coan
338464562Sgshapiro		of the Institute for Global Communications.
338564562Sgshapiro	SMRSH: Update README for the new Build system.  From Tim Pierce
338664562Sgshapiro		of RootsWeb Genealogical Data Cooperative.
338764562Sgshapiro	VACATION: Added vacation auto-responder to sendmail distribution.
338864562Sgshapiro	LIBSMDB: Added abstracted database library.  Works with Berkeley
338964562Sgshapiro		DB 1.85, Berkeley DB 2.X, Berkeley DB 3.X, and NDBM.
339064562Sgshapiro	Changed Files:
339164562Sgshapiro		The Build script in the various program subdirectories are
339264562Sgshapiro			no longer symbolic links.  They are now scripts
339364562Sgshapiro			which execute the actual Build script in
339464562Sgshapiro			devtools/bin.
339564562Sgshapiro		All the manual pages are now written against -man and not
339664562Sgshapiro			-mandoc as they were previously.
339764562Sgshapiro		Add a simple Makefile to every directory so make instead
339864562Sgshapiro			of Build will work (unless parameters are
339964562Sgshapiro			required for Build).
340064562Sgshapiro	New Directories:
340164562Sgshapiro		devtools/M4/UNIX
340264562Sgshapiro		include
340364562Sgshapiro		libmilter
340464562Sgshapiro		libsmdb
340564562Sgshapiro		libsmutil
340664562Sgshapiro		vacation
340764562Sgshapiro	Renamed Directories:
340864562Sgshapiro		BuildTools => devtools
340964562Sgshapiro		src => sendmail
341064562Sgshapiro	Deleted Files:
341164562Sgshapiro		cf/m4/nullrelay.m4
341264562Sgshapiro		devtools/OS/Linux.ppc
341364562Sgshapiro		devtools/OS/ReliantUNIX
341464562Sgshapiro		devtools/OS/SINIX
341564562Sgshapiro		sendmail/ldap_map.h
341664562Sgshapiro	New Files:
341764562Sgshapiro		INSTALL
341864562Sgshapiro		PGPKEYS
341964562Sgshapiro		cf/cf/generic-linux.cf
342064562Sgshapiro		cf/cf/generic-linux.mc
342164562Sgshapiro		cf/feature/delay_checks.m4
342264562Sgshapiro		cf/feature/dnsbl.m4
342364562Sgshapiro		cf/feature/generics_entire_domain.m4
342464562Sgshapiro		cf/feature/no_default_msa.m4
342564562Sgshapiro		cf/feature/relay_mail_from.m4
342664562Sgshapiro		cf/feature/virtuser_entire_domain.m4
342764562Sgshapiro		cf/mailer/qpage.m4
342864562Sgshapiro		cf/ostype/bsdi.m4
342964562Sgshapiro		cf/ostype/hpux11.m4
343064562Sgshapiro		cf/ostype/openbsd.m4
343164562Sgshapiro		contrib/bounce-resender.pl
343264562Sgshapiro		contrib/domainmap.m4
343364562Sgshapiro		contrib/qtool.8
343464562Sgshapiro		contrib/qtool.pl
343564562Sgshapiro		devtools/M4/depend/AIX.m4
343664562Sgshapiro		devtools/M4/list.m4
343764562Sgshapiro		devtools/M4/string.m4
343864562Sgshapiro		devtools/M4/subst_ext.m4
343964562Sgshapiro		devtools/M4/switch.m4
344064562Sgshapiro		devtools/OS/Darwin
344164562Sgshapiro		devtools/OS/GNU
344264562Sgshapiro		devtools/OS/SINIX.5.43
344364562Sgshapiro		devtools/OS/SINIX.5.44
344464562Sgshapiro		devtools/OS/m88k
344564562Sgshapiro		devtools/bin/find_in_path.sh
344664562Sgshapiro		mail.local/Makefile
344764562Sgshapiro		mailstats/Makefile
344864562Sgshapiro		makemap/Makefile
344964562Sgshapiro		praliases/Makefile
345064562Sgshapiro		rmail/Makefile
345164562Sgshapiro		sendmail/Makefile
345264562Sgshapiro		sendmail/bf.h
345364562Sgshapiro		sendmail/bf_portable.c
345464562Sgshapiro		sendmail/bf_portable.h
345564562Sgshapiro		sendmail/bf_torek.c
345664562Sgshapiro		sendmail/bf_torek.h
345764562Sgshapiro		sendmail/shmticklib.c
345864562Sgshapiro		sendmail/statusd_shm.h
345964562Sgshapiro		sendmail/timers.c
346064562Sgshapiro		sendmail/timers.h
346164562Sgshapiro		smrsh/Makefile
346264562Sgshapiro		vacation/Makefile
346364562Sgshapiro	Renamed Files:
346464562Sgshapiro		cf/ostype/gnuhurd.m4 => cf/ostype/gnu.m4
346564562Sgshapiro		sendmail/cdefs.h => include/sendmail/cdefs.h
346664562Sgshapiro		sendmail/sendmail.hf => sendmail/helpfile
346764562Sgshapiro		sendmail/mailstats.h => include/sendmail/mailstats.h
346864562Sgshapiro		sendmail/pathnames.h => include/sendmail/pathnames.h
346964562Sgshapiro		sendmail/safefile.c => libsmutil/safefile.c
347064562Sgshapiro		sendmail/snprintf.c => libsmutil/snprintf.c
347164562Sgshapiro		sendmail/useful.h => include/sendmail/useful.h
347264562Sgshapiro		cf/ostype/solaris2.m4 => cf/ostype/solaris2.pre5.m4
347364562Sgshapiro	Copied Files:
347464562Sgshapiro		cf/ostype/solaris2.ml.m4 => cf/ostype/solaris2.m4
347564562Sgshapiro
347664562Sgshapiro8.9.3/8.9.3	1999/02/04
347743730Speter	SECURITY: Limit message headers to a maximum of 32K bytes (total
347843730Speter		of all headers in a single message) to prevent a denial of
347943730Speter		service attack.  This limit will be configurable in 8.10.
348043730Speter		Problem noted by Michal Zalewski of the "Internet for
348143730Speter		Schools" project (IdS).
348243730Speter	Prevent segmentation fault on an LDAP lookup if the LDAP map
348343730Speter		was closed due to an earlier failure.  Problem noted by
348443730Speter		Jeff Wasilko of smoe.org.  Fix from Booker Bense of
348543730Speter		Stanford University and Per Hedeland of Ericsson.
348643730Speter	Preserve the order of the MIME headers in multipart messages
348743730Speter		when performing the MIME header length check.  This
348843730Speter		will allow PGP signatures to function properly.  Problem
348943730Speter		noted by Lars Hecking of University College, Cork, Ireland.
349043730Speter	If ruleset 5 rewrote the local address to an :include: directive,
349143730Speter		the delivery would fail with an "aliasing/forwarding loop
349243730Speter		broken" error.  Problem noted by Eric C Hagberg of Morgan
349343730Speter		Stanley.  Fix from Per Hedeland of Ericsson.
349443730Speter	Allow -T to work for bestmx maps.  Fix from Aaron Schrab of
349543730Speter		ExecPC Internet Systems.
349643730Speter	During the transfer of a message in an SMTP transaction, if a
349743730Speter		TCP timeout occurs, the message would be properly queued
349843730Speter		for later retry but the failure would be logged as
349943730Speter		"Illegal Seek" instead of a timeout.  Problem noted by
350043730Speter		Piotr Kucharski of the Warsaw School of Economics (SGH)
350143730Speter		and Carles Xavier Munyoz Baldo of CTV Internet.
350243730Speter	Prevent multiple deliveries on a self-referencing alias if the
350343730Speter		F=w mailer flag is not set.  Problem noted by Murray S.
350443730Speter		Kucherawy of Concentric Network Corporation and Per
350543730Speter		Hedeland of Ericsson.
350643730Speter	Do not strip empty headers but if there is no value and a
350743730Speter		default is defined in sendmail.cf, use the default.
350843730Speter		Problem noted by Philip Guenther of Gustavus Adolphus
350943730Speter		College and Christopher McCrory of Netus, Inc.
351043730Speter	Don't inherit information about the sender (notably the full name)
351143730Speter		in SMTP (-bs) mode, since this might be called from inetd.
351243730Speter	Accept any 3xx reply code in response to DATA command instead of
351343730Speter		requiring 354.  This change will match the wording to be
351443730Speter		published in the updated SMTP specification from the DRUMS
351543730Speter		group of the IETF.
351643730Speter	Portability:
351764562Sgshapiro		AIX 4.2.0 or 4.2.1 may become updated by the fileset
351864562Sgshapiro			bos.rte.net level 4.2.0.2.  This introduces the
351964562Sgshapiro			softlink /usr/lib/libbind.a which should
352043730Speter			not be used.  It conflicts with the resolver
352143730Speter			built into libc.a.  "bind" has been removed
352243730Speter			from the confLIBSEARCH BuildTools variable.
352343730Speter			Users who have installed BIND 8.X will have
352443730Speter			to add it back in their site.config.m4 file.
352543730Speter			Problem noted by Ole Holm Nielsen of the
352643730Speter			Technical University of Denmark.
352743730Speter		CRAY TS 10.0.x from Sven Nielsen of San Diego
352843730Speter			Supercomputer Center.
352943730Speter		Improved LDAP version 3 integration based on input
353043730Speter			from Kurt D. Zeilenga of the OpenLDAP Foundation,
353143730Speter			John Beck of Sun Microsystems, and Booker Bense
353243730Speter			of Stanford University.
353343730Speter		Linux doesn't have a standard way to get the timezone
353443730Speter			between different releases.  Back out the
353543730Speter			change in 8.9.2 and don't attempt to derive
353643730Speter			a timezone.  Problem reported by Igor S. Livshits
353743730Speter			of the University of Illinois at Urbana-Champaign
353843730Speter			and Michael Dickens of Tetranet Communications.
353943730Speter		Reliant UNIX, the new name for SINIX, from Gert-Jan Looy
354043730Speter			of Siemens/SNI.
354143730Speter		SunOS 5.8 from John Beck of Sun Microsystems.
354243730Speter	CONFIG: SCO UnixWare 2.1 and 7.0 need TZ to get the proper
354343730Speter		timezone.  Problem noted by Petr Lampa of Technical
354443730Speter		University of Brno.
354543730Speter	CONFIG: Handle <@bestmx-host:user@otherhost> addressing properly
354643730Speter		when using FEATURE(bestmx_is_local).  Patch from Neil W.
354743730Speter		Rickert of Northern Illinois University.
354843730Speter	CONFIG: Properly handle source routed and %-hack addresses on
354943730Speter		hosts which the mailertable remaps to local:.  Patch from
355043730Speter		Neil W. Rickert of Northern Illinois University.
355143730Speter	CONFIG: Internal fixup of mailertable local: map value.  Patch from
355243730Speter		Larry Parmelee of Cornell University.
355343730Speter	CONFIG: Only add back +detail from host portion of mailer triplet
355443730Speter		on local mailer triplets if it was originally +detail.
355543730Speter		Patch from Neil W. Rickert of Northern Illinois University.
355643730Speter	CONFIG: The bestmx_is_local checking done in check_rcpt would
355743730Speter		cause later checks to fail.  Patch from Paul J Murphy of
355843730Speter		MIDS Europe.
355964562Sgshapiro	New Files:
356043730Speter		BuildTools/OS/CRAYTS.10.0.x
356143730Speter		BuildTools/OS/ReliantUNIX
356243730Speter		BuildTools/OS/SunOS.5.8
356343730Speter
356464562Sgshapiro8.9.2/8.9.2	1998/12/30
356542575Speter	SECURITY: Remove five second sleep on accepting daemon connections
356642575Speter		due to an accept() failure.  This sleep could be used
356742575Speter		for a denial of service attack.
356842575Speter	Do not silently ignore queue files with names which are too long.
356942575Speter		Patch from Bryan Costales of InfoBeat, Inc.
357042575Speter	Do not store failures closing an SMTP session in persistent
357142575Speter		host status.  Reported by Graeme Hewson of Oracle
357242575Speter		Corporation UK.
357342575Speter	Allow symbolic link forward files if they are in safe directories.
357442575Speter		Problem noted by Andreas Schott of the Max Planck Society.
357542575Speter	Missing columns in a text map could cause a segmentation fault.
357642575Speter		Fix from David Lee of the University of Durham.
357743730Speter	Note that for 8.9.X, PrivacyOptions=goaway also includes the
357842575Speter		noetrn flag.  This is scheduled to change in a future
357942575Speter		version of sendmail.  Problem noted by Theo Van Dinter of
358042575Speter		Chrysalis Symbolic Designa and Alan Brown of Manawatu
358142575Speter		Internet Services.
358242575Speter	When trying to do host canonification in a Wildcard MX
358342575Speter		environment, try an MX lookup of the hostname without the
358442575Speter		default domain appended.  Problem noted by Olaf Seibert of
358542575Speter		Polderland Language & Speech Technology.
358642575Speter	Reject SMTP RCPT To: commands with only comments (i.e.
358742575Speter		'RCPT TO: (comment)'.  Problem noted by Earle Ake of
358842575Speter		Hassler Communication Systems Technology, Inc.
358942575Speter	Handle any number of %s in the LDAP filter spec.  Patch from
359042575Speter		Per Hedeland of Ericsson.
359142575Speter	Clear ldapx open timeouts even if the map open failed to prevent
359242575Speter		a segmentation fault.  Patch from Wayne Knowles of the
359342575Speter		National Institute of Water & Atmospheric Research Ltd.
359442575Speter	Do not syslog envelope clone messages when using address
359542575Speter		verification (-bv).  Problem noted by Kari Hurtta of the
359642575Speter		Finnish Meteorological Institute.
359742575Speter	Continue to perform queue runs while in daemon mode even if the
359842575Speter		daemon is rejecting connections due to a disk full
359942575Speter		condition.  Problem noted by JR Oldroyd of TerraNet
360042575Speter		Internet Services.
360142575Speter	Include full filename on installation of the sendmail.hf file
360242575Speter		in case the $HFDIR directory does not exist.  Problem
360342575Speter		noted by Josef Svitak of Montana State University.
360442575Speter	Close all maps when exiting the process with one exception.
360564562Sgshapiro		Berkeley DB can use internal shared memory locking for
360664562Sgshapiro		its memory pool.  Closing a map opened by another process
360764562Sgshapiro		will interfere with the shared memory and locks of the
360864562Sgshapiro		parent process leaving things in a bad state.  For
360942575Speter		Berkeley DB, only close the map if the current process
361042575Speter		is also the one that opened the map, otherwise only close
361142575Speter		the map file descriptor.  Thanks to Yoseff Francus of
361242575Speter		Collective Technologies for volunteering his system for
361342575Speter		extended testing.
361442575Speter	Avoid null pointer dereference on XDEBUG output for SMTP reply
361542575Speter		failures.  Problem noted by Carlos Canau of EUnet Portugal.
361642575Speter	On mailq and hoststat listings being piped to another program, such
361764562Sgshapiro		as more, if the pipe closes (i.e., the user quits more),
361842575Speter		stop sending output and exit.  Patch from Allan E Johannesen
361942575Speter		of Worcester Polytechnic Institute.
362042575Speter	In accordance with the documentation, LDAP map lookup failures
362142575Speter		are now considered temporary failures instead of permanent
362242575Speter		failures unless the -t flag is used in the map definition.
362342575Speter		Problem noted by Booker Bense of Stanford University and
362442575Speter		Eric C. Hagberg of Morgan Stanley.
362542575Speter	Fix by one error reporting on long alias names.  Problem noted by
362642575Speter		H. Paul Hammann of the Missouri Research and Education
362742575Speter		Network.
362842575Speter	Fix DontBlameSendmail=IncludeFileInUnsafeDirPath behavior.  Problem
362942575Speter		noted by Barry S. Finkel of Argonne National Laboratory.
363042575Speter	When automatically converting from 8 bit to quoted printable MIME,
363142575Speter		be careful not to miss a multi-part boundary if that
363242575Speter		boundary is preceded by a boundary-like line.  Problem
363342575Speter		noted by Andreas Raschle of Ansid Inc.  Fix from
363442575Speter		Kari Hurtta of the Finnish Meteorological Institute.
363542575Speter	Avoid bogus reporting of "LMTP tobuf overflow" when the buffer
363642575Speter		has enough space for the additional address.  Problem
363742575Speter		noted by Steve Cliffe of the University of Wollongong.
363843730Speter	Fix DontBlameSendmail=FileDeliveryToSymlink behavior.  Problem
363942575Speter		noted by Alex Vorobiev of Swarthmore College.
364042575Speter	If the check_compat ruleset resolves to the $#discard mailer,
364142575Speter		discard the current recipient.  Unlike check_relay,
364242575Speter		check_mail, and check_rcpt, the entire envelope is not
364342575Speter		discarded.  Problem noted by RZ D. Rahlfs.  Fix from
364442575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
364543730Speter	Avoid segmentation fault when reading ServiceSwitchFile files with
364642575Speter		bogus formatting.  Patch from Kari Hurtta of the Finnish
364742575Speter		Meteorological Institute.
364842575Speter	Support Berkeley DB 2.6.4 API change.
364942575Speter	OP.ME: Pages weren't properly output on duplexed printers.  Fix
365042575Speter		from Matthew Black of CSU Long Beach.
365142575Speter	Portability:
365242575Speter		Apple Rhapsody from Wilfredo Sanchez of Apple Computer, Inc.
365342575Speter		Avoid a clash with IRIX 6.2 getopt.h and the UserDatabase
365442575Speter			option structure.  Problem noted by Ashley M.
365542575Speter			Kirchner of Photo Craft Laboratories, Inc.
365642575Speter		Break out IP address to hostname translation for
365742575Speter			reading network interface addresses into
365842575Speter			class 'w'.  Patch from John Kennedy of
365942575Speter			Cal State University, Chico.
366042575Speter		AIX 4.x use -qstrict with -O3 to prevent the optimized
366142575Speter			from changing the semantics of the compiled
366242575Speter			program.  From Simon Travaglia of the
366342575Speter			University of Waikato, New Zealand.
366442575Speter		FreeBSD 2.2.2 and later support setusercontext().  From
366542575Speter			Peter Wemm of DIALix.
366642575Speter		FreeBSD 3.x fix from Peter Wemm of DIALix.
366742575Speter		IRIX 5.x has a syslog buffer size of 512 bytes.  From
366842575Speter			Nao NINOMIYA of Utsunomiya University.
366942575Speter		IRIX 6.5 64-bit Build support.
367042575Speter		LDAP Version 3 support from John Beck and Ravi Iyer
367142575Speter			of Sun Microsystems.
367242575Speter		Linux does not implement seteuid() properly.  From
367342575Speter			John Kennedy of Cal State University, Chico.
367442575Speter		Linux timezone type was set improperly.  From Takeshi Itoh
367542575Speter			of Bits Co., Ltd.
367642575Speter		NCR MP-RAS 3.x needs -lresolv for confLIBS.  From
367742575Speter			Tom J. Moore of NCR.
367842575Speter		NeXT 4.x correction to man page path.  From J. P. McCann
367942575Speter			of E I A.
368043730Speter		System V Rel 5.x (a.k.a UnixWare7 w/o BSD-Compatibility Libs)
368142575Speter			from Paul Gampe of the Asia Pacific Network
368242575Speter			Information Center.
368342575Speter		ULTRIX now requires an optimization limit of 970 from
368442575Speter			Allan E Johannesen of Worcester Polytechnic
368542575Speter			Institute.
368642575Speter		Fix extern declaration for sm_dopr().  Fix from Henk
368742575Speter			van Oers of Algemeen Nederlands Persbureau.
368842575Speter	CONFIG: Catch @hostname,user@anotherhost.domain as relaying.
368942575Speter		Problem noted by Mark Rogov of AirMedia, Inc.  Fix from
369042575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
369142575Speter	CONFIG: Do not refer to http://maps.vix.com/ on RBL rejections as
369242575Speter		there are multiple RBL's available and the MAPS RBL may
369342575Speter		not be the one in use.  Suggested by Alan Brown of
369442575Speter		Manawatu Internet Services.
369564562Sgshapiro	CONFIG: Properly strip route addresses (i.e., @host1:user@host2)
369642575Speter		when stripping down a recipient address to check for
369742575Speter		relaying.  Patch from Claus Assmann of
369842575Speter		Christian-Albrechts-University of Kiel and Neil W Rickert
369942575Speter		of Northern Illinois University.
370042575Speter	CONFIG: Allow the access database to override RBL lookups.  Patch
370142575Speter		from Claus Assmann of Christian-Albrechts-University of
370242575Speter		Kiel.
370342575Speter	CONFIG: UnixWare 7 support from Phillip P. Porch of The Porch
370442575Speter		Dot Com.
370542575Speter	CONFIG: Fixed check for deferred delivery mode warning.  Patch
370642575Speter		from Claus Assmann of Christian-Albrechts-University of
370764562Sgshapiro		Kiel and Per Hedeland of Ericsson.
370842575Speter	CONFIG: If a recipient using % addressing is used, e.g.
370942575Speter		user%site@othersite, and othersite's MX records are now
371042575Speter		checked for local hosts if FEATURE(relay_based_on_MX) is
371142575Speter		used.  Problem noted by Alexander Litvin of Lucky Net Ltd.
371242575Speter		Patch from Alexander Litvin of Lucky Net Ltd and
371342575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
371442575Speter	MAIL.LOCAL: Prevent warning messages from appearing in the LMTP
371542575Speter		stream.  Do not allow more than one response per recipient.
371642575Speter	MAIL.LOCAL: Handle routed addresses properly when using LMTP.  Fix
371742575Speter		from John Beck of Sun Microsystems.
371842575Speter	MAIL.LOCAL: Properly check for CRLF when using LMTP.  Fix from
371942575Speter		John Beck of Sun Microsystems.
372042575Speter	MAIL.LOCAL: Substitute MAILER-DAEMON for the LMTP empty sender in
372142575Speter		the envelope From header.
372242575Speter	MAIL.LOCAL: Accept underscores in hostnames in LMTP mode.
372342575Speter		Problem noted by Glenn A. Malling of Syracuse University.
372442575Speter	MAILSTATS: Document msgsrej and msgsdis fields in the man page.
372542575Speter		Problem noted by Richard Wong of Princeton University.
372642575Speter	MAKEMAP: Build group list so group writable files are allowed with
372742575Speter		the -s flag.  Problem noted by Curt Sampson of Internet
372842575Speter		Portal Services, Inc.
372942575Speter	PRALIASES: Automatically handle alias files created without the
373042575Speter		NULL byte at the end of the key.  Patch from John Beck of
373142575Speter		Sun Microsystems.
373242575Speter	PRALIASES: Support Berkeley DB 2.6.4 API change.
373342575Speter	New Files:
373442575Speter		BuildTools/OS/IRIX64.6.5
373542575Speter		BuildTools/OS/UnixWare.5.i386
373664562Sgshapiro		cf/ostype/unixware7.m4
373742575Speter		contrib/smcontrol.pl
373842575Speter		src/control.c
373942575Speter
374064562Sgshapiro8.9.1/8.9.1	1998/07/02
374138032Speter	If both an OS specific site configuration file and a generic
374238032Speter		site.config.m4 file existed, only the latter was used
374338032Speter		instead of both.  Problem noted by Geir Johannessen of
374438032Speter		the Norwegian University of Science and Technology.
374538032Speter	Fix segmentation fault while converting 8 bit to 7 bit MIME
374638032Speter		multipart messages by trying to write to an unopened
374738032Speter		file descriptor.  Fix from Kari Hurtta of the Finnish
374838032Speter		Meteorological Institute.
374938032Speter	Do not assume Message: and Text: headers indicate the end of
375038032Speter		the header area when parsing MIME headers.  Problem noted
375138032Speter		by Kari Hurtta of the Finnish Meteorological Institute.
375238032Speter	Setting the confMAN#SRC Build variable would only effect the
375338032Speter		installation commands.  The man pages would still be
375438032Speter		built with .0 extensions.  Problem noted by Bryan
375538032Speter		Costales of InfoBeat, Inc.
375638032Speter	Installation of manual pages didn't honor the DESTDIR environment
375738032Speter		variable.  Problem noted by Bryan Costales of InfoBeat, Inc.
375838032Speter	If the check_relay ruleset resolved to the discard mailer, messages
375938032Speter		were still delivered.  Problem noted by Mirek Luc of NASK.
376038032Speter	Mail delivery to files would fail with an Operating System Error
376164562Sgshapiro		if sendmail was not running as root, i.e., RunAsUser was set.
376238032Speter		Problem noted by Leonard N. Zubkoff of Dandelion Digital.
376338032Speter	Prevent MinQueueAge from interfering from queued items created
376464562Sgshapiro		in the future, i.e., if the system clock was set ahead
376538032Speter		and then back.  Problem noted by Michael Miller of the
376638032Speter		University of Natal, Pietermaritzburg.
376738032Speter	Do not advertise ETRN support in ESTMP EHLO reply if noetrn is
376843730Speter		set in the PrivacyOptions option.  Fix from Ted Rule of
376938032Speter		Flextech TV.
377038032Speter	Log invalid persistent host status file lines instead of
377138032Speter		bouncing the message.  Problem noted by David Lindes of
377238032Speter		DaveLtd Enterprises.
377338032Speter	Move creation of empty sendmail.st file from installation to
377438032Speter		compilation.  Installation may be done from a read-only
377538032Speter		mount.  Fix from Bryan Costales of InfoBeat, Inc. and Ric
377638032Speter		Anderson of the Oasis Research Center, Inc.
377738032Speter	Enforce the maximum number of User Database entries limit.  Problem
377838032Speter		noted by Gary Buchanan of Credence Systems Inc.
377938032Speter	Allow dead.letter files in root's home directory.  Problem noted
378038032Speter		by Anna Ullman of Sun Microsystems.
378138032Speter	Program deliveries in forward files could be marked unsafe if
378238032Speter		any directory listed in the ForwardPath option did not
378338032Speter		exist.  Problem noted by Jorg Bielak of Coastal Web Online.
378438032Speter	Do not trust the length of the address structure returned by
378538032Speter		gethostbyname().  Problem noted by Chris Evans of Oxford
378638032Speter		University.
378738032Speter	If the SIZE= MAIL From: ESMTP parameter is too large, use the
378838032Speter		5.3.4 DSN status code instead of 5.2.2.  Similarly, for
378938032Speter		non-local deliveries, if the message is larger than the
379038032Speter		mailer maximum message size, use 5.3.4 instead of 5.2.3.
379138032Speter		Suggested by Antony Bowesman of
379238032Speter		Fujitsu/TeaWARE Mail/MIME System.
379338032Speter	Portability:
379438032Speter		Fix the check for an IP address reverse lookup for
379538032Speter			use in $&{client_name} on 64 bit platforms.
379638032Speter			From Gilles Gallot of Institut for Development
379738032Speter			and Resources in Intensive Scientific computing.
379838032Speter		BSD-OS uses .0 for man page extensions.  From Jeff Polk
379938032Speter			of BSDI.
380038032Speter		DomainOS detection for Build.  Also, version 10.4 and later
380138032Speter			ship a unistd.h.  Fixes from Takanobu Ishimura of
380238032Speter			PICT Inc.
380338032Speter		NeXT 4.x uses /usr/lib/man/cat for its man pages.  From
380438032Speter			J. P. McCann of E I A.
380538032Speter		SCO 4.X and 5.X include NDBM support.  From Vlado Potisk
380638032Speter			of TEMPEST, Ltd.
380738032Speter	CONFIG: Do not pass spoofed PTR results through resolver for
380838032Speter		qualification.  Problem noted by Michiel Boland of
380938032Speter		Digital Valley Internet Professionals; fix from
381038032Speter		Kari Hurtta of the Finnish Meteorological Institute.
381138032Speter	CONFIG: Do not try to resolve non-DNS hostnames such as UUCP,
381238032Speter		BITNET, and DECNET addresses for resolvable senders.
381338032Speter		Problem noted by Alexander Litvin of Lucky Net Ltd.
381438032Speter	CONFIG: Work around Sun's broken configuration which sends bounce
381538032Speter		messages as coming from @@hostname instead of <>.  LMTP
381638032Speter		would not accept @@hostname.
381738032Speter	OP.ME: Corrections to complex sendmail startup script from Rick
381838032Speter		Troxel of the National Institutes of Health.
381938032Speter	RMAIL: Do not install rmail by default, require 'make force-install'
382038032Speter		as this rmail isn't the same as others.  Suggested by
382138032Speter		Kari Hurtta of the Finnish Meteorological Institute.
382242575Speter	New Files:
382342575Speter		BuildTools/OS/DomainOS.10.4
382438032Speter
382564562Sgshapiro8.9.0/8.9.0	1998/05/19
382638032Speter	SECURITY: To prevent users from reading files not normally
382738032Speter		readable, sendmail will no longer open forward, :include:,
382838032Speter		class, ErrorHeader, or HelpFile files located in unsafe
382964562Sgshapiro		(i.e., group or world writable) directory paths.  Sites
383038032Speter		which need the ability to override security can use the
383138032Speter		DontBlameSendmail option.  See the README file for more
383238032Speter		information.
383338032Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
383438032Speter		if maps or alias files are in world writable directories.
383538032Speter		This fixes the change added to 8.8.6 to prevent links in these
383638032Speter		world writable directories.
383738032Speter	SECURITY: Make sure ServiceSwitchFile option file is not a link if
383838032Speter		it is in a world writable directory.
383938032Speter	SECURITY: Never pass a tty to a mailer -- if a mailer can get at the
384038032Speter		tty it may be able to push bytes back to the senders input.
384138032Speter		Unfortunately this breaks -v mode.  Problem noted by
384238032Speter		Wietse Venema of the Global Security Analysis Lab at
384338032Speter		IBM T.J. Watson Research.
384438032Speter	SECURITY: Empty group list if DontInitGroups is set to true to
384538032Speter		prevent program deliveries from picking up extra group
384638032Speter		privileges.  Problem reported by Wolfgang Ley of DFN-CERT.
384738032Speter	SECURITY: The default value for DefaultUser is now set to the uid and
384838032Speter		gid of the first existing user mailnull, sendmail, or daemon
384938032Speter		that has a non-zero uid.  If none of these exist, sendmail
385038032Speter		reverts back to the old behavior of using uid 1 and gid 1.
385138032Speter		This is a security problem for Linux which has chosen that
385238032Speter		uid and gid for user bin instead of daemon.  If DefaultUser
385338032Speter		is set in the configuration file, that value overrides this
385438032Speter		default.
385590792Sgshapiro	SECURITY: Since 8.8.7, the check for non-set-user-ID binaries
385638032Speter		interfered with setting an alternate group id for the
385738032Speter		RunAsUser option.  Problem noted by Randall Winchester of
385838032Speter		the University of Maryland.
385938032Speter	Add support for Berkeley DB 2.X.  Based on patch from John Kennedy
386038032Speter		of Cal State University, Chico.
386138032Speter	Remove support for OLD_NEWDB (pre-1.5 version of Berkeley DB).  Users
386238032Speter		which previously defined OLD_NEWDB=1 must now upgrade to the
386338032Speter		current version of Berkeley DB.
386438032Speter	Added support for regular expressions using the new map class regex.
386538032Speter		From Jan Krueger of Unix-AG of University of Hannover.
386638032Speter	Support for BIND 8.1.1's hesiod for hesiod maps and hesiod
386738032Speter		UserDatabases from Randall Winchester of the University
386838032Speter		of Maryland.
386938032Speter	Allow any shell for user shell on program deliveries on V1
387038032Speter		configurations for backwards compatibility on machines which
387138032Speter		do not have getusershell().  Fix from John Beck of Sun
387238032Speter		Microsystems.
387338032Speter	On operating systems which change the process title by reusing the
387438032Speter		argument vector memory, sendmail could corrupt memory if the
387538032Speter		last argument was either "-q" or "-d".  Problem noted by
387638032Speter		Frank Langbein of the University of Stuttgart.
387738032Speter	Support Local Mail Transfer Protocol (LMTP) between sendmail and
387838032Speter		mail.local on the F=z flag.
387938032Speter	Macro-expand the contents of the ErrMsgFile.  Previously this was
388038032Speter		only done if you had magic characters (0x81) to indicate
388138032Speter		macro expansion.  Now $x will be expanded.  This means that
388238032Speter		real dollar signs have to be backslash escaped.
388364562Sgshapiro	TCP Wrappers expects "unknown" in the hostname argument if the
388438032Speter		reverse DNS lookup for the incoming connection fails.
388538032Speter		Problem noted by Randy Grimshaw of Syracuse University and
388638032Speter		Wietse Venema of the Global Security Analysis Lab at
388738032Speter		IBM T.J. Watson Research.
388838032Speter	DSN success bounces generated from an invocation of sendmail -t
388938032Speter		would be sent to both the sender and MAILER-DAEMON.
389038032Speter		Problem noted by Claus Assmann of
389138032Speter		Christian-Albrechts-University of Kiel.
389238032Speter	Avoid "Error 0" messages on delivery mailers which exit with a
389338032Speter		valid exit value such as EX_NOPERM.  Fix from Andreas Luik
389438032Speter		of ISA Informationssysteme GmbH.
389538032Speter	Tokenize $&x expansions on right hand side of rules.  This eliminates
389638032Speter		the need to use tricks like $(dequote "" $&{client_name} $)
389738032Speter		to cause the ${client_name} macro to be properly tokenized.
389838032Speter	Add the MaxRecipientsPerMessage option: this limits the number of
389938032Speter		recipients that will be accepted in a single SMTP
390038032Speter		transaction.  After this number is reached, sendmail
390138032Speter		starts returning "452 Too many recipients" to all RCPT
390238032Speter		commands.  This can be used to limit the number of recipients
390338032Speter		per envelope (in particular, to discourage use of the server
390438032Speter		for spamming).  Note: a better approach is to restrict
390538032Speter		relaying entirely.
390638032Speter	Fixed pointer initialization for LDAP lmap struct, fixed -s option
390738032Speter		to ldapx map and added timeout for ldap_open call to
390838032Speter		avoid hanging sendmail in the event of hung LDAP servers.
390938032Speter		Patch from Booker Bense of Stanford University.
391038032Speter	Allow multiple -qI, -qR, or -qS queue run limiters.  For example,
391138032Speter		'-qRfoo -qRbar' would deliver mail to recipients with foo or
391238032Speter		bar in their address.  Patch from Allan E Johannesen of
391338032Speter		Worcester Polytechnic Institute.
391438032Speter	The bestmx map will now return a list of the MX servers for a host if
391538032Speter		passed a column delimiter via the -z map flag.  This can be
391638032Speter		used to check if the server is an MX server for the recipient
391738032Speter		of a message.  This can be used to help prevent relaying.
391838032Speter		Patch from Mitchell Blank Jr of Exec-PC.
391938032Speter	Mark failures for the *file* mailer and return bounce messages to the
392038032Speter		sender for those failures.
392138032Speter	Prevent bogus syslog timestamps on errors in sendmail.cf by
392238032Speter		preserving the TZ environment variable until TimeZoneSpec
392338032Speter		has been determined.  Problem noted by Ralf Hildebrandt of
392438032Speter		Technical University of Braunschweig.  Patch from Per Hedeland
392538032Speter		of Ericsson.
392638032Speter	Print test input in address test mode when input is not from the tty
392764562Sgshapiro		when the -v flag is given (i.e., sendmail -bt -v) to make
392838032Speter		output easier to decipher.  Problem noted by Aidan Nichol
392938032Speter		of Procter & Gamble.
393038032Speter	The LDAP map -s flag was not properly parsed and the error message
393164562Sgshapiro		given included the remainder of the arguments instead of
393238032Speter		solely the argument in error.  Problem noted by Aidan Nichol
393338032Speter		of Procter & Gamble.
393438032Speter	New DontBlameSendmail option.  This option allows administrators to
393538032Speter		bypass some of sendmail's file security checks at the expense
393638032Speter		of system security.  This should only be used if you are
393738032Speter		absolutely sure you know the consequences.  The available
393838032Speter		DontBlameSendmail options are:
393938032Speter			Safe
394038032Speter			AssumeSafeChown
394138032Speter			ClassFileInUnsafeDirPath
394238032Speter			ErrorHeaderInUnsafeDirPath
394338032Speter			GroupWritableDirPathSafe
394438032Speter			GroupWritableForwardFileSafe
394538032Speter			GroupWritableIncludeFileSafe
394638032Speter			GroupWritableAliasFile
394738032Speter			HelpFileinUnsafeDirPath
394838032Speter			WorldWritableAliasFile
394938032Speter			ForwardFileInGroupWritableDirPath
395038032Speter			IncludeFileInGroupWritableDirPath
395138032Speter			ForwardFileInUnsafeDirPath
395238032Speter			IncludeFileInUnsafeDirPath
395338032Speter			ForwardFileInUnsafeDirPathSafe
395438032Speter			IncludeFileInUnsafeDirPathSafe
395538032Speter			MapInUnsafeDirPath
395638032Speter			LinkedAliasFileInWritableDir
395738032Speter			LinkedClassFileInWritableDir
395838032Speter			LinkedForwardFileInWritableDir
395938032Speter			LinkedIncludeFileInWritableDir
396038032Speter			LinkedMapInWritableDir
396138032Speter			LinkedServiceSwitchFileInWritableDir
396238032Speter			FileDeliveryToHardLink
396338032Speter			FileDeliveryToSymLink
396438032Speter			WriteMapToHardLink
396538032Speter			WriteMapToSymLink
396638032Speter			WriteStatsToHardLink
396738032Speter			WriteStatsToSymLink
396838032Speter			RunProgramInUnsafeDirPath
396938032Speter			RunWritableProgram
397038032Speter	New DontProbeInterfaces option to turn off the inclusion of all the
397138032Speter		interface names in $=w on startup.  In particular, if you
397238032Speter		have lots of virtual interfaces, this option will speed up
397338032Speter		startup.  However, unless you make other arrangements, mail
397438032Speter		sent to those addresses will be bounced.
397538032Speter	Automatically create alias databases if they don't exist and
397638032Speter		AutoRebuildAliases is set.
397738032Speter	Add PrivacyOptions=noetrn flag to disable the SMTP ETRN command.
397838032Speter		Suggested by Christophe Wolfhugel of the Institut Pasteur.
397938032Speter	Add PrivacyOptions=noverb flag to disable the SMTP VERB command.
398038032Speter	When determining the client host name ($&{client_name} macro), do
398138032Speter		a forward (A) DNS lookup on the result of the PTR lookup
398238032Speter		and compare results.  If they differ or if the PTR lookup
398338032Speter		fails, &{client_name} will contain the IP address
398464562Sgshapiro		surrounded by square brackets (e.g., [127.0.0.1]).
398538032Speter	New map flag: -Tx appends "x" to lookups that return temporary failure
398638032Speter		(i.e, it is like -ax for the temporary failure case, in
398738032Speter		contrast to the success case).
398838032Speter	New syntax to do limited checking of header syntax.  A config line
398938032Speter		of the form:
399038032Speter			HHeader: $>Ruleset
399138032Speter		causes the indicated Ruleset to be invoked on the Header
399238032Speter		when read.  This ruleset works like the check_* rulesets --
399338032Speter		that is, it can reject mail on the basis of the contents.
399438032Speter	Limit the size of the HELO/EHLO parameter to prevent spammers
399538032Speter		from hiding their connection information in Received:
399638032Speter		headers.
399738032Speter	When SingleThreadDelivery is active, deliveries to locked hosts
399838032Speter		are skipped.  This will cause the delivering process to
399938032Speter		try the next MX host or queue the message if no other MX
400038032Speter		hosts are available.  Suggested by Alexander Litvin.
400138032Speter	The [FILE] mailer type now delivers to the file specified in the
400238032Speter		A= equate of the mailer definition instead of $u.  It also
400338032Speter		obeys all of the F= mailer flags such as the MIME
400438032Speter		7/8 bit conversion flags.  This is useful for defining
400538032Speter		a mailer which delivers to the same file regardless of the
400664562Sgshapiro		recipient (e.g., 'A=FILE /dev/null' to discard unwanted mail).
400738032Speter	Do not assume the identity of a remote connection is root@localhost
400838032Speter		if the remote connection closes the socket before the
400938032Speter		remote identity can be queried.
401038032Speter	Change semantics of the F=S mailer flag back to 8.7.5 behavior.
401138032Speter		Some mailers, including procmail, require that the real
401238032Speter		uid is left unchanged by sendmail.  Problem noted by Per
401338032Speter		Hedeland of Ericsson.
401438032Speter	No longer is the src/obj*/Makefile selected from a large list -- it
401538032Speter		is now generated using the information in BuildTools/OS/ --
401638032Speter		some of the details are determined dynamically via
401738032Speter		BuildTools/bin/configure.sh.
401838032Speter	The other programs in the sendmail distribution -- mail.local,
401938032Speter		mailstats, makemap, praliases, rmail, and smrsh -- now use
402038032Speter		the new Build method which creates an operating system
402138032Speter		specific Makefile using the information in BuildTools.
402238032Speter	Make 4xx reply codes to the SMTP MAIL command be non-sticky (i.e.,
402338032Speter		a failure on one message won't affect future messages to the
402438032Speter		same host).  This is necessary if the remote host sends
402538032Speter		a 451 error if the domain of the sender does not resolve
402638032Speter		as is common in anti-spam configurations.  Problem noted
402738032Speter		by Mitchell Blank Jr of Exec-PC.
402838032Speter	New "discard" mailer for check_* rulesets and header checking
402938032Speter		rulesets.  If one of the above rulesets resolves to the
403038032Speter		$#discard mailer, the commands will be accepted but the
403138032Speter		message will be completely discarded after it is accepting.
403238032Speter		This means that even if only one of the recipients
403338032Speter		resolves to the $#discard mailer, none of the recipients
403438032Speter		will receive the mail.  Suggested by Brian Kantor.
403538032Speter	All but the last cloned envelope of a split envelope were queued
403638032Speter		instead of being delivered.  Problem noted by John Caruso
403738032Speter		of CNET: The Computer Network.
403838032Speter	Fix deadlock situation in persistent host status file locking.
403938032Speter	Syslog an error if a user forward file could not be read due to
404038032Speter		an error.  Patch from John Beck of Sun Microsystems.
404138032Speter	Use the first name returned on machine lookups when canonifying a
404238032Speter		hostname via NetInfo.  Patch from Timm Wetzel of GWDG.
404338032Speter	Clear the $&{client_addr}, $&{client_name}, and $&{client_port}
404438032Speter		macros when delivering a bounce message to prevent
404538032Speter		rejection by a check_compat ruleset which uses these macros.
404638032Speter		Problem noted by Jens Hamisch of AgiX Internetservices GmbH.
404738032Speter	If the check_relay ruleset resolves to the the error mailer, the
404838032Speter		error in the $: portion of the resolved triplet is used
404938032Speter		in the rejection message given to the remote machine.
405038032Speter		Suggested by Scott Gifford of The Internet Ramp.
405138032Speter	Set the $&{client_addr}, $&{client_name}, and $&{client_port} macros
405238032Speter		before calling the check_relay ruleset.  Suggested by Scott
405338032Speter		Gifford of The Internet Ramp.
405438032Speter	Sendmail would get a segmentation fault if a mailer exited with an
405538032Speter		exit code of 79.  Problem noted by Aaron Schrab of ExecPC
405638032Speter		Internet.  Fix from Christophe Wolfhugel of the Pasteur
405738032Speter		Institute.
405838032Speter	Separate snprintf/vsnprintf routines into separate file for use by
405938032Speter		mail.local.
406038032Speter	Allow multiple map lookups on right hand side, e.g.,
406138032Speter		R$*	$( host $1 $) $| $( passwd $1 $).  Patch from
406238032Speter		Christophe Wolfhugel of the Pasteur Institute.
406338032Speter	Properly generate success DSN messages if requested for aliases
406438032Speter		which have owner- aliases.  Problem noted by Kari Hurtta
406538032Speter		of the Finnish Meteorological Institute.
406638032Speter	Properly display delayed-expansion macros ($&{macroname}) in
406738032Speter		address test mode (-bt).  Problem noted by Bryan Costales
406838032Speter		of InfoBeat, Inc.
406938032Speter	-qR could sometimes match names incorrectly.  Problem noted by
407038032Speter		Lutz Euler of Lavielle EDV Systemberatung GmbH & Co.
407138032Speter	Include a magic number and version in the StatusFile for the
407238032Speter		mailstats command.
407338032Speter	Record the number of rejected and discarded messages in the
407438032Speter		StatusFile for display by the mailstats command.  Patch
407538032Speter		from Randall Winchester of the University of Maryland.
407638032Speter	IDENT returns where the OSTYPE field equals "OTHER" now list the
407738032Speter		user portion as IDENT:username@site instead of
407838032Speter		username@site to differentiate the two.  Suggested by
407938032Speter		Kari Hurtta of the Finnish Meteorological Institute.
408038032Speter	Enforce timeout for LDAP queries.  Patch from Per Hedeland of
408138032Speter		Ericsson.
408238032Speter	Change persistent host status filename substitution so '/' is
408338032Speter		replaced by ':' instead of '|' to avoid clashes.  Also
408438032Speter		avoid clashes with hostnames with leading dots.  Fix from
408538032Speter		Mitchell Blank Jr. of Exec-PC.
408638032Speter	If the system lock table is full, only attempt to create a new
408738032Speter		queue entry five times before giving up.  Previously, it
408838032Speter		was attempted indefinitely which could cause the partition
408938032Speter		to run out of inodes.  Problem noted by Suzie Weigand of
409038032Speter		Stratus Computer, Inc.
409138032Speter	In verbose mode, warn if the sendmail.cf version is less than the
409238032Speter		currently supported version.
409338032Speter	Sorting for QueueSortOrder=host is now case insensitive.  Patch
409438032Speter		from Randall S. Winchester of the University of Maryland.
409538032Speter	Properly quote a full name passed via the -F command line option,
409638032Speter		the Full-Name: header, or the NAME environment variable if
409738032Speter		it contains characters which must be quoted.  Problem noted
409838032Speter		by Kari Hurtta of the Finnish Meteorological Institute.
409938032Speter	Avoid possible race condition that unlocked a mail job before
410038032Speter		releasing the transcript file on systems that use flock(2).
410138032Speter		In some cases, this might result in a "Transcript Unavailable"
410238032Speter		message in error bounces.
410338032Speter	Accept SMTP replies which contain only a reply code and no
410438032Speter		accompanying text.  Problem noted by Fernando Fraticelli of
410538032Speter		Digital Equipment Corporation.
410638032Speter	Portability:
410738032Speter		AIX 4.1 uses int for SOCKADDR_LEN_T from Motonori Nakamura
410838032Speter			of Kyoto University.
410938032Speter		AIX 4.2 requires <userpw.h> before <usersec.h>.  Patch from
411038032Speter			Randall S. Winchester of the University of
411138032Speter			Maryland.
411238032Speter		AIX 4.3 from Valdis Kletnieks of Virginia Tech CNS.
411338032Speter		CRAY T3E from Manu Mahonen of Center for Scientific Computing
411438032Speter			in Finland.
411538032Speter		Digital UNIX now uses statvfs for determining free
411638032Speter			disk space.  Patch from Randall S. Winchester of
411738032Speter			the University of Maryland.
411838032Speter		HP-UX 11.x from Richard Allen of Opin Kerfi HF and
411938032Speter			Regis McEwen of Progress Software Corporation.
412038032Speter		IRIX 64 bit fixes from Kari Hurtta of the Finnish
412138032Speter			Meteorological Institute.
412238032Speter		IRIX 6.2 configuration fix for mail.local from Michael Kyle
412338032Speter			of CIC/Advanced Computing Laboratory.
412438032Speter		IRIX 6.5 from Thomas H Jones II of SGI.
412538032Speter		IRIX 6.X load average code from Bob Mende of SGI.
412638032Speter		QNX from Glen McCready <glen@qnx.com>.
412738032Speter		SCO 4.2 and 5.x use /usr/bin instead of /usr/ucb for links
412838032Speter			to sendmail.  Install with group bin instead of kmem
412938032Speter			as kmem does not exist.  From Guillermo Freige of
413038032Speter			Gobernacion de la Pcia de Buenos Aires and Paul
413138032Speter			Fischer of BTG, Inc.
413238032Speter		SunOS 4.X does not include memmove().  Patch from
413338032Speter			Per Hedeland of Ericsson.
413438032Speter		SunOS 5.7 includes getloadavg() function for determining
413538032Speter			load average.  Patch from John Beck of Sun
413638032Speter			Microsystems.
413738032Speter	CONFIG: Increment version number of config file.
413838032Speter	CONFIG: add DATABASE_MAP_TYPE to set the default type of database
413938032Speter		map for the various maps.  The default is hash.  Patch from
414038032Speter		Robert Harker of Harker Systems.
414138032Speter	CONFIG: new confEBINDIR m4 variable for defining the executable
414238032Speter		directory for certain programs.
414338032Speter	CONFIG: new FEATURE(local_lmtp) to use the new LMTP support for
414438032Speter		local mail delivery.  By the default, /usr/libexec/mail.local
414538032Speter		is used.  This is expected to be the mail.local shipped
414638032Speter		with 8.9 which is LMTP capable.  The path is based on the
414738032Speter		new confEBINDIR m4 variable.
414838032Speter	CONFIG: Use confEBINDIR in determining path to smrsh for
414938032Speter		FEATURE(smrsh).  Note that this changes the default from
415038032Speter		/usr/local/etc/smrsh to /usr/libexec/smrsh.  To obtain the
415138032Speter		old path for smrsh, use FEATURE(smrsh, /usr/local/etc/smrsh).
415238032Speter	CONFIG: DOMAIN(generic) changes the default confFORWARD_PATH to
415338032Speter		include $z/.forward.$w+$h and $z/.forward+$h which allow
415438032Speter		the user to setup different .forward files for
415538032Speter		user+detail addressing.
415638032Speter	CONFIG: add confMAX_RCPTS_PER_MESSAGE, confDONT_PROBE_INTERFACES,
415738032Speter		and confDONT_BLAME_SENDMAIL to set MaxRecipientsPerMessage,
415838032Speter		DontProbeInterfaces, and DontBlameSendmail options.
415938032Speter	CONFIG: by default do not allow relaying (that is, accepting mail
416038032Speter		from outside your domain and sending it to another host
416138032Speter		outside your domain).
416238032Speter	CONFIG: new FEATURE(promiscuous_relay) to allow mail relaying from
416338032Speter		any site to any site.
416438032Speter	CONFIG: new FEATURE(relay_entire_domain) allows any host in your
416538032Speter		domain as defined by the 'm' class ($=m) to relay.
416638032Speter	CONFIG: new FEATURE(relay_based_on_MX) to allow relaying based on
416738032Speter		the MX records of the host portion of an incoming recipient.
416838032Speter	CONFIG: new FEATURE(access_db) which turns on the access database
416977349Sgshapiro		feature.  This database gives you the ability to allow
417038032Speter		or refuse to accept mail from specified domains for
417138032Speter		administrative reasons.  By default, names that are listed
417238032Speter		as "OK" in the access db are domain names, not host names.
417338032Speter	CONFIG: new confCR_FILE m4 variable for defining the name of the file
417438032Speter		used for class 'R'.  Defaults to /etc/mail/relay-domains.
417538032Speter	CONFIG: new command RELAY_DOMAIN(domain) and RELAY_DOMAIN_FILE(file)
417638032Speter		to add items to class 'R' ($=R) for hosts allowed to relay.
417738032Speter	CONFIG: new FEATURE(relay_hosts_only) to change the behavior
417838032Speter		of FEATURE(access_db) and class 'R' to lookup individual
417938032Speter		host names only.
418038032Speter	CONFIG: new FEATURE(loose_relay_check).  Normally, if a recipient
418138032Speter		using % addressing is used, e.g.  user%site@othersite,
418238032Speter		and othersite is in class 'R', the check_rcpt ruleset
418338032Speter		will strip @othersite and recheck user@site for relaying.
418438032Speter		This feature changes that behavior.  It should not be
418538032Speter		needed for most installations.
418638032Speter	CONFIG: new FEATURE(relay_local_from) to allow relaying if the
418738032Speter		domain portion of the mail sender is a local host.  This
418838032Speter		should only be used if absolutely necessary as it opens
418938032Speter		a window for spammers.  Patch from Randall S. Winchester of
419038032Speter		the University of Maryland.
419138032Speter	CONFIG: new FEATURE(blacklist_recipients) turns on the ability to
419238032Speter		block incoming mail destined for certain recipient
419338032Speter		usernames, hostnames, or addresses.
419438032Speter	CONFIG: By default, MAIL FROM: commands in the SMTP session will be
419538032Speter		refused if the host part of the argument to MAIL FROM: cannot
419638032Speter		be located in the host name service (e.g., DNS).
419738032Speter	CONFIG: new FEATURE(accept_unresolvable_domains) accepts
419838032Speter		unresolvable hostnames in MAIL FROM: SMTP commands.
419938032Speter	CONFIG: new FEATURE(accept_unqualified_senders) accepts
420038032Speter		MAIL FROM: senders which do not include a domain.
420138032Speter	CONFIG: new FEATURE(rbl) Turns on rejection of hosts found in the
420238032Speter		Realtime Blackhole List.  You can specify the RBL name
420338032Speter		server to contact by specifying it as an optional argument.
420438032Speter		The default is rbl.maps.vix.com.  For details, see
420538032Speter		http://maps.vix.com/rbl/.
420638032Speter	CONFIG: Call Local_check_relay, Local_check_mail, and
420738032Speter		Local_check_rcpt from check_relay, check_mail, and
420838032Speter		check_rcpt.  Users with local rulesets should place the
420938032Speter		rules using LOCAL_RULESETS.  If a Local_check_* ruleset
421038032Speter		returns $#OK, the message is accepted.  If the ruleset
421138032Speter		returns a mailer, the appropriate action is taken, else
421238032Speter		the return of the ruleset is ignored.
421338032Speter	CONFIG: CYRUS_MAILER_FLAGS now includes the /:| mailer flags by
421438032Speter		default to support file, :include:, and program deliveries.
421538032Speter	CONFIG: Remove the default for confDEF_USER_ID so the binary can
421638032Speter		pick the proper default value.  See the SECURITY note
421738032Speter		above for more information.
421838032Speter	CONFIG: FEATURE(nodns) now warns the user that the feature is a
421938032Speter		no-op.  Patch from Kari Hurtta of the Finnish
422038032Speter		Meteorological Institute.
422138032Speter	CONFIG: OSTYPE(osf1) now sets DefaultUserID (confDEF_USER_ID) to
422238032Speter		daemon since DEC's /bin/mail will drop the envelope
422338032Speter		sender if run as mailnull.  See the Digital UNIX section
422438032Speter		of src/README for more information.  Problem noted by
422538032Speter		Kari Hurtta of the Finnish Meteorological Institute.
422638032Speter	CONFIG: .cf files are now stored in the same directory with the
422738032Speter		.mc files instead of in the obj directory.
422864562Sgshapiro	CONFIG: New options confSINGLE_LINE_FROM_HEADER,
422938032Speter		confALLOW_BOGUS_HELO, and confMUST_QUOTE_CHARS for
423038032Speter		setting SingleLineFromHeader, AllowBogusHELO, and
423138032Speter		MustQuoteChars respectively.
423238032Speter	MAIL.LOCAL: support -l flag to run LMTP on stdin/stdout.  This
423338032Speter		SMTP-like protocol allows detailed reporting of delivery
423438032Speter		status on a per-user basis.  Code donated by John Myers of
423538032Speter		CMU (now of Netscape).
423638032Speter	MAIL.LOCAL: HP-UX support from Randall S. Winchester of the
423764562Sgshapiro		University of Maryland.  NOTE: mail.local is not
423838032Speter		compatible with the stock HP-UX mail format.  Be sure to
423938032Speter		read mail.local/README.
424038032Speter	MAIL.LOCAL: Prevent other mail delivery agents from stealing a
424138032Speter		mailbox lock.  Patch from Randall S. Winchester of the
424238032Speter		University of Maryland.
424338032Speter	MAIL.LOCAL: glibc portability from John Kennedy of Cal State
424438032Speter		University, Chico.
424538032Speter	MAIL.LOCAL: IRIX portability from Kari Hurtta of the Finnish
424638032Speter		Meteorological Institute.
424738032Speter	MAILSTATS: Display the number of rejected and discarded messages
424838032Speter		in the StatusFile.  Patch from Randall Winchester of the
424938032Speter		University of Maryland.
425038032Speter	MAKEMAP: New -s flag to ignore safety checks on database map files
425138032Speter		such as linked files in world writable directories.
425238032Speter	MAKEMAP: Add support for Berkeley DB 2.X.  Remove OLD_NEWDB support.
425338032Speter	PRALIASES: Add support for Berkeley DB 2.X.
425438032Speter	PRALIASES: Do not automatically include NDBM support.  Problem
425538032Speter		noted by Ralf Hildebrandt of the Technical University of
425638032Speter		Braunschweig.
425738032Speter	RMAIL: Improve portability for other platforms.  Patches from
425838032Speter		Randall S. Winchester of the University of Maryland and
425938032Speter		Kari Hurtta of the Finnish Meteorological Institute.
426038032Speter	Changed Files:
426138032Speter		src/Makefiles/Makefile.* files have been modified to use
426238032Speter			the new build mechanism and are now BuildTools/OS/*.
426338032Speter		src/makesendmail changed to symbolic link to src/Build.
426438032Speter	New Files:
426538032Speter		BuildTools/M4/header.m4
426638032Speter		BuildTools/M4/depend/BSD.m4
426738032Speter		BuildTools/M4/depend/CC-M.m4
426838032Speter		BuildTools/M4/depend/NCR.m4
426938032Speter		BuildTools/M4/depend/Solaris.m4
427038032Speter		BuildTools/M4/depend/X11.m4
427138032Speter		BuildTools/M4/depend/generic.m4
427238032Speter		BuildTools/OS/AIX.4.2
427338032Speter		BuildTools/OS/AIX.4.x
427438032Speter		BuildTools/OS/CRAYT3E.2.0.x
427538032Speter		BuildTools/OS/HP-UX.11.x
427638032Speter		BuildTools/OS/IRIX.6.5
427738032Speter		BuildTools/OS/NEXTSTEP.4.x
427838032Speter		BuildTools/OS/NeXT.4.x
427938032Speter		BuildTools/OS/NetBSD.8.3
428038032Speter		BuildTools/OS/QNX
428138032Speter		BuildTools/OS/SunOS.5.7
428238032Speter		BuildTools/OS/dcosx.1.x.NILE
428338032Speter		BuildTools/README
428438032Speter		BuildTools/Site/README
428538032Speter		BuildTools/bin/Build
428638032Speter		BuildTools/bin/configure.sh
428738032Speter		BuildTools/bin/find_m4.sh
428838032Speter		BuildTools/bin/install.sh
428938032Speter		Makefile
429038032Speter		cf/cf/Build
429138032Speter		cf/cf/generic-hpux10.cf
429238032Speter		cf/feature/accept_unqualified_senders.m4
429338032Speter		cf/feature/accept_unresolvable_domains.m4
429438032Speter		cf/feature/access_db.m4
429538032Speter		cf/feature/blacklist_recipients.m4
429638032Speter		cf/feature/loose_relay_check.m4
429738032Speter		cf/feature/local_lmtp.m4
429838032Speter		cf/feature/promiscuous_relay.m4
429938032Speter		cf/feature/rbl.m4
430038032Speter		cf/feature/relay_based_on_MX.m4
430138032Speter		cf/feature/relay_entire_domain.m4
430238032Speter		cf/feature/relay_hosts_only.m4
430338032Speter		cf/feature/relay_local_from.m4
430438032Speter		cf/ostype/qnx.m4
430538032Speter		contrib/doublebounce.pl
430638032Speter		mail.local/Build
430738032Speter		mail.local/Makefile.m4
430838032Speter		mail.local/README
430938032Speter		mailstats/Build
431038032Speter		mailstats/Makefile.m4
431138032Speter		makemap/Build
431238032Speter		makemap/Makefile.m4
431338032Speter		praliases/Build
431438032Speter		praliases/Makefile.m4
431538032Speter		rmail/Build
431638032Speter		rmail/Makefile.m4
431738032Speter		rmail/rmail.0
431838032Speter		smrsh/Build
431938032Speter		smrsh/Makefile.m4
432038032Speter		src/Build
432138032Speter		src/Makefile.m4
432238032Speter		src/snprintf.c
432338032Speter	Deleted Files:
432438032Speter		cf/cf/Makefile (replaced by Makefile.dist)
432538032Speter		mail.local/Makefile
432638032Speter		mail.local/Makefile.dist
432738032Speter		mailstats/Makefile
432838032Speter		mailstats/Makefile.dist
432938032Speter		makemap/Makefile
433038032Speter		makemap/Makefile.dist
433138032Speter		praliases/Makefile
433238032Speter		praliases/Makefile.dist
433338032Speter		rmail/Makefile
433438032Speter		smrsh/Makefile
433538032Speter		smrsh/Makefile.dist
433638032Speter		src/Makefile
433738032Speter		src/Makefiles/Makefile.AIX.4 (split into AIX.4.x and AIX.4.2)
433838032Speter		src/Makefiles/Makefile.SMP_DC.OSx.NILE
433938032Speter			(renamed BuildTools/OS/dcosx.1.x.NILE)
434038032Speter		src/Makefiles/Makefile.Utah (obsolete platform)
434138032Speter	Renamed Files:
434238032Speter		READ_ME => README
434338032Speter		cf/cf/Makefile.dist => Makefile
434438032Speter		cf/cf/obj/* => cf/cf/*
434538032Speter		src/READ_ME => src/README
434638032Speter
434764562Sgshapiro8.8.8/8.8.8	1997/10/24
434838032Speter	If the check_relay ruleset failed, the relay= field was logged
434938032Speter		incorrectly.  Problem noted by Kari Hurtta of the Finnish
435038032Speter		Meteorological Institute.
435138032Speter	If /usr/tmp/dead.letter already existed, sendmail could not
435238032Speter		add additional bounces to it.  Problem noted by Thomas J.
435338032Speter		Arseneault of SRI International.
435438032Speter	If an SMTP mailer used a non-standard port number for the outgoing
435538032Speter		connection, it would be displayed incorrectly in verbose mode.
435638032Speter		Problem noted by John Kennedy of Cal State University, Chico.
435738032Speter	Log the ETRN parameter specified by the client before altering them
435838032Speter		to internal form.  Suggested by Bob Kupiec of GES-Verio.
435938032Speter	EXPN and VRFY SMTP commands on malformed addresses were logging as
436038032Speter		User unknown with bogus delay= values.  Change them to log
436138032Speter		the same as compliant addresses.  Problem noted by Kari E.
436238032Speter		Hurtta of the Finnish Meteorological Institute.
436338032Speter	Ignore the debug resolver option unless using sendmail debug trace
436438032Speter		option for resolver.  Problem noted by Greg Nichols of Wind
436538032Speter		River Systems.
436638032Speter	If SingleThreadDelivery was enabled and the remote server returned a
436738032Speter		protocol error on the DATA command, the connection would be
436838032Speter		closed but the persistent host status file would not be
436938032Speter		unlocked so other sendmail processes could not deliver to
437038032Speter		that host.  Problem noted by Peter Wemm of DIALix.
437138032Speter	If queueing up a message due to an expensive mailer, don't increment
437238032Speter		the number of delivery attempts or set the last delivery
437338032Speter		attempt time so the message will be delivered on the next
437438032Speter		queue run regardless of MinQueueAge.  Problem noted by
437538032Speter		Brian J. Coan of the Institute for Global Communications.
437638032Speter	Authentication warnings of "Processed from queue _directory_" and
437738032Speter		"Processed by _username_ with -C _filename_" would be logged
437838032Speter		with the incorrect timestamp.  Problem noted by Kari E. Hurtta
437938032Speter		of the Finnish Meteorological Institute.
438038032Speter	Use a better heuristic for detecting GDBM.
438138032Speter	Log null connections on dropped connections.  Problem noted by
438238032Speter		Jon Lewis of Florida Digital Turnpike.
438338032Speter	If class dbm maps are rebuilt, sendmail will now detect this and
438438032Speter		reopen the map.  Previously, they could give stale
438538032Speter		results during a single message processing (but would
438638032Speter		recover when the next message was received).  Fix from
438738032Speter		Joe Pruett of Q7 Enterprises.
438838032Speter	Do not log failures such as "User unknown" on -bv or SMTP VRFY
438938032Speter		requests.  Problem noted by Kari E. Hurtta of the
439038032Speter		Finnish Meteorological Institute.
439138032Speter	Do not send a bounce message back to the sender regarding bad
439238032Speter		recipients if the SMTP connection is dropped before the
439338032Speter		message is accepted.  Problem noted by Kari E. Hurtta of the
439438032Speter		Finnish Meteorological Institute.
439538032Speter	Use "localhost" instead of "[UNIX: localhost]" when connecting to
439638032Speter		sendmail via a UNIX pipe.  This will allow rulesets using
439738032Speter		$&{client_name} to process without sending the string through
439838032Speter		dequote.  Problem noted by Alan Barrett of Internet Africa.
439938032Speter	A combination of deferred delivery mode, a double bounce situation,
440038032Speter		and the inability to save a bounce message to
440138032Speter		/var/tmp/dead.letter would cause sendmail to send a bounce
440238032Speter		to postmaster but not remove the offending envelope from the
440338032Speter		queue causing it to create a new bounce message each time the
440438032Speter		queue was run.  Problem noted by Brad Doctor of Net Daemons
440538032Speter		Associates.
440638032Speter	Remove newlines from hostname information returned via DNS.  There are
440738032Speter		no known security implications of newlines in hostnames as
440838032Speter		sendmail filters newlines in all vital areas; however, this
440938032Speter		could cause confusing error messages.
441038032Speter	Starting with sendmail 8.8.6, mail sent with the '-t' option would be
441138032Speter		rejected if any of the specified addresses were bad.  This
441238032Speter		behavior was modified to only reject the bad addresses and not
441338032Speter		the entire message.  Problem noted by Jozsef Hollosi of
441438032Speter		SuperNet, Inc.
441538032Speter	Use Timeout.fileopen when delivering mail to a file.  Suggested by
441638032Speter		Bryan Costales of InfoBeat, Inc.
441738032Speter	Display the proper Final-Recipient on DSN messages for non-SMTP
441838032Speter		mailers.  Problem noted by Kari E. Hurtta of the
441938032Speter		Finnish Meteorological Institute.
442038032Speter	An error in calculating the available space in the list of addresses
442138032Speter		for logging deliveries could cause an address to be silently
442238032Speter		dropped.
442338032Speter	Include the initial user environment if sendmail is restarted via
442438032Speter		a HUP signal.  This will give room for the process title.
442538032Speter		Problem noted by Jon Lewis of Florida Digital Turnpike.
442638032Speter	Mail could be delivered without a body if the machine does not
442738032Speter		support flock locking and runs out of processes during
442838032Speter		delivery.  Fix from Chuck Lever of the University of Michigan.
442938032Speter	Drop recipient address from 251 and 551 SMTP responses per RFC 821.
443038032Speter		Problem noted by Kari E. Hurtta of the Finnish Meteorological
443138032Speter		Institute.
443238032Speter	Make sure non-rebuildable database maps are opened before the
443364562Sgshapiro		rebuildable maps (i.e., alias files) in case the database maps
443438032Speter		are needed for verifying the left hand side of the aliases.
443538032Speter		Problem noted by Lloyd Parkes of Victoria University.
443638032Speter	Make sure sender RFC822 source route addresses are alias expanded for
443738032Speter		bounce messages.  Problem noted by Juergen Georgi of
443838032Speter		RUS University of Stuttgart.
443938032Speter	Minor lint fixes.
444038032Speter	Return a temporary error instead of a permanent error if an LDAP map
444138032Speter		search returns an error.  This will allow sequenced maps which
444238032Speter		use other LDAP servers to be checked.  Fix from Booker Bense
444338032Speter		of Stanford University.
444438032Speter	When automatically converting from quoted printable to 8bit text do
444538032Speter		not pad bare linefeeds with a space.  Problem noted by Theo
444638032Speter		Nolte of the University of Technology Aachen, Germany.
444738032Speter	Portability:
444838032Speter		Non-standard C compilers may have had a problem compiling
444938032Speter			conf.c due to a standard C external declaration of
445038032Speter			setproctitle().  Problem noted by Ted Roberts of
445138032Speter			Electronic Data Systems.
445238032Speter		AUX: has a broken O_EXCL implementation.  Reported by Jim
445338032Speter			Jagielski of jaguNET Access Services.
445438032Speter		BSD/OS: didn't compile if HASSETUSERCONTEXT was defined.
445538032Speter		Digital UNIX: Digital UNIX (and possibly others) moves
445638032Speter			loader environment variables into the loader memory
445738032Speter			area.  If one of these environment variables (such as
445838032Speter			LD_LIBRARY_PATH) was the last environment variable,
445938032Speter			an invalid memory address would be used by the process
446038032Speter			title routine causing memory corruption.  Problem
446138032Speter			noted by Sam Hartman of Mesa Internet Systems.
446238032Speter		GNU libc: uses an enum for _PC_CHOWN_RESTRICTED which caused
446338032Speter			chownsafe() to always return 0 even if the OS does
446438032Speter			not permit file giveaways.  Problem noted by
446538032Speter			Yasutaka Sumi of The University of Tokyo.
446664562Sgshapiro		IRIX6: Syslog buffer size set to 512 bytes.  Reported by
446738032Speter			Gerald Rinske of Siemens Business Services VAS.
446838032Speter		Linux: Pad process title with NULLs.  Problem noted by
446938032Speter			Jon Lewis of Florida Digital Turnpike.
447038032Speter		SCO OpenServer 5.0: SIOCGIFCONF ioctl call returns an
447138032Speter			incorrect value for the number of interfaces.
447238032Speter			Problem noted by Chris Loelke of JetStream Internet
447338032Speter			Services.
447438032Speter		SINIX: Update for Makefile and syslog buffer size from Gerald
447538032Speter			Rinske of Siemens Business Services VAS.
447638032Speter		Solaris: Make sure HASGETUSERSHELL setting for SunOS is not
447738032Speter			used on a Solaris machine.  Problem noted by
447838032Speter			Stephen Ma of Jtec Pty Limited.
447938032Speter		CONFIG: SINIX: Update from Gerald Rinske of Siemens Business
448038032Speter			Services VAS.
448138032Speter	MAKEMAP: Use a better heuristic for detecting GDBM.
448238032Speter	CONTRIB: expn.pl: Updated version from the author, David Muir Sharnoff.
448338032Speter	OP.ME: Document the F=i mailer flag.  Problem noted by Per Hedeland of
448438032Speter			Ericsson.
448538032Speter
448664562Sgshapiro8.8.7/8.8.7	1997/08/03
448738032Speter	If using Berkeley DB on systems without O_EXLOCK (open a file with
448838032Speter		an exclusive lock already set -- i.e., almost all systems
448938032Speter		except 4.4-BSD derived systems), the initial attempt at
449038032Speter		rebuilding aliases file if the database didn't already
449138032Speter		exist would fail.  Patch from Raymund Will of LST Software
449238032Speter		GmbH.
449338032Speter	Bogus incoming SMTP commands would reset the SMTP conversation.
449438032Speter		Problem noted by Fredrik J�nsson of the Royal Institute
449538032Speter		of Technology, Stockholm.
449638032Speter	Since TCP Wrappers includes setenv(), unsetenv(), and putenv(),
449738032Speter		some environments could give "multiple definitions" for these
449838032Speter		routines during compilation.  If using TCP Wrappers, assume
449938032Speter		that these routines are included as though they were in the
450038032Speter		C library.  Patch from Robert La Ferla.
450138032Speter	When a NEWDB database map was rebuilt at the same time it was being
450238032Speter		used by a queue run, the maps could be left locked for the
450338032Speter		duration of the queue run, causing other processes to hang.
450438032Speter		Problem noted by Kendall Libby of Shore.NET.
450538032Speter	In some cases, NoRecipientAction=add-bcc was being ignored, so the
450638032Speter		mail was passed on without any recipient header.  This could
450738032Speter		cause problems downstream.  Problem noted by Xander Jansen
450838032Speter		of SURFnet ExpertiseCentrum.
450938032Speter	Give error when GDBM is used with sendmail.  GDBM's locking and
451038032Speter		linking of the .dir and .pag files interferes with sendmail's
451138032Speter		locking and security checks.  Problems noted by Fyodor
451238032Speter		Yarochkin of the Kyrgyz Republic FreeNet.
451338032Speter	Don't fsync qf files if SuperSafe option is not set.
451438032Speter	Avoid extra calls to gethostbyname for addresses for which a
451538032Speter		gethostbyaddr found no value.  Also, ignore any returns
451638032Speter		from gethostbyaddr that look like a dotted quad.
451738032Speter	If PTR lookup fails when looking up an SMTP peer, don't tag it as
451838032Speter		"may be forged", since at the network level we pretty much
451938032Speter		have to assume that the information is good.
452038032Speter	In some cases, errors during an SMTP session could leave files
452138032Speter		open or locked.
452238032Speter	Better handling of missing file descriptors (0, 1, 2) on startup.
452390792Sgshapiro	Better handling of non-set-user-ID binaries -- avoids certain obnoxious
452438032Speter		errors during testing.
452538032Speter	Errors in file locking of NEWDB maps had the incorrect file name
452638032Speter		printed in the error message.
452738032Speter	If the AllowBogusHELO option were set and an EHLO with a bad or
452838032Speter		missing parameter were issued, the EHLO behaved like a HELO.
452938032Speter	Load limiting never kicked in for incoming SMTP transactions if the
453043730Speter		DeliveryMode=background and any recipient was an alias or
453138032Speter		had a .forward file.  From Nik Conwell of Boston University.
453238032Speter	On some non-Posix systems, the decision of whether chown(2) permits
453338032Speter		file giveaway was undefined.  From Tetsu Ushijima of the
453438032Speter		Tokyo Institute of Technology.
453538032Speter	Fix race condition that could cause the body of a message to be
453638032Speter		lost (so only the header was delivered).  This only occurs
453738032Speter		on systems that do not use flock(2), and only when a queue
453838032Speter		runner runs during a critical section in another message
453938032Speter		delivery.  Based on a patch from Steve Schweinhart of
454038032Speter		Results Computing.
454138032Speter	If a qf file was found in a mail queue directory that had a problem
454238032Speter		(wrong ownership, bad format, etc.) and the file name was
454338032Speter		exactly MAXQFNAME bytes long, then instead of being tried
454438032Speter		once, it would be tried on every queue run.  Problem noted
454538032Speter		by Bryan Costales of Mercury Mail.
454638032Speter	If the system supports an st_gen field in the status structure,
454738032Speter		include it when reporting that a file has changed after open.
454838032Speter		This adds a new compile flag, HAS_ST_GEN (0/1 option).
454938032Speter		This out to be checked as well as reported, since it is
455038032Speter		theoretically possible for an attacker to remove a file after
455138032Speter		it is opened and replace it with another file that has the
455238032Speter		same i-number, but some filesystems (notably AFS) return
455338032Speter		garbage in this field, and hence always look like the file
455438032Speter		has changed.  As a practical matter this is not a security
455538032Speter		problem, since the files can be neither hard nor soft links,
455638032Speter		and on no filesystem (that I am aware of) is it possible to
455738032Speter		have two files on the same filesystem with the same i-number
455838032Speter		simultaneously.
455938032Speter	Delete the root Makefile from the distribution -- it is only for
456038032Speter		use internally, and does not work at customer sites.
456138032Speter	Fix botch that caused the second MAIL FROM: command in a single
456238032Speter		transaction to clear the entire transaction.  Problem
456338032Speter		noted by John Kennedy of Cal State University, Chico.
456438032Speter	Work properly on machines that have _PATH_VARTMP defined without
456538032Speter		a trailing slash.  (And a pox on vendors that decide to
456638032Speter		ignore the established conventions!)  Problem noted by
456738032Speter		Gregory Neil Shapiro of WPI.
456838032Speter	Internal changes to make it easier to add another protocol family
456938032Speter		(intended for IPv6).  Patches are from John Kennedy of
457038032Speter		CSU Chico.
457138032Speter	In certain cases, 7->8 bit MIME decoding of Base64 text could leave
457238032Speter		an extra space at the beginning of some lines.  Problem
457338032Speter		noted by Charles Karney of Princeton University; fix based
457438032Speter		on a patch from Christophe Wolfhugel.
457538032Speter	Portability:
457638032Speter		Allow _PATH_VENDOR_CF to be set in Makefile for consistency
457738032Speter			with the _Sendmail_ book, 2nd edition.  Note that
457838032Speter			the book is actually wrong: _PATH_SENDMAILCF should
457938032Speter			be used instead.
458038032Speter		AIX 3.x: Include <sys/select.h>.  Patch from Gene Rackow
458138032Speter			of Argonne National Laboratory.
458238032Speter		OpenBSD from from Paul DuBois of the University of Wisconsin.
458338032Speter		RISC/os 4.0 from Paul DuBois of the University of Wisconsin.
458438032Speter		SunOS: Include <memory.h> to fix warning from util.c.  From
458538032Speter			James Aldridge of EUnet Ltd.
458638032Speter		Solaris: Change STDIR (location of status file) to /etc/mail
458738032Speter			in Makefiles.
458838032Speter		Linux, Dynix, UNICOS: Remove -DNDBM and -lgdbm from
458938032Speter			Makefiles.  Use NEWDB on Linux instead.
459038032Speter		NCR MP-RAS 3.x with STREAMware TCP/IP: SIOCGIFNUM ioctl
459138032Speter			exists but behaves differently than other OSes.
459238032Speter			Add SIOCGIFNUM_IS_BROKEN compile flag to get
459338032Speter			around the problem.  Problem noted by Tom Moore of
459438032Speter			NCR Corp.
459538032Speter		HP-UX 9.x: fix compile warnings for old select API.  Problem
459638032Speter			noted by Tom Smith of Digital Equipment Corp.
459738032Speter		UnixWare 2.x: compile warnings on offsetof macro.  Problem
459838032Speter			noted by Tom Good of the Community Access Information
459938032Speter			Resource Network
460038032Speter		SCO 4.2: compile problems caused by a change in the type of
460138032Speter			the "length" parameters passed to accept, getpeername,
460238032Speter			getsockname, and getsockopt.  Adds new compile flags
460338032Speter			SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.  Problem reported
460438032Speter			by Tom Good of St. Vincent's North Richmond Community
460538032Speter			Mental Health Center Residential Services.
460638032Speter		AIX 4: Use size_t for SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.
460738032Speter			Suggested by Brett Hogden of Rochester Gas & Electric
460838032Speter			Corp.
460938032Speter		Linux: avoid compile problem for versions of <setjmp.h> that
461038032Speter			#define both setjmp and longjmp.  Problem pointed out
461138032Speter			by J.R. Oldroyd of TerraNet.
461238032Speter		CONFIG: SCO UnixWare 2.1: Support for OSTYPE(sco-uw-2.1)
461338032Speter			from Christopher Durham of SCO.
461438032Speter		CONFIG: NEXTSTEP: define confCW_FILE to
461538032Speter			/etc/sendmail/sendmail.cw to match the usual
461638032Speter			configuration.  Patch from Dennis Glatting of
461738032Speter			PlainTalk.
461838032Speter	CONFIG: MAILER(fax) called a program that hasn't existed for a long
461938032Speter		time.  Convert to use the HylaFAX 4.0 conventions.  Suggested
462038032Speter		by Harry Styron.
462138032Speter	CONFIG: Improve sample anti-spam rulesets in cf/cf/knecht.mc.  These
462238032Speter		are the rulesets in use on sendmail.org.
462338032Speter	MAKEMAP: give error on GDBM files.
462438032Speter	MAIL.LOCAL: Make error messages a bit more explicit, for example,
462538032Speter		telling more details on what actually changed when "file
462638032Speter		changed after open".
462738032Speter	CONTRIB: etrn.pl: Ignore comments in Fw files.  Support multiple Fw
462838032Speter		files.
462938032Speter	CONTRIB: passwd-to-alias.pl: Handle 8 bit characters and '-'.
463038032Speter	NEW FILES:
463138032Speter		src/Makefiles/Makefile.OpenBSD
463238032Speter		src/Makefiles/Makefile.RISCos.4_0
463338032Speter		test/t_exclopen.c
463438032Speter		cf/ostype/sco-uw-2.1.m4
463538032Speter	DELETED FILES:
463638032Speter		Makefile
463738032Speter
463864562Sgshapiro8.8.6/8.8.6	1997/06/14
463938032Speter	    *************************************************************
464038032Speter	    * The extensive assistance of Gregory Neil Shapiro of WPI	*
464138032Speter	    * in preparing this release is gratefully appreciated.	*
464238032Speter	    * Sun Microsystems has also provided resources toward	*
464338032Speter	    * continued sendmail development.				*
464438032Speter	    *************************************************************
464538032Speter	SECURITY: A few systems allow an open with the O_EXCL|O_CREAT open
464638032Speter		mode bits set to create a file that is a symbolic link that
464738032Speter		points nowhere.  This makes it possible to create a root
464838032Speter		owned file in an arbitrary directory by inserting the symlink
464938032Speter		into a writable directory after the initial lstat(2) check
465038032Speter		determined that the file did not exist.  The only verified
465138032Speter		example of a system having these odd semantics for O_EXCL
465238032Speter		and symbolic links was HP-UX prior to version 9.07.  Most
465338032Speter		systems do not have the problem, since a exclusive create
465438032Speter		of a file disallows symbolic links.  Systems that have been
465538032Speter		verified to NOT have the problem include AIX 3.x, *BSD,
465638032Speter		DEC OSF/1, HP-UX 9.07 and higher, Linux, SunOS, Solaris,
465738032Speter		and Ultrix.  This is a potential exposure on systems that
465838032Speter		have this bug and which do not have a MAILER-DAEMON alias
465938032Speter		pointing at a legitimate account, since this will cause old
466038032Speter		mail to be dropped in /var/tmp/dead.letter.
466138032Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
466238032Speter		if maps or alias files are in world writable directories.
466338032Speter		If your system has alias maps in writable directories, it
466438032Speter		is potentially possible for an attacker to replace the .db
466538032Speter		(or .dir and .pag) files by symbolic links pointing at
466638032Speter		another database; this can be used either to expose
466738032Speter		information (e.g., by pointing an alias file at /etc/spwd.db
466838032Speter		and probing for accounts), or as a denial-of-service attack
466938032Speter		(by trashing the password database).  The fix disallows
467038032Speter		symbolic links entirely when rebuilding alias files or on
467138032Speter		maps that are in writable directories, and always warns on
467238032Speter		writable directories; 8.9 will probably consider writable
467338032Speter		directories to be fatal errors.  This does not represent an
467438032Speter		exposure on systems that have alias files in unwritable
467538032Speter		system directories.
467638032Speter	SECURITY: disallow .forward or :include: files that are links (hard
467738032Speter		or soft) if the parent directory (or any directory in the
467838032Speter		path) is writable by anyone other than the owner.  This is
467938032Speter		similar to the previous case for user files.  This change
468038032Speter		should not affect most systems, but is necessary to prevent
468138032Speter		an attacker who can write the directory from pointing such
468238032Speter		files at other files that are readable only by the owner.
468338032Speter	SECURITY: Tighten safechown rules: many systems will say that they
468438032Speter		have a safe (restricted to root) chown even on files that
468538032Speter		are mounted from another system that allows owners to give
468638032Speter		away files.  The new rules are very strict, trusting file
468738032Speter		ownership only in those few cases where the system has
468838032Speter		been verified to be at least as paranoid as necessary.
468938032Speter		However, it is possible to relax the rules to partially
469038032Speter		trust the ownership if the directory path is not world or
469138032Speter		group writable.  This might allow someone who has a legitimate
469238032Speter		:include: file (referenced directly from /etc/aliases) to
469338032Speter		become another non-root user if the :include: file is in a
469438032Speter		non-writable directory on an NFS-mounted filesystem where
469538032Speter		the local system says that giveaway is denied but it is
469638032Speter		actually permitted.  I believe this to be a very small set
469738032Speter		of cases.  If in doubt, do not point :include: aliases at
469838032Speter		NFS-mounted filesystems.
469938032Speter	SECURITY: When setting a numeric group id using the RunAsUser option
470038032Speter		(e.g., "O RunAsUser=10:20", the group id would not be set.
470138032Speter		Implicit group ids (e.g., "O RunAsUser=mailnull") or alpha
470238032Speter		group ids (e.g., "O RunAsUser=mailuser:mailgrp") worked fine.
470338032Speter		The user id was still set properly.  Problem noted by Uli
470438032Speter		Pralle of the Technical University of Berlin.
470538032Speter	Save the initial gid set for use when checking for if the
470638032Speter		PrivacyOptions=restrictmailq option is set.  Problem reported
470738032Speter		by Wolfgang Ley of DFN-CERT.
470838032Speter	Make 55x reply codes to the SMTP DATA-"." be non-sticky (i.e., a
470938032Speter		failure on one message won't affect future messages to the
471038032Speter		same host).
471138032Speter	IP source route printing had an "off by one" error that would
471238032Speter		affect any options that came after the route option.  Patch
471338032Speter		from Theo de Raadt.
471438032Speter	The "Message is too large" error didn't successfully bounce the error
471538032Speter		back to the sender.  Problem reported by Stephen More of
471638032Speter		PSI; patch from Gregory Neil Shapiro of WPI.
471738032Speter	Change SMTP status code 553 to map into Extended code 5.1.0 (instead
471838032Speter		of 5.1.3); it apparently gets used in multiple ways.
471938032Speter		Suggested by John Myers of Portola Communications.
472038032Speter	Fix possible extra null byte generated during collection if errors
472138032Speter		occur at the beginning of the stream.  Patch contributed by
472238032Speter		Andrey A. Chernov and Gregory Neil Shapiro.
472338032Speter	Code changes to avoid possible reentrant call of malloc/free within
472438032Speter		a signal handler.  Problem noted by John Beck of Sun
472538032Speter		Microsystems.
472638032Speter	Move map initialization to be earlier so that check_relay ruleset
472738032Speter		will have the latest version of the map data.  Problem noted
472838032Speter		by Paul Forgey of Metainfo; patch from Gregory Neil Shapiro.
472938032Speter	If there are fatal errors during the collection phase (e.g., message
473038032Speter		too large) don't send the bogus message.
473138032Speter	Avoid "cannot open xfAAA00000" messages when sending to aliases that
473238032Speter		have errors and have owner- aliases.  Problem noted by Michael
473338032Speter		Barber of MTU; fix from Gregory Neil Shapiro of WPI.
473438032Speter	Avoid null pointer dereference on illegal Boundary= parameters in
473538032Speter		multipart/mixed Content-Type: header.  Problem noted by
473638032Speter		Richard Muirden of RMIT University.
473738032Speter	Always print error messages during newaliases (-bi) even if the
473838032Speter		ErrorMode is not set to "print".  Fix from Gregory Neil
473938032Speter		Shapiro.
474038032Speter	Test mode could core dump if you did a /map lookup in an optional map
474138032Speter		that could not be opened.  Based on a fix from John Beck of
474238032Speter		Sun Microsystems.
474338032Speter	If DNS is misconfigured so that the last MX record tried points to
474438032Speter		a host that does not have an A record, but other MX records
474538032Speter		pointed to something reasonable, don't bounce the message
474638032Speter		with a "host unknown" error.  Note that this should really
474738032Speter		be fixed in the zone file for the domain.  Problem noted by
474838032Speter		Joe Rhett of Navigist, Inc.
474938032Speter	If a map fails (e.g., DNS times out) on all recipient addresses, mark
475038032Speter		the message as having been tried; otherwise the next queue
475138032Speter		run will not realize that this is a second attempt and will
475238032Speter		retry immediately.  Problem noted by Bryan Costales of
475338032Speter		Mercury Mail.
475438032Speter	If the clock is set backwards, and a MinQueueAge is set, no jobs
475538032Speter		will be run until the later setting of the clock is reached.
475638032Speter		"Problem" (I use the term loosely) noted by Eric Hagberg of
475738032Speter		Morgan Stanley.
475838032Speter	If the load average rises above the cutoff threshold (above which
475938032Speter		sendmail will not process the queue at all) during a queue
476038032Speter		run, abort the queue run immediately.  Problem noted by
476138032Speter		Bryan Costales of Mercury Mail.
476238032Speter	The variable queue processing algorithm (based on the message size,
476338032Speter		number of recipients, message precedence, and job age) was
476438032Speter		non-functional -- either the entire queue was processed or
476538032Speter		none of the queue was processed.  The updated algorithm
476638032Speter		does no queue run if a single recipient zero size job will
476738032Speter		not be run.
476838032Speter	If there is a fatal ("panic") message that will cause sendmail to
476938032Speter		die immediately, never hold the error message for future
477038032Speter		printing.
477138032Speter	Force ErrorMode=print in -bt mode so that all errors are printed
477238032Speter		regardless of the setting of the ErrorMode option in the
477338032Speter		configuration file.  Patch from Gregory Neil Shapiro.
477438032Speter	New compile flag HASSTRERROR says that this OS has the strerror(3)
477538032Speter		routine available in one of the libraries.  Use it in conf.h.
477638032Speter	The -m (match only) flag now works on host class maps.
477738032Speter	If class hash or btree maps are rebuilt, sendmail will now detect
477838032Speter		this and reopen the map.  Previously, they could give
477938032Speter		erroneous results during a single message processing
478038032Speter		(but would recover when the next message was received).
478138032Speter	Don't delete zero length queue files when doing queue runs until the
478238032Speter		files are at least ten minutes old.  This avoids a potential
478338032Speter		race condition: the creator creates the qf file, getting back
478438032Speter		a file descriptor.  The queue runner locks it and deletes it
478538032Speter		because it is zero length.  The creator then writes the
478638032Speter		descriptor that is now for a disconnected file, and the
478738032Speter		job goes away.  Based on a suggestion by Bryan Costales.
478838032Speter	When determining the "validated" host name ($_ macro), do a forward
478938032Speter		(A) DNS lookup on the result of the PTR lookup and compare
479038032Speter		results.  If they differ or if the PTR lookup fails, tag the
479138032Speter		address as "may be forged".
479238032Speter	Log null connections (i.e., hosts that connect but do not do any
479338032Speter		substantive activity on the connection before disconnecting;
479438032Speter		"substantive" is defined to be MAIL, EXPN, VRFY, or ETRN.
479538032Speter	Always permit "writes" to /dev/null regardless of the link count.
479638032Speter		This is safe because /dev/null is special cased, and no open
479738032Speter		or write is ever actually attempted.  Patch from Villy Kruse
479838032Speter		of TwinCom.
479938032Speter	If a message cannot be sent because of a 552 (exceeded storage
480038032Speter		allocation) response to the MAIL FROM:<>, and a SIZE= parameter
480138032Speter		was given, don't return the body in the bounce, since there
480238032Speter		is a very good chance that the message will double-bounce.
480338032Speter	Fix possible line truncation if a quoted-printable had an =00 escape
480438032Speter		in the body.  Problem noted by Charles Karney of the Princeton
480538032Speter		Plasma Physics Laboratory.
480638032Speter	Notify flags (e.g., -NSUCCESS) were lost on user+detail addresses.
480738032Speter		Problem noted by Kari Hurtta of the Finnish Meteorological
480838032Speter		Institute.
480938032Speter	The MaxDaemonChildren option wasn't applying to queue runs as
481038032Speter		documented.  Note that this increases the potential denial
481138032Speter		of service problems with this option: an attacker can
481238032Speter		connect many times, and thereby lock out queue runs as well
481338032Speter		as incoming connections.  If you use this option, you should
481438032Speter		run the "sendmail -bd" and "sendmail -q30m" jobs separately
481538032Speter		to avoid this attack.  Failure to limit noted by Matthew
481638032Speter		Dillon of BEST Internet Communications.
481738032Speter	Always give a message in newaliases if alias files cannot be
481838032Speter		opened instead of failing silently.  Suggested by Gregory
481938032Speter		Neil Shapiro.  This change makes the code match the O'Reilly
482038032Speter		book (2nd edition).
482138032Speter	Some older versions of the resolver could return with h_errno == -1
482238032Speter		if no name server could be reached, causing mail to bounce
482338032Speter		instead of queueing.  Treat this like TRY_AGAIN.  Fix from
482438032Speter		John Beck of SunSoft.
482538032Speter	If a :include: file is owned by a user that does not have an entry
482638032Speter		in the passwd file, sendmail could dereference a null pointer.
482738032Speter		Problem noted by Satish Mynam of Sun Microsystems.
482838032Speter	Take precautions to make sure that the SMTP protocol cannot get out
482938032Speter		of sync if (for example) an alias file cannot be opened.
483038032Speter	Fix a possible race condition that can cause a SIGALRM to come in
483138032Speter		immediately after a SIGHUP, causing the new sendmail to die.
483238032Speter	Avoid possible hang on SVr3 systems when doing child reaping.  Patch
483338032Speter		from Villy Kruse of TwinCom.
483438032Speter	Ignore improperly formatted SMTP reply codes.  Previously these were
483538032Speter		partially processed, which could cause confusing error
483638032Speter		returns.
483738032Speter	Fix possible bogus pointer dereference when doing ldapx map lookups
483838032Speter		on some architectures.
483938032Speter	Portability:
484038032Speter		A/UX: from Jim Jagielski of NASA/GSFC.
484138032Speter		glibc: SOCK_STREAM was changed from a #define to an enum,
484238032Speter			thus breaking #ifdef SOCK_STREAM.  Only option seems
484338032Speter			to be to assume SOCK_STREAM if __GNU_LIBRARY__ is
484438032Speter			defined.  Problem reported by A Sun of the University
484538032Speter			of Washington.
484638032Speter		Solaris: use SIOCGIFNUM to get the number of interfaces on
484738032Speter			the system rather than guessing at compile time.
484838032Speter			Patch contributed by John Beck of Sun Microsystems.
484938032Speter		Intel Paragon: from Wendy Lin of Purdue University.
485038032Speter		GNU Hurd: from Miles Bader of the GNU project.
485138032Speter		RISC/os 4.50 from Harlan Stenn of PFCS Corporation.
485238032Speter		ISC Unix: wait never returns if SIGCLD signals are blocked.
485338032Speter			Unfortunately releasing them opens a race condition,
485438032Speter			but there appears to be no fix for this.  Patch from
485538032Speter			Gregory Neil Shapiro.
485638032Speter		BIND 8.1 for IPv6 compatibility from John Kennedy.
485738032Speter		Solaris: a bug in strcasecmp caused characters with the
485838032Speter			high order bit set to apparently randomly match
485938032Speter			letters -- for example, $| (0233) matches "i" and "I".
486038032Speter			Problem noted by John Gregson of the University of
486138032Speter			Cambridge.
486238032Speter		IRIX 6.x: make Makefile.IRIX.6.2 apply to all 6.x.  From
486338032Speter			Kari Hurtta.
486438032Speter		IRIX 6.x: Create Makefiles for systems that claim to be
486538032Speter			IRIX64 but are 6.2 or higher (so use the regular
486638032Speter			IRIX Makefile).
486738032Speter		IRIX 6.x: Fix load average computation on 64 bit kernels.
486838032Speter			Problem noted by Eric Hagberg of Morgan Stanley.
486938032Speter	CONFIG: Some canonification was still done for UUCP-like addresses
487038032Speter		even if FEATURE(nocanonify) was set.  Problem pointed out by
487138032Speter		Brian Candler.
487238032Speter	CONFIG: In some cases UUCP mailers wouldn't properly recognize all
487338032Speter		local names as local.  Problem noted by Jeff Polk of BSDI;
487438032Speter		fix provided by Gregory Neil Shapiro.
487538032Speter	CONFIG: The "local:user" syntax entries in mailertables and other
487638032Speter		"mailer:user" syntax locations returned an incorrect value
487738032Speter		for the $h macro.  Problem noted by Gregory Neil Shapiro.
487838032Speter	CONFIG: Retain "+detail" information when forwarding mail to a
487938032Speter		MAIL_HUB, LUSER_RELAY, or LOCAL_RELAY.  Patch from Philip
488038032Speter		Guenther of Gustavus Adolphus College.
488138032Speter	CONFIG: Make sure user+detail works for FEATURE(virtusertable);
488238032Speter		rules are the same as for aliasing.  Based on a patch from
488338032Speter		Gregory Neil Shapiro.
488438032Speter	CONFIG: Break up parsing rules into several pieces; this should
488538032Speter		have no functional change in this release, but makes it
488638032Speter		possible to have better anti-spam rulesets in the future.
488738032Speter	CONFIG: Disallow double dots in host names to avoid having the
488838032Speter		HostStatusDirectory store status under the wrong name.
488938032Speter		In some cases this can be used as a denial-of-service attack.
489038032Speter		Problem noted by Ron Jarrell of Virginia Tech, patch from
489138032Speter		Gregory Neil Shapiro.
489238032Speter	CONFIG: Don't use F=m (multiple recipients per invocation) for
489338032Speter		MAILER(procmail), but do pass F=Pn9 (include Return-Path:,
489438032Speter		don't include From_, and convert to 8-bit).  Suggestions
489538032Speter		from Kimmo Suominen and Roderick Schertler.
489664562Sgshapiro	CONFIG: Domains under $=M (specified with MASQUERADE_DOMAIN) were
489738032Speter		being masqueraded as though FEATURE(masquerade_entire_domain)
489838032Speter		was specified, even when it wasn't.
489938032Speter	MAIL.LOCAL: Solaris 2.6 has snprintf.  From John Beck of SunSoft.
490038032Speter	MAIL.LOCAL: SECURITY: check to make sure that an attacker doesn't
490138032Speter		"slip in" a symbolic link between the lstat(2) call and the
490238032Speter		exclusive open.  This is only a problem on System V derived
490338032Speter		systems that allow an exclusive create on files that are
490438032Speter		symbolic links pointing nowhere.
490538032Speter	MAIL.LOCAL: If the final mailbox close() failed, the user id was
490638032Speter		not reset back to root, which on some systems would cause
490738032Speter		later mailboxes to fail.  Also, any partial message would
490838032Speter		not be truncated, which could result in repeated deliveries.
490938032Speter		Problem noted by Bruce Evans via Peter Wemm (FreeBSD
491038032Speter		developers).
491138032Speter	MAKEMAP: Handle cases where O_EXLOCK is #defined to be 0.  A similar
491238032Speter		change to the sendmail map code was made in 8.8.3.  Problem
491338032Speter		noted by Gregory Neil Shapiro.
491438032Speter	MAKEMAP: Give warnings on file problems such as map files that are
491590792Sgshapiro		symbolic links; although makemap is not set-user-ID root, it is
491638032Speter		often run as root and hence has the potential for the same
491738032Speter		sorts of problems as alias rebuilds.
491838032Speter	MAKEMAP: Change compilation so that it will link properly on
491938032Speter		NEXTSTEP.
492038032Speter	CONTRIB: etrn.pl: search for Cw as well as Fw lines in sendmail.cf.
492138032Speter		Accept an optional list of arguments following the server
492238032Speter		name for the ETRN arguments to use (instead of $=w).  Other
492338032Speter		miscellaneous bug fixes.  From Christian von Roques via
492438032Speter		John Beck of Sun Microsystems.
492538032Speter	CONTRIB: Add passwd-to-alias.pl, contributed by Kari Hurtta.  This
492638032Speter		Perl script converts GECOS information in the /etc/passwd
492738032Speter		file into aliases, allowing for faster access to full name
492838032Speter		lookups; it is also clever about adding aliases (to root)
492938032Speter		for system accounts.
493038032Speter	NEW FILES:
493138032Speter		src/safefile.c
493238032Speter		cf/ostype/gnuhurd.m4
493338032Speter		cf/ostype/irix6.m4
493438032Speter		contrib/passwd-to-alias.pl
493538032Speter		src/Makefiles/Makefile.IRIX64.6.1
493638032Speter		src/Makefiles/Makefile.IRIX64.6.x
493738032Speter	RENAMED FILES:
493838032Speter		src/Makefiles/Makefile.IRIX.6.2 =>	Makefile.IRIX.6.x
493938032Speter		src/Makefiles/Makefile.IRIX64 =>	Makefile.IRIX64.6.0
494038032Speter
494164562Sgshapiro8.8.5/8.8.5	1997/01/21
494238032Speter	SECURITY: Clear out group list during startup.  Without this, sendmail
494338032Speter		will continue to run with the group permissions of the caller,
494438032Speter		even if RunAsUser is specified.
494538032Speter	SECURITY: Make purgestat (-bH) be root-only.  This is not in response
494638032Speter		to any known attack, but it's best to be conservative.
494738032Speter		Suggested by Peter Wemm of DIALix.
494838032Speter	SECURITY: Fix buffer overrun problem in MIME code that has possible
494938032Speter		security implications.  Patch from Alex Garthwaite of the
495038032Speter		University of Pennsylvania.
495138032Speter	Use of a -f flag with a phrase attached (e.g., "-f 'Full Name <addr>'")
495238032Speter		would truncate the address after "Full".  Although the -f
495338032Speter		syntax is incorrect (since it is in the envelope, it
495438032Speter		shouldn't have comments and full names), the failure mode
495538032Speter		was unnecessarily awful.
495638032Speter	Fix a possible null pointer dereference when converting 8-bit data
495738032Speter		to a 7-bit format.  Problem noted by Jim Hutchins of
495838032Speter		Sandia National Labs and David James of British Telecom.
495938032Speter	Clear out stale state that affected F=9 on SMTP mailers in queue
496038032Speter		runs.  Although this really shouldn't be used (F=9 is for
496138032Speter		final delivery only, and using it on an SMTP mailer makes
496238032Speter		it possible for a message to be converted from 8->7->8->7
496338032Speter		bits several times), it shouldn't have failed with a syserr.
496438032Speter		Problem noted by Eric Hagberg of Morgan Stanley.
496538032Speter	_Really_ fix the multiple :maildrop code in the user database
496638032Speter		module.  Patch from Roy Mongiovi of Georgia Tech.
496738032Speter	Let F lines in the configuration file actually read root-only
496838032Speter		files if the configuration file is safe.  Based on a
496938032Speter		patch from Keith Reynolds of SCO.
497038032Speter	ETRN followed by QUIT would hold the connection open until the queue
497138032Speter		run completed.  Problem noted by Truck Lewis of TDK
497238032Speter		Semiconductor Corp.
497338032Speter	It turns out that despite the documentation, the TCP wrappers library
497438032Speter		does _not_ log rejected connections.  Do the logging ourselves.
497538032Speter		Problem noted by Fletcher Mattox of the University of Texas
497638032Speter		at Austin.
497738032Speter	If sendmail finds a qf file in its queue directory that is an unknown
497838032Speter		version (e.g., when backing out to an old version), the
497938032Speter		error is reported on every queue run.  Change it to only
498038032Speter		give the error once (and rename the qf => Qf).  Patch from
498138032Speter		William A. Gianopoulos of Raytheon Company.
498238032Speter	Start a new session when doing background delivery; currently it
498338032Speter		ignored signals but didn't start a new signal, that caused
498438032Speter		some problems if a background process tried to send mail
498538032Speter		under certain circumstances.  Problem noted by Eric Hagberg
498638032Speter		of Morgan Stanley; fix from Kari Hurtta.
498738032Speter	Simplify test for skipping a queue run to just check if the current
498838032Speter		load average is >= the queueing load average.  Previously
498938032Speter		the check factored in some other parameters that caused it
499038032Speter		to essentially never skip the queue run.  Patch from Bryan
499138032Speter		Costales.
499238032Speter	If the SMTP server is running in "nullserver" mode (that is, it is
499338032Speter		rejecting all commands), start sleeping after MAXBADCOMMAND
499438032Speter		(25) commands; this helps prevent a bad guy from putting
499538032Speter		you into a tight loop as a denial-of-service attack.  Based
499638032Speter		on an e-mail conversation with Brad Knowles of AOL.
499738032Speter	Slow down when too many "light weight" commands have been issued;
499838032Speter		this helps prevent a class of denial-of-service attacks.
499938032Speter		The current values and defaults are:
500038032Speter		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
500138032Speter		    MAXHELOCOMMANDS	3	HELO, EHLO
500238032Speter		    MAXVRFYCOMMANDS	6	VRFY, EXPN
500338032Speter		    MAXETRNCOMMANDS	8	ETRN
500438032Speter		These will probably be configurable in a future release.
500538032Speter	On systems that have uid_t typedefed to be an unsigned short, programs
500638032Speter		that had the F=S flag and no U= equate would be invoked with
500738032Speter		the real uid set to 65535 rather than being left unchanged.
500838032Speter	In some cases, NOTIFY=NEVER was not being honored.  Problem noted
500938032Speter		by Steve Hubert of the University of Washington, Seattle.
501038032Speter	Mail that was Quoted-Printable encoded and had a soft line break on
501138032Speter		the last line (i.e., an incomplete continuation) had the last
501238032Speter		line dropped.  Since this appears to be illegal it isn't
501338032Speter		clear what to do with it, but flushing the last line seems
501438032Speter		to be a better "fail soft" approach.  Based on a patch from
501538032Speter		Eric Hagberg.
501638032Speter	If AllowBogusHELO and PrivacyOptions=needmailhelo are both set, a
501738032Speter		bogus HELO command still causes the "Polite people say HELO
501838032Speter		first" error message.  Problem pointed out by Chris Thomas
501938032Speter		of UCLA; patch from John Beck of SunSoft.
502038032Speter	Handle "sendmail -bp -qSfoobar" properly if restrictqrun is set
502171345Sgshapiro		in PrivacyOptions.  The -q shouldn't turn this command off.
502271345Sgshapiro		Problem noted by Murray Kucherawy of Pacific Bell Internet;
502371345Sgshapiro		based on a patch from Gregory Neil Shapiro of WPI.
502438032Speter	Don't consider SMTP reply codes 452 or 552 (exceeded storage allocation)
502538032Speter		in a DATA transaction to be sticky; these can occur because
502638032Speter		a message is too large, and smaller messages should still go
502738032Speter		through.  Problem noted by Matt Dillon of Best Internet
502838032Speter		Communications.
502938032Speter	In some cases bounces were saved in /var/tmp/dead.letter even if they
503038032Speter		had been successfully delivered to the envelope sender.
503138032Speter		Problem noted Eric Hagberg of Morgan Stanley; solution from
503238032Speter		Gregory Neil Shapiro of WPI.
503338032Speter	Give better diagnostics on long alias lines.  Based on code contributed
503438032Speter		by Patrick Gosling of the University of Cambridge.
503538032Speter	Increase the number of virtual interfaces that will be probed for
503638032Speter		alternate names.  Problem noted by Amy Rich of Shore.Net.
503738032Speter	PORTABILITY:
503838032Speter		UXP/DS V20L10 for Fujitsu DS/90: Makefile patches from
503938032Speter			Toshiaki Nomura of Fujitsu Limited.
504038032Speter		SunOS with LDAP support: compile problems with struct timeval.
504138032Speter			Patch from Nick Cuccia of TCSI Corporation.
504238032Speter		SCO: from Keith Reynolds of SCO.
504338032Speter		Solaris: kstat load average computation wasn't being used.
504438032Speter			Fixes from Michael Ju. Tokarev of Telecom Service, JSC
504538032Speter			(Moscow).
504638032Speter		OpenBSD: from Jason Downs of teeny.org.
504738032Speter		Altos System V: from Tim Rice.
504838032Speter		Solaris 2.5: from Alan Perry of SunSoft.
504938032Speter		Solaris 2.6: from John Beck of SunSoft.
505038032Speter		Harris Nighthawk PowerUX (mh6000 box): from Bob Miorelli
505138032Speter			of Pratt & Whitney <miorelli@pweh.com>.
505238032Speter	CONFIG: It seems that I hadn't gotten the Received: line syntax
505338032Speter		_just_right_ yet.  Tweak it again.  I'll omit the names
505438032Speter		of the "contributors" (quantity two) in this one case.
505538032Speter		As of now, NO MORE DISCUSSION about the syntax of the
505638032Speter		Received: line.
505738032Speter	CONFIG: Although FEATURE(nullclient) uses EXPOSED_USER (class $=E),
505838032Speter		it never inserts that class into the output file.  Fix it
505938032Speter		so it will honor EXPOSED_USER but will _not_ include root
506038032Speter		automatically in this class.  Problem noted by Ronan KERYELL
506138032Speter		of Centre de Recherche en Informatique de l'�cole Nationale
506238032Speter		Sup�rieure des Mines de Paris (CRI-ENSMP).
506338032Speter	CONFIG: Clean up handling of "local:" syntax in relay specifications
506438032Speter		such as LUSER_RELAY.  This change permits the following
506538032Speter		syntaxes:  ``local:'' will send to the same user on the
506638032Speter		local machine (e.g., in a mailertable entry for "host",
506738032Speter		``local:'' will cause an address addressed to user@host to
506838032Speter		go to user on the local machone).  ``local:user'' will send
506938032Speter		to the named user on the local machine.  ``local:user@host''
507038032Speter		is equivalent to ``local:user'' (the host is ignored).  In
507138032Speter		all cases, the original user@host is passed in $@ (i.e., the
507238032Speter		detail information).  Inspired by a report from Michael Fuhr.
507338032Speter	CONFIG: Strip quotes from the first word of an "error:" host
507438032Speter		indication.  This lets you set (for example) the LUSER_RELAY
507538032Speter		to be ``error:\"5.1.1\" Your Message Here''.  Note the use
507638032Speter		of the \" so that the resulting string is properly quoted.
507738032Speter		Problem noted by Gregory Neil Shapiro of WPI.
507838032Speter	OP.ME: documentation was inconsistent about whether sendmail did a
507938032Speter		NOOP or a RSET to probe the connection (it does a RSET).
508038032Speter		Inconsistency noted by Deeran Peethamparam.
508138032Speter	OP.ME: insert additional blank pages so it will print properly on
508238032Speter		a duplex printer.  From Matthew Black of Cal State University,
508338032Speter		Long Beach.
508438032Speter
508564562Sgshapiro8.8.4/8.8.4	1996/12/02
508638032Speter	SECURITY: under some circumstances, an attacker could get additional
508738032Speter		permissions by hard linking to files that were group
508838032Speter		writable by the attacker.  The solution is to disallow any
508938032Speter		files that have hard links -- this will affect .forward,
509038032Speter		:include:, and output files.  Problem noted by Terry
509138032Speter		Kyriacopoulos of Interlog Internet Services.  As a
509238032Speter		workaround, set UnsafeGroupWrites -- always a good idea.
509338032Speter	SECURITY: the TryNullMXList (w) option should not be safe -- if it
509438032Speter		is, it is possible to do a denial-of-service attack on
509538032Speter		MX hosts that rely on the use of the null MX list.  There
509638032Speter		is no danger if you have this option turned off (the default).
509738032Speter		Problem noted by Dan Bernstein.  Also, make the DontInitGroups
509838032Speter		unsafe.  I know of no specific attack against this, although
509938032Speter		a denial-of-service attack is probably possible, but in theory
510038032Speter		you should not be able to safely tweak anything that affects
510138032Speter		the permissions that are used when mail is delivered.
510238032Speter	Purgestat could go into an infinite loop if one of the host status
510338032Speter		directories somehow became empty.  Problem noted by Roy
510438032Speter		Mongiovi of Georgia Tech.
510538032Speter	Processes got "lost" when counting children due to a race condition.
510638032Speter		This caused "proc_list_probe: lost pid" messages to be logged.
510738032Speter		Problem noted by several people.
510838032Speter	On systems with System V SIGCLD child signal semantics (notably AIX
510938032Speter		and HP-UX), mail transactions would print the message "451
511038032Speter		SMTP-MAIL: lost child: No child processes".  Problem noted
511138032Speter		by several people.
511238032Speter	Miscellaneous compiler warnings on picky compilers (or when setting
511338032Speter		gcc to high warning levels).  From Tom Moore of NCR Corp.
511438032Speter	SMTP protocol errors, and most errors on MAIL FROM: lines should
511538032Speter		not be persistent between runs, since they are based on the
511638032Speter		message rather than the host.  Problem noted by Matt Dillon
511738032Speter		of Best Internet Communications.
511838032Speter	The F=7 flag was ignored on SMTP mailers.  Problem noted by Tom Moore
511938032Speter		of NCR (a.k.a., AT&T Global Information Solutions).
512038032Speter	Avoid the possibility of having a child daemon run to completion
512138032Speter		(including closing the SMTP socket) before the parent has
512238032Speter		had a chance to close the socket; this can cause the parent
512338032Speter		to hang for a long time waiting for the socket to drain.
512438032Speter		Patch from Don Lewis of TDK Semiconductor.
512538032Speter	If the fork() failed in a queue run, the queue runners would not be
512638032Speter		rescheduled (so queue runs would stop).  Patch from Don Lewis.
512738032Speter	Some error conditions in ETRN could cause output without an SMTP
512838032Speter		status code.  Problem noted by Don Lewis.
512938032Speter	Multiple :maildrop addresses in the user database didn't work properly.
513038032Speter		Patch from Roy Mongiovi of Georgia Tech.
513138032Speter	Add ".db" automatically onto any user database spec that does not
513238032Speter		already have it; this is for consistency with makemap, the
513338032Speter		K line, and the documentation.  Inconsistency pointed out
513438032Speter		by Roy Mongiovi.
513538032Speter	Allow sendmail to be properly called in nohup mode.  Patch from
513638032Speter		Kyle Jones of UUNET.
513738032Speter	Change ETRN to ignore but still update host status files; previously
513838032Speter		it would ignore them and not save the updated status, which
513938032Speter		caused stale information to be maintained.  Based on a patch
514038032Speter		from Christopher Davis of Kapor Enterprises Inc.  Also, have
514138032Speter		ETRN ignore the MinQueueAge option.
514238032Speter	Patch long term host status to recover more gracefully from an empty
514338032Speter		host status file condition.  Patch from NAKAMURA Motonori
514438032Speter		of Kyoto University.
514538032Speter	Several patches to signal handling code to fix potential race
514638032Speter		conditions from Don Lewis.
514738032Speter	Make it possible to compile with -DDAEMON=0 (previously it had some
514838032Speter		compile errors).  This turns DAEMON, QUEUE, and SMTP into
514938032Speter		0/1 compilation flags.  Note that DAEMON is an obsolete
515038032Speter		compile flag; use NETINET instead.  Solution based on a
515138032Speter		patch from Bryan Costales.
515238032Speter	PORTABILITY FIXES:
515338032Speter		AIX4: getpwnam() and getpwuid() do a sequential scan of the
515438032Speter			/etc/security/passwd file when called as root.  This
515538032Speter			is very slow on some systems.  To speed it up, use the
515638032Speter			(undocumented) _getpw{nam,uid}_shadow() routines.
515738032Speter			Patch from Chris Thomas of UCLA/OAC Systems Group.
515838032Speter		SCO 5.x: include -lprot in the Makefile.  Patch from Bill
515938032Speter			Glicker of Burrelle's Information Service.
516038032Speter		NEWS-OS 4.x: need a definition for MODE_T to compile.  Patch
516138032Speter			from Makoto MATSUSHITA of Osaka University.
516238032Speter		SunOS 4.0.3: compile problems.  Patches from Andrew Cole of
516338032Speter			Leeds University and SASABE Tetsuro of the University
516438032Speter			of Tokyo.
516538032Speter		DG/UX 5.4.4.11 from Brian J. Murrell of InterLinx Support
516638032Speter			Services, Inc.
516738032Speter		Domain/OS from Don (Truck) Lewis of TDK Semiconductor Corp.
516838032Speter			I believe this to have only been a problem if you
516938032Speter			compiled with -DUSE_VENDOR_CF_PATH -- another reason
517038032Speter			to stick with /etc/sendmail.cf as your One True Path.
517138032Speter		Digital UNIX (OSF/1 on Alpha) load average computation from
517238032Speter			Martin Laubach of the Technischen Universit�t Wien.
517338032Speter	CONFIG: change default Received: line to be multiple lines rather
517438032Speter		than one long one.  By popular demand.
517538032Speter	MAIL.LOCAL: warnings weren't being logged on some systems.  Patch
517638032Speter		from Jerome Berkman of U.C. Berkeley.
517738032Speter	MAKEMAP: be sure to zero hinfo to avoid cruft that can cause runs
517838032Speter		to take a very long time.  Problem noted by Yoshiro YONEYA
517938032Speter		of NTT Software Corporation.
518038032Speter	CONTRIB: add etrn.pl, contributed by John Beck.
518138032Speter	NEW FILES:
518238032Speter		contrib/etrn.pl
518338032Speter
518464562Sgshapiro8.8.3/8.8.3	1996/11/17
518538032Speter	SECURITY: it was possible to get a root shell by lying to sendmail
518638032Speter		about argv[0] and then sending it a signal.  Problem noted
518738032Speter		by Leshka Zakharoff <leshka@leshka.chuvashia.su> on the
518838032Speter		best-of-security list.
518938032Speter	Log sendmail binary version number in "Warning: .cf version level
519038032Speter		(%d) exceeds program functionality (%d) message" -- this
519138032Speter		should make it clearer to people that they are running
519238032Speter		the wrong binary.
519338032Speter	Fix a problem that occurs when you open an SMTP connection and then
519438032Speter		do one or more ETRN commands followed by a MAIL command; at
519538032Speter		the end of the DATA phase sendmail would incorrectly report
519638032Speter		"451 SMTP-MAIL: lost child: No child processes".  Problem
519738032Speter		noted by Eric Bishop of Virginia Tech.
519838032Speter	When doing text-based host canonification (typically /etc/hosts
519938032Speter		lookup), a null host name would match any /etc/hosts entry
520038032Speter		with space at the end of the line.  Problem noted by Steve
520138032Speter		Hubert of the University of Washington, Seattle.
520238032Speter	7 to 8 bit BASE64 MIME conversions could duplicate bits of text.
520338032Speter		Problem reported by Tom Smith of Digital Equipment Corp.
520438032Speter	Increase the size of the DNS answer buffer -- the standard UDP packet
520538032Speter		size PACKETSZ (512) is not sufficient for some nameserver
520638032Speter		answers containing very many resource records.  The resolver
520738032Speter		may also switch to TCP and retry if it detects UDP packet
520838032Speter		overflow.  Also, allow for the fact that the resolver
520938032Speter		routines res_query and res_search return the size of the
521038032Speter		*un*truncated answer in case the supplied answer buffer it
521138032Speter		not big enough to accommodate the entire answer.  Patch from
521238032Speter		Eric Wassenaar.
521338032Speter	Improvements to MaxDaemonChildren code.  If you think you have too
521438032Speter		many children, probe the ones you have to verify that they
521538032Speter		are still around.  Suggested by Jared Mauch of CICnet, Inc.
521638032Speter		Also, do this probe before growing the vector of children
521738032Speter		pids; this previously caused the vector to grow indefinitely
521838032Speter		due to a race condition.  Problem reported by Kyle Jones of
521938032Speter		UUNET.
522038032Speter	On some architectures, <db.h> (from the Berkeley DB library) defines
522138032Speter		O_EXLOCK to zero; this fools the map compilation code into
522238032Speter		thinking that it can avoid race conditions by locking on open.
522338032Speter		Change it to check for O_EXLOCK non-zero.  Problem noted by
522438032Speter		Leif Erlingsson of Data Lege.
522538032Speter	Always call res_init() on startup (if compiled in, of course) to
522638032Speter		allow the sendmail.cf file to tweak resolver flags; without
522738032Speter		it, flag tweaks in ResolverOptions are ignored.  Patch from
522838032Speter		Andrew Sun of Merrill Lynch.
522938032Speter	Improvements to host status printing code.  Suggested by Steve Hubert
523038032Speter		of the University of Washington, Seattle.
523138032Speter	Change MinQueueAge option processing to do the check for the job age
523238032Speter		when reading the queue file, rather than at the end; this
523338032Speter		avoids parsing the addresses, which can do DNS lookups.
523438032Speter		Problem noted by John Beck of InReference, Inc.
523538032Speter	When MIME was being 7->8 bit decoded, "From " lines weren't being
523638032Speter		properly escaped.  Problem noted by Peter Nilsson of the
523738032Speter		University of Linkoping.
523838032Speter	In some cases, sendmail would retain root permissions during queue
523938032Speter		runs even if RunAsUser was set.  Problem noted by Mark
524038032Speter		Thomas of Mark G. Thomas Consulting.
524138032Speter	If the F=l flag was set on an SMTP mailer to indicate that it is
524238032Speter		actually local delivery, and NOTIFY=SUCCESS is specified in
524338032Speter		the envelope, and the receiving SMTP server speaks DSN, then
524438032Speter		the DSN would be both generated locally and propagated to the
524538032Speter		other end.
524638032Speter	The U= mailer field didn't correctly extract the group id if the
524738032Speter		user id was numeric.  Problem noted by Kenneth Herron of
524838032Speter		MCI Telecommunications Communications.
524938032Speter	If a message exceeded the fixed maximum size on input, the body of
525038032Speter		the message was included in the bounce.  Note that this did
525138032Speter		not occur if it exceeded the maximum _output_ size.  Problem
525238032Speter		reported by Kyle Jones of UUNET.
525338032Speter	PORTABILITY FIXES:
525438032Speter		AIX4: 4.1 doesn't have a working setreuid(2); change the
525538032Speter			AIX4 defines to use seteuid(2) instead, which
525638032Speter			works on 4.1 as well as 4.2.  Problem noted by
525738032Speter			H�kan Lindholm of interAF, Sweden.
525838032Speter		AIX4: use tzname[] vector to determine time zone name.
525938032Speter			Patch from NAKAMURA Motonori of Kyoto University.
526038032Speter		MkLinux: add Makefile.Linux.ppc and OSTYPE(mklinux) support.
526138032Speter			Contributed by Paul DuBois <dubois@primate.wisc.edu>.
526238032Speter		Solaris: kstat(3k) support for retrieving the load average.
526338032Speter			This adds the LA_KSTAT definition for LA_TYPE.
526438032Speter			The outline of the implementation was contributed
526538032Speter			by Michael Tokarev of Telecom Service, JSC, Moscow.
526638032Speter		HP-UX 10.0 gripes about the (perfectly legal!) forward
526738032Speter			declaration of struct rusage at the top of conf.h;
526838032Speter			change it to only be included if you are using gcc,
526938032Speter			which is apparently the only compiler that requires
527038032Speter			it in the first place.  Problem noted by Jeff
527138032Speter			Earickson of Colby College.
527238032Speter		IRIX: don't default to using gcc.  IRIX is a civilized
527338032Speter			operating system that comes with a decent compiler
527438032Speter			by default.  Problem noted by Barry Bouwsma and
527538032Speter			Kari Hurtta.
527638032Speter	CONFIG: specify F=9 as default in FEATURE(local_procmail) for
527738032Speter		consistency with other local mailers.  Inconsistency
527838032Speter		pointed out by Teddy Hogeborn <teddy@fukt.hk-r.se>.
527938032Speter	CONFIG: if the "limited best mx" feature is used (to reduce DNS
528038032Speter		overhead) as part of the bestmx_is_local feature, the
528138032Speter		domain part was dropped from the name.  Patch from Steve
528238032Speter		Hubert of the University of Washington, Seattle.
528338032Speter	CONFIG: catch addresses of the form "user@.dom.ain"; these could
528438032Speter		end up being translated to the null host name, which would
528538032Speter		return any entry in /etc/hosts that had a space at the end
528638032Speter		of the line.  Problem noted by Steve Hubert of the
528738032Speter		University of Washington, Seattle.
528838032Speter	CONFIG: add OSTYPE(aix4).  From Michael Sofka of Rensselaer
528938032Speter		Polytechnic Institute.
529038032Speter	MAKEMAP: tweak hash and btree parameters for better performance.
529138032Speter		Patch from Matt Dillon of Best Internet Communications.
529238032Speter	NEW FILES:
529338032Speter		src/Makefiles/Makefile.Linux.ppc
529438032Speter		cf/ostype/aix4.m4
529538032Speter		cf/ostype/mklinux.m4
529638032Speter
529764562Sgshapiro8.8.2/8.8.2	1996/10/18
529838032Speter	SECURITY: fix a botch in the 7-bit MIME patch; the previous patch
529938032Speter		changed the code but didn't fix the problem.
530038032Speter	PORTABILITY FIXES:
530138032Speter		Solaris: Don't use the system getusershell(3); it can
530238032Speter			apparently corrupt the heap in some circumstances.
530338032Speter			Problem found by Ken Pizzini of Spry, Inc.
530438032Speter	OP.ME: document several mailer flags that were accidentally omitted
530538032Speter		from this document.  These flags were F=d, F=j, F=R, and F=9.
530638032Speter	CONFIG: no changes.
530738032Speter
530864562Sgshapiro8.8.1/8.8.1	1996/10/17
530938032Speter	SECURITY: unset all environment variables that the resolver will
531038032Speter		examine during queue runs and daemon mode.  Problem noted
531138032Speter		by Dan Bernstein of the University of Illinois at Chicago.
531238032Speter	SECURITY: in some cases an illegal 7-bit MIME-encoded text/plain
531338032Speter		message could overflow a buffer if it was converted back
531438032Speter		to 8 bits.  This caused core dumps and has the potential
531538032Speter		for a remote attack.  Problem first noted by Gregory Shapiro
531638032Speter		of WPI.
531738032Speter	Avoid duplicate deliveries of error messages on systems that don't
531838032Speter		have flock(2) support.  Patch from Motonori Nakamura of
531938032Speter		Kyoto University.
532038032Speter	Ignore null FallBackMX (V) options.  If this option is null (as
532138032Speter		opposed to undefined) it can cause "null signature" syserrs
532238032Speter		on illegal host names.
532338032Speter	If a Base64 encoded text/plain message has no trailing newline in
532438032Speter		the encoded text, conversion back to 8 bits will drop the
532538032Speter		final line.  Problem noted by Pierre David.
532638032Speter	If running with a RunAsUser, sendmail would give bogus "cannot
532738032Speter		setuid" (or seteuid, or setreuid) messages on some systems.
532838032Speter		Problem pointed out by Jordan Mendelson of Web Services, Inc.
532938032Speter	Always print error messages in -bv mode -- previously, -bv would
533038032Speter		be absolutely silent on errors if the error mode was sent
533138032Speter		to (say) mail-back.  Problem noted by Kyle Jones of UUNET.
533238032Speter	If -qI/R/S is set (or the ETRN command is used), ignore all long
533338032Speter		term host status.  This is necessary because it is common
533438032Speter		to do this when you know a host has just come back up.
533538032Speter	Disallow duplicate HELO/EHLO commands as required by RFC 1651 section
533638032Speter		4.2.  Excessive permissiveness noted by Lee Flight of the
533738032Speter		University of Leicester.
533838032Speter	If a service (such as NIS) is specified as the last entry in the
533938032Speter		service switch, but that service is not compiled in, sendmail
534038032Speter		would return a temporary failure when an entry was not found
534138032Speter		in the map.  This caused the message to be queued instead of
534238032Speter		bouncing immediately.  Problem noted by Harry Edmon of the
534338032Speter		University of Washington.
534438032Speter	PORTABILITY FIXES:
534538032Speter		Solaris 2.3 had compilation problems in conf.c.  Several
534638032Speter			people pointed this out.
534738032Speter		NetBSD from Charles Hannum of MIT.
534838032Speter		AIX4 improvements based on info from Steve Bauer of South
534938032Speter			Dakota School of Mines & Technology.
535038032Speter	CONFIG: ``error:code message'' syntax was broken in virtusertable.
535138032Speter		Patch from Gil Kloepfer Jr.
535238032Speter	CONFIG: if FEATURE(nocanonify) was specified, hosts in $=M (set
535338032Speter		using MASQUERADE_DOMAIN) were not masqueraded unless they
535438032Speter		were also in $=w.  Problem noted by Zoltan Basti of
535538032Speter		Softec.
535638032Speter	MAIL.LOCAL: patches to compile and link cleanly on AIX.  Based
535738032Speter		on a patch from Eric Hagberg of Morgan Stanley.
535838032Speter	MAIL.LOCAL: patches to compile on NEXTSTEP.  From Patrick Nolan
535938032Speter		of Stanford via Robert La Ferla.
536038032Speter
536164562Sgshapiro8.8.0/8.8.0	1996/09/26
536238032Speter	Under some circumstances, Bcc: headers would not be properly
536338032Speter		deleted.  Pointed out by Jonathan Kamens of OpenVision.
536438032Speter	Log a warning if the sendmail daemon is invoked without a full
536538032Speter		pathname, which prevents "kill -1" from working.  I was
536638032Speter		urged to put this in by Andrey A. Chernov of DEMOS (Russia).
536738032Speter	Fix small buffer overflow.  Since the data in this buffer was not
536838032Speter		read externally, there was no security problem (and in fact
536938032Speter		probably wouldn't really overflow on most compilers).  Pointed
537038032Speter		out by KIZU takashi of Osaka University.
537138032Speter	Fix problem causing domain literals such as [1.2.3.4] to be ignored
537238032Speter		if a FallbackMXHost was specified in the configuration file
537338032Speter		-- all mail would be sent to the fallback even if the original
537438032Speter		host was accessible.  Pointed out by Munenari Hirayama of
537538032Speter		NSC (Japan).
537638032Speter	A message that didn't terminate with a newline would (sometimes) not
537738032Speter		have the trailing "." added properly in the SMTP dialogue,
537838032Speter		causing SMTP to hang.  Patch from Per Hedeland of Ericsson.
537938032Speter	The DaemonPortOptions suboption to bind to a particular address was
538038032Speter		incorrect and nonfunctional due to a misunderstanding of the
538138032Speter		semantics of binding on a passive socket.  Patch from
538238032Speter		NIIBE Yutaka of Mitsubishi Research Institute.
538338032Speter	Increase the number of MX hosts for a single name to 100 to better
538438032Speter		handle the truly huge service providers such as AOL, which
538538032Speter		has 13 at the moment (and climbing).  In order to avoid
538638032Speter		trashing memory, the buffer for all names has only been
538738032Speter		slightly increased in size, to 12.8K from 10.2K -- this means
538838032Speter		that if a single name had 100 MX records, the average size
538938032Speter		of those records could not exceed 128 bytes.  Requested by
539038032Speter		Brad Knowles of America On Line.
539138032Speter	Restore use of IDENT returns where the OSTYPE field equals "OTHER".
539238032Speter		Urged by Dan Bernstein of U.C. Berkeley.
539338032Speter	Print q_statdate and q_specificity in address structure debugging
539438032Speter		printout.
539538032Speter	Expand MCI structure flag bits for debugging output.
539638032Speter	Support IPv6-style domain literals, which can have colons between
539738032Speter		square braces.
539838032Speter	Log open file descriptors for the "cannot dup" messages in deliver();
539938032Speter		this is an attempt to track down a bug that one person seems
540038032Speter		to be having (it may be a Solaris bug!).
540138032Speter	DSN NOTIFY parameters were not properly propagated across queue runs;
540238032Speter		this caused the NOTIFY info to sometimes be lost.  Problem
540338032Speter		pointed out by Claus Assmann of the
540438032Speter		Christian-Albrechts-University of Kiel.
540538032Speter	The statistics gathered in the sendmail.st file were too high; in
540638032Speter		some cases failures (e.g., user unknown or temporary failure)
540738032Speter		would count as a delivery as far as the statistics were
540838032Speter		concerned.  Problem noted by Tom Moore of AT&T GIS.
540938032Speter	Systems that don't have flock() would not send split envelopes in
541038032Speter		the initial run.  Problem pointed out by Leonard Zubkoff of
541138032Speter		Dandelion Digital.
541238032Speter	Move buffer overflow checking -- these primarily involve distrusting
541338032Speter		results that may come from NIS and DNS.
541438032Speter	4.4-BSD-derived systems, including FreeBSD, NetBSD, and BSD/OS didn't
541538032Speter		include <paths.h> and hence had the wrong pathnames for a few
541638032Speter		things like /var/tmp.  Reported by Matthew Green.
541738032Speter	Conditions were reversed for the Priority: header, resulting in all
541838032Speter		values being interpreted as non-urgent except for non-urgent,
541938032Speter		which was interpreted as normal.  Patch from Bryan Costales.
542038032Speter	The -o (optional) flag was being ignored on hash and btree maps
542138032Speter		since 8.7.2.  Fix from Bryan Costales.
542238032Speter	Content-Types listed in class "q" will always be encoded as
542338032Speter		Quoted-Printable (or more accurately, will never be encoded
542438032Speter		as base64).  The class can have primary types (e.g., "text")
542538032Speter		or full types (e.g., "text/plain").  Based on a suggestion by
542638032Speter		Marius Olafsson of the University of Iceland.
542738032Speter	Define ${envid} to be the original envelope id (from the ESMTP DSN
542838032Speter		dialogue) so it can be passed to programs in mailers.
542938032Speter	Define ${bodytype} to be the body type (from the -B flag or the
543038032Speter		BODY= ESMTP parameter) so it can be passed to programs in
543138032Speter		mailers.
543238032Speter	Cause the VRFY command to return 252 instead of 250 unless the F=q
543338032Speter		flag is set in the mailer descriptor.  Suggested by John
543438032Speter		Myers of CMU.
543538032Speter	Implement ESMTP ETRN command to flush the queue for a specific host.
543638032Speter		The command takes a host name; data for that host is
543738032Speter		immediately (and asynchronously) flushed.  Because this shares
543838032Speter		the -qR implementation, other hosts may be attempted, but
543938032Speter		there should be no security implications.  Implementation
544038032Speter		from John Beck of InReference, Inc.  See RFC 1985 for details.
544138032Speter	Add three new command line flags to pass in DSN parameters: -V envid
544238032Speter		(equivalent to ENVID=envid on the MAIL command), -R ret
544338032Speter		(equivalent to RET=ret on the MAIL command), and -Nnotify
544438032Speter		(equivalent to NOTIFY=notify on the RCPT command).  Note
544538032Speter		that the -N flag applies to all recipients; there is no way
544638032Speter		to specify per-address notifications on the command line,
544738032Speter		nor is there an equivalent for the ORCPT= per-address
544838032Speter		parameter.
544938032Speter	Restore LogLevel option to be safe (it can only be increased);
545038032Speter		apparently I went into paranoid mode between 8.6 and 8.7
545138032Speter		and made it unsafe.  Pointed out by Dabe Murphy of the
545238032Speter		University of Maryland.
545338032Speter	New logging on log level 15:  all SMTP traffic.  Patches from
545438032Speter		Andrew Gross of San Diego Supercomputer Center.
545538032Speter	NetInfo property value searching code wasn't stopping when it found
545638032Speter		a match.  This was causing the wrong values to be found (and
545738032Speter		had a memory leak).  Found by Bastian Schleuter of TU-Berlin.
545838032Speter	Add new F=0 (zero) mailer flag to turn off MX lookups.  It was pointed
545938032Speter		out by Bill Wisner of Electronics for Imaging that you can't
546038032Speter		use the bracket address form for the MAIL_HUB macro, since
546138032Speter		that causes the brackets to remain in the envelope recipient
546238032Speter		address used for delivery.  The simple fix (stripping off the
546338032Speter		brackets in the config file) breaks the use of IP literal
546438032Speter		addresses.  This flag will solve that problem.
546538032Speter	Add MustQuoteChars option.  This is a list of characters that must
546638032Speter		be quoted if they are found in the phrase part of an address
546738032Speter		(that is, the full name part).  The characters @,;:\()[] are
546838032Speter		always in this list and cannot be removed.  The default is
546938032Speter		this list plus . and ' to match RFC 822.
547038032Speter	Add AllowBogusHELO option; if set, sendmail will allow HELO commands
547138032Speter		that do not include a host name for back compatibility with
547238032Speter		some stupid SMTP clients.  Setting this violates RFC 1123
547338032Speter		section 5.2.5.
547438032Speter	Add MaxDaemonChildren option; if this is set, sendmail will start
547538032Speter		rejecting connections if it has more than this many
547638032Speter		outstanding children accepting mail.  Note that you may
547738032Speter		see more processes than this because of outgoing mail; this
547838032Speter		is for incoming connections only.
547938032Speter	Add ConnectionRateThrottle option.  If set to a positive value, the
548038032Speter		number of incoming SMTP connections that will be permitted
548138032Speter		in a single second is limited to this number.  Connections are
548238032Speter		not refused during this time, just deferred.  The intent is to
548338032Speter		flatten out demand so that load average limiting can kick in.
548438032Speter		It is less radical than MaxDaemonChildren, which will stop
548538032Speter		accepting connections even if all the connections are idle
548638032Speter		(e.g., due to connection caching).
548738032Speter	Add Timeout.hoststatus option.  This interval (defaulting to 30m)
548838032Speter		specifies how long cached information about the state of a
548938032Speter		host will be kept before they are considered stale and the
549038032Speter		host is retried.  If you are using persistent host status
549138032Speter		(i.e., the HostStatusDirectory option is set) this will apply
549238032Speter		between runs; otherwise, it applies only within a single queue
549338032Speter		run and hence is useful only for hosts that have large queues
549438032Speter		that take a very long time to run.
549538032Speter	Add SingleLineFromHeader option.  If set, From: headers are coerced
549638032Speter		into being a single line even if they had newlines in them
549738032Speter		when read.  This is to get around a botch in Lotus Notes.
549838032Speter	Text class maps were totally broken -- if you ever retrieved the last
549938032Speter		item in a table it would be truncated.  Problem noted by
550038032Speter		Gregory Neil Shapiro of WPI.
550138032Speter	Extend the lines printed by the mailq command (== the -bp flag) when
550238032Speter		-v is given to 120 characters; this allows more information
550338032Speter		to be displayed.  Suggested by Gregory Neil Shapiro of WPI.
550438032Speter	Allow macro definitions (`D' lines) with unquoted commas; previously
550538032Speter		this was treated as end-of-input.  Problem noted by Bryan
550638032Speter		Costales.
550738032Speter	The RET= envelope parameter (used for DSNs) wasn't properly written
550838032Speter		to the queue file.  Fix from John Hughes of Atlantic
550938032Speter		Technologies, Inc.
551038032Speter	Close /var/tmp/dead.letter after a successful write -- otherwise
551138032Speter		if this happens in a queue run it can cause nasty delays.
551238032Speter		Problem noted by Mark Horton of AT&T.
551338032Speter	If userdb entries pointed to userdb entries, and there were multiple
551438032Speter		values for a given key, the database cursor would get
551538032Speter		trashed by the recursive call.  Problem noted by Roy Mongiovi
551638032Speter		of Georgia Tech.  Fixed by reading all the values and creating
551738032Speter		a comma-separated list; thus, the -v output will be somewhat
551838032Speter		different for this case.
551938032Speter	Fix buffer allocation problem with Hesiod-based userdb maps when
552038032Speter		HES_GETMAILHOST is defined.  Based on a patch by Betty Lee
552138032Speter		of Stanford University.
552238032Speter	When envelopes were split due to aliases with owner- aliases, and
552338032Speter		there was some error on one of the lists, more than one of
552438032Speter		the owners would get the message.  Problem pointed out by
552538032Speter		Roy Mongiovi of Georgia Tech.
552638032Speter	Detect excessive recursion in macro expansions, e.g., $X defined
552738032Speter		in terms of $Y which is defined in terms of $X.  Problem
552838032Speter		noted by Bryan Costales; patch from Eric Wassenaar.
552938032Speter	When using F=U to get "ugly UUCP" From_ lines, a buffer could in
553038032Speter		some cases get trashed causing bogus From_ lines.  Fix from
553138032Speter		Kyle Jones of UUNET.
553238032Speter	When doing load average initialization, if the nlist call for avenrun
553338032Speter		failed, the second and subsequent lookups wouldn't notice
553438032Speter		that fact causing bogus load averages to be returned.  Noted
553538032Speter		by Casper Dik of Sun Holland.
553638032Speter	Fix problem with incompatibility with some versions of inet_aton that
553738032Speter		have changed the return value to unsigned, so a check for an
553838032Speter		error return of -1 doesn't work.  Use INADDR_NONE instead.
553938032Speter		This could cause mail to addresses such as [foo.com] to bounce
554038032Speter		or get dropped.  Problem noted by Christophe Wolfhugel of the
554138032Speter		Pasteur Institute.
554238032Speter	DSNs were inconsistent if a failure occurred during the DATA phase
554338032Speter		rather than the RCPT phase: the Action: would be correct, but
554438032Speter		the detailed status information would be wrong.  Problem noted
554538032Speter		by Bob Snyder of General Electric Company.
554638032Speter	Add -U command line flag and the XUSR ESMTP extension, both indicating
554738032Speter		that this is the initial MUA->MTA submission.  The flag current
554838032Speter		does nothing, but in future releases (when MUAs start using
554938032Speter		these flags) it will probably turn on things like DNS
555038032Speter		canonification.
555138032Speter	Default end-of-line string (E= specification on mailer [M] lines)
555238032Speter		to \r\n on SMTP mailers.  Default remains \n on non-SMTP
555338032Speter		mailers.
555438032Speter	Change the internal definition for the *file* and *include* mailers
555538032Speter		to have $u in the argument vectors so that they aren't
555638032Speter		misinterpreted as SMTP mailers and thus use \r\n line
555738032Speter		termination.  This will affect anyone who has redefined
555838032Speter		either of these in their configuration file.
555938032Speter	Don't assume that IDENT servers close the connection after a query;
556038032Speter		responses can be newline terminated.  From Terry Kennedy of
556138032Speter		St. Peter's College.
556238032Speter	Avoid core dumps on erroneous configuration files that have
556338032Speter		$#mailer with nothing following.  From Bryan Costales.
556438032Speter	Avoid null pointer dereference with high debug values in unlockqueue.
556538032Speter		Fix from Randy Martin of Clemson University.
556638032Speter	Fix possible buffer overrun when expanding very large macros.  Fix
556738032Speter		from Kyle Jones of UUNET.
556838032Speter	After 25 EXPN or VRFY commands, start pausing for a second before
556938032Speter		processing each one.  This avoids a certain form of denial
557038032Speter		of service attack.  Potential attack pointed out by Bryan
557138032Speter		Costales.
557238032Speter	Allow new named (not numbered!) config file rules to do validity
557338032Speter		checking on SMTP arguments: check_mail for MAIL commands and
557438032Speter		check_rcpt for RCPT commands.  These rulesets can do anything
557538032Speter		they want; their result is ignored unless they resolve to the
557638032Speter		$#error mailer, in which case the indicated message is printed
557738032Speter		and the command is rejected.  Similarly, the check_compat
557838032Speter		ruleset is called before delivery with "from_addr $| to_addr"
557938032Speter		(the $| is a meta-symbol used to separate the two addresses);
558038032Speter		it can give a "this sender can't send to this recipient"
558138032Speter		notification.  Note that this patch allows $| to stand alone
558238032Speter		in rulesets.
558338032Speter	Define new macros ${client_name}, ${client_addr}, and ${client_port}
558438032Speter		that have the name, IP address, and port number (respectively)
558538032Speter		of the SMTP client (that is, the entity at the other end of
558638032Speter		the connection.  These can be used in (e.g.) check_rcpt to
558738032Speter		verify that someone isn't trying to relay mail through your
558838032Speter		host inappropriately.  Be sure to use the deferred evaluation
558938032Speter		form, for example $&{client_name}, to avoid having these bound
559038032Speter		when sendmail reads the configuration file.
559138032Speter	Add new config file rule check_relay to check the incoming connection
559238032Speter		information.  Like check_compat, it is passed the host name
559338032Speter		and host address separated by $| and can reject connections
559438032Speter		on that basis.
559538032Speter	Allow IDA-style recursive function calls.  Code contributed by Mark
559638032Speter		Lovell and Paul Vixie.
559738032Speter	Eliminate the "No ! in UUCP From address!" message" -- instead, create
559838032Speter		a virtual UUCP address using either a domain address or the $k
559938032Speter		macro.  Based on code contributed by Mark Lovell and Paul
560038032Speter		Vixie.
560138032Speter	Add Stanford LDAP map.  Requires special libraries that are not
560238032Speter		included with sendmail.  Contributed by Booker C. Bense
560338032Speter		<bbense@networking.stanford.edu>; contact him for support.
560438032Speter		See also the src/READ_ME file.
560538032Speter	Allow -dANSI to turn on ANSI escape sequences in debug output; this
560638032Speter		puts metasymbols (e.g., $+) in reverse video.  Really useful
560738032Speter		only for debugging deep bits of code where it is important to
560838032Speter		distinguish between the single-character metasymbol $+ and the
560938032Speter		two characters $, +.
561038032Speter	Changed ruleset 89 (executed in dumpstate()) to a named ruleset,
561138032Speter		debug_dumpstate.
561238032Speter	Add new UnsafeGroupWrites option; if set, .forward and :include:
561338032Speter		files that are group writable are considered "unsafe" -- that
561438032Speter		is, programs and files referenced from such files are not
561538032Speter		valid recipients.
561638032Speter	Delete bogosity test for FallBackMX host; this prevented it to be a
561738032Speter		name that was not in DNS or was a domain-literal.  Problem
561838032Speter		noted by Tom May.
561938032Speter	Change the introduction to error messages to more clearly delineate
562038032Speter		permanent from temporary failures; if both existed in a
562138032Speter		single message it could be confusing.  Suggested by John
562238032Speter		Beck of InReference, Inc.
562338032Speter	The IngoreDot (i) option didn't work for lines that were terminated
562438032Speter		with CRLF.  Problem noted by Ted Stockwell of Secure
562538032Speter		Computing Corporation.
562638032Speter	Add a heuristic to improve the handling of unbalanced `<' signs in
562738032Speter		message headers.  Problem reported by Matt Dillon of Best
562838032Speter		Internet Communications.
562938032Speter	Check for bogus characters in the 0200-0237 range; since these are
563038032Speter		used internally, very strange errors can occur if those
563138032Speter		characters appear in headers.  Problem noted by Anders Gertz
563238032Speter		of Lysator.
563338032Speter	Implement 7 -> 8 bit MIME conversions.  This only takes place if the
563438032Speter		recipient mailer has the F=9 flag set, and only works on
563538032Speter		text/plain body types.  Code contributed by Marius Olafsson
563638032Speter		of the University of Iceland.
563738032Speter	Special case "postmaster" name so that it is always treated as lower
563838032Speter		case in alias files regardless of configuration settings;
563938032Speter		this prevents some potential problems where "Postmaster" or
564038032Speter		"POSTMASTER" might not match "postmaster".  In most cases
564138032Speter		this change is a no-op.
564238032Speter	The -o map flag was ignored for text maps.  Problem noted by Bryan
564338032Speter		Costales.
564438032Speter	The -a map flag was ignored for dequote maps.  Problem noted by
564538032Speter		Bryan Costales.
564638032Speter	Fix core dump when a lookup of a class "prog" map returns no
564738032Speter		response.  Patch from Bryan Costales.
564838032Speter	Log instances where sendmail is deferring or rejecting connections
564938032Speter		on LogLevel 14.  Suggested by Kyle Jones of UUNET.
565038032Speter	Include port number in process title for network daemons.  Suggested
565138032Speter		by Kyle Jones of UUNET.
565238032Speter	Send ``double bounces'' (errors that occur when sending an error
565338032Speter		message) to the address indicated in the DoubleBounceAddress
565438032Speter		option (default: postmaster).  Previously they were always
565538032Speter		sent to postmaster.  Suggested by Kyle Jones of UUNET.
565638032Speter	Add new mode, -bD, that acts like -bd in all respects except that
565738032Speter		it runs in foreground.  This is useful for using with a
565838032Speter		wrapper that "watches" system services.  Suggested by Kyle
565938032Speter		Jones of UUNET.
566038032Speter	Fix botch in spacing around (parenthesized) comments in addresses
566138032Speter		when the comment comes before the address.  Patch from
566238032Speter		Motonori Nakamura of Kyoto University.
566338032Speter	Use the prefix "Postmaster notify" on the Subject: lines of messages
566438032Speter		that are being bounced to postmaster, rather than "Returned
566538032Speter		mail".  This permits the person who is postmaster more
566638032Speter		easily determine what messages are to their role as
566738032Speter		postmaster versus bounces to mail they actually sent.  Based
566838032Speter		on a suggestion by Motonori Nakamura.
566938032Speter	Add new value "time" for QueueSortOrder option; this causes the queue
567038032Speter		to be sorted strictly by the time of submission.  Note that
567143730Speter		this can cause very bad behavior over slow lines (because
567238032Speter		large jobs will tend to delay small jobs) and on nodes with
567338032Speter		heavy traffic (because old things in the queue for hosts that
567438032Speter		are down delay processing of new jobs).  Also, this does not
567538032Speter		guarantee that jobs will be delivered in submission order
567638032Speter		unless you also set DeliveryMode=queue.  In general, it should
567738032Speter		probably only be used on the command line, and only in
567838032Speter		conjunction with -qRhost.domain.  In fact, there are very few
567938032Speter		cases where it should be used at all.  Based on an
568038032Speter		implementation by Motonori Nakamura.
568138032Speter	If a map lookup in ruleset 5 returns tempfail, queue the message in
568238032Speter		the same manner as other rulesets.  Previously a temporary
568338032Speter		failure in ruleset 5 was ignored.  Patch from Booker Bense
568438032Speter		of Stanford University.
568538032Speter	Don't proceed to the next MX host if an SMTP MAIL command returns a
568638032Speter		5yz (permanent failure) code.  The next MX host will still be
568738032Speter		tried if the connection cannot be opened in the first place
568838032Speter		or if the MAIL command returns a 4yz (temporary failure) code.
568938032Speter		(It's hard to know what to do here, since neither RFC 974 nor
569038032Speter		RFC 1123 specify when to proceed to the next MX host.)
569138032Speter		Suggested by Jonathan Kamens of OpenVision, Inc.
569238032Speter	Add new "-t" flag for map definitions (the "K" line in the .cf file).
569338032Speter		This causes map lookups that get a temporary failure (e.g.,
569438032Speter		name server failure) to _not_ defer the delivery of the
569538032Speter		message.  This should only be used if your configuration file
569638032Speter		is prepared to do something sensible in this case.  Based on
569738032Speter		an idea by Gregory Shapiro of WPI.
569838032Speter	Fix problem finding network interface addresses.  Patch from
569938032Speter		Motonori Nakamura.
570038032Speter	Don't reject qf entries that are not owned by your effective uid if
570190792Sgshapiro		you are not running set-user-ID; this makes management of
570280785Sgshapiro		certain kinds of firewall setups difficult.  Patch
570380785Sgshapiro		suggested by Eamonn Coleman of Qualcomm.
570438032Speter	Add persistent host status.  This keeps the information normally
570538032Speter		maintained within a single queue run in disk files that are
570638032Speter		shared between sendmail instances.  The HostStatusDirectory
570738032Speter		is the directory in which the information is maintained.  If
570838032Speter		not set, persistent host status is turned off.  If not a full
570938032Speter		pathname, it is relative to the queue directory.  A common
571038032Speter		value is ".hoststat".
571138032Speter		There are also two new operation modes:
571238032Speter		  * -bh prints the status of hosts that have had recent
571338032Speter		    connections.
571438032Speter		  * -bH purges the host statuses.  No attempt is made to save
571538032Speter		    recent status information.
571638032Speter		This feature was originally written by Paul Vixie of Vixie
571738032Speter		Enterprises for KJS and adapted for V8 by Mark Lovell of
571838032Speter		Bigrock Consulting.  Paul's funding of Mark and Mark's patience
571938032Speter		with my insistence that things fit cleanly into the V8
572038032Speter		framework is gratefully appreciated.
572138032Speter	New SingleThreadDelivery option (requires HostStatusDirectory to
572238032Speter		operate).  Avoids letting two sendmails on the local machine
572364562Sgshapiro		open connections to the same remote host at the same time.
572438032Speter		This reduces load on the other machine, but can cause mail to
572538032Speter		be delayed (for example, if one sendmail is delivering a huge
572638032Speter		message, other sendmails won't be able to send even small
572738032Speter		messages).  Also, it requires another file descriptor (for the
572838032Speter		lock file) per connection, so you may have to reduce
572938032Speter		ConnectionCacheSize to avoid running out of per-process
573038032Speter		file descriptors.  Based on the persistent host status code
573138032Speter		contributed by Paul Vixie and Mark Lovell.
573238032Speter	Allow sending to non-simple files (e.g., /dev/null) even if the
573338032Speter		SafeFileEnvironment option is set.  Problem noted by Bryan
573438032Speter		Costales.
573538032Speter	The -qR flag mistakenly matched flags in the "R" line of the queue
573638032Speter		file.  Problem noted by Bryan Costales.
573738032Speter	If a job was aborted using the interrupt signal (e.g., control-C from
573838032Speter		the keyboard), on some occasions an empty df file would be
573938032Speter		left around; these would collect in the queue directory.
574038032Speter		Problem noted by Bryan Costales.
574138032Speter	Change the makesendmail script to enhance the search for Makefiles
574238032Speter		based on release number.  For example, on SunOS 5.5.1, it will
574338032Speter		search for Makefile.SunOS.5.5.1, Makefile.SunOS.5.5, and then
574438032Speter		Makefile.SunOS.5.x (in addition to the other rules, e.g.,
574538032Speter		adding $arch).  Problem noted by Jason Mastaler of Atlanta
574638032Speter		Webmasters.
574738032Speter	When creating maps using "newaliases", always map the keys to lower
574838032Speter		case when creating the map unless the -f flag is specified on
574938032Speter		the map itself.  Previously this was done based on the F=u
575038032Speter		flag in the local mailer, which meant you could create aliases
575138032Speter		that you could never access.  Problem noted by Bob Wu of DEC.
575238032Speter	When a job was read from the queue, the bits causing notification on
575338032Speter		failure or delay were always set.  This caused those
575438032Speter		notifications to be sent even if NOTIFY=NEVER had been
575538032Speter		specified.  Problem noted by Steve Hubert of the University
575638032Speter		of Washington, Seattle.
575738032Speter	Add new configurable routine validate_connection (in conf.c).  This
575838032Speter		lets you decide if you are willing to accept traffic from
575938032Speter		this host.  If it returns FALSE, all SMTP commands will return
576038032Speter		"550 Access denied".  -DTCPWRAPPERS will include support for
576138032Speter		TCP wrappers; you will need to add -lwrap to the link line.
576238032Speter		(See src/READ_ME for details.)
576338032Speter	Don't include the "THIS IS A WARNING MESSAGE ONLY" banner on postmaster
576438032Speter		bounces.  Some people seemed to think that this could be
576538032Speter		confusing (even though it is true).  Suggested by Motonori
576638032Speter		Nakamura.
576738032Speter	Add new RunAsUser option; this causes sendmail to do a setuid to that
576838032Speter		user early in processing to avoid potential security problems.
576938032Speter		However, this means that all .forward and :include: files must
577038032Speter		be readable by that user, and all files to be written must be
577138032Speter		writable by that user and all programs will be executed by that
577238032Speter		user.  It is also incompatible with the SafeFileEnvironment
577338032Speter		option.  In other words, it may not actually add much to
577438032Speter		security.  However, it should be useful on firewalls and other
577538032Speter		places where users don't have accounts and the aliases file is
577638032Speter		well constrained.
577738032Speter	Add Timeout.iconnect.  This is like Timeout.connect except it is used
577838032Speter		only on the first attempt to delivery to an address.  It could
577938032Speter		be set to be lower than Timeout.connect on the principle that
578038032Speter		the mail should go through quickly to responsive hosts; less
578138032Speter		responsive hosts get to wait for the next queue run.
578238032Speter	Fix a problem on Solaris that occasionally causes programs
578338032Speter		(such as vacation) to hang with their standard input connected
578438032Speter		to a UDP port.  It also created some signal handling problems.
578538032Speter		The problems turned out to be an interaction between vfork(2)
578638032Speter		and some of the libraries, particularly NIS/NIS+.  I am
578738032Speter		indebted to Tor Egge <tegge@idt.ntnu.no> for this fix.
578838032Speter	Change user class map to do the same matching that actual delivery
578938032Speter		will do instead of just a /etc/passwd lookup.  This adds
579038032Speter		fuzzy matching to the user map.  Patch from Dan Oscarsson.
579138032Speter	The Timeout.* options are not safe -- they can be used to create a
579238032Speter		denial-of-service attack.  Problem noted by Christophe
579338032Speter		Wolfhugel.
579443730Speter	Don't send PostmasterCopy messages in the event of a "delayed"
579538032Speter		notification.  Suggested by Barry Bouwsma.
579638032Speter	Don't advertise "VERB" ESMTP extension if the "noexpn" privacy
579738032Speter		option is set, since this disables VERB mode.  Suggested
579838032Speter		by John Hawkinson of MIT.
579938032Speter	Complain if the QueueDirectory (Q) option is not set.  Problem noted
580038032Speter		by Motonori Nakamura of Kyoto University.
580138032Speter	Only queue messages on transient .forward open failures if there
580243730Speter		were no successful opens.  The previous behavior caused it
580338032Speter		to queue even if a "fall back" .forward was found.  Problem
580438032Speter		noted by Ann-Kian Yeo of the Dept. of Information Systems
580538032Speter		and Computer Science (DISCS), NUS, Singapore.
580638032Speter	Don't do 8->7 bit conversions when bouncing a MIME message that
580738032Speter		is bouncing because of a MIME error during 8->7 bit conversion;
580838032Speter		the encapsulated message will bounce again, causing a loop.
580938032Speter		Problem noted by Steve Hubert of the University of Washington.
581038032Speter	Create xf (transcript) files using the TempFileMode option value
581138032Speter		instead of 0644.  Suggested by Ann-Kian Yeo of the
581238032Speter		National University of Singapore.
581338032Speter	Print errors if setgid/setuid/etc. fail during delivery.  This helps
581438032Speter		detect cases where DefaultUid is set to something that the
581538032Speter		system can't cope with.
581638032Speter	PORTABILITY FIXES:
581738032Speter		Support for AIX/RS 2.2.1 from Mark Whetzel of Western
581838032Speter			Atlas International.
581938032Speter		Patches for Intel Paragon OSF/1 1.3 from Leo Bicknell
582038032Speter			<bicknell@ufp.org>.
582138032Speter		On DEC OSF/1 3.2 and earlier, the MatchGECOS code would only
582238032Speter			work on the first recipient of a message due to a
582338032Speter			bug in the getpwent family.  If this is something you
582438032Speter			use, you can define DEC_OSF_BROKEN_GETPWENT=1 for a
582538032Speter			workaround.  From Maximum Entropy of Sanford C.
582638032Speter			Bernstein and Associates.
582738032Speter		FreeBSD 1.1.5.1 uname -r returns a string containing
582838032Speter			parentheses, which breaks makesendmail.  Reported
582938032Speter			by Piero Serini <piero@strider.ibenet.it>.
583038032Speter		Sequent DYNIX/ptx 4.0.2 patches from Jack Woolley of
583138032Speter			Systems and Computer Technology Corporation.
583238032Speter		Solaris 2.x: omit the UUCP grade parameter (-g flag) because
583338032Speter			it is system-dependent.  Problem noted by J.J. Bailey
583438032Speter			of Bailey Computer Consulting.
583538032Speter		Pyramid NILE running DC/OSx support from Earle F. Ake of
583638032Speter			Hassler Communication Systems Technology, Inc.
583738032Speter		HP-UX 10.x compile glitches, reported by Anne Brink of the
583838032Speter			U.S. Army and James Byrne of Harte & Lyne Limited.
583938032Speter		NetBSD from Matthew Green of the NetBSD crew.
584038032Speter		SCO 5.x from Keith Reynolds of SCO.
584138032Speter		IRIX 6.2 from Robert Tarrall of the University of
584238032Speter			Colorado and Kari Hurtta of the Finnish Meteorological
584338032Speter			Institute.
584438032Speter		UXP/DS (Fujitsu/ICL DS/90 series) support from Diego R.
584538032Speter			Lopez, CICA (Seville).
584638032Speter		NCR SVR4 MP-RAS 3.x support from Tom Moore of NCR.
584738032Speter		PTX 3.2.0 from Kenneth Stailey of the US Department of Labor
584838032Speter			Employment Standards Administration.
584938032Speter		Altos System V (5.3.1) from Tim Rice of Multitalents.
585038032Speter		Concurrent Systems Corporation Maxion from Donald R. Laster
585138032Speter			Jr.
585238032Speter		NetInfo maps (improved debugging and multi-valued aliases)
585338032Speter			from Adrian Steinmann of Steinmann Consulting.
585438032Speter		ConvexOS 11.5 (including SecureWare C2 and the Share Scheduler)
585538032Speter			from Eric Schnoebelen of Convex.
585638032Speter		Linux 2.0 mail.local patches from Horst von Brand.
585738032Speter		NEXTSTEP 3.x compilation from Robert La Ferla.
585838032Speter		NEXTSTEP 3.x code changes from Allan J. Nathanson of NeXT.
585938032Speter		Solaris 2.5 configuration fixes for mail.local by Jim Davis
586038032Speter			of the University of Arizona.
586138032Speter		Solaris 2.5 has a working setreuid.  Noted by David Linn of
586238032Speter			Vanderbilt University.
586338032Speter		Solaris changes for praliases, makemap, mailstats, and smrsh.
586438032Speter			Previously you had to add -DSOLARIS in Makefile.dist;
586538032Speter			this auto-detects.  Based on a patch from Randall
586638032Speter			Winchester of the University of Maryland.
586738032Speter	CONFIG: add generic-nextstep3.3.mc file.  Contributed by
586838032Speter		Robert La Ferla of Hot Software.
586938032Speter	CONFIG: allow mailertables to resolve to ``error:code message''
587038032Speter		(where "code" is an exit status) on domains (previously
587138032Speter		worked only on hosts).  Patch from Cor Bosman of Xs4all
587238032Speter		Foundation.
587338032Speter	CONFIG: hooks for IPv6-style domain literals.
587438032Speter	CONFIG: predefine ALIAS_FILE and change the prototype file so that
587538032Speter		if it is undefined the AliasFile option is never set; this
587638032Speter		should be transparent for most everyone.  Suggested by John
587738032Speter		Myers of CMU.
587838032Speter	CONFIG: add FEATURE(limited_masquerade).  Without this feature, any
587938032Speter		domain listed in $=w is masqueraded.  With it, only those
588038032Speter		domains listed in a MASQUERADE_DOMAIN macro are masqueraded.
588138032Speter	CONFIG: add FEATURE(masquerade_entire_domain).  This causes
588238032Speter		masquerading specified by MASQUERADE_DOMAIN to apply to all
588338032Speter		hosts under those domains as well as the domain headers
588438032Speter		themselves.  For example, if a configuration had
588538032Speter		MASQUERADE_DOMAIN(foo.com), then without this feature only
588638032Speter		foo.com would be masqueraded; with it, *.foo.com would be
588738032Speter		masqueraded as well.  Based on an implementation by Richard
588838032Speter		(Pug) Bainter of U. Texas.
588938032Speter	CONFIG: add FEATURE(genericstable) to do a more general rewriting of
589038032Speter		outgoing addresses.  Defaults to ``hash -o /etc/genericstable''.
589138032Speter		Keys are user names; values are outgoing mail addresses.  Yes,
589238032Speter		this does overlap with the user database, and figuring out
589338032Speter		just when to use which one may be tricky.  Based on code
589438032Speter		contributed by Richard (Pug) Bainter of U. Texas with updates
589538032Speter		from Per Hedeland of Ericsson.
589638032Speter	CONFIG: add FEATURE(virtusertable) to do generalized rewriting of
589738032Speter		incoming addresses.  Defaults to ``hash -o /etc/virtusertable''.
589838032Speter		Keys are either fully qualified addresses or just the host
589938032Speter		part (with the @ sign).  For example, a table containing:
590038032Speter			info@foo.com	foo-info
590138032Speter			info@bar.com	bar-info
590238032Speter			@baz.org	jane@elsewhere.net
590338032Speter		would send all mail destined for info@foo.com to foo-info
590438032Speter		(which is presumably an alias), mail addressed to info@bar.com
590538032Speter		to bar-info, and anything addressed to anyone at baz.org will
590638032Speter		be sent to jane@elsewhere.net.  The names foo.com, bar.com,
590738032Speter		and baz.org must all be in $=w.  Based on discussions with
590838032Speter		a great many people.
590938032Speter	CONFIG: add nullclient configurations to define SMTP_MAILER_FLAGS.
591038032Speter		Suggested by Richard Bainter.
591138032Speter	CONFIG: add FAX_MAILER_ARGS to tweak the arguments passed to the
591238032Speter		"fax" mailer.
591338032Speter	CONFIG: allow mailertable entries to resolve to local:user; this
591438032Speter		passes the original user@host in to procmail-style local
591538032Speter		mailers as the "detail" information to allow them to do
591638032Speter		additional clever processing.  From Joe Pruett of
591738032Speter		Teleport Corporation.  Delivery to the original user can
591838032Speter		be done by specifying "local:" (with nothing after the colon).
591938032Speter	CONFIG: allow any context that takes "mailer:domain" to also take
592038032Speter		"mailer:user@domain" to force mailing to the given user;
592138032Speter		"local:user" can also be used to do local delivery.  This
592238032Speter		applies on *_RELAY and in the mailertable entries.  Based
592338032Speter		on a suggestion by Ribert Kiessling of Easynet.
592438032Speter	CONFIG: Allow FEATURE(bestmx_is_local) to take an argument that
592538032Speter		limits the possible domains; this reduces the number of DNS
592638032Speter		lookups required to support this feature.  For example,
592738032Speter		FEATURE(bestmx_is_local, my.site.com) limits the lookups
592838032Speter		to domains under my.site.com.  Code contributed by Anthony
592938032Speter		Thyssen <anthony@cit.gu.edu.au>.
593038032Speter	CONFIG: LOCAL_RULESETS introduces any locally defined rulesets,
593138032Speter		such as the check_rcpt ruleset.  Suggested by Gregory Shapiro
593238032Speter		of WPI.
593338032Speter	CONFIG: MAILER_DEFINITIONS introduces any mailer definitions, in the
593438032Speter		event you have to define local mailers.  Suggested by
593538032Speter		Gregory Shapiro of WPI.
593638032Speter	CONFIG: fix cases where a three- (or more-) stage route-addr could
593738032Speter		be misinterpreted as a list:...; syntax.  Based on a patch by
593838032Speter		Vlado Potisk <Vlado_Potisk@tempest.sk>.
593938032Speter	CONFIG: Fix masquerading of UUCP addresses when the UUCP relay is
594038032Speter		remotely connected.  The address host!user was being
594138032Speter		converted to host!user@thishost instead of host!user@uurelay.
594238032Speter		Problem noted by William Gianopoulos of Raytheon Company.
594338032Speter	CONFIG: add confTO_ICONNECT to set Timeout.iconnect.
594438032Speter	CONFIG: change FEATURE(redirect) message from "User not local" to
594538032Speter		"User has moved"; the former wording was confusing if the
594638032Speter		new address is still on the local host.  Based on a suggestion
594738032Speter		by Andreas Luik.
594838032Speter	CONFIG: add support in FEATURE(nullclient) for $=E (exposed users).
594938032Speter		However, the class is not pre-initialized to contain root.
595038032Speter		Suggested by Gregory Neil Shapiro.
595138032Speter	CONTRIB: Remove XLA code at the request of the author, Christophe
595238032Speter		Wolfhugel.
595338032Speter	CONTRIB: Add re-mqueue.pl, contributed by Paul Pomes of Qualcomm.
595438032Speter	MAIL.LOCAL: make it possible to compile mail.local on Solaris.  Note
595538032Speter		well: this produces a slightly different mailbox format (no
595638032Speter		Content-Length: headers), file ownerships and modes are
595738032Speter		different (not owned by group mail; mode 600 instead of 660),
595838032Speter		and the local mailer flags will have to be tweaked (make them
595938032Speter		match bsd4.4) in order to use this mailer.  Patches from Paul
596038032Speter		Hammann of the Missouri Research and Education Network.
596138032Speter	MAIL.LOCAL: in some cases it could return EX_OK even though there
596238032Speter		was a delivery error, such as if the ownership on the file
596338032Speter		was wrong or the mode changed between the initial stat and
596438032Speter		the open.  Problem reported by William Colburn of the New
596538032Speter		Mexico Institute of Mining and Technology.
596638032Speter	MAILSTATS: handle zero length files more reliably.  Patch from Bryan
596738032Speter		Costales.
596838032Speter	MAILSTATS: add man page contributed by Keith Bostic of BSDI.
596938032Speter	MAKEMAP: The -d flag (to allow duplicate keys) to a btree map wasn't
597038032Speter		honored.  Fix from Michael Scott Shappe.
597138032Speter	PRALIASES: add man page contributed by Keith Bostic of BSDI.
597238032Speter	NEW FILES:
597338032Speter		src/Makefiles/Makefile.AIX.2
597438032Speter		src/Makefiles/Makefile.IRIX.6.2
597538032Speter		src/Makefiles/Makefile.maxion
597638032Speter		src/Makefiles/Makefile.NCR.MP-RAS.3.x
597738032Speter		src/Makefiles/Makefile.SCO.5.x
597838032Speter		src/Makefiles/Makefile.UXPDSV20
597938032Speter		mailstats/mailstats.8
598038032Speter		praliases/praliases.8
598138032Speter		cf/cf/generic-nextstep3.3.mc
598238032Speter		cf/feature/genericstable.m4
598338032Speter		cf/feature/limited_masquerade.m4
598438032Speter		cf/feature/masquerade_entire_domain.m4
598538032Speter		cf/feature/virtusertable.m4
598638032Speter		cf/ostype/aix2.m4
598738032Speter		cf/ostype/altos.m4
598838032Speter		cf/ostype/maxion.m4
598938032Speter		cf/ostype/solaris2.ml.m4
599038032Speter		cf/ostype/uxpds.m4
599138032Speter		contrib/re-mqueue.pl
599238032Speter	DELETED FILES:
599338032Speter		src/Makefiles/Makefile.Solaris
599438032Speter		contrib/xla/README
599538032Speter		contrib/xla/xla.c
599638032Speter	RENAMED FILES:
599738032Speter		src/Makefiles/Makefile.NCR3000 =>	Makefile.NCR.MP-RAS.2.x
599838032Speter		src/Makefiles/Makefile.SCO.3.2v4.2 =>	Makefile.SCO.4.2
599938032Speter		src/Makefiles/Makefile.UXPDS =>		Makefile.UXPDSV10
600038032Speter		src/Makefiles/Makefile.NeXT =>		Makefile.NeXT.2.x
600138032Speter		src/Makefiles/Makefile.NEXTSTEP =>	Makefile.NeXT.3.x
600238032Speter
600364562Sgshapiro8.7.6/8.7.3	1996/09/17
600438032Speter	SECURITY: It is possible to force getpwuid to fail when writing the
600538032Speter		queue file, causing sendmail to fall back to running programs
600638032Speter		as the default user.  This is not exploitable from off-site.
600738032Speter		Workarounds include using a unique user for the DefaultUser
600838032Speter		(old u & g options) and using smrsh as the local shell.
600938032Speter	SECURITY: fix some buffer overruns; in at least one case this allows
601038032Speter		a local user to get root.  This is not known to be exploitable
601138032Speter		from off-site.  The workaround is to disable chfn(1) commands.
601238032Speter
601364562Sgshapiro8.7.5/8.7.3	1996/03/04
601438032Speter	Fix glitch in 8.7.4 when putting certain internal lines; this can
601538032Speter		in some case cause connections to hang or messages to have
601638032Speter		extra spaces in odd places.  Patch from Eric Wassenaar;
601738032Speter		reports from Eric Hall of Chiron Corporation, Stephen
601838032Speter		Hansen of Stanford University, Dean Gaudet of HotWired,
601938032Speter		and others.
602038032Speter
602164562Sgshapiro8.7.4/8.7.3	1996/02/18
602238032Speter	SECURITY: In some cases it was still possible for an attacker to
602338032Speter		insert newlines into a queue file, thus allowing access to
602438032Speter		any user (except root).
602538032Speter	CONFIG: no changes -- it is not a bug that the configuration
602638032Speter		version number is unchanged.
602738032Speter
602864562Sgshapiro8.7.3/8.7.3	1995/12/03
602938032Speter	Fix botch in name server timeout in RCPT code; this problem caused
603038032Speter		two responses in SMTP, which breaks things horribly.  Fix
603138032Speter		from Gregory Neil Shapiro of WPI.
603238032Speter	Verify that L= value on M lines cannot be negative, which could cause
603338032Speter		negative array subscripting.  Not a security problem since
603438032Speter		this has to be in the config file, but it could have caused
603538032Speter		core dumps.  Pointed out by Bryan Costales.
603638032Speter	Fix -d21 debug output for long macro names.  Pointed out by Bryan
603738032Speter		Costales.
603838032Speter	PORTABILITY FIXES:
603938032Speter		SCO doesn't have ftruncate.  From Bill Aten of Computerizers.
604038032Speter		IBM's version of arpa/nameser.h defaults to the wrong byte
604138032Speter			order.  Tweak it to work properly.  Based on fixes
604238032Speter			from Fletcher Mattox of UTexas and Betty Lee of
604338032Speter			Stanford University.
604438032Speter	CONFIG: add confHOSTS_FILE m4 variable to set HostsFile option.
604538032Speter		Deficiency pointed out by Bryan Costales of ICSI.
604638032Speter
604764562Sgshapiro8.7.2/8.7.2	1995/11/19
604838032Speter	REALLY fix the backslash escapes in SmtpGreetingMessage,
604938032Speter		OperatorChars, and UnixFromLine options.  They were not
605038032Speter		properly repaired in 8.7.1.
605138032Speter	Completely delete the Bcc: header if and only if there are other
605238032Speter		valid recipient headers (To:, Cc: or Apparently-To:, the
605338032Speter		last being a historic botch, of course).  If Bcc: is the
605438032Speter		only recipient header in the message, its value is tossed,
605543730Speter		but the header name is kept.  The old behavior (always keep
605638032Speter		the header name and toss the value) allowed primary recipients
605738032Speter		to see that a Bcc: went to _someone_.
605838032Speter	Include queue id on ``Authentication-Warning: <host>: <user> set
605938032Speter		sender to <address> using -f'' syslog messages.  Suggested
606038032Speter		by Kari Hurtta.
606138032Speter	If a sequence or switch map lookup entry gets a tempfail but then
606238032Speter		continues on to another map type, but the name is not found,
606338032Speter		return a temporary failure from the sequence or switch map.
606438032Speter		For example, if hosts search ``dns files'' and DNS fails
606538032Speter		with a tempfail, the hosts map will go on and search files,
606638032Speter		but if it fails the whole thing should be a tempfail, not
606738032Speter		a permanent (host unknown) failure, even though that is the
606838032Speter		failure in the hosts.files map.  This error caused hard
606938032Speter		bounces when it should have requeued.
607038032Speter	Aliases to files such as /users/bar/foo/inbox, with /users/bar/foo
607190792Sgshapiro		owned by bar mode 700 and inbox being set-user-ID bar stopped
607238032Speter		working properly due to excessive paranoia.  Pointed out by
607338032Speter		John Hawkinson of Panix.
607438032Speter	An SMTP RCPT command referencing a host that gave a nameserver
607538032Speter		timeout would return a 451 command (8.6 accepted it and
607643730Speter		queued it locally).  Revert to the 8.6 behavior in order
607738032Speter		to simplify queue management for clustered systems.  Suggested
607838032Speter		by Gregory Neil Shapiro of WPI.  The same problem could break
607938032Speter		MH, which assumes that the SMTP session will succeed (tsk, tsk
608038032Speter		-- mail gets lost!); this was pointed out by Stuart Pook of
608138032Speter		Infobiogen.
608238032Speter	Fix possible buffer overflow in munchstring().  This was not a security
608338032Speter		problem because you couldn't specify any argument to this
608438032Speter		without first giving up root privileges, but it is still a
608538032Speter		good idea to avoid future problems.  Problem noted by John
608638032Speter		Hawkinson and Sam Hartman of MIT.
608738032Speter	``452 Out of disk space for temp file'' messages weren't being
608838032Speter		printed.  Fix from David Perlin of Nanosoft.
608943730Speter	Don't advertise the ESMTP DSN extension if the SendMimeErrors option
609038032Speter		is not set, since this is required to get the actual DSNs
609138032Speter		created.  Problem pointed out by John Gardiner Myers of CMU.
609238032Speter	Log permission problems that cause .forward and :include: files to
609338032Speter		be untrusted or ignored on log level 12 and higher.  Suggested
609438032Speter		by Randy Martin of Clemson University.
609538032Speter	Allow user ids in U= clauses of M lines to have hyphens and
609638032Speter		underscores.
609738032Speter	Fix overcounting of recipients -- only happened when sending to an
609838032Speter		alias.  Pointed out by Mark Andrews of SGI and Jack Woolley
609938032Speter		of Systems and Computer Technology Corporation.
610038032Speter	If a message is sent to an address that fails, the error message that
610138032Speter		is returned could show some extraneous "success" information
610238032Speter		included even if the user did not request success notification,
610338032Speter		which was confusing.  Pointed out by Allan Johannesen of WPI.
610438032Speter	Config files that had no AliasFile definition were defaulting to
610538032Speter		using /etc/aliases; this caused problems with nullclient
610638032Speter		configurations.  Change it back to the 8.6 semantics of
610738032Speter		having no local alias file unless it is declared.  Problem
610838032Speter		noted by Charles Karney of Princeton University.
610938032Speter	Fix compile problem if NOTUNIX is defined.  Pointed out by Bryan
611038032Speter		Costales of ICSI.
611138032Speter	Map lookups of class "userdb" maps were always case sensitive; they
611238032Speter		should be controlled by the -f flag like other maps.  Pointed
611338032Speter		out by Bjart Kvarme <bjart.kvarme@usit.uio.no>.
611438032Speter	Fix problem that caused some addresses to be passed through ruleset 5
611538032Speter		even when they were tagged as "sticky" by prefixing the
611638032Speter		address with an "@".  Patch from Thomas Dwyer III of Michigan
611738032Speter		Technological University.
611838032Speter	When converting a message to Quoted-Printable, prevent any lines with
611938032Speter		dots alone on a line by themselves.  This is because of the
612038032Speter		preponderance of broken mailers that still get this wrong.
612138032Speter		Code contributed by Per Hedeland of Ericsson.
612238032Speter	Fix F{macro}/file construct -- it previously did nothing.  Pointed
612338032Speter		out by Bjart Kvarme of USIT/UiO (Norway).
612438032Speter	Announce whether a cached connection is SMTP or ESMTP (in -v mode).
612538032Speter		Requested by Allan Johannesen.
612638032Speter	Delete check for text format of alias files -- it should be legal
612738032Speter		to have the database format of the alias files without the
612838032Speter		text version.  Problem pointed out by Joe Rhett of Navigist,
612938032Speter		Inc.
613038032Speter	If "Ot" was specified with no value, the TZ variable was not properly
613138032Speter		imported from the environment.  Pointed out by Frank Crawford
613238032Speter		<frank@ansto.gov.au>.
613338032Speter	Some architectures core dumped on "program" maps that didn't have
613438032Speter		extra arguments.  Patch from Booker C. Bense of Stanford
613538032Speter		University.
613638032Speter	Queue run processes would re-spawn daemons when given a SIGHUP; only
613738032Speter		the parent should do this.  Fix from Brian Coan of the
613838032Speter		Association for Progressive Communications.
613938032Speter	If MinQueueAge was set and a message was considered but not run
614038032Speter		during a queue run and the Timeout.queuereturn interval was
614138032Speter		reached, a "timed out" error message would be returned that
614238032Speter		didn't include the failed address (and claimed to be a warning
614338032Speter		even though it was fatal).  The fix is to not return such
614438032Speter		messages until they are actually tried, i.e., in the next
614538032Speter		MinQueueAge interval.  Problem noted by Rein Tollevik of
614638032Speter		SINTEF RUNIT, Oslo.
614738032Speter	Add HES_GETMAILHOST compile flag to support MIT Hesiod distributions
614838032Speter		that have the hes_getmailhost() routine.  DEC Hesiod
614938032Speter		distributions do not have this routine.  Based on a patch
615038032Speter		from Betty Lee of Stanford University.
615138032Speter	Extensive cleanups to map open code to handle a locking race condition
615238032Speter		in ndbm, hash, and btree format database files on some (most
615338032Speter		non-4.4-BSD based) OS architectures.  This should solve the
615438032Speter		occasional "user unknown" problem during alias rebuilds that
615538032Speter		has plagued me for quite some time.  Based on a patch from
615638032Speter		Thomas Dwyer III of Michigan Technological University.
615738032Speter	PORTABILITY FIXES:
615838032Speter		Solaris: Change location of newaliases and mailq from
615938032Speter			/usr/ucb to /usr/bin to match Sun settings.  From
616038032Speter			James B. Davis of TCI.
616138032Speter		DomainOS: Makefile.DomainOS doesn't require -ldbm.  From
616238032Speter			Don Lewis of Silicon Systems.
616338032Speter		HP-UX 10: rename Makefile.HP-UX.10 => Makefile.HP-UX.10.x
616438032Speter			so that the makesendmail script will find it.  Pointed
616538032Speter			out by Richard Allen of the University of Iceland.
616638032Speter			Also, use -Aa -D_HPUX_SOURCE instead of -Ae, which
616738032Speter			isn't supported on all compilers.
616838032Speter		UXPDS: compilation fixes from Diego R. Lopez.
616938032Speter	CONFIG: FAX mailer wasn't setting .FAX as a pseudo-domain unless
617038032Speter		you also had a FAX_RELAY.  From Thomas.Tornblom@Hax.SE.
617138032Speter	CONFIG: Minor glitch in S21 -- attachment of local domain name
617238032Speter		didn't have trailing dot.  From Jim Hickstein of Teradyne.
617338032Speter	CONFIG: Fix best_mx_is_local feature to allow nested addresses such as
617438032Speter		user%host@thishost.  From Claude Scarpelli of Infobiogen
617538032Speter		(France).
617638032Speter	CONFIG: OSTYPE(hpux10) failed to define the location of the help file.
617738032Speter		Pointed out by Hannu Martikka of Nokia Telecommunications.
617838032Speter	CONFIG: Diagnose some inappropriate ordering in configuration files,
617938032Speter		such as FEATURE(smrsh) listed after MAILER(local).  Based on
618038032Speter		a bug report submitted by Paul Hoffman of Proper Publishing.
618138032Speter	CONFIG: Make OSTYPE files consistently not override settings that
618238032Speter		have already been set.  Previously it worked differently
618338032Speter		for different files.
618438032Speter	CONFIG: Change relay mailer to do masquerading like 8.6 did.  My take
618538032Speter		is that this is wrong, but the change was causing problems
618638032Speter		for some people.  From Per Hedeland of Ericsson.
618738032Speter	CONTRIB: bitdomain.c patch from John Gardiner Myers <jgm+@CMU.EDU>;
618838032Speter		portability changes for Posix environments (no functional
618938032Speter		changes).
619038032Speter
619164562Sgshapiro8.7.1/8.7.1	1995/10/01
619238032Speter	Old macros that have become options (SmtpGreetingMessage,
619338032Speter		OperatorChars, and UnixFromLine) didn't allow backslash
619438032Speter		escapes in the options, where they previously had.  Bug
619538032Speter		pointed out by John Hawkinson of MIT.
619638032Speter	Fix strange case of an executable called by a program map that
619738032Speter		returns a value but also a non-zero exit status; this
619838032Speter		would give contradictory results in the higher level; in
619938032Speter		particular, the default clause in the map lookup would be
620038032Speter		ignored.  Change to ignore the value if the program returns
620138032Speter		non-zero exit status.  From Tom Moore of AT&T GIS.
620238032Speter	Shorten parameters passed to syslog() in some contexts to avoid a
620338032Speter		bug in many vendors' implementations of that routine.  Although
620438032Speter		this isn't really a bug in sendmail per se, and my solution
620538032Speter		has to assume that syslog() has at least a 1K buffer size
620638032Speter		internally (I know some vendors have shortened this
620738032Speter		dramatically -- they're on their own), sendmail is a popular
620838032Speter		target.  Also, limit the size of %s arguments in sprintf.
620938032Speter		These both have possible security implications.  Solutions
621038032Speter		suggested by Casper Dik of Sun's Network Security Group
621138032Speter		(Holland), Mark Seiden, and others.
621238032Speter	Fix a problem that might cause a non-standard -B (body type)
621338032Speter		parameter to be passed to the next server with undefined
621438032Speter		results.  This could have security implications.
621538032Speter	If a filesystem was at > 100% utilization, the freediskspace()
621638032Speter		routine incorrectly returned an error rather than zero.
621738032Speter		Problem noted by G. Paul Ziemba of Alantec.
621838032Speter	Change MX sort order so that local hostnames (those in $=w) always
621938032Speter		sort first within a given preference.  This forces the bestmx
622038032Speter		map to always return the local host first, if it is included
622138032Speter		in the list of highest priority MX records.  From K. Robert
622238032Speter		Elz.
622338032Speter	Avoid some possible null pointer dereferences.  Fixes from Randy
622438032Speter		Martin <WOLF@CLEMSON.EDU>
622538032Speter	When sendmail starts up on systems that have no fully qualified
622638032Speter		domain name (FQDN) anywhere in the first matching host map
622738032Speter		(e.g., /etc/hosts if the hosts service searches "files dns"),
622838032Speter		sendmail would sleep to try to find a FQDN, which it really
622938032Speter		really needs.  This has been changed to fall through to the
623038032Speter		next map type if it can't find a FQDN -- i.e., if the hosts
623138032Speter		file doesn't have a FQDN, it will try dns even though the
623238032Speter		short name was found in /etc/hosts.  This is probably a crock,
623338032Speter		but many people have hosts files without FQDNs.  Remember:
623438032Speter		domain names are your friends.
623538032Speter	Log a high-priority message if you can't find your FQDN during startup.
623638032Speter		Suggested by Simon Barnes of Schlumberger Limited.
623738032Speter	When using Hesiod, initialize it early to improve error reporting.
623838032Speter		Patch from Don Lewis of Silicon Systems, Inc.
623938032Speter	Apparently at least some versions of Linux have a 90 !minute! TCP
624038032Speter		connection timeout in the kernel.  Add a new "connect" timeout
624138032Speter		to limit this time.  Defaults to zero (use whatever the
624238032Speter		kernel provides).  Based on code contributed by J.R. Oldroyd
624338032Speter		of TerraNet.
624438032Speter	Under some circumstances, a failed message would not be properly
624538032Speter		removed from the queue, causing tons of bogus error messages.
624638032Speter		(This fix eliminates the problematic EF_KEEPQUEUE flag.)
624738032Speter		Problem noted by Allan E Johannesen and Gregory Neil Shapiro
624838032Speter		of WPI.
624938032Speter	PORTABILITY FIXES:
625038032Speter		On IRIX 5.x, there was an inconsistency in the setting
625138032Speter			of sendmail.st location.  Change the Makefile to
625238032Speter			install it in /var/sendmail.st to match the OSTYPE
625338032Speter			file and SGI standards.  From Andre
625438032Speter			<andre@curry.zfe.siemens.de>.
625538032Speter		Support for Fujitsu/ICL UXP/DS (For the DS/90 Series)
625638032Speter			from Diego R. Lopez <drlopez@cica.es>.
625738032Speter		Linux compilation patches from J.R. Oldroyd of TerraNet, Inc.
625838032Speter		LUNA 2 Mach patches from Motonori Nakamura.
625938032Speter		SunOS Makefile was including -ldbm, which is for the old
626038032Speter			dbm library.  The ndbm library is part of libc.
626138032Speter	CONFIG: avoid bouncing ``user@host.'' (note trailing dot) with
626238032Speter		``local configuration error'' in nullclient configuration.
626338032Speter		Patch from Gregory Neil Shapiro of WPI.
626438032Speter	CONFIG: don't allow an alias file in nullclient configurations --
626538032Speter		since all addresses are relayed, they give errors during
626638032Speter		rebuild.  Suggested by Per Hedeland of Ericsson.
626738032Speter	CONFIG: local mailer on Solaris 2 should always get a -f flag because
626838032Speter		otherwise the F=S causes the From_ line to imply that root is
626938032Speter		the sender.  Problem pointed out by Claude Scarpelli of
627038032Speter		Infobiogen (France).
627138032Speter	NEW FILES:
627238032Speter		cf/feature/use_ct_file.m4 (omitted from 8.7 by mistake)
627338032Speter		src/Makefiles/Makefile.KSR (omitted from 8.7 by mistake)
627438032Speter		src/Makefiles/Makefile.UXPDS
627538032Speter
627664562Sgshapiro8.7/8.7		1995/09/16
627738032Speter	Fix a problem that could cause sendmail to run out of file
627838032Speter		descriptors due to a trashed data structure after a
627938032Speter		vfork.  Fix from Brian Coan of the Institute for
628038032Speter		Global Communications.
628138032Speter	Change the VRFY response if you have disabled VRFY -- some
628238032Speter		people seemed to think that it was too rude.
628338032Speter	Avoid reference to uninitialized file descriptor if HASFLOCK
628438032Speter		was not defined.  This was used "safely" in the sense
628538032Speter		that it only did a stat, but it would have set the
628638032Speter		map modification time improperly.  Problem pointed out
628738032Speter		by Roy Mongiovi of Georgia Tech.
628838032Speter	Clean up the Subject: line on warning messages and return
628938032Speter		receipts so that they don't say "Returned mail:"; this
629038032Speter		can be confusing.
629138032Speter	Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
629238032Speter		useful enough to make it worthwhile printing on "-d".
629338032Speter	Avoid logging alias statistics every time you read the alias
629438032Speter		file on systems with no database method compiled in.
629538032Speter	If you have a name with a trailing dot, and you try looking it
629638032Speter		up using gethostbyname without the dot (for /etc/hosts
629738032Speter		compatibility), be sure to turn off RES_DEFNAMES and
629838032Speter		RES_DNSRCH to avoid finding the wrong name accidentally.
629938032Speter		Problem noted by Charles Amos of the University of
630038032Speter		Maryland.
630138032Speter	Don't do timeouts in collect if you are not running SMTP.
630238032Speter		There is nothing that says you can't have a long
630338032Speter		running program piped into sendmail (possibly via
630438032Speter		/bin/mail, which just execs sendmail).  Problem reported
630538032Speter		by Don "Truck" Lewis of Silicon Systems.
630638032Speter	Try gethostbyname() even if the DNS lookup fails iff option I
630738032Speter		is not set.  This allows you to have hosts listed in
630838032Speter		NIS or /etc/hosts that are not known to DNS.  It's normally
630938032Speter		a bad idea, but can be useful on firewall machines.  This
631038032Speter		should really be broken out on a separate flag, I suppose.
631138032Speter	Avoid compile warnings against BIND 4.9.3, which uses function
631238032Speter		prototypes.  From Don Lewis of Silicon Systems.
631338032Speter	Avoid possible incorrect diagnosis of DNS-related errors caused
631438032Speter		by things like attempts to resolve uucp names using
631538032Speter		$[ ... $] -- the fix is to clear h_errno at appropriate
631638032Speter		times.  From Kyle Jones of UUNET.
631738032Speter	SECURITY: avoid denial-of-service attacks possible by destroying
631838032Speter		the alias database file by setting resource limits low.
631938032Speter		This involves adding two new compile-time options:
632038032Speter		HASSETRLIMIT (indicating that setrlimit(2) support is
632138032Speter		available) and HASULIMIT (indicating that ulimit(2) support
632238032Speter		is available -- the Release 3 form is used).  The former
632338032Speter		is assumed on BSD-based systems, the latter on System
632438032Speter		V-based systems.  Attack noted by Phil Brandenberger of
632538032Speter		Swarthmore University.
632638032Speter	New syntaxes in test (-bt) mode:
632738032Speter		``.Dmvalue'' will define macro "m" to "value".
632838032Speter		``.Ccvalue'' will add "value" to class "c".
632938032Speter		``=Sruleset'' will dump the contents of the indicated
633038032Speter			ruleset.
633138032Speter		``=M'' will display the known mailers.
633238032Speter		``-ddebug-spec'' is equivalent to the command-line
633338032Speter			-d debug flag.
633438032Speter		``$m'' will print the value of macro $m.
633538032Speter		``$=c'' will print the contents of class $=c.
633638032Speter		``/mx host'' returns the MX records for ``host''.
633738032Speter		``/parse address'' will parse address, returning the value of
633838032Speter			crackaddr (essentially, the comment information)
633938032Speter			and the parsed address.
634038032Speter		``/try mailer address'' will rewrite address into the form
634138032Speter			it will have when presented to the indicated mailer.
634238032Speter		``/tryflags flags'' will set flags used by parsing.  The
634338032Speter			flags can be `H' for header or `E' for envelope,
634438032Speter			and `S' for sender or `R' for recipient.  These
634538032Speter			can be combined, so `HR' sets flags for header
634638032Speter			recipients.
634738032Speter		``/canon hostname'' will try to canonify hostname and
634838032Speter			return the result.
634938032Speter		``/map mapname key'' will look up `key' in the indicated
635038032Speter			`mapname' and return the result.
635138032Speter	Somewhat better handling of UNIX-domain socket addresses -- it
635238032Speter		should show the pathname rather than hex bytes.
635338032Speter	Restore ``-ba'' mode -- this reads a file from stdin and parses
635438032Speter		the header for envelope sender information and uses
635538032Speter		CR-LF as message terminators.  It was thought to be
635638032Speter		obsolete (used only for Arpanet NCP protocols), but it
635738032Speter		turns out that the UK ``Grey Book'' protocols require
635838032Speter		that functionality.
635938032Speter	Fix a fix in previous release -- if gethostname and gethostbyname
636038032Speter		return a name without dots, and if an attempt to canonify
636138032Speter		that name fails, wait one minute and try again.  This can
636238032Speter		result in an extra 60 second delay on startup if your system
636338032Speter		hostname (as returned by hostname(1)) has no dot and no names
636438032Speter		listed in /etc/hosts or your NIS map have a dot.
636538032Speter	Check for proper domain name on HELO and EHLO commands per
636638032Speter		RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
636738032Speter		of Michigan Technological University.
636838032Speter	Relax chownsafe rules slightly -- old version said that if you
636938032Speter		can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
637038032Speter		if fpathconf returned EINVAL or ENOSYS), assume that
637138032Speter		chown is not safe.  The new version falls back to whether
637238032Speter		you are on a BSD system or not.  This is important for
637338032Speter		SunOS, which apparently always returns one of those
637438032Speter		error codes.  This impacts whether you can mail to files
637538032Speter		or not.
637638032Speter	Syntax errors such as unbalanced parentheses in the configuration
637738032Speter		file could be omitted if you had "Oem" prior to the
637838032Speter		syntax error in the config file.  Change to always print
637938032Speter		the error message.  It was especially weird because it
638038032Speter		would cause a "warning" message to be sent to the Postmaster
638138032Speter		for every message sent (but with no transcript).  Problem
638238032Speter		noted by Gregory Paris of Motorola.
638338032Speter	Rewrite collect and putbody to handle full 8-bit data, including
638438032Speter		zero bytes.  These changes are internally extensive, but
638538032Speter		should have minimal impact on external function.
638638032Speter	Allow full words for option names -- if the option letter is
638738032Speter		(apparently) a space, then take the word following -- e.g.,
638838032Speter			O MatchGECOS=TRUE
638938032Speter		The full list of old and new names is as follows:
639038032Speter			7	SevenBitInput
639138032Speter			8	EightBitMode
639238032Speter			A	AliasFile
639338032Speter			a	AliasWait
639438032Speter			B	BlankSub
639538032Speter			b	MinFreeBlocks/MaxMessageSize
639638032Speter			C	CheckpointInterval
639738032Speter			c	HoldExpensive
639838032Speter			D	AutoRebuildAliases
639938032Speter			d	DeliveryMode
640038032Speter			E	ErrorHeader
640138032Speter			e	ErrorMode
640238032Speter			f	SaveFromLine
640338032Speter			F	TempFileMode
640438032Speter			G	MatchGECOS
640538032Speter			H	HelpFile
640638032Speter			h	MaxHopCount
640738032Speter			i	IgnoreDots
640838032Speter			I	ResolverOptions
640938032Speter			J	ForwardPath
641038032Speter			j	SendMimeErrors
641138032Speter			k	ConnectionCacheSize
641238032Speter			K	ConnectionCacheTimeout
641338032Speter			L	LogLevel
641438032Speter			l	UseErrorsTo
641538032Speter			m	MeToo
641638032Speter			n	CheckAliases
641738032Speter			O	DaemonPortOptions
641838032Speter			o	OldStyleHeaders
641938032Speter			P	PostmasterCopy
642038032Speter			p	PrivacyOptions
642138032Speter			Q	QueueDirectory
642238032Speter			q	QueueFactor
642338032Speter			R	DontPruneRoutes
642438032Speter			r, T	Timeout
642538032Speter			S	StatusFile
642638032Speter			s	SuperSafe
642738032Speter			t	TimeZoneSpec
642838032Speter			u	DefaultUser
642938032Speter			U	UserDatabaseSpec
643043730Speter			V	FallbackMXHost
643138032Speter			v	Verbose
643238032Speter			w	TryNullMXList
643338032Speter			x	QueueLA
643438032Speter			X	RefuseLA
643538032Speter			Y	ForkEachJob
643638032Speter			y	RecipientFactor
643738032Speter			z	ClassFactor
643838032Speter			Z	RetryFactor
643938032Speter		The old macros that passed information into sendmail have
644038032Speter		been changed to options; those correspondences are:
644138032Speter			$e	SmtpGreetingMessage
644238032Speter			$l	UnixFromLine
644338032Speter			$o	OperatorChars
644438032Speter			$q	(deleted -- not necessary)
644538032Speter		To avoid possible problems with an older sendmail,
644638032Speter		configuration level 6 is accepted by this version of
644738032Speter		sendmail; any config file using the new names should
644838032Speter		specify "V6" in the configuration.
644938032Speter	Change address parsing to properly note that a phrase before a
645038032Speter		colon and a trailing semicolon are essentially the same
645138032Speter		as text outside of angle brackets (i.e., sendmail should
645238032Speter		treat them as comments).  This is to handle the
645338032Speter		``group name: addr1, addr2, ..., addrN;'' syntax (it will
645438032Speter		assume that ``group name:'' is a comment on the first
645538032Speter		address and the ``;'' is a comment on the last address).
645638032Speter		This requires config file support to get right.  It does
645738032Speter		understand that :: is NOT this syntax, and can be turned
645838032Speter		off completely by setting the ColonOkInAddresses option.
645938032Speter	Level 6 config files added with new mailer flags:
646038032Speter		    A	Addresses are aliasable.
646138032Speter		    i	Do udb rewriting on envelope as well as header
646238032Speter			sender lines.  Applies to the from address mailer
646338032Speter			flags rather than the recipient mailer flags.
646438032Speter		    j	Do udb rewriting on header recipient addresses.
646538032Speter			Applies to the sender mailer flags rather than the
646638032Speter			recipient mailer flags.
646738032Speter		    k	Disable check for loops when doing HELO command.
646838032Speter		    o	Always run as the mail recipient, even on local
646938032Speter			delivery.
647038032Speter		    w	Check for an /etc/passwd entry for this user.
647138032Speter		    5	Pass addresses through ruleset 5.
647238032Speter		    :	Check for :include: on this address.
647338032Speter		    |	Check for |program on this address.
647438032Speter		    /	Check for /file on this address.
647538032Speter		    @	Look up sender header addresses in the user
647638032Speter			database.  Applies to the mailer flags for the
647738032Speter			mailer corresponding to the envelope sender
647838032Speter			address, rather than to recipient mailer flags.
647938032Speter		Pre-level 6 configuration files set A, w, 5, :, |, /, and @
648038032Speter		on the "local" mailer, the o flag on the "prog" and "*file*"
648138032Speter		mailers, and the ColonOkInAddresses option.
648238032Speter	Eight-to-seven bit MIME conversions.  This borrows ideas from
648338032Speter		John Beck of Hewlett-Packard, who generously contributed
648438032Speter		their implementation to me, which I then didn't use (see
648538032Speter		mime.c for an explanation of why).  This adds the
648638032Speter		EightBitMode option (a.k.a. `8') and an F=8 mailer flag
648738032Speter		to control handling of 8-bit data.  These have to cope with
648838032Speter		two types of 8-bit data: unlabelled 8-bit data (that is,
648938032Speter		8-bit data that is entered without declaring it as 8-bit
649038032Speter		MIME -- technically this is illegal according to the
649138032Speter		specs) and labelled 8-bit data (that is, it was declared
649238032Speter		as 8BITMIME in the ESMTP session or by using the
649338032Speter		-B8BITMIME command line flag).  If the F=8 mailer flag is
649438032Speter		set then 8-bit data is sent to non-8BITMIME machines
649538032Speter		instead of converting to 7 bit (essentially using
649638032Speter		just-send-8 semantics).  The values for EightBitMode are:
649738032Speter		    m	convert unlabelled 8-bit input to 8BITMIME, and do
649838032Speter			any necessary conversion of 8BITMIME to 7BIT
649938032Speter			(essentially, the full MIME option).
650038032Speter		    p	pass unlabelled 8-bit input, but convert labelled
650138032Speter			8BITMIME input to 7BIT as required (default).
650238032Speter		    s	strict adherence: reject unlabelled 8-bit input,
650338032Speter			convert 8BITMIME to 7BIT as required.  The F=8
650438032Speter			flag is ignored.
650538032Speter		Unlabelled 8-bit data is rejected in mode `s' regardless of
650638032Speter			the setting of F=8.
650738032Speter	Add new internal class 'n', which is the set of MIME Content-Types
650838032Speter		which can not be 8 to 7 bit encoded because of other
650938032Speter		considerations.  Types "multipart/*" and "message/*" are
651038032Speter		never directly encoded (although their components can be).
651138032Speter	Add new internal class 's', which is the set of subtypes of the
651238032Speter		MIME message/* content type that can be treated as though
651338032Speter		they are an RFC822 message.  It is predefined to have
651438032Speter		"rfc822".  Suggested By Kari Hurtta.
651538032Speter	Add new internal class 'e'.  This is the set of MIME
651638032Speter		Content-Transfer-Encodings that can be converted to
651738032Speter		a seven bit format (Quoted-Printable or Base64).  It is
651838032Speter		preinitialized to contain "7bit", "8bit", and "binary".
651938032Speter	Add C=charset mailer parameter and the the DefaultCharSet option (no
652038032Speter		short name) to set the default character set to use in the
652138032Speter		Content-Type: header when doing encoding of an 8-bit message
652238032Speter		which isn't marked as MIME into MIME format.  If the C=
652338032Speter		parameter is set on the Envelope From address, use that as
652438032Speter		the default encoding; else use the DefaultCharSet option.
652538032Speter		If neither is set, it defaults to "unknown-8bit" as
652638032Speter		suggested by RFC 1428 section 3.
652738032Speter	Allow ``U=user:group'' field in mailer definition to set a default
652838032Speter		user and group that a mailer will be executed as.  This
652938032Speter		overrides the 'u' and 'g' options, and if the `F=S' flag is
653038032Speter		also set, it is the uid/gid that will always be used (that
653138032Speter		is, the controlling address is ignored).  The values may be
653238032Speter		numeric or symbolic; if only a symbolic user is given (no
653338032Speter		group) that user's default group in the passwd file is used
653438032Speter		as the group.  Based on code donated by Chip Rosenthal of
653538032Speter		Unicom.
653638032Speter	Allow `u' option to also accept user:group as a value, in the same
653738032Speter		fashion as the U= mailer option.
653838032Speter	Add the symbolic time zone name in the Arpanet format dates (as
653938032Speter		a comment).  This adds a new compile-time configuration
654038032Speter		flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
654138032Speter		of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
654238032Speter		of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
654338032Speter		*tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
654438032Speter		timezone()), or TZ_NONE (don't include the comment).  Code
654538032Speter		from Chip Rosenthal.
654638032Speter	The "Timeout" option (formerly "r") is extended to allow suboptions.
654738032Speter		For example,
654838032Speter		    O Timeout.helo = 2m
654938032Speter		There are also two new suboptions "queuereturn" and
655038032Speter		"queuewarn"; these subsume the old T option.  Thus, to
655138032Speter		set them both the preferred new syntax is
655238032Speter		    O Timeout.queuereturn = 5d
655338032Speter		    O Timeout.queuewarn = 4h
655438032Speter	Sort queue by host name instead of by message priority if the
655538032Speter		QueueSortOrder option (no short name) is set is set to
655638032Speter		``host''.  This makes better use of the connection cache,
655738032Speter		but may delay more ``interactive'' messages behind large
655838032Speter		backlogs under some circumstances.  This is probably a
655938032Speter		good option if you have high speed links or don't do lots
656038032Speter		of ``batch'' messages, but less good if you are using
656138032Speter		something like PPP on a 14.4 modem.  Based on code
656238032Speter		contributed by Roy Mongiovi of Georgia Tech (my main
656338032Speter		contribution was to make it configurable).
656438032Speter	Save i-number of df file in qf file to simplify rebuilding of queue
656538032Speter		after disastrous disk crash.  Suggested by Kyle Jones of
656638032Speter		UUNET; closely based on code from KJS DECWRL code written
656738032Speter		by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
656838032Speter		are NOT back compatible with 8.6 -- that is, you can convert
656938032Speter		from 8.6 to 8.7, but not the other direction.
657038032Speter	Add ``F=d'' mailer flag to disable all use of angle brackets in
657138032Speter		route-addrs in envelopes; this is because in some cases
657238032Speter		they can be sent to the shell, which interprets them as
657338032Speter		I/O redirection.
657438032Speter	Don't include error file (option E) with return-receipts; this
657538032Speter		can be confusing.
657638032Speter	Don't send "Warning: cannot send" messages to owner-* or
657738032Speter		*-request addresses.  Suggested by Christophe Wolfhugel
657838032Speter		of the Institut Pasteur, Paris.
657938032Speter	Allow -O command line flag to set long form options.
658038032Speter	Add "MinQueueAge" option to set the minimum time between attempts
658138032Speter		to run the queue.  For example, if the queue interval
658238032Speter		(-q value) is five minutes, but the minimum queue age
658338032Speter		is fifteen minutes, jobs won't be tried more often than
658438032Speter		once every fifteen minutes.  This can be used to give
658538032Speter		you more responsiveness if your delivery mode is set to
658638032Speter		queue-only.
658738032Speter	Allow "fileopen" timeout (default: 60 seconds) for opening
658838032Speter		:include: and .forward files.
658938032Speter	Add "-k", "-v", and "-z" flags to map definitions; these set the
659038032Speter		key field name, the value field name, and the field
659138032Speter		delimiter.  The field delimiter can be a single character
659238032Speter		or the sequence "\t" or "\n" for tab or newline.
659338032Speter		These are for use by NIS+ and similar access methods.
659438032Speter	Change maps to always strip quotes before lookups; the -q flag
659543730Speter		turns off this behavior.  Suggested by Motonori Nakamura.
659638032Speter	Add "nisplus" map class.  Takes -k and -v flags to choose the
659738032Speter		key and value field names respectively.  Code donated by
659838032Speter		Sun Microsystems.
659938032Speter	Add "hesiod" map class.  The "file name" is used as the
660038032Speter		"HesiodNameType" parameter to hes_resolve(3).  Returns the
660138032Speter		first value found for the match.  Code donated by Scott
660238032Speter		Hutton of Indiana University.
660338032Speter	Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
660438032Speter		specify the name of the property that is searched as the
660538032Speter		key and a -v flag to specify the name of the property that
660638032Speter		is returned as the value (defaults to "members").  The
660738032Speter		default map is "/aliases".  Some code based on code
660838032Speter		contributed by Robert La Ferla of Hot Software.
660938032Speter	Add "text" map class.  This does slow, linear searches through
661038032Speter		text files.  The -z flag specifies a column delimiter
661138032Speter		(defaults to any sequence of white space), the -k flag
661238032Speter		sets the key column number, and the -v flag sets the
661338032Speter		value column number.  Lines beginning with `#' are treated
661438032Speter		as comments.
661538032Speter	Add "program" map class to execute arbitrary programs.  The search
661638032Speter		key is presented as the last argument; the output is one
661738032Speter		line read from the programs standard output.  Exit statuses
661838032Speter		are from sysexits.h.
661938032Speter	Add "sequence" map class -- searches maps in sequence until it
662038032Speter		finds a match.  For example, the declarations:
662138032Speter		    Kmap1 ...
662238032Speter		    Kmap2 ...
662338032Speter		    Kmapseq sequence map1 map2
662438032Speter		defines a map "mapseq" that first searches map1; if the
662538032Speter		value is found it is returned immediately, otherwise
662638032Speter		map2 is searched and the value returned.
662738032Speter	Add "switch" map class.  This is much like "sequence" except that
662838032Speter		the ordering is fetched from an external file, usually
662938032Speter		the system service switch.  The parameter is the name of
663038032Speter		the service to switch on, and the maps that it will use
663138032Speter		are the name of the switch map followed by ".service_type".
663238032Speter		For example, if the declaration of the map is
663338032Speter		    Ksample switch hosts
663438032Speter		and the system service switch specifies that hosts are
663538032Speter		looked up using dns and nis in that order, then this is
663638032Speter		equivalent to
663738032Speter		    Ksample sequence sample.dns sample.nis
663838032Speter		The subordinate maps (sample.*) must already be defined.
663938032Speter	Add "user" map class -- looks up users using getpwnam.  Takes a
664038032Speter		"-v field" flag on the definition that tells what passwd
664138032Speter		entry to return -- legal values are name, passwd, uid, gid,
664238032Speter		gecos, dir, and shell.  Generally expected to be used with
664338032Speter		the -m (matchonly) flag.
664438032Speter	Add "bestmx" map class -- returns the best MX value for the host
664538032Speter		listed as the value.  If there are several "best" MX records
664638032Speter		for this host, one will be chosen at random.
664738032Speter	Add "userdb" map class -- looks up entries in the user database.
664838032Speter		The "file name" is actually the tag that will be used,
664938032Speter		typically "mailname".  If there are multiple entries
665038032Speter		matching the name, the one chosen is undefined.
665138032Speter	Add multiple queue timeouts (both return and warning).  These are
665238032Speter		set by the Precedence: or Priority: header fields to one of
665338032Speter		three values.  If a Priority: is set and has value "normal",
665464562Sgshapiro		"urgent", or "non-urgent" the corresponding timeouts are
665538032Speter		used.  If no priority is set, the Precedence: is consulted;
665638032Speter		if negative, non-urgent timeouts are used; if greater than
665738032Speter		zero, urgent timeouts are used.  Otherwise, normal timeouts
665838032Speter		are used.  The timeouts are set by setting the six timeouts
665938032Speter		queue{warn,return}.{urgent,normal,non-urgent}.
666038032Speter	Fix problem when a mail address is resolved to a $#error mailer
666138032Speter		with a temporary failure indication; it works in SMTP,
666238032Speter		but when delivering locally the mail is silently discarded.
666338032Speter		This patch, from Kyle Jones of UUNET, bounces it instead
666438032Speter		of queueing it (queueing is very hard).
666538032Speter	When using /etc/hosts or NIS-style lookups, don't assume that
666638032Speter		the first name in the list is the best one -- instead,
666738032Speter		search for the first one with a dot.  For example, if
666838032Speter		an /etc/hosts entry reads
666938032Speter		    128.32.149.68	mammoth mammoth.CS.Berkeley.EDU
667038032Speter		this change will use the second name as the canonical
667138032Speter		machine name instead of the initial, unqualified name.
667238032Speter	Change dequote map to replace spaces in quoted text with a value
667338032Speter		indicated by the -s flag on the dequote map definition.
667438032Speter		For example, ``Mdequote dequote -s_'' will change
667538032Speter		"Foo Bar" into an unquoted Foo_Bar instead of leaving it
667638032Speter		quoted (because of the space character).  Suggested by Dan
667738032Speter		Oscarsson for use in X.400 addresses.
667838032Speter	Implement long macro names as ${name}; long class names can
667938032Speter		be similarly referenced as $={name} and $~{name}.
668038032Speter		Definitions are (e.g.) ``D{name}value''.  Names that have
668138032Speter		a leading lower case letter or punctuation characters are
668238032Speter		reserved for internal use by sendmail; i.e., config files
668338032Speter		should use names that begin with a capital letter.  Based
668438032Speter		on code contributed by Dan Oscarsson.
668538032Speter	Fix core dump if getgrgid returns a null group list (as opposed
668638032Speter		to an empty group list, that is, a pointer to a list
668738032Speter		with no members).  Fix from Andrew Chang of Sun Microsystems.
668838032Speter	Fix possible core dump if malloc fails -- if the malloc in xalloc
668938032Speter		failed, it called syserr which called newstr which called
669038032Speter		xalloc....  The newstr is now avoided for "panic" messages.
669138032Speter		Reported by Stuart Kemp of James Cook University.
669238032Speter	Improve connection cache timeouts; previously, they were not even
669338032Speter		checked if you were delivering to anything other than an
669438032Speter		IPC-connected host, so a series of (say) local mail
669538032Speter		deliveries could cause cached connections to be open
669638032Speter		much longer than the specified timeout.
669738032Speter	If an incoming message exceeds the maximum message size, stop
669838032Speter		writing the incoming bytes to the queue data file, since
669938032Speter		this can fill your mqueue partition -- this is a possible
670038032Speter		denial-of-service attack.
670138032Speter	Don't reject all numeric local user names unless HESIOD is
670238032Speter		defined.  It turns out that Posix allows all-numeric
670338032Speter		user names.  Fix from Tony Sanders of BSDI.
670438032Speter	Add service switch support.  If the local OS has a service
670538032Speter		switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
670638032Speter		on DEC systems) that will be used; otherwise, it falls back
670738032Speter		to using a local mechanism based on the ServiceSwitchFile
670838032Speter		option (default: /etc/service.switch).  For example, if the
670938032Speter		service switch lists "files" and "nis" for the aliases
671038032Speter		service, that will be the default lookup order.  the "files"
671138032Speter		("local" on DEC) service type expands to any alias files
671238032Speter		you listed in the configuration file, even if they aren't
671338032Speter		actually file lookups.
671438032Speter	Option I (NameServerOptions) no longer sets the "UseNameServer"
671538032Speter		variable which tells whether or not DNS should be considered
671638032Speter		canonical.  This is now determined based on whether or not
671738032Speter		"dns" is in the service list for "hosts".
671838032Speter	Add preliminary support for the ESMTP "DSN" extension (Delivery
671938032Speter		Status Notifications).  DSN notifications override
672038032Speter		Return-Receipt-To: headers, which are bogus anyhow --
672138032Speter		support for them has been removed.
672238032Speter	Add T=mts-name-type/address-type/diagnostic-type keyletter to mailer
672338032Speter		definitions to define the types used in DSN returns for
672438032Speter		MTA names, addresses, and diagnostics respectively.
672538032Speter	Extend heuristic to force running in ESMTP mode to look for the
672638032Speter		five-character string "ESMTP" anywhere in the 220 greeting
672738032Speter		message (not just the second line).  This is to provide
672838032Speter		better compatibility with other ESMTP servers.
672938032Speter	Print sequence number of job when running the queue so you can
673038032Speter		easily see how much progress you have made.  Suggested
673138032Speter		by Peter Wemm of DIALix.
673238032Speter	Map newlines to spaces in logged message-ids; some versions of
673338032Speter		syslog truncate the rest of the line after newlines.
673438032Speter		Suggested by Fletcher Mattox of U. Texas.
673538032Speter	Move up forking for job runs so that if a message is split into
673638032Speter		multiple envelopes you don't get "fork storms" -- this
673738032Speter		also improves the connection cache utilization.
673838032Speter	Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
673938032Speter		the purposes of refusing to send error returns.  Suggested
674038032Speter		by Motonori Nakamura of Ritsumeikan University.
674138032Speter	Relax rules on when a file can be written when referenced from
674238032Speter		the aliases file: use the default uid/gid instead of the
674338032Speter		real uid/gid.  This allows you to create a file owned by
674438032Speter		and writable only by the default uid/gid that will work
674590792Sgshapiro		all the time (without having the set-user-ID bit set).  Change
674638032Speter		suggested by Shau-Ping Lo and Andrew Cheng of Sun
674738032Speter		Microsystems.
674838032Speter	Add "DialDelay" option (no short name) to provide an "extra"
674938032Speter		delay for dial on demand systems.  If this is non-zero
675038032Speter		and a connect fails, sendmail will wait this long and
675138032Speter		then try again.  If it takes longer than the kernel
675238032Speter		timeout interval to establish the connection, this
675338032Speter		option can give the network software time to establish
675438032Speter		the link.  The default units are seconds.
675538032Speter	Move logging of sender information to be as early as possible;
675638032Speter		previously, it could be delayed a while for SMTP mail
675738032Speter		sent to aliases.  Suggested by Brad Knowles of the
675838032Speter		Defense Information Systems Agency.
675938032Speter	Call res_init() before setting RES_DEBUG; this is required by
676038032Speter		BIND 4.9.3, or so I'm told.  From Douglas Anderson of
676138032Speter		the National Computer Security Center.
676238032Speter	Add xdelay= field in logs -- this is a transaction delay, telling
676338032Speter		you how long it took to deliver to this address on the
676438032Speter		last try.  It is intended to be used for sorting mailing
676538032Speter		lists to favor "quick" addresses.  Provided for use by
676638032Speter		the mailprio scripts (see below).
676738032Speter	If a map cannot be opened, and that map is non-optional, and
676838032Speter		an address requires that map for resolution, queue the
676938032Speter		map instead of bouncing it.  This involves creating a
677038032Speter		pseudo-class of maps called "bogus-map" -- if a required
677138032Speter		map cannot be opened, the class is changed to bogus-map;
677238032Speter		all queries against bogus-map return "tempfail".  The
677338032Speter		bogus-map class is not directly accessible.  A sample
677438032Speter		implementation was donated by Jem Taylor of Glasgow
677538032Speter		University Computing Service.
677638032Speter	Fix a possible core dump when mailing to a program that talks
677738032Speter		SMTP on its standard input.  Fix from Keith Moore of
677838032Speter		the University of Kentucky.
677938032Speter	Make it possible to resolve filenames to $#local $: @ /filename;
678038032Speter		previously, the "@" would cause it to not be recognized
678138032Speter		as a file.  Problem noted by Brian Hill of U.C. Davis.
678238032Speter	Accept a -1 signal to re-exec the daemon.  This only works if
678338032Speter		argv[0] is a full path to sendmail.
678438032Speter	Fix bug in "addr=..." field in O option on little-endian machines
678538032Speter		-- the network number wasn't being converted to network
678638032Speter		byte order.  Patch from Kurt Lidl of Pix Technologies
678738032Speter		Corporation.
678838032Speter	Pre-initialize the resolver early on; this is to avoid a bug with
678938032Speter		BIND 4.9.3 that can cause the _res.retry field to get
679038032Speter		reset to zero, causing all name server lookups to time
679138032Speter		out.  Fix from Matt Day of Artisoft.
679238032Speter	Restore T line (trusted users) in config file -- but instead of
679338032Speter		locking out the -f flag, they just tell whether or not
679438032Speter		an X-Authentication-Warning: will be added.  This really
679538032Speter		just creates new entries in class 't', so "Ft/file/name"
679638032Speter		can be used to read trusted user names from a file.
679738032Speter		Trusted users are also allowed to execute programs even
679838032Speter		if they have a shell that isn't in /etc/shells.
679938032Speter	Improve NEWDB alias file rebuilding so it will create them
680038032Speter		properly if they do not already exist.  This had been
680138032Speter		a MAYBENEXTRELEASE feature in 8.6.9.
680238032Speter	Check for @:@ entry in NIS maps before starting up to avoid
680338032Speter		(but not prevent, sigh) race conditions.  This ought to
680438032Speter		be handled properly in ypserv, but isn't.  Suggested by
680538032Speter		Michael Beirne of Motorola.
680638032Speter	Refuse connections if there isn't enough space on the filesystem
680738032Speter		holding the queue.  Contributed by Robert Dana of Wolf
680838032Speter		Communications.
680938032Speter	Skip checking for directory permissions in the path to a file
681038032Speter		when checking for file permissions iff setreuid()
681138032Speter		succeeded -- it is unnecessary in that case.  This avoids
681238032Speter		significant performance problems when looking for .forward
681338032Speter		files.  Based on a suggestion by Win Bent of USC.
681438032Speter	Allow symbolic ruleset names.  Syntax can be "Sname" to get an
681538032Speter		arbitrary ruleset number assigned or "Sname = integer"
681638032Speter		to assign a specific ruleset number.  Reference is
681738032Speter		$>name_or_number.  Names can be composed of alphas, digits,
681838032Speter		underscore, or hyphen (first character must be non-numeric).
681938032Speter	Allow -o flag on AliasFile lines to make the alias file optional.
682038032Speter		From Bryan Costales of ICSI.
682138032Speter	Add NoRecipientAction option to handle the case where there is
682238032Speter		no legal recipient header in the message.  It can take
682338032Speter		on values:
682438032Speter		  None			Leave the message as is.  The
682538032Speter					message will be passed on even
682638032Speter					though it is in technically
682738032Speter					illegal syntax.
682838032Speter		  Add-To		Add a To: header with any
682938032Speter					recipients that it can find from
683038032Speter					the envelope.  This risks exposing
683138032Speter					Bcc: recipients.
683238032Speter		  Add-Apparently-To	Add an Apparently-To: header.  This
683338032Speter					has almost no redeeming social value,
683438032Speter					and is provided only for back
683538032Speter					compatibility.
683638032Speter		  Add-To-Undisclosed	Add a header reading
683738032Speter					To: undisclosed-recipients:;
683838032Speter					which will have the effect of
683938032Speter					making the message legal without
684038032Speter					exposing Bcc: recipients.
684138032Speter		  Add-Bcc		To add an empty Bcc: header.
684238032Speter					There is a chance that mailers down
684338032Speter					the line will delete this header,
684438032Speter					which could cause exposure of Bcc:
684538032Speter					recipients.
684638032Speter		The default is NoRecipientAction=None.
684738032Speter	Truncate (rather than delete) Bcc: lines in the header.  This
684838032Speter		should prevent later sendmails (at least, those that don't
684938032Speter		themselves delete Bcc:) from considering this message to
685038032Speter		be non-conforming -- although it does imply that non-blind
685138032Speter		recipients can see that a Bcc: was sent, albeit not to whom.
685238032Speter	Add SafeFileEnvironment option.  If declared, files named as delivery
685338032Speter		targets must be regular files in addition to the regular
685438032Speter		checks.  Also, if the option is non-null then it is used as
685538032Speter		the name of a directory that is used as a chroot(2)
685638032Speter		environment for the delivery; the file names listed in an
685738032Speter		alias or forward should include the name of this root.
685838032Speter		For example, if you run with
685938032Speter			O SafeFileEnvironment=/arch
686038032Speter		then aliases should reference "/arch/rest/of/path".  If a
686138032Speter		value is given, sendmail also won't try to save to
686238032Speter		/usr/tmp/dead.letter (instead it just leaves the job in the
686338032Speter		queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
686438032Speter	Support -A flag for alias files; this will comma concatenate like
686538032Speter		entries.  For example, given the aliases:
686638032Speter			list: member1
686738032Speter			list: member2
686838032Speter		and an alias file declared as:
686938032Speter			OAhash:-A /etc/aliases
687038032Speter		the final alias inserted will be "list: member1,member2";
687138032Speter		without -A you will get an error on the second and subsequent
687238032Speter		alias for "list".  Contributed by Bryan Costales of ICSI.
687338032Speter	Line-buffer transcript file.  Suggested by Liudvikas Bukys.
687438032Speter	Fix a problem that could cause very long addresses to core dump in
687538032Speter		some special circumstances.  Problem pointed out by Allan
687638032Speter		Johannesen.
687738032Speter	(Internal change.)  Change interface to expand() (macro expansion)
687838032Speter		to be simpler and more consistent.
687938032Speter	Delete check for funny qf file names.  This didn't really give
688038032Speter		any extra security and caused some people some problems.
688138032Speter		(If you -really- want this, define PICKY_QF_NAME_CHECK
688238032Speter		at compile time.)  Suggested by Kyle Jones of UUNET.
688338032Speter	(Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
688438032Speter		merge with DSN code; this is simpler and more consistent.
688538032Speter		This may affect some people who have written their own
688638032Speter		checkcompat() routine.
688738032Speter	(Internal change.)  Eliminate `D' line in qf file.  The df file
688838032Speter		is now assumed to be the same name as the qf file (with
688938032Speter		the `q' changed to a `d', of course).
689038032Speter	Avoid forking for delivery if all recipient mailers are marked as
689138032Speter		"expensive" -- this can be a major cost on some systems.
689238032Speter		Essentially, this forces sendmail into "queue only" mode
689338032Speter		if all it is going to do is queue anyway.
689438032Speter	Avoid sending a null message in some rather unusual circumstances
689538032Speter		(specifically, the RCPT command returns a temporary
689638032Speter		failure but the connection is lost before the DATA
689738032Speter		command).  Fix from Scott Hammond of Secure Computing
689838032Speter		Corporation.
689938032Speter	Change makesendmail to use a somewhat more rational naming scheme:
690038032Speter		Makefiles and obj directories are named $os.$rel.$arch,
690138032Speter		where $os is the operating system (e.g., SunOS), $rel is
690238032Speter		the release number (e.g., 5.3), and $arch is the machine
690338032Speter		architecture (e.g., sun4).  Any of these can be omitted,
690438032Speter		and anything after the first dot in a release number can
690538032Speter		be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
690638032Speter		version used $os.$arch.$rel and was rather less general.
690738032Speter	Change makesendmail to do a "make depend" in the target directory
690838032Speter		when it is being created.  This involves adding an empty
690938032Speter		"depend:" entry in most Makefiles.
691038032Speter	Ignore IDENT return value if the OSTYPE field returns "OTHER",
691138032Speter		as indicated by RFC 1413.  Pointed out by Kari Hurtta
691238032Speter		of the Finnish Meteorological Institute.
691338032Speter	Fix problem that could cause multiple responses to DATA command
691438032Speter		on header syntax errors (e.g., lines beginning with colons).
691538032Speter		Problem noted by Jens Thomassen of the University of Oslo.
691638032Speter	Don't let null bytes in headers cause truncation of the rest of
691738032Speter		the header.
691838032Speter	Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
691938032Speter	Increase timeouts on message data puts to allow time for receivers
692038032Speter		to canonify addresses in headers on the fly.  This is still
692138032Speter		a rather ugly heuristic.  From Motonori Nakamura.
692238032Speter	Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
692338032Speter		records are not used when canonifying names, and when MX
692438032Speter		lookups are done for addressing they must be fully
692538032Speter		qualified.  This is useful if you have a wildcard MX record,
692638032Speter		although it may cause other problems.  In general, don't use
692738032Speter		wildcard MX records.  Patch from Motonori Nakamura.
692838032Speter	Eliminate default two-line SMTP greeting message.  Instead of
692938032Speter		adding an extra "ESMTP spoken here" line, the word "ESMTP"
693038032Speter		is added between the first and second word of the first
693138032Speter		line of the greeting message (i.e., immediately after the
693238032Speter		host name).  This eliminates the need for the BROKEN_SMTP_PEERS
693338032Speter		compile flag.  Old sendmails won't see the ESMTP, but that's
693438032Speter		acceptable because SIZE was the only useful extension that
693538032Speter		old sendmails understand.
693638032Speter	Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
693738032Speter		invoked state dumps.  From Masaharu Onishi.
693838032Speter	Allow on-line comments in .forward and :include: files; they are
693938032Speter		introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
694038032Speter		is a space or a tab.  This is intended for native
694138032Speter		representation of non-ASCII sets such as Japanese, where
694238032Speter		existing encodings would be unreadable or would lose
694338032Speter		data -- for example,
694438032Speter		 <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
694538032Speter					(romanized/less information)
694638032Speter		 <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
694738032Speter					      =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
694838032Speter					(with MIME encoding, not human readable)
694938032Speter		 <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
695038032Speter					(native encoding with ISO-2022-JP)
695138032Speter		The last form is human readable in the Japanese environment.
695238032Speter		Based on a fix from (surprise!) Motonori Nakamura.
695338032Speter	Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
695438032Speter		messages to that host; these are most frequently associated
695538032Speter		with addresses rather than the host, with the exception of
695638032Speter		421 (service shutting down).  The effect was to cause queues
695738032Speter		to sometimes take an excessive time to flush.  Reported by
695838032Speter		Robert Sargent of Southern Geographics Technologies and
695938032Speter		Eric Prestemon of American University.
696038032Speter	Add Nice=N mailer option to set the niceness at which a mailer will
696138032Speter		run.  This is actually a relative niceness (that is, an
696238032Speter		increment on the background value).
696338032Speter	Log queue runs that are skipped due to high loads.  They are logged
696438032Speter		at LOG_INFO priority iff the log level is > 8.  Contributed
696538032Speter		by Bruce Nagel of Data General.
696638032Speter	Allow the error mailer to accept a DSN-style error status code
696738032Speter		instead of an sysexits status code in the host part.
696838032Speter		Anything with a dot will be interpreted as a DSN-style code.
696938032Speter	Add new mailer flag: F=3 will tell translations to Quoted-Printable
697038032Speter		to encode characters that might be munged by an EBCDIC system
697138032Speter		in addition to the set required by RFC 1521.  The additional
697238032Speter		characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
697338032Speter		(Think of "IBM 360" as the mnemonic for this flag.)
697438032Speter	Change check for mailing to files to look for a pathname of [FILE]
697538032Speter		rather than looking for the mailer named *file*.  The mapping
697638032Speter		of leading slashes still goes to the *file* mailer.  This
697738032Speter		allows you to implement the *file* mailer as a separate
697838032Speter		program, for example, to insert a Content-Length: header
697938032Speter		or do special security policy.  However, note that the usual
698038032Speter		initial checking for the file permissions is still done, and
698138032Speter		the program in question needs to be very careful about how
698238032Speter		it does the file write to avoid security problems.
698338032Speter	Be able to read ~root/.forward even if the path isn't accessible to
698438032Speter		regular users.  This is disrecommended because sendmail
698538032Speter		sometimes does not run as root (e.g., when an unsafe option
698638032Speter		is specified on the command line), but should otherwise be
698738032Speter		safe because .forward files must be owned by the user for
698838032Speter		whom mail is being forwarded, and cannot be a symbolic link.
698938032Speter		Suggested by Forrest Aldrich of Wang Laboratories.
699038032Speter	Add new "HostsFile" option that is the pathname to the /etc/hosts
699138032Speter		file.  This is used for canonifying hostnames when the
699238032Speter		service type is "files".
699338032Speter	Implement programs on F (read class from file) line.  The syntax is
699438032Speter		Fc|/path/to/program to read the output from the program
699538032Speter		into class "c".
699638032Speter	Probe the network interfaces to find alternate names for this
699738032Speter		host.  Requires the SIOCGIFCONF ioctl call.  Code
699838032Speter		contributed by SunSoft.
699938032Speter	Add "E" configuration line to set or propagate environment
700038032Speter		variables into children.  "E<envar>" will propagate
700138032Speter		the named variable from the environment when sendmail
700238032Speter		was invoked into any children it calls; "E<envar>=<value>"
700338032Speter		sets the named variable to the indicated value.  Any
700438032Speter		variables not explicitly named will not be in the child
700538032Speter		environment.  However, sendmail still forces an
700638032Speter		"AGENT=sendmail" environment variable, in part to enforce
700738032Speter		at least one environment variable, since many programs and
700838032Speter		libraries die horribly if this is not guaranteed.
700938032Speter	Change heuristic for rebuilding both NEWDB and NDBM versions of
701038032Speter		alias databases -- new algorithm looks for the substring
701138032Speter		"/yp/" in the file name.  This is more portable and involves
701238032Speter		less overhead.  Suggested by Motonori Nakamura.
701338032Speter	Dynamically allocate the queue work list so that you don't lose
701438032Speter		jobs in large queue runs.  The old QUEUESIZE compile parameter
701538032Speter		is replaced by QUEUESEGSIZE (the unit of allocation, which
701638032Speter		should not need to be changed) and the MaxQueueRunSize option,
701738032Speter		which is the absolute maximum number of jobs that will ever
701838032Speter		be handled in a single queue run.  Based on code contributed
701938032Speter		by Brian Coan of the Institute for Global Communications.
702038032Speter	Log message when a message is dropped because it exceeds the maximum
702138032Speter		message size.  Suggested by Leo Bicknell of Virginia Tech.
702238032Speter	Allow trusted users (those on a T line or in $=t) to use -bs without
702338032Speter		an X-Authentication-Warning: added.  Suggested by Mark Thomas
702438032Speter		of Mark G. Thomas Consulting.
702538032Speter	Announce state of compile flags on -d0.1 (-d0.10 throws in the
702638032Speter		OS-dependent defines).  The old semantic of -d0.1 to not
702738032Speter		run the daemon in background has been moved to -d99.100,
702838032Speter		and the old 52.5 flag (to avoid disconnect() from closing
702938032Speter		all output files) has been moved to 52.100.  This makes
703038032Speter		things more consistent (flags below .100 don't change
703138032Speter		semantics) and separates out the backgrounding so that
703238032Speter		it doesn't happen automatically on other unrelated debugging
703338032Speter		flags.
703438032Speter	If -t is used but no addresses are found in the header, give an
703538032Speter		error message rather than just doing nothing.  Fix from
703638032Speter		Motonori Nakamura.
703738032Speter	On systems (like SunOS) where the effective gid is not necessarily
703838032Speter		included in the group list returned by getgroups(), the
703938032Speter		`restrictmailq' option could sometimes cause an authorized
704038032Speter		user to not be able to use `mailq'.  Fix from Charles Hannum
704138032Speter		of MIT.
704238032Speter	Allow symbolic service names for [IPC] mailers.  Suggested by
704338032Speter		Gerry Magennis of Logica International.
704438032Speter	Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
704538032Speter		when running DNS.  For example, if the name FTP.Foo.ORG is
704638032Speter		a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
704738032Speter		the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
704838032Speter		if this option is not set, or "FTP.Foo.ORG" if it is set.
704938032Speter		This is technically illegal under RFC 822 and 1123, but the
705038032Speter		IETF is moving toward legalizing it.  Note that turning on
705138032Speter		this option is not sufficient to guarantee that a downstream
705238032Speter		neighbor won't rewrite the address for you.
705338032Speter	Add "-m" flag to makesendmail script -- this tells you what object
705438032Speter		directory and Makefile it will use, but doesn't actually do
705538032Speter		the make.
705638032Speter	Do some additional checking on the contents of the qf file to try
705738032Speter		to detect attacks against the qf file.  In particular,
705838032Speter		abort on any line beginning "From ", and add an "end of
705938032Speter		file" line -- any data after that line is prohibited.
706038032Speter	Always use /etc/sendmail.cf, regardless of the arbitrary vendor
706138032Speter		choices.  This can be overridden in the Makefile by using
706238032Speter		either -DUSE_VENDOR_CF_PATH to get the vendor location
706338032Speter		(to the extent that we know it) or by defining
706438032Speter		_PATH_SENDMAILCF (which is a "hard override").  This allows
706538032Speter		sendmail 8 to have more consistent installation instructions.
706638032Speter	Allow macros on `K' line in config file.  Suggested by Andrew Chang
706738032Speter		of Sun Microsystems.
706838032Speter	Improved symbol table hash function from Eric Wassenaar.  This one
706938032Speter		is at least 50% faster.
707038032Speter	Fix problem that didn't notice that timeout on file open was a
707138032Speter		transient error.  Fix from Larry Parmelee of Cornell
707238032Speter		University.
707338032Speter	Allow comments (lines beginning with a `#') in files read for
707438032Speter		classes.  Suggested by Motonori Nakamura.
707538032Speter	Make SIGINT (usually ^C) in test mode return to the prompt instead
707638032Speter		of dropping out entirely.  This makes testing some of the
707738032Speter		name server lookups easier to deal with when there are
707838032Speter		hung servers.  From Motonori Nakamura.
707938032Speter	Add new ${opMode} macro that is set to the current operation mode
708038032Speter		(e.g., `s' for -bs, `t' for -bt, etc.).  Suggested by
708138032Speter		Claude Marinier <MARINIER@emp.ewd.dreo.dnd.ca>.
708238032Speter	Add new delivery mode (Odd) that defers all map lookups to queue runs.
708338032Speter		Kind of like queue-only mode (Odq) except it tries to avoid
708438032Speter		any external service requests; for dial-on-demand hosts that
708538032Speter		want to minimize DNS lookups when mail is being queued.  For
708638032Speter		this to work you will also have to make sure that gethostbyname
708738032Speter		of your local host name does not do a DNS lookup.
708838032Speter	Improved handling of "out of space" conditions from John Myers of
708938032Speter		Carnegie Mellon.
709038032Speter	Improved security for mailing to files on systems that have fchmod(2)
709138032Speter		support.
709238032Speter	Improve "cannot send message for N days" message -- now says "could
709338032Speter		not send for past N days".  Suggested by Tom Moore of AT&T
709438032Speter		Global Information Solutions.
709538032Speter	Less misleading Subject: line on messages sent to postmaster only.
709638032Speter		From Motonori Nakamura.
709738032Speter	Avoid duplicate error messages on bad command line flags.  From
709838032Speter		Motonori Nakamura.
709938032Speter	Better error message for case where ruleset 0 falls off the end
710038032Speter		or otherwise does not resolve to a canonical triple.
710138032Speter	Fix a problem that could cause multiple bounce messages if a bad
710238032Speter		address was sent along with a good address to an SMTP
710338032Speter		site where that SMTP site returned a 4yz code in response
710438032Speter		to the final dot of the data.  Problem reported by David
710538032Speter		James of British Telecom.
710638032Speter	Add "volatile" declarations so that gcc -O2 will work.  Patches
710738032Speter		from Alexander Dupuy of System Management ARTS.
710838032Speter	Delete duplicates in MX lists -- believe it or not, there are sites
710938032Speter		that list the same host twice in an MX list.  This deletion
711038032Speter		only works on adjacent preferences, so an MX list that
711138032Speter		had A=5, B=10, A=15 would leave both As, but one that had
711238032Speter		A=5, A=10, B=15 would reduce to A, B.  This is intentional,
711338032Speter		just in case there is something weird I haven't thought of.
711438032Speter		Suggested by Barry Shein of Software Tool & Die.
711538032Speter	SECURITY: .forward files cannot be symbolic links.  If they are,
711638032Speter		a bad guy can read your private files.
711738032Speter	PORTABILITY FIXES:
711838032Speter		Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
711938032Speter		System V Release 4 from Motonori Nakamura of Ritsumeikan
712038032Speter			University.  This expands the disk size
712138032Speter			checking to include all (?) SVR4 configurations.
712238032Speter		System V Release 4 from Kimmo Suominen -- initgroups(3)
712338032Speter			and setrlimit(2) are both available.
712438032Speter		System V Release 4 from sob@sculley.ffg.com -- some versions
712538032Speter			apparently "have EX_OK defined in other headerfiles."
712638032Speter		Linux Makefile typo.
712738032Speter		Linux getusershell(3) is broken in Slackware 2.0 --
712838032Speter			from Andrew Pam of Xanadu Australia.
712938032Speter		More Linux tweaking from John Kennedy of California State
713038032Speter			University, Chico.
713138032Speter		Cray changes from Eric Wassenaar:  ``On Cray, shorts,
713238032Speter			ints, and longs are all 64 bits, and all structs
713338032Speter			are multiples of 64 bits.  This means that the
713438032Speter			sizeof operator returns only multiples of 8.
713538032Speter			This requires adaptation of code that really
713638032Speter			deals with 32 bit or 16 bit fields, such as IP
713738032Speter			addresses or nameserver fields.''
713838032Speter		DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
713943730Speter			get the old behavior, use -DDGUX_5_4_2.
714038032Speter		DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
714143730Speter			variable to fix bogus /bin/mail behavior.
714238032Speter		Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
714338032Speter			This also cleans up some System V Release 4 compile
714438032Speter			problems.
714538032Speter		Solaris 2: sendmail.cw file should be in /etc/mail to
714638032Speter			match all the other configuration files.  Fix
714738032Speter			from Glenn Barry of Emory University.
714838032Speter		Solaris 2.3: compile problem in conf.c.  Fix from Alain
714938032Speter			Nissen of the University of Liege, Belgium.
715038032Speter		Ultrix: freespace calculation was incorrect.  Fix from
715138032Speter			Takashi Kizu of Osaka University.
715238032Speter		SVR4: running in background gets a SIGTTOU because the
715338032Speter			emulation code doesn't realize that "getpeername"
715438032Speter			doesn't require reading the file.  Fix from Peter
715538032Speter			Wemm of DIALix.
715638032Speter		Solaris 2.3: due to an apparent bug in the socket emulation
715738032Speter			library, sockets can get into a "wedged" state where
715838032Speter			they just return EPROTO; closing and re-opening the
715938032Speter			socket clears the problem.  Fix from Bob Manson
716038032Speter			of Ohio State University.
716138032Speter		Hitachi 3050R & 3050RX running HI-UX/WE2: portability
716238032Speter			fixes from Akihiro Hashimoto ("Hash") of Chiba
716338032Speter			University.
716438032Speter		AIX changes to allow setproctitle to work from Rainer Sch�pf
716538032Speter			of Zentrum f�r Datenverarbeitung der Universit�t
716638032Speter			Mainz.
716738032Speter		AIX changes for load average from Ed Ravin of NASA/Goddard.
716838032Speter		SCO Unix from Chip Rosenthal of Unicom (code was using the
716938032Speter			wrong statfs call).
717038032Speter		ANSI C fixes from Adam Glass (NetBSD project).
717138032Speter		Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
717238032Speter			University.
717338032Speter		DG-UX fixes from Bruce Nagel of Data General.
717438032Speter		IRIX64 updates from Mark Levinson of the University of
717538032Speter			Rochester Medical Center.
717638032Speter		Altos System V (``the first UNIX/XENIX merge the Altos
717738032Speter			did for their Series 1000 & Series 2000 line;
717838032Speter			their merged code was licensed back to AT&T and
717938032Speter			Microsoft and became System V release 3.2'') from
718038032Speter			Tim Rice <timr@crl.com>.
718138032Speter		OSF/1 running on Intel Paragon from Jeff A. Earickson
718238032Speter			<jeff@ssd.intel.com> of Intel Scalable Systems
718338032Speter			Division.
718438032Speter		Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
718538032Speter			<janet@dialix.oz.au>.
718638032Speter		System V Release 4 (statvfs semantic fix) from Alain
718738032Speter			Durand of I.M.A.G.
718838032Speter		HP-UX 10.x multiprocessor load average changes from
718938032Speter			Scott Hutton and Jeff Sumler of Indiana University.
719038032Speter		Cray CSOS from Scott Bolte of Cray Computer Corporation.
719138032Speter		Unicos 8.0 from Douglas K. Rand of the University of North
719238032Speter			Dakota, Scientific Computing Center.
719338032Speter		Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
719438032Speter		ConvexOS 11.0 from Christophe Wolfhugel.
719538032Speter		IRIX 4.0.5 from David Ashton-Reader of CADcentre.
719638032Speter		ISC UNIX from J. J. Bailey.
719738032Speter		HP-UX 9.xx on the 8xx series machines from Remy Giraud
719838032Speter			of Meteo France.
719938032Speter		HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
720038032Speter		IRIX 5.2 and 5.3 from Kari E. Hurtta.
720138032Speter		FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
720238032Speter		Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
720338032Speter		Omron LUNA unios-b, mach from Motonori Nakamura.
720438032Speter		NEC EWS-UX/V 4.2 from Motonori Nakamura.
720538032Speter		NeXT 2.1 from Bryan Costales.
720638032Speter		AUX patch thanks to Mike Erwin of Apple Computer.
720738032Speter		HP-UX 10.0 from John Beck of Hewlett-Packard.
720838032Speter		Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
720938032Speter			non-DEC resolver.  Suggested by Allan Johannesen.
721038032Speter		UnixWare 2.0 fixes from Petr Lampa of the Technical
721138032Speter			University of Brno (Czech Republic).
721238032Speter		KSR OS 1.2.2 support from Todd Miller of the University
721338032Speter			of Colorado.
721438032Speter		UX4800 support from Kazuhisa Shimizu of NEC.
721538032Speter	MAKEMAP: allow -d flag to allow insertion of duplicate aliases
721638032Speter		in type ``btree'' maps.  The semantics of this are undefined
721738032Speter		for regular maps, but it can be useful for the user database.
721838032Speter	MAKEMAP: lock database file while rebuilding to avoid sendmail
721938032Speter		lookups while the rebuild is going on.  There is a race
722038032Speter		condition between the open(... O_TRUNC ...) and the lock
722138032Speter		on the file, but it should be quite small.
722238032Speter	SMRSH: sendmail restricted shell added to the release.  This can
722338032Speter		be used as an alternative to /bin/sh for the "prog" mailer,
722438032Speter		giving the local administrator more control over what
722538032Speter		programs can be run from sendmail.
722638032Speter	MAIL.LOCAL: add this local mailer to the tape.  It is not really
722738032Speter		part of the release proper, and isn't fully supported; in
722838032Speter		particular, it does not run on System V based systems and
722938032Speter		never will.
723038032Speter	CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
723138032Speter		to allow rmail to compile on systems that don't have
723238032Speter		function prototypes and systems that don't have snprintf.
723338032Speter	CONTRIB: add the "mailprio" scripts that will help you sort mailing
723438032Speter		lists by transaction delay times so that addresses that
723538032Speter		respond quickly get sent first.  This is to prevent very
723638032Speter		sluggish servers from delaying other peoples' mail.
723738032Speter		Contributed by Tony Sanders of BSDI.
723838032Speter	CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
723938032Speter		of BSDI.  This has a lot of comments to help people out.
724038032Speter	CONFIG: Don't have .mc files include(../m4/cf.m4) -- instead,
724138032Speter		put this on the m4 command line.  On GNU m4 (which
724238032Speter		supports the __file__ primitive) you can run m4 in an
724338032Speter		arbitrary directory -- use either:
724438032Speter			m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
724538032Speter		or
724638032Speter			m4 -I${CFDIR} m4/cf.m4 config.mc > config.cf
724738032Speter		On other versions of m4 that don't support __file__, you
724838032Speter		can use:
724938032Speter			m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ...
725038032Speter		(Note the trailing slash on the _CF_DIR_ definition.)
725138032Speter		Old versions of m4 will default to _CF_DIR_=.. for back
725238032Speter		compatibility.
725338032Speter	CONFIG: fix mail from <> so it will properly convert to
725438032Speter		MAILER-DAEMON on local addresses.
725538032Speter	CONFIG: fix code that was supposed to catch colons in host
725638032Speter		names.  Problem noted by John Gardiner Myers of CMU.
725738032Speter	CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
725838032Speter		From Paul Riddle of the University of Maryland, Baltimore
725938032Speter		County.
726038032Speter	CONFIG: Catch and reject "." as a host address.
726138032Speter	CONFIG: Generalize domaintable to look up all domains, not
726238032Speter		just unqualified ones.
726338032Speter	CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
726438032Speter		was never used and didn't work anyway.
726538032Speter	CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
726638032Speter		and d on all mailers in the UUCP class.
726738032Speter	CONFIG: Allow "user+detail" to be aliased specially: it will first
726838032Speter		look for an alias for "user+detail", then for "user+*", and
726938032Speter		finally for "user".  This is intended for forwarding mail
727038032Speter		for system aliases such as root and postmaster to a
727138032Speter		centralized hub.
727238032Speter	CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
727338032Speter	CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
727438032Speter		The F=8 flag is also set on the "relay" mailer, since
727538032Speter		this is expected to be another sendmail.
727638032Speter	CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
727738032Speter		the name of the UUCP_RELAY -- in some cases, this is the
727838032Speter		wrong value (e.g., when we have local UUCP connections),
727938032Speter		and this can create unreplyable addresses.  From Chip
728038032Speter		Rosenthal of Unicom.
728138032Speter	CONFIG: add confRECEIVED_HEADER to change the format of the
728264562Sgshapiro		Received: header inserted into all messages.  Suggested by
728338032Speter		Gary Mills of the University of Manitoba.
728438032Speter	CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
728543730Speter		to get the old behavior.  I did this upon observing
728638032Speter		that almost everyone needed this feature, and that the
728738032Speter		concept I was trying to make happen didn't work with
728838032Speter		some user agents anyway.  FEATURE(notsticky) still works,
728938032Speter		but it is a no-op.
729038032Speter	CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
729138032Speter		names are sent, rather than immediately diagnosing them
729238032Speter		as User Unknown.
729338032Speter	CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
729438032Speter		and RELAY_MAILER_ARGS to set the arguments for the
729538032Speter		indicated mailers.  All default to "IPC $h".  Patch from
729638032Speter		Larry Parmelee of Cornell University.
729738032Speter	CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
729838032Speter		on the client side" and F=P to get an appropriate
729938032Speter		return-path.  From Kimmo Suominen.
730038032Speter	CONFIG: add FEATURE(local_procmail) to use the procmail program
730138032Speter		as the local mailer.  For addresses of the form "user+detail"
730238032Speter		the "detail" part is passed to procmail via the -a flag.
730338032Speter		Contributed by Kimmo Suominen.
730438032Speter	CONFIG: add MAILER(procmail) to add an interface to procmail for
730538032Speter		use from mailertables.  This lets you execute arbitrary
730638032Speter		procmail scripts.  Contributed by Kimmo Suominen.
730738032Speter	CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
730838032Speter	CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
730938032Speter		Paul Southworth of CICNet Systems Support.
731038032Speter	CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
731138032Speter		This causes the null return path to be rewritten as
731238032Speter		MAILER-DAEMON; otherwise UUCP gets horribly confused.
731338032Speter		From Michael Hohmuth of Technische Universitat Dresden.
731438032Speter	CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
731538032Speter		list us as the best possible MX record to be treated as
731638032Speter		though they were local (essentially, assume that they
731738032Speter		are included in $=w).  This can cause additional DNS
731838032Speter		traffic, but is easier to administer if this fits your
731938032Speter		local model.  It does not work reliably if there are
732038032Speter		multiple hosts that share the best MX preference.
732138032Speter		Code contributed by John Oleynick of Rutgers.
732238032Speter	CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
732338032Speter		SHell) instead of /bin/sh as the program used for delivery
732438032Speter		to programs.  If an argument is included, it is used as
732538032Speter		the path to smrsh; otherwise, /usr/local/etc/smrsh is
732638032Speter		assumed.
732738032Speter	CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
732838032Speter		size of messages to the local and procmail mailers
732938032Speter		respectively.  Contributed by Brad Knowles of the Defense
733038032Speter		Information Systems Agency.
733138032Speter	CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
733238032Speter		(just like text outside of angle brackets) in order to
733338032Speter		properly deal with ``group: addr1, ... addrN;'' syntax.
733438032Speter	CONFIG: Require OSTYPE macro (the defaults really don't apply to
733538032Speter		any real systems any more) and tweak the DOMAIN macro
733638032Speter		so that it is less likely that users will accidentally use
733738032Speter		the Berkeley defaults.  Also, create some generic files
733838032Speter		that really can be used in the real world.
733938032Speter	CONFIG: Add new configuration macros to set character sets for
734038032Speter		messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
734138032Speter		SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
734238032Speter	CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
734338032Speter		The old name will still be accepted for a while at least.
734438032Speter	CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
734538032Speter		mail (.DECNET pseudo-domain or node::user) will be sent.
734638032Speter		As with all relays, it can be ``mailer:hostname''.  Suggested
734738032Speter		by Scott Hutton.
734838032Speter	CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
734938032Speter		by Barb Dijker of Labyrinth Computer Services.
735038032Speter	CONFIG: change confCHECK_ALIASES to default to False -- it has poor
735138032Speter		performance for large alias files, and this confused many
735238032Speter		people.
735338032Speter	CONFIG: Add confCF_VERSION to append local information to the
735438032Speter		configuration version number displayed during SMTP startup.
735538032Speter	CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
735638032Speter		would only work when locally addressed.  Fix from
735738032Speter		Edvard Tuinder of Cistron Internet Services.
735838032Speter	CONFIG: use ${opMode} to avoid error on .REDIRECT addresses if option
735943730Speter		"n" (CheckAliases) is set when rebuilding alias database.
736038032Speter		Based on code contributed by Claude Marinier.
736138032Speter	CONFIG: Allow mailertable to have values of the form
736238032Speter		``error:code message''.  The ``code'' is a status code
736338032Speter		derived from the sysexits codes -- e.g., NOHOST or UNAVAILABLE.
736438032Speter		Contributed by David James <dwj@agw.bt.co.uk>.
736538032Speter	CONFIG: add MASQUERADE_DOMAIN(domain list) to extend the list of
736638032Speter		sender domains that will be replaced with the masquerade name.
736738032Speter		These domains will not be treated as local, but if mail passes
736838032Speter		through with sender addresses in those domains they will be
736938032Speter		replaced by the masquerade name.  These can also be specified
737038032Speter		in a file using MASQUERADE_DOMAIN_FILE(filename).
737138032Speter	CONFIG: add FEATURE(masquerade_envelope) to masquerade the envelope
737238032Speter		as well as the header.  Substantial improvements to this
737338032Speter		code were contributed by Per Hedeland.
737438032Speter	CONFIG: add MAILER(phquery) to define a new "ph" mailer; this can be
737538032Speter		accessed from a mailertable to do CCSO ph lookups.  Contributed
737638032Speter		by Kimmo Suominen.
737738032Speter	CONFIG: add MAILER(cyrus) to define a new Cyrus mailer; this can be
737838032Speter		used to define cyrus and cyrusbb mailers (for IMAP support).
737938032Speter		Contributed by John Gardiner Myers of Carnegie Mellon.
738038032Speter	CONFIG: add confUUCP_MAILER to select default mailer to use for
738138032Speter		UUCP addressing.  Suggested by Tom Moore of AT&T GIS.
738238032Speter	NEW FILES:
738338032Speter		cf/cf/cs-hpux10.mc
738438032Speter		cf/cf/cs-solaris2.mc
738538032Speter		cf/cf/cyrusproto.mc
738638032Speter		cf/cf/generic-bsd4.4.mc
738738032Speter		cf/cf/generic-hpux10.mc
738838032Speter		cf/cf/generic-hpux9.mc
738938032Speter		cf/cf/generic-osf1.mc
739038032Speter		cf/cf/generic-solaris2.mc
739138032Speter		cf/cf/generic-sunos4.1.mc
739238032Speter		cf/cf/generic-ultrix4.mc
739338032Speter		cf/cf/huginn.cs.mc
739438032Speter		cf/domain/berkeley-only.m4
739538032Speter		cf/domain/generic.m4
739638032Speter		cf/feature/bestmx_is_local.m4
739738032Speter		cf/feature/local_procmail.m4
739838032Speter		cf/feature/masquerade_envelope.m4
739938032Speter		cf/feature/smrsh.m4
740038032Speter		cf/feature/stickyhost.m4
740138032Speter		cf/feature/use_ct_file.m4
740238032Speter		cf/m4/cfhead.m4
740338032Speter		cf/mailer/cyrus.m4
740438032Speter		cf/mailer/mail11.m4
740538032Speter		cf/mailer/phquery.m4
740638032Speter		cf/mailer/procmail.m4
740738032Speter		cf/ostype/amdahl-uts.m4
740838032Speter		cf/ostype/bsdi2.0.m4
740938032Speter		cf/ostype/hpux10.m4
741038032Speter		cf/ostype/irix5.m4
741138032Speter		cf/ostype/isc4.1.m4
741238032Speter		cf/ostype/ptx2.m4
741338032Speter		cf/ostype/unknown.m4
741438032Speter		contrib/bsdi.mc
741538032Speter		contrib/mailprio
741638032Speter		contrib/rmail.oldsys.patch
741738032Speter		mail.local/mail.local.0
741838032Speter		makemap/makemap.0
741938032Speter		smrsh/README
742038032Speter		smrsh/smrsh.0
742138032Speter		smrsh/smrsh.8
742238032Speter		smrsh/smrsh.c
742338032Speter		src/Makefiles/Makefile.CSOS
742438032Speter		src/Makefiles/Makefile.EWS-UX_V
742538032Speter		src/Makefiles/Makefile.HP-UX.10
742638032Speter		src/Makefiles/Makefile.IRIX.5.x
742738032Speter		src/Makefiles/Makefile.IRIX64
742838032Speter		src/Makefiles/Makefile.ISC
742938032Speter		src/Makefiles/Makefile.KSR
743038032Speter		src/Makefiles/Makefile.NEWS-OS.4.x
743138032Speter		src/Makefiles/Makefile.NEWS-OS.6.x
743238032Speter		src/Makefiles/Makefile.NEXTSTEP
743338032Speter		src/Makefiles/Makefile.NonStop-UX
743438032Speter		src/Makefiles/Makefile.Paragon
743538032Speter		src/Makefiles/Makefile.SCO.3.2v4.2
743638032Speter		src/Makefiles/Makefile.SunOS.5.3
743738032Speter		src/Makefiles/Makefile.SunOS.5.4
743838032Speter		src/Makefiles/Makefile.SunOS.5.5
743938032Speter		src/Makefiles/Makefile.UNIX_SV.4.x.i386
744038032Speter		src/Makefiles/Makefile.uts.systemV
744138032Speter		src/Makefiles/Makefile.UX4800
744238032Speter		src/aliases.0
744338032Speter		src/mailq.0
744438032Speter		src/mime.c
744538032Speter		src/newaliases.0
744638032Speter		src/sendmail.0
744738032Speter		test/t_seteuid.c
744838032Speter	RENAMED FILES:
744938032Speter		cf/cf/alpha.mc =>		cf/cf/s2k-osf1.mc
745038032Speter		cf/cf/chez.mc =>		cf/cf/chez.cs.mc
745138032Speter		cf/cf/hpux-cs-exposed.mc =>	cf/cf/cs-hpux9.mc
745238032Speter		cf/cf/osf1-cs-exposed.mc =>	cf/cf/cs-osf1.mc
745338032Speter		cf/cf/s2k.mc =>			cf/cf/s2k-ultrix4.mc
745438032Speter		cf/cf/sunos4.1-cs-exposed.mc =>	cf/cf/cs-sunos4.1.mc
745538032Speter		cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
745638032Speter		cf/cf/vangogh.mc =>		cf/cf/vangogh.cs.mc
745738032Speter		cf/domain/Berkeley.m4 =>	cf/domain/Berkeley.EDU.m4
745838032Speter		cf/domain/cs-exposed.m4 =>	cf/domain/CS.Berkeley.EDU.m4
745938032Speter		cf/domain/eecs-hidden.m4 =>	cf/domain/EECS.Berkeley.EDU.m4
746038032Speter		cf/domain/s2k.m4 =>		cf/domain/S2K.Berkeley.EDU.m4
746138032Speter		cf/ostype/hpux.m4 =>		cf/ostype/hpux9.m4
746238032Speter		cf/ostype/irix.m4 =>		cf/ostype/irix4.m4
746338032Speter		cf/ostype/ultrix4.1.m4 =>	cf/ostype/ultrix4.m4
746438032Speter		src/Makefile.* =>		src/Makefiles/Makefile.*
746538032Speter		src/Makefile.AUX =>		src/Makefiles/Makefile.A-UX
746638032Speter		src/Makefile.BSDI =>		src/Makefiles/Makefile.BSD-OS
746738032Speter		src/Makefile.DGUX =>		src/Makefiles/Makefile.dgux
746838032Speter		src/Makefile.RISCos =>		src/Makefiles/Makefile.UMIPS
746938032Speter		src/Makefile.SunOS.4.0.3 =>	src/Makefiles/Makefile.SunOS.4.0
747038032Speter	OBSOLETED FILES:
747138032Speter		cf/cf/cogsci.mc
747238032Speter		cf/cf/cs-exposed.mc
747338032Speter		cf/cf/cs-hidden.mc
747438032Speter		cf/cf/hpux-cs-hidden.mc
747538032Speter		cf/cf/knecht.mc
747638032Speter		cf/cf/osf1-cs-hidden.mc
747738032Speter		cf/cf/sunos3.5-cs-exposed.mc
747838032Speter		cf/cf/sunos3.5-cs-hidden.mc
747938032Speter		cf/cf/sunos4.1-cs-hidden.mc
748038032Speter		cf/cf/ultrix4.1-cs-hidden.mc
748138032Speter		cf/domain/cs-hidden.m4
748238032Speter		contrib/rcpt-streaming
748338032Speter		src/Makefiles/Makefile.SunOS.5.x
748438032Speter
748564562Sgshapiro8.6.13/8.6.12	1996/01/25
748638032Speter	SECURITY: In some cases it was still possible for an attacker to
748738032Speter		insert newlines into a queue file, thus allowing access to
748838032Speter		any user (except root).
748938032Speter	CONFIG: no changes -- it is not a bug that the configuration
749038032Speter		version number is unchanged.
749138032Speter
749264562Sgshapiro8.6.12/8.6.12	1995/03/28
749338032Speter	Fix to IDENT code (it was getting the size of the reply buffer
749438032Speter		too small, so nothing was ever accepted).  Fix from several
749538032Speter		people, including Allan Johannesen, Shane Castle of the
749638032Speter		Boulder County Information Services, and Jeff Smith of
749738032Speter		Warwick University (all arrived within a few hours of
749838032Speter		each other!).
749938032Speter	Fix a problem that could cause large jobs to run out of
750038032Speter		file descriptors on systems that use vfork() rather
750138032Speter		than fork().
750238032Speter
750364562Sgshapiro8.6.11/8.6.11	1995/03/08
750438032Speter	The ``possible attack'' message would be logged more often
750538032Speter		than necessary if you are using Pine as a user agent.
750638032Speter	The wrong host would be reported in the ``possible attack''
750738032Speter		message when attempted from IDENT.
750838032Speter	In some cases the syslog buffer could be overflowed when
750938032Speter		reporting the ``possible attack'' message.  This can
751038032Speter		cause denial of service attacks.  Truncate the message
751138032Speter		to 80 characters to prevent this problem.
751238032Speter	When reading the IDENT response a loop is needed around the
751338032Speter		read from the network to ensure that you don't get
751438032Speter		partial lines.
751538032Speter	Password entries without any shell listed (that is, a null
751638032Speter		shell) wouldn't match as "ok".  Problem noted by
751738032Speter		Rob McMahon.
751838032Speter	When running BIND 4.9.x a problem could occur because the
751938032Speter		_res.options field is initialized differently than it
752038032Speter		was historically -- this requires that sendmail call
752138032Speter		res_init before it tweaks any bits.
752238032Speter	Fix an incompatibility in openxscript() between the file open mode
752338032Speter		and the stdio mode passed to fdopen.  This caused UnixWare
752438032Speter		2.0 to have conniptions.  Fix from Martin Sohnius of
752538032Speter		Novell Labs Europe.
752638032Speter	Fix problem with static linking of local getopt routine when
752738032Speter		using GNU's ld command.  Fix from John Kennedy of
752838032Speter		Cal State Chico.
752938032Speter	It was possible to turn off privacy flags.  Problem noted by
753038032Speter		*Hobbit*.
753138032Speter	Be more paranoid about writing files.  Suggestions by *Hobbit*
753238032Speter		and Liudvikas Bukys.
753338032Speter	MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
753438032Speter		from Spider Boardman.
753538032Speter	CONFIG: No changes (version number only, to keep it in sync
753638032Speter		with the binaries).
753738032Speter
753864562Sgshapiro8.6.10/8.6.10	1995/02/10
753938032Speter	SECURITY: Diagnose bogus values to some command line flags that
754038032Speter		could allow trash to get into headers and qf files.
754138032Speter	Validate the name of the user returned by the IDENT protocol.
754238032Speter		Some systems that really dislike IDENT send intentionally
754338032Speter		bogus information.  Problem pointed out by Michael Bushnell
754438032Speter		of the Free Software Foundation.  Has some security
754538032Speter		implications.
754638032Speter	Fix a problem causing error messages about DNS problems when
754738032Speter		the host name contained a percent sign to act oddly
754838032Speter		because it was passed as a printf-style format string.
754938032Speter		In some cases this could cause core dumps.
755038032Speter	Avoid possible buffer overrun in returntosender() if error
755138032Speter		message is quite long.  From Fletcher Mattox of the
755238032Speter		University of Texas.
755338032Speter	Fix a problem that would silently drop "too many hops" error
755438032Speter		messages if and only if you were sending to an alias.
755538032Speter		From Jon Giltner of the University of Colorado and
755638032Speter		Dan Harton of Oak Ridge National Laboratory.
755738032Speter	Fix a bug that caused core dumps on some systems if -d11.2 was
755838032Speter		set and e->e_message was null.  Fix from Bruce Nagel of
755938032Speter		Data General.
756038032Speter	Fix problem that can still cause df files to be left around
756138032Speter		after "hop count exceeded" messages.  Fix from Andrew
756238032Speter		Chang and Shau-Ping Lo of SunSoft.
756338032Speter	Fix a problem that can cause buffer overflows on very long
756438032Speter		user names (as might occur if you piped to a program
756538032Speter		with a lot of arguments).
756638032Speter	Avoid returning an error and re-queueing if the host signature
756738032Speter		is null; this can occur on addresses like ``user@.''.
756838032Speter		Problem noted by Wesley Craig and the University of
756938032Speter		Michigan.
757038032Speter	Avoid possible calls to malloc(0) if MCI caching is turned
757138032Speter		off.  Bug fix from Pierre David of the Laboratoire
757238032Speter		Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
757338032Speter		Universite de Versailles - St Quentin, and Jacky
757438032Speter		Thibault.
757538032Speter	Make a local copy of the line being sent via senttolist() -- in
757638032Speter		some cases, buffers could get trashed by map lookups
757738032Speter		causing it to do unexpected things.  This also simplifies
757838032Speter		some of the map code.
757938032Speter	CONFIG: No changes (version number only, to keep it in sync
758038032Speter		with the binaries).
758138032Speter
758264562Sgshapiro8.6.9/8.6.9	1994/04/19
758338032Speter	Do all mail delivery completely disconnected from any terminal.
758438032Speter		This provides consistency with daemon delivery and
758538032Speter		may have some security implications.
758638032Speter	Make sure that malloc doesn't get called with zero size,
758738032Speter		since that fails on some systems.  Reported by Ed
758838032Speter		Hill of the University of Iowa.
758938032Speter	Fix multi-line values for $e (SMTP greeting message).  Reported
759038032Speter		by Mike O'Connor of Ford Motor Company.
759138032Speter	Avoid syserr if no NIS domain name is defined, but the map it
759238032Speter		is trying to open is optional.  From Win Bent of USC.
759338032Speter	Changes for picky compilers from Ed Gould of Digital Equipment.
759438032Speter	Hesiod support for UDB from Todd Miller of the University of
759538032Speter		Colorado.  Use "hesiod" as the service name in the U
759638032Speter		option.
759738032Speter	Fix a problem that failed to set the "authentic" host name (that
759838032Speter		is, the one derived from the socket info) if you called
759938032Speter		sendmail -bs from inetd.  Based on code contributed by
760038032Speter		Todd Miller (this problem was also reported by Guy Helmer
760138032Speter		of Dakota State University).  This also fixes a related
760238032Speter		problem reported by Liudvikas Bukys of the University of
760338032Speter		Rochester.
760438032Speter	Parameterize "nroff -h" in all the Makefiles so people with
760538032Speter		variant versions can use them easily.  Suggested by
760638032Speter		Peter Collinson of Hillside Systems.
760738032Speter	SMTP "MAIL" commands with multiple ESMTP parameters required two
760838032Speter		spaces between parameters instead of one.  Reported by
760938032Speter		Valdis Kletnieks of Virginia Tech.
761038032Speter	Reduce the number of system calls during message collection by
761138032Speter		using global timeouts around the collect() loop.  This
761238032Speter		code was contributed by Eric Wassenaar.
761338032Speter	If the initial hostname name gathering results in a name
761438032Speter		without a dot (usually caused by NIS misconfiguration)
761538032Speter		and BIND is compiled in, directly access DNS to get
761638032Speter		the canonical name.  This should make life easier for
761738032Speter		Solaris systems.  If it still can't be resolved, and
761838032Speter		if the name server is listed as "required", try again
761938032Speter		in 30 seconds.  If that also fails, exit immediately to
762038032Speter		avoid bogus "config error: mail loops back to myself"
762138032Speter		messages.
762238032Speter	Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
762338032Speter		message to explain how much space was available and
762438032Speter		sound a bit less threatening.  Suggested by Stan Janet
762538032Speter		of the National Institute of Standards and Technology.
762638032Speter	If mail is delivered to an alias that has an owner, deliver any
762738032Speter		requested return-receipt immediately, and strip the
762838032Speter		Return-Receipt-To: header from the subsequent message.
762938032Speter		This prevents a certain class of denial of service
763038032Speter		attack, arguably gives more reasonable semantics, and
763138032Speter		moves things more towards what will probably become a
763238032Speter		network standard.  Suggested by Christopher Davis of
763338032Speter		Kapor Enterprises.
763438032Speter	Add a "noreceipts" privacy flag to turn off all return receipts
763538032Speter		without recompiling.
763638032Speter	Avoid printing ESMTP parameters as part of the error message
763738032Speter		if there are errors during parsing.  This change is
763838032Speter		purely cosmetic.
763938032Speter	Avoid sending out error messages during the collect phase of
764038032Speter		SMTP; there is an MVS mailer from UCLA that gets
764138032Speter		confused by this.  Of course, I think it's their bug....
764238032Speter	Check for the $j macro getting undefined, losing a dot, or getting
764338032Speter		lost from $=w in the daemon before accepting a connection;
764438032Speter		if it is, it dumps state, prints a LOG_ALERT message,
764538032Speter		and drops core for debugging.  This is an attempt to
764638032Speter		track down a bug that I thought was long since gone.
764738032Speter		If you see this, please forward the log fragment to
764838032Speter		sendmail@sendmail.ORG.
764938032Speter	Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
765038032Speter		with -DOLD_NEWDB=0 on the command line.  From Christophe
765138032Speter		Wolfhugel.
765238032Speter	Instead of trying to truncate the listen queue for the server
765338032Speter		SMTP port when the load average is too high, just close
765438032Speter		the port completely and reopen it later as needed.
765538032Speter		This ensures that the other end gets a quick "connection
765638032Speter		refused" response, and that the connection can be
765738032Speter		recovered later.  In particular, some socket emulations
765838032Speter		seem to get confused if you tweak the listen queue
765938032Speter		size around and can never start listening to connections
766038032Speter		again.  The down side is that someone could start up
766138032Speter		another daemon process in the interim, so you could
766238032Speter		have multiple daemons all not listening to connections;
766338032Speter		this could in turn cause the sendmail.pid file to be
766438032Speter		incorrect.  A better approach might be to accept the
766538032Speter		connection and give a 421 code, but that could break
766643730Speter		other mailers in mysterious ways and have paging behavior
766738032Speter		implications.
766838032Speter	Fix a glitch in TCP-level debugging that caused flag 16.101 to
766938032Speter		set debugging on the wrong socket.  From Eric Wassenaar.
767038032Speter	When creating a df* temporary file, be sure you truncate any
767138032Speter		existing data in the file -- otherwise system crashes
767238032Speter		and the like could result in extra data being sent.
767338032Speter	DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
767438032Speter		doc directory.  This includes some additional
767538032Speter		information.
767638032Speter	CONFIG: change UUCP rules to never add $U! or $k! on the front
767738032Speter		of recipient envelope addresses.  This should have been
767838032Speter		handled by the $&h trick, but broke if people were
767938032Speter		mixing domainized and UUCP addresses.  They should
768038032Speter		probably have converted all the way over to uucp-uudom
768138032Speter		instead of uucp-{new,old}, but the failure mode was to
768238032Speter		loop the mail, which was bad news.
768338032Speter	Portability fixes:
768438032Speter		Newer BSDI systems (several people).
768538032Speter		Older BSDI systems from Christophe Wolfhugel.
768638032Speter		Intergraph CLIX, from Paul Southworth of CICNet.
768738032Speter		UnixWare, from Evan Champion.
768838032Speter		NetBSD from Adam Glass.
768938032Speter		Solaris from Quentin Campbell of the University of
769038032Speter			Newcastle upon Tyne.
769138032Speter		IRIX from Dean Cookson and Bill Driscoll of Mitre
769238032Speter			Corporation.
769338032Speter		NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
769438032Speter		SunOS (it has setsid() and setvbuf() calls) from
769538032Speter			Jonathan Kamens of OpenVision Technologies.
769638032Speter		HP-UX from Tor Lillqvist.
769738032Speter	New Files:
769838032Speter		src/Makefile.CLIX
769938032Speter		src/Makefile.NCR3000
770038032Speter		doc/changes/Makefile
770138032Speter		doc/changes/changes.me
770238032Speter		doc/changes/changes.ps
770338032Speter
770464562Sgshapiro8.6.8/8.6.6	1994/03/21
770538032Speter	SECURITY: it was possible to read any file as root using the
770638032Speter		E (error message) option.  Reported by Richard Jones;
770738032Speter		fixed by Michael Corrigan and Christophe Wolfhugel.
770838032Speter
770964562Sgshapiro8.6.7/8.6.6	1994/03/14
771038032Speter	SECURITY: it was possible to get root access by using weird
771138032Speter		values to the -d flag.  Thanks to Alain Durand of
771238032Speter		INRIA for forwarding me the notice from the bugtraq
771338032Speter		list.
771438032Speter
771564562Sgshapiro8.6.6/8.6.6	1994/03/13
771638032Speter	SECURITY: the ability to give files away on System V-based
771738032Speter		systems proved dangerous -- don't run as the owner
771838032Speter		of a :include: file on a system that allows giveaways.
771938032Speter		Unfortunately, this also applies to determining a
772038032Speter		valid shell.
772138032Speter	IMPORTANT: Previous versions weren't expiring old connections
772238032Speter		in the connection cache for a long time under some
772338032Speter		circumstances.  This could result in resource exhaustion,
772438032Speter		both at your end and at the other end.  This checks the
772538032Speter		connections for timeouts much more frequently.  From
772638032Speter		Doug Anderson of NCSC.
772738032Speter	Fix a glitch that snuck in that caused programs to be run as
772838032Speter		the sender instead of the recipient if the mail was
772938032Speter		from a local user to another local user.  From
773038032Speter		Motonori Nakamura of Kyoto University.
773138032Speter	Fix "wildcard" on /etc/shells matching -- instead of looking
773238032Speter		for "*", look for "/SENDMAIL/ANY/SHELL/".  From
773338032Speter		Bryan Costales of ICSI.
773438032Speter	Change the method used to declare the "statfs" availability;
773538032Speter		instead of HASSTATFS and/or HASUSTAT with a ton of
773638032Speter		tweaking in conf.c, there is a single #define called
773738032Speter		SFS_TYPE which takes on one of six values (SFS_NONE
773838032Speter		for no statfs availability, SFS_USTAT for the ustat(2)
773938032Speter		syscall, SFS_4ARGS for a four argument statfs(2) call,
774038032Speter		and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
774138032Speter		statfs(2) call with the declarations in <sys/vfs.h>,
774238032Speter		<sys/mount.h>, or <sys/statfs.h> respectively).
774338032Speter	Fix glitch in NetInfo support that could return garbage if
774438032Speter		there was no "/locations/sendmail" property.  From
774538032Speter		David Meyer of the University of Virginia.
774638032Speter	Change HASFLOCK from defined/not-defined to a 0/1 definition
774738032Speter		to allow Linux to turn it off even though it is a
774838032Speter		BSD-like system.
774938032Speter	Allow setting of "ident" timeout to zero to turn off the ident
775038032Speter		protocol entirely.
775138032Speter	Make 7-bit stripping local to a connection (instead of to a
775238032Speter		mailer); this allows you to specify that SMTP is a
775338032Speter		7-bit channel, but revert to 8-bit should it advertise
775438032Speter		that it supports 8BITMIME.  You still have to specify
775538032Speter		mailer flag 7 to get this stripping at all.
775638032Speter	Improve makesendmail script so it handles more cases automatically.
775738032Speter	Tighten up restrictions on taking ownership of :include: files
775838032Speter		to avoid problems on systems that allow you to give away
775938032Speter		files.
776038032Speter	Fix a problem that made it impossible to rebuild the alias
776138032Speter		file if it was on a read-only file system.  From
776238032Speter		Harry Edmon of the University of Washington.
776338032Speter	Improve MX randomization function.  From John Gardiner Myers
776438032Speter		of CMU.
776538032Speter	Fix a minor glitch causing a bogus message to be printed (used
776638032Speter		%s instead of %d in a printf string for the line number)
776738032Speter		when a bad queue file was read.  From Harry Edmon.
776838032Speter	Allow $s to remain NULL on locally generated mail.  I'm not
776938032Speter		sure this is necessary, but a lot of people have complained
777038032Speter		about it, and there is a legitimate question as to whether
777138032Speter		"localhost" is legal as an 822-style domain.
777238032Speter	Fix a problem with very short line lengths (mailer L= flag) in
777338032Speter		headers.  This causes a leading space to be added onto
777438032Speter		continuation lines (including in the body!), and also
777538032Speter		tries to wrap headers containing addresses (From:, To:,
777638032Speter		etc) intelligently at the shorter line lengths.  Problem
777738032Speter		Reported by Lars-Johan Liman of SUNET Operations Center.
777838032Speter	Log the real user name when logging syserrs, since these can have
777938032Speter		security implications.  Suggested by several people.
778038032Speter	Fix address logging of cached connections -- it used to always
778138032Speter		log the numeric address as zero.  This is a somewhat
778238032Speter		bogus implementation in that it does an extra system
778338032Speter		call, but it should be an inexpensive one.  Fix from
778438032Speter		Motonori Nakamura.
778538032Speter	Tighten up handling of short syslog buffers even more -- there
778638032Speter		were cases where the outgoing relay= name was too long
778738032Speter		to share a line with delay= and mailer= logging.
778838032Speter	Limit the overhead on split envelopes to one open file descriptor
778938032Speter		per envelope -- previously the overhead was three
779038032Speter		descriptors.  This was in response to a problem reported
779138032Speter		by P{r (Pell) Emanuelsson.
779238032Speter	Fixes to better handle the case of unexpected connection closes;
779338032Speter		this redirects the output to the transcript so the info
779438032Speter		is not lost.  From Eric Wassenaar.
779538032Speter	Fix potential string overrun if you macro evaluate a string that
779638032Speter		has a naked $ at the end.  Problem noted by James Matheson
779738032Speter		<jmrm@eng.cam.ac.uk>.
779838032Speter	Make default error number on $#error messages 553 (``Requested
779938032Speter		action not taken: mailbox name not allowed'') instead of
780038032Speter		501 (``Syntax error in parameters or arguments'') to
780138032Speter		avoid bogus "protocol error" messages.
780238032Speter	Strip off any existing trailing dot on names during $[ ... $]
780338032Speter		lookup.  This prevents it from ending up with two dots
780438032Speter		on the end of dot terminated names.  From Wesley Craig
780538032Speter		of the University of Michigan and Bryan Costales of ICSI.
780638032Speter	Clean up file class reading so that the debugging information is
780738032Speter		more informative.  It hadn't been using setclass, so you
780838032Speter		didn't see the class items being added.
780938032Speter	Avoid core dump if you are running a version of sendmail where
781038032Speter		NIS is compiled in, and you specify an NIS map, but
781138032Speter		NIS is not running.  Fix from John Oleynick of
781238032Speter		Rutgers.
781338032Speter	Diagnose bizarre case where res_search returns a failure value,
781438032Speter		but sets h_errno to a success value.
781538032Speter	Make sure that "too many hops" messages are considered important
781638032Speter		enough to send an error to the Postmaster (that is, the
781738032Speter		address specified in the P option).  This fix should
781838032Speter		help problems that cause the df file to be left around
781938032Speter		sometimes -- unfortunately, I can't seem to reproduce
782038032Speter		the problem myself.
782138032Speter	Avoid core dump (null pointer reference) on EXPN command; this
782238032Speter		only occurred if your log level was set to 10 or higher
782338032Speter		and the target account was an alias or had a .forward file.
782438032Speter		Problem noted by Janne Himanka.
782538032Speter	Avoid "denial of service" attacks by someone who is flooding your
782638032Speter		SMTP port with bad commands by shutting the connection
782738032Speter		after 25 bad commands are issued.  From Kyle Jones of
782838032Speter		UUNET.
782938032Speter	Fix core dump on error messages with very long "to" buffers;
783038032Speter		fmtmsg overflows the message buffer.  Fixed by trimming
783138032Speter		the to address to 203 characters.  Problem reported by
783238032Speter		John Oleynick.
783338032Speter	Fix configuration for HASFLOCK -- there were some spots where
783438032Speter		a #ifndef was incorrectly #ifdef.  Pointed out by
783538032Speter		George Baltz of the University of Maryland.
783638032Speter	Fix a typo in savemail() that could cause the error message To:
783738032Speter		lists to be incorrect in some places.  From Motonori
783838032Speter		Nakamura.
783938032Speter	Fix a glitch that can cause duplicate error messages on split
784038032Speter		envelopes where an address on one of the lists has a
784138032Speter		name server failure.  Fix from Voradesh Yenbut of the
784238032Speter		University of Washington.
784338032Speter	Fix possible bogus pointer reference on ESMTP parameters that
784438032Speter		don't have an ``=value'' part.
784538032Speter	CNAME loops caused an error message to be generated, but also
784638032Speter		re-queued the message.  Changed to just re-queue the
784738032Speter		message (it's really hard to just bounce it because
784838032Speter		of the weird way the name server works in the presence
784938032Speter		of CNAME loops).  Problem noted by James M.R.Matheson
785038032Speter		of Cambridge University.
785138032Speter	Avoid giving ``warning: foo owned process doing -bs'' messages
785238032Speter		if they use ``MAIL FROM:<foo>'' where foo is their true
785338032Speter		user name.  Suggested by Andreas Stolcke of ICSI.
785438032Speter	Change the NAMED_BIND compile flag to be a 0/1 flag so you can
785538032Speter		override it easily in the Makefile -- that is, you can
785638032Speter		turn it off using -DNAMED_BIND=0.
785738032Speter	If a gethostbyname(...) of an address with a trailing dot fails,
785838032Speter		try it without the trailing dot.  This is because if
785938032Speter		you have a version of gethostbyname() that falls back
786038032Speter		to NIS or the /etc/hosts file it will fail to find
786138032Speter		perfectly reasonable names that just don't happen to
786238032Speter		be dot terminated in the hosts file.  You don't want to
786338032Speter		strip the dot first though because we're trying to ensure
786438032Speter		that country names that match one of your subdomains get
786538032Speter		a chance.
786638032Speter	PRALIASES: fix bogus output on non-null-terminated strings.
786738032Speter		From Bill Gianopoulos of Raytheon.
786838032Speter	CONFIG: Avoid rewriting anything that matches $w to be $j.
786938032Speter		This was in code intended to only catch the self-literal
787038032Speter		address (that is, [1.2.3.4], where 1.2.3.4 is your
787138032Speter		IP address), but the code was broken.  However, it will
787238032Speter		still do this if $M is defined; this is necessary to
787338032Speter		get client configurations to work (sigh).  Note that this
787438032Speter		means that $M overrides :mailname entries in the user
787538032Speter		database!  Problem noted by Paul Southworth.
787638032Speter	CONFIG: Fix definition of Solaris help file location.  From
787738032Speter		Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
787838032Speter	CONFIG: Fix bug that broke news.group.USENET mappings.
787938032Speter	CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
788038032Speter		and USENET_MAILER_MAX to tweak the maximum message
788138032Speter		size for various mailers.
788238032Speter	CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
788338032Speter		instead of assuming that it is "inews" for consistency
788438032Speter		with other mailers.  From Michael Corrigan of UC San Diego.
788538032Speter	CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
788638032Speter		qualify the address in the SMTP envelope as user@{relay|hub}
788738032Speter		instead of user@$j.  From Bill Wisner of The Well.
788838032Speter	CONFIG: Fix route-addr syntax in nullrelay configuration set.
788938032Speter	CONFIG: Don't turn off case mapping of user names in the local
789038032Speter		mailer for IRIX.  This was different than most every other
789138032Speter		system.
789238032Speter	CONFIG: Avoid infinite loops on certainly list:; syntaxes in
789338032Speter		envelope.  Noted by Thierry Besancon
789438032Speter		<besancon@excalibur.ens.fr>.
789538032Speter	CONFIG: Don't include -z by default on uux line -- most systems
789638032Speter		don't want it set by default.  Pointed out by Philippe
789738032Speter		Michel of Thomson CSF.
789838032Speter	CONFIG: Fix some bugs with mailertables -- for example, if your
789938032Speter		host name was foo.bar.ray.com and you matched against
790038032Speter		".ray.com", the old implementation bound %1 to "bar"
790138032Speter		instead of "foo.bar".  Also, allow "." in the mailertable
790238032Speter		to match anything -- essentially, take over SMART_HOST.
790338032Speter		This also moves matching of explicit local host names
790438032Speter		before the mailertable so they don't have to be special
790538032Speter		cased in the mailertable data.  Reported by Bill
790638032Speter		Gianopoulos of Raytheon; the fix for the %1 binding
790738032Speter		problem was contributed by Nicholas Comanos of the
790838032Speter		University of Sydney.
790938032Speter	CONFIG: Don't include "root" in class $=L (users to deliver
791038032Speter		locally, even if a hub or relay exists) by default.
791138032Speter		This is because of the known bug where definition of
791238032Speter		both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
791338032Speter		both and deliver into the local mailbox.
791438032Speter	CONFIG: Move up bitdomain and uudomain handling so that they
791538032Speter		are done before .UUCP class matching; uudomain was
791638032Speter		reported as ineffective before.  This also frees up
791738032Speter		diversion 8 for future use.  Problem reported by Kimmo
791838032Speter		Suominen.
791938032Speter	CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
792038032Speter		into host names.  As pointed out by Jonathan Kamens,
792138032Speter		these are often used because either the forward or reverse
792238032Speter		mapping is broken; this translation makes it broken again.
792338032Speter	DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
792438032Speter		Suominen.
792538032Speter	Portability fixes:
792638032Speter		Unicos from David L. Kensiski of Sterling Software.
792738032Speter		DomainOS from Don Lewis of Silicon Systems.
792838032Speter		GNU m4 1.0.3 from Karst Koymans of Utrecht University.
792938032Speter		Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
793038032Speter		NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
793138032Speter		BSD/386 from Tony Sanders of BSDI.
793238032Speter		Apollo from Eric Wassenaar.
793338032Speter		DGUX from Doug Anderson.
793438032Speter		Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
793538032Speter	NEW FILES:
793638032Speter		src/Makefile.DomainOS
793738032Speter		src/Makefile.PTX
793838032Speter		src/Makefile.SunOS.5.1
793938032Speter		src/Makefile.SunOS.5.2
794038032Speter		src/Makefile.SunOS.5.x
794138032Speter		src/mailq.1
794238032Speter		cf/ostype/domainos.m4
794338032Speter		doc/op/Makefile
794438032Speter		doc/intro/Makefile
794538032Speter		doc/usenix/Makefile
794638032Speter
794764562Sgshapiro8.6.5/8.6.5	1994/01/13
794838032Speter	Security fix:  /.forward could be owned by anyone (the test
794938032Speter		to allow root to own any file was backwards).  From
795038032Speter		Bob Campbell at U.C. Berkeley.
795138032Speter	Security fix: group ids were not completely set when programs
795238032Speter		were invoked.  This caused programs to have group
795338032Speter		permissions they should not have had (usually group
795438032Speter		daemon instead of their own group).  In particular,
795538032Speter		Perl scripts would refuse to run.
795638032Speter	Security: check to make sure files that are written are not
795738032Speter		symbolic links (at least under some circumstances).
795838032Speter		Although this does not respond to a specific known
795938032Speter		attack, it's just a good idea.  Suggested by
796038032Speter		Christian Wettergren.
796138032Speter	Security fix: if a user had an NFS mounted home directory on
796238032Speter		a system with a restricted shell listed in their
796338032Speter		/etc/passwd entry, they could still execute any
796438032Speter		program by putting that in their .forward file.
796538032Speter		This fix prevents that by insisting that their shell
796638032Speter		appear in /etc/shells before allowing a .forward to
796738032Speter		execute a program or write a file.  You can disable
796838032Speter		this by putting "*" in /etc/shells.  It also won't
796938032Speter		permit world-writable :include: files to reference
797038032Speter		programs or files (there's no way to disable this).
797143730Speter		These behaviors are only one level deep -- for
797238032Speter		example, it is legal for a world-writable :include:
797338032Speter		file to reference an alias that writes a file, on
797438032Speter		the assumption that the alias file is well controlled.
797538032Speter	Security fix: root was not treated suspiciously enough when
797638032Speter		looking into subdirectories.  This would potentially
797738032Speter		allow a cracker to examine files that were publicly
797838032Speter		readable but in a non-publicly searchable directory.
797938032Speter	Fix a problem that causes an error on QUIT on a cached
798038032Speter		connection to create problems on the current job.
798138032Speter		These are typically unrelated, so errors occur in
798238032Speter		the wrong place.
798338032Speter	Reset CurrentLA in sendall() -- this makes sendmail queue
798438032Speter		runs more responsive to load average, and fixes a
798538032Speter		problem that ignored the load average in locally
798638032Speter		generated mail.  From Eric Wassenaar.
798738032Speter	Fix possible core dump on aliases with null LHS.  From
798838032Speter		John Orthoefer of BB&N.
798938032Speter	Revert to using flock() whenever possible -- there are just
799038032Speter		too many bugs in fcntl() locking, particularly over
799138032Speter		NFS, that cause sendmail to fail in perverse ways.
799238032Speter	Fix a bug that causes the connection cache to get confused
799338032Speter		when sending error messages.  This resulted in
799438032Speter		"unexpected close" messages.  It should fix itself
799538032Speter		on the following queue run.  Problem noted by
799638032Speter		Liudvikas Bukys of the University of Rochester.
799738032Speter	Include $k in $=k as documented in the Install & Op Guide.
799838032Speter		This seems odd, but it was documented....  From
799938032Speter		Michael Corrigan of UCSD.
800038032Speter	Fix problem that caused :include:s from alias files to be
800138032Speter		forced to be owned by root instead of daemon
800238032Speter		(actually DefUid).  From Tim Irvin.
800338032Speter	Diagnose unrecognized I option values -- from Mortin Forssen
800438032Speter		of the Chalmers University of Technology.
800538032Speter	Make "error" mailer work consistently when there is no error
800638032Speter		code associated with it -- previously it returned OK
800738032Speter		even though there was a real problem.  Now it assumes
800838032Speter		EX_UNAVAILABLE.
800938032Speter	Fix bug that caused the last header line of messages that had
801038032Speter		no body and which were terminated with EOF instead of
801138032Speter		"." to be discarded.  Problem noted by Liudvikas Bukys.
801238032Speter	Fix core dump on SMTP mail to programs that failed -- it tried
801338032Speter		to go to a "next MX host" when none existed, causing
801438032Speter		a core dump.  From der Mouse at McGill University.
801538032Speter	Change IDENTPROTO from a defined/not defined to a 0/1 switch;
801638032Speter		this makes it easier to turn it off (using
801738032Speter		-DIDENTPROTO=0 in the Makefile).  From der Mouse.
801838032Speter	Fix YP_MASTER_NAME store to use the unupdated result of
801938032Speter		gethostname() (instead of myhostname(), which tries
802038032Speter		to fully qualify the name) to be consistent with
802138032Speter		SunOS.  If your hostname is unqualified, this fixes
802238032Speter		transfers to slave servers.  Bug noted by Keith
802338032Speter		McMillan of Ameritech Services, Inc.
802438032Speter	Fix Ultrix problem: gethostbyname() can return a very large
802538032Speter		(> 500) h_length field, which causes the sockaddr
802638032Speter		to be trashed.  Use the size of the sockaddr instead.
802738032Speter		Fix from Bob Manson of Ohio State.
802838032Speter	Don't assume "-a." on host lookups if NAMED_BIND is not
802938032Speter		defined -- this confuses gethostbyname on hosts
803038032Speter		file lookups, which doesn't understand the trailing
803138032Speter		dot convention.
803238032Speter	Log SMTP server subprocesses that die with a signal instead
803338032Speter		of from a clean exit.
803438032Speter	If you don't have option "I" set, don't assume that a DNS
803538032Speter		"host unknown" message is authoritative -- it
803638032Speter		might still be found in /etc/hosts.
803738032Speter	Fix a problem that would cause Deferred: messages to be sent
803838032Speter		as the subject of an error message, even though the
803938032Speter		actual cause of a message was more severe than that.
804038032Speter		Problem noted by Chris Seabrook of OSSI.
804138032Speter	Fix race condition in DBM alias file locking.  From Kyle
804238032Speter		Jones of UUNET.
804338032Speter	Limit delivery syslog line length to avoid bugs in some
804438032Speter		versions of syslog(3).  This adds a new compile time
804538032Speter		variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
804638032Speter		University, which is in turn derived from IDA.
804738032Speter	Fix quotes inside of comments in addresses -- previously
804838032Speter		it insisted that they be balanced, but the 822 spec
804938032Speter		says that they should be ignored.
805038032Speter	Dump open file state to syslog upon receiving SIGUSR1 (for
805138032Speter		debugging).  This also evaluates ruleset 89, if set
805238032Speter		(with the null input), and logs the result.  This
805338032Speter		should be used sparingly, since the rewrite process
805438032Speter		is not reentrant.
805538032Speter	Change -qI, -qR, and -qS flags to be case-insensitive as
805638032Speter		documented in the Bat Book.
805738032Speter	If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
805838032Speter		return an error message and did not requeue the message.
805938032Speter		Fix based on code from Roland Dirlewanger of
806038032Speter		Reseau Regional Aquarel, Bordeaux, France.
806138032Speter	Fix a problem that caused a seg fault if you got a 421 error
806238032Speter		code during some parts of connection initialization.
806338032Speter		I've only seen this when talking to buggy mailers on
806438032Speter		the other end, but it shouldn't give a seg fault in
806538032Speter		any case.  From Amir Plivatsky.
806638032Speter	Fix core dump caused by a ruleset call that returns null.
806738032Speter		Fix from Bryan Costales of ICSI.
806838032Speter	Full-Name: field was being ignored.  Fix from Motonori Nakamura
806938032Speter		of Kyoto University.
807038032Speter	Fix a possible problem with very long input lines in setproctitle.
807138032Speter		From P{r Emanuelsson.
807238032Speter	Avoid putting "This is a warning message" out on return receipts.
807338032Speter		Suggested by Douglas Anderson.
807438032Speter	Detect loops caused by recursive ruleset calls.  Suggested by
807538032Speter		Bryan Costales.
807638032Speter	Initialize non-alias maps during alias rebuilds -- they may be
807738032Speter		needed for parsing.  Problem noted by Douglas Anderson.
807838032Speter	Log sender address even if no message was collected in SMTP
807938032Speter		(e.g., if all RCPTs failed).  Suggested by Motonori
808038032Speter		Nakamura.
808138032Speter	Don't reflect the owner-list contents into the envelope sender
808238032Speter		address if the value contains ", :, /, or | (to avoid
808338032Speter		illegal addresses appearing there).
808438032Speter	Efficiency hack for toktype macro -- from Craig Partridge of
808538032Speter		BB&N.
808638032Speter	Clean up DNS error printing so that a host name is always
808738032Speter		included.
808838032Speter	Remember to set $i during queue runs.  Reported by Stephen
808938032Speter		Campbell of Dartmouth University.
809038032Speter	If the environment variable HOSTALIASES is set, use it during
809138032Speter		canonification as the name of a file with per-user host
809238032Speter		translations so that headers are properly mapped.  Reported
809338032Speter		by Anne Bennett of Concordia University.
809438032Speter	Avoid printing misleading error message if SMTP mailer (not
809538032Speter		using [IPC]) should die on a core dump.
809638032Speter	Avoid incorrect diagnosis of "file 1 closed" when it is caused
809738032Speter		by the other end closing the connection.  From
809838032Speter		Dave Morrison of Oracle.
809938032Speter	Improve several of the error messages printed by "mailq"
810038032Speter		to include a host name or other useful information.
810138032Speter	Add NetInfo preliminary support for NeXT systems.  From Vince
810238032Speter		DeMarco.
810338032Speter	Fix a glitch that sometimes caused :include:s that pointed to
810438032Speter		NFS filesystems that were down to give an "aliasing/
810538032Speter		forwarding loop broken" message instead of queueing
810638032Speter		the message for retry.  Noted by William C Fenner of
810738032Speter		the NRL Connection Machine Facility.
810838032Speter	Fix a problem that could cause a core dump if the input sequence
810938032Speter		had (or somehow acquired) a \231 character.
811038032Speter	Make sure that route-addrs always have <angle brackets> around
811138032Speter		them in non-SMTP envelopes (SMTP envelopes already do
811238032Speter		this properly).
811338032Speter	Avoid weird headers on unbalanced punctuation of the form:
811438032Speter		``Joe User <user)'' -- this caused reference to the
811538032Speter		null macro.  Fix from Rick McCarty of IO.COM.
811638032Speter	Fix a problem that caused an alias "user: user@local.host" to
811738032Speter		not have the QNOTREMOTE bit set; this caused configs
811838032Speter		to act as if FEATURE(notsticky) was defined even when
811938032Speter		it was not.  The effect of the problem was to make it
812038032Speter		very hard to to set up satellite sites that had a few
812138032Speter		local accounts, with everything else forwarded to a
812238032Speter		corporate hub.  Reported by Detlef Drewanz of the
812338032Speter		University of Rostock and Mark Frost of NCD.
812438032Speter	Change queuing to not call rulesets 3, {1 or 2}, 4 on header
812538032Speter		addresses.  This is more efficient (fewer name server
812638032Speter		calls) and fixes certain unusual configurations, such
812738032Speter		as those that have ruleset 4 do something that is
812838032Speter		non-idempotent unless a mailer-specific ruleset did
812938032Speter		something else.  Problem reported by Brian J. Coan
813038032Speter		of the Institute for Global Communications.
813138032Speter	Fix the "obsolete argument" routine in main to better understand
813238032Speter		new arguments.  For example, if you used ``sendmail
813338032Speter		-C config -v -q'' it would choke on the -q because
813438032Speter		the -C would stop looking for old-format arguments.
813538032Speter	Fix the code that was intended to allow two users to forward their
813638032Speter		mail to the same program and have them appear unique.
813738032Speter	Portability fixes for:
813838032Speter		SCO UNIX from Murray Kucherawy.
813938032Speter		SCO Open Server 3.2v4 from Philippe Brand.
814038032Speter		System V Release 4 from Rick Ellis and others.
814138032Speter		OSF/1 from Steve Campbell.
814238032Speter		DG/UX from Ben Mesander of the USGS and Bryan Curnutt
814338032Speter			of Stoner Associates.
814438032Speter		Motorola SysV88 from Kevin Johnson of Motorola.
814538032Speter		Solaris 2.3 from Casper H.S. Dik of the University
814638032Speter			of Amsterdam and John Caruso of University
814738032Speter			of Maryland.
814838032Speter		FreeBSD from Ollivier Robert.
814938032Speter		NetBSD from Adam Glass.
815038032Speter		TitanOS from Kate Hedstrom of Rutgers University.
815138032Speter		Irix from Bryan Curnutt.
815238032Speter		Dynix from Jim Davis of the University of Arizona.
815338032Speter		RISC/os.
815438032Speter		Linux from John Kennedy of California State University
815538032Speter			at Chico.
815638032Speter		Solaris 2.x from Tony Boner of the U.S. Air Force.
815738032Speter		NEXTSTEP 3.x from Vince DeMarco.
815838032Speter		HP-UX from various people.  NOTA BENE:  the location
815938032Speter			of the config file has moved to /usr/lib
816038032Speter			to match the HP-UX version of sendmail.
816138032Speter	CONFIG: Don't do any recipient rewriting on relay mailer;
816238032Speter		since this is intended only for internal use, the
816338032Speter		usual RFC 821/822/1123 rules can be relaxed.  The
816438032Speter		main point of this is to avoid munging (ugh) UUCP
816538032Speter		addresses when relaying internally.
816638032Speter	CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
816738032Speter		syntax addresses delivered via UUCP.  Solution
816838032Speter		provided by Peter Wemm.
816938032Speter	CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
817038032Speter		zero; it caused double @ signs in addresses.  From
817138032Speter		Irving Reid of the University of Toronto.
817238032Speter	CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
817338032Speter		from Markku Toijala of ICL Personal Systems Oy.
817438032Speter	CONFIG: Add trailing "." on pseudo-domains for consistency;
817538032Speter		this fixes a problem (noted by Al Whaley of Sunnyside)
817638032Speter		that made it hard to recognize your own pseudodomain
817738032Speter		names.
817838032Speter	CONFIG: catch "@host" syntax errors (i.e., null local-parts)
817938032Speter		rather than letting them get "local configuration
818038032Speter		error"s.  Problem noted by John Gardiner Myers.
818138032Speter	CONFIG: add uucp-uudom mailer variant, based on code posted
818238032Speter		by Spider Boardman <spider@Orb.Nashua.NH.US>; this
818338032Speter		has uucp-dom semantics but old UUCP syntax.  This
818438032Speter		also permits "uucp-old" as an alias for "uucp" and
818538032Speter		"uucp-new" as a synonym for "suucp" for consistency.
818638032Speter	CONFIG: add POP mailer support (from Kimmo Suominen
818738032Speter		<kim@grendel.lut.fi>).
818838032Speter	CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
818938032Speter	CONFIG: fix bug caused with domain literal addresses (e.g.,
819038032Speter		``[128.32.131.12]'') when FEATURE(allmasquerade)
819138032Speter		was set; it would get an additional @masquerade.host
819238032Speter		added to the address.  Problem noted by Peter Wan
819338032Speter		of Georgia Tech.
819438032Speter	CONFIG: make sure that the local UUCP name is in $=w.  From
819538032Speter		Jim Murray of Stratus.
819638032Speter	CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
819738032Speter		mailer flag.  Briefly, if you are sending to host
819838032Speter		"foo", then it rewrites "foo!...!baz" to "...!baz",
819938032Speter		"foo!baz" remains "foo!baz", and anything else has
820038032Speter		the local name prepended.
820138032Speter	CONFIG: portability fixes for HP-UX.
820238032Speter	DOC: several minor problems fixed in the Install & Op Guide.
820338032Speter	MAKEMAP: fix core dump problem on lines that are too long or
820438032Speter		which lack newline.  From Mark Delany.
820538032Speter	MAILSTATS: print sums of columns (total messages & kbytes
820638032Speter		in and out of the system).  From Tom Ferrin of UC
820738032Speter		San Francisco Computer Graphics Lab.
820838032Speter	SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
820938032Speter		On HP-UX, /etc/sendmail.cf has been moved to
821038032Speter			/usr/lib/sendmail.cf to match HP sendmail.
821138032Speter		Permissions have been tightened up on world-writable
821238032Speter			:include: files and accounts that have shells
821338032Speter			that are not listed in /etc/shells.  This may
821438032Speter			cause some .forward files that have worked
821538032Speter			before to start failing.
821638032Speter		SIGUSR1 dumps some state to the log.
821738032Speter	NEW FILES:
821838032Speter		src/Makefile.DGUX
821938032Speter		src/Makefile.Dynix
822038032Speter		src/Makefile.FreeBSD
822138032Speter		src/Makefile.Mach386
822238032Speter		src/Makefile.NetBSD
822338032Speter		src/Makefile.RISCos
822438032Speter		src/Makefile.SCO
822538032Speter		src/Makefile.SVR4
822638032Speter		src/Makefile.Titan
822738032Speter		cf/mailer/pop.m4
822838032Speter		cf/ostype/bsdi1.0.m4
822938032Speter		cf/ostype/dgux.m4
823038032Speter		cf/ostype/dynix3.2.m4
823138032Speter		cf/ostype/sco3.2.m4
823238032Speter		makemap/Makefile.dist
823338032Speter		praliases/Makefile.dist
823438032Speter
823564562Sgshapiro8.6.4/8.6.4	1993/10/31
823638032Speter	Repair core-dump problem (write to read-only memory segment)
823738032Speter		if you fall back to the return-to-Postmaster case in
823838032Speter		savemail.  Problem reported by Richard Liu.
823938032Speter	Immediately diagnose bogus sender addresses in SMTP.  This
824038032Speter		makes quite certain that crackers can't use this
824138032Speter		class of attack.
824238032Speter	Reliability Fix:  check return value from fclose() and fsync()
824338032Speter		in a few critical places.
824438032Speter	Minor problem in initsys() that reversed a condition for
824538032Speter		redirecting the output channel on queue runs.  It's
824638032Speter		not clear this code even does anything.  From Eric
824738032Speter		Wassenaar of the Dutch National Institute for Nuclear
824838032Speter		and High-Energy Physics.
824938032Speter	Fix some problems that caused queue runs to do "too much work",
825038032Speter		such as double-reading the Errors-To: header.  From
825138032Speter		Eric Wassenaar.
825238032Speter	Error messages on writing the temporary file (including the
825338032Speter		data file) were getting suppressed in SMTP -- this
825438032Speter		fix causes them to be properly reported.  From Eric
825538032Speter		Wassenaar.
825638032Speter	Some changes to support AF_UNIX sockets -- this will only
825738032Speter		really become relevant in the next release, but some
825838032Speter		people need it for local patches.  From Michael
825938032Speter		Corrigan of UC San Diego.
826038032Speter	Use dynamically allocated memory (instead of static buffers)
826138032Speter		for macros defined in initsys() and settime(); since
826238032Speter		these can have different values depending on which
826338032Speter		envelope they are in.  From Eric Wassenaar.
826438032Speter	Improve logging to show ctladdr on to= logging; this tells you
826538032Speter		what uid/gid processes ran as.
826638032Speter	Fix a problem that caused error messages to be discarded if
826738032Speter		the sender address was unparseable for some reason;
826838032Speter		this was supposed to fall back to the "return to
826938032Speter		postmaster" case.
827038032Speter	Improve aliaswait backoff algorithm.
827138032Speter	Portability patches for Linux (8.6.3 required another header
827238032Speter		file) (from Karl London) and SCO UNIX.
827338032Speter	CONFIG: patch prog mailer to not strip host name off of envelope
827438032Speter		addresses (so that it matches local again).  From
827538032Speter		Christopher Davis.
827638032Speter	CONFIG: change uucp-dom mailer so that "<>" translates to $n;
827738032Speter		this prevents uux from seeing lines with null names like
827838032Speter		``From   Sat Oct 30 14:55:31 1993''.  From Motonori
827938032Speter		Nakamura of Kyoto University.
828038032Speter	CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
828138032Speter		it shouldn't fail miserably.  From Motonori Nakamura.
828238032Speter
828364562Sgshapiro8.6.2/8.6.2	1993/10/15
828438032Speter	Put a "successful delivery" message in the transcript for
828538032Speter		addresses that get return-receipts.
828638032Speter	Put a prominent "this is only a warning" message in warning
828738032Speter		messages -- some people don't read carefully enough
828838032Speter		and end up sending the message several times.
828938032Speter	Include reason for temporary failure in the "warning" return
829038032Speter		message.  Currently, it just says "cannot send for
829138032Speter		four hours".
829238032Speter	Fix the "Original message received" time generated for
829338032Speter		returntosender messages.  It was previously listed as
829438032Speter		the current time.  Bug reported by Eric Hagberg of
829538032Speter		Cornell University Medical College.
829638032Speter	If there is an error when writing the body of a message,
829738032Speter		don't send the trailing dot and wait for a response
829838032Speter		in sender SMTP, as this could cause the connection to
829938032Speter		hang up under some bizarre circumstances.  From Eric
830038032Speter		Wassenaar.
830138032Speter	Fix some server SMTP synchronization problems caused when
830238032Speter		connections fail during message collection.  From
830338032Speter		Eric Wassenaar.
830438032Speter	Fix a problem that can cause srvrsmtp to reject mail if the
830538032Speter		name server is down -- it accepts the RCPT but rejects
830638032Speter		the DATA command.  Problem reported by Jim Murray of
830738032Speter		Stratus.
830838032Speter	Fix a problem that can cause core dumps if the config file
830938032Speter		incorrectly resolves to a null hostname.  Reported by
831038032Speter		Allan Johannesen of WPI.
831138032Speter	Non-root use of -C flag, dangerous -f flags, and use of -oQ
831238032Speter		by non-root users were not put into
831338032Speter		X-Authentication-Warning:s as intended because the
831443730Speter		config file hadn't set the PrivacyOptions yet.  Fix
831538032Speter		from Sven-Ove Westberg of the University of Lulea.
831638032Speter	Under very odd circumstances, the alias file rebuild code
831738032Speter		could get confused as to whether a database was
831838032Speter		open or not.
831938032Speter	Check "vendor code" on the end of V lines -- this is
832038032Speter		intended to provide a hook for vendor-specific
832138032Speter		configuration syntax.  (This is a "new feature",
832238032Speter		but I've made an exception to my rule in a belief
832338032Speter		that this is a highly exceptional case.)
832438032Speter	Portability fixes for DG/UX (from Douglas Anderson of NCSC),
832538032Speter		SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
832638032Speter		(from Jon Forrest of UC Berkeley)
832738032Speter	CONFIG: fix ``mailer:host'' form of UUCP relay naming.
832838032Speter
832964562Sgshapiro8.6.1/8.6	1993/10/08
833038032Speter	Portability fixes for A/UX and Encore UMAX V.
833138032Speter	Fix error message handling -- if you had a name server down
833238032Speter		causing an error during parsing, that message was never
833338032Speter		propagated to the queue file.
833438032Speter
833564562Sgshapiro8.6/8.6		1993/10/05
833638032Speter	Configuration cleanup: make it easier to undo IDENTPROTO in
833738032Speter		conf.h (other systems have the same bug).
833838032Speter	If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
833938032Speter		getdtablesize() instead of sysconf(); a disturbingly
834038032Speter		large number of systems defined _SC_OPEN_MAX in the
834138032Speter		header files but don't have the syscall.
834238032Speter	Another patch to really truly ignore MX records in getcanonname
834338032Speter		if trymx == FALSE.
834438032Speter	Fix problem that caused the "250 IAA25499 Message accepted for
834538032Speter		delivery" message to be omitted if there was an error
834638032Speter		in the header of the message (e.g., a bad Errors-To:
834738032Speter		line).  Pointed out by Michael Corrigan of UCSD.
834838032Speter	Announce name of host we are chatting when we get errors; this
834938032Speter		is an IDA-ism suggested by Christophe Wolfhugel.
835038032Speter	Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
835138032Speter		Australian Artificial Intelligence Institute), SCO Unix
835238032Speter		(from Murray Kucherawy of Hookup Communication Corp.),
835338032Speter		NeXT (from Vince DeMarco and myself), Linux (from
835438032Speter		Karl London <karl@borg.demon.co.uk>), BSDI (from
835538032Speter		Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
835638032Speter		Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
835738032Speter	Some changes to get around gcc optimizer bugs.  From Takahiro
835838032Speter		Kanbe.
835938032Speter	Fix error recovery in queueup if another tf file of the same
836038032Speter		name already exists.  Problem stumbled over by Bill
836138032Speter		Wisner of The Well.
836238032Speter	Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
836338032Speter		Problem noted by Keith McMillan of Ameritech Services.
836438032Speter	Deal with group permissions properly when opening .forward and
836538032Speter		:include: files.  This relaxes the 8.1C restrictions
836638032Speter		slightly more.  This includes proper setting of groups
836738032Speter		when reading :include: files, allowing you to read some
836838032Speter		files that you should be able to read but have previously
836938032Speter		been denied unless you owned them or they had "other"
837038032Speter		read permission.
837138032Speter	Make certain that $j is in $=w (after the .cf is read) so that
837238032Speter		if the user is forced to override some silly system,
837338032Speter		MX suppression will still work.
837438032Speter	Fix a couple of efficiency problems where newstr was double-
837538032Speter		calling expensive routines.  In at least one case, it
837638032Speter		wasn't guaranteed that they would always return the
837738032Speter		same result.  Problem noted by Christophe Wolfhugel.
837838032Speter	Fix null pointer dereference in putoutmsg -- only on an error
837938032Speter		condition from a non-SMTP mailer.  From Motonori
838038032Speter		Nakamura.
838138032Speter	Macro expand "C" line class definitions before scanning so that
838238032Speter		"CX $Z" works.
838338032Speter	Fix problem that caused error message to be sent while still
838438032Speter		trying to send the original message if the connection
838538032Speter		is closed during a DATA command after getting an error
838638032Speter		on an RCPT command (pretty obscure).  Problem reported
838738032Speter		by John Myers of CMU.
838838032Speter	Fix reply to NOOP to be 250 instead of 200 -- this is a long
838938032Speter		term bug.
839038032Speter	Fix a nasty bug causing core dumps when returning the "warning:
839138032Speter		cannot deliver for N hours -- will keep trying" message;
839243730Speter		it only occurred if you had PostmasterCopy set and
839338032Speter		only on some architectures.  Although sendmail would
839438032Speter		keep trying, it would send error messages on each
839538032Speter		queue interval.  This is an important fix.
839638032Speter	Allow u and g options to take user and group names respectively.
839738032Speter	Don't do a chdir into the queue directory in -bt mode to make
839838032Speter		ruleset testing a bit easier.
839938032Speter	Don't allow users to turn off logging (using -oL) on the command
840038032Speter		line -- command line can only raise, not lower, logging
840138032Speter		level.
840238032Speter	Set $u to the original recipient on the SMTP transaction or on
840338032Speter		the command line.  This is only done if there is exactly
840438032Speter		one recipient.  Technically, this does not meet the
840538032Speter		specs, because it does not guarantee a domain on the
840638032Speter		address.
840738032Speter	Fix a problem that dumped error messages on bad addresses if
840838032Speter		you used the -t flag.  Problem noted by Josh Smith of
840938032Speter		Harvey Mudd College.
841038032Speter	Given an address such as ``<foo> <bar>'', auto-quote the first
841138032Speter		``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
841238032Speter		avoid the problem of people who use angle brackets in
841338032Speter		their full name information.
841438032Speter	Fix a null pointer dereference if you set option "l", have
841538032Speter		an Errors-To: header in the message, and have Errors-To:
841638032Speter		defined in the config file H lines.  From J.R. Oldroyd.
841738032Speter	Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
841838032Speter		wrong when compiling.  Suggested by Rick McCarty of TI.
841938032Speter	Fix a problem that could pass negative SIZE parameter if the
842038032Speter		df file got lost; this would cause servers to always
842138032Speter		give a temporary failure, making the problem even worse.
842238032Speter		Problem noted by Allan Johannesen of WPI.
842338032Speter	Add "ident" timeout (one of the "r" option selectors) for IDENT
842438032Speter		protocol timeouts (30s default).  Requested by Murray
842538032Speter		Kucherawy of HookUp Communication Corp. to handle bogus
842638032Speter		PC TCP/IP implementations.
842738032Speter	Change $w default definition to be just the first component of
842838032Speter		the domain name on config level 5.  The $j macro defaults
842938032Speter		to the FQDN; $m remains as before.  This lets well-behaved
843038032Speter		config files use any of the short, long, or subdomain
843138032Speter		names.
843238032Speter	Add makesendmail script in src to try to automate multi-architecture
843338032Speter		builds.  I know, this is sub-optimal, but it is still
843438032Speter		helpful.
843538032Speter	Fix very obscure race condition that can cause a queue run to
843638032Speter		get a queue file for an already completed job.  This
843738032Speter		problem has existed for years.  Problem noted by the
843838032Speter		long suffering Allan Johannesen of WPI.
843938032Speter	Fix a problem that caused the raw sender name to be passed to
844038032Speter		udbsender instead of the canonified name -- this caused
844138032Speter		it to sometimes miss records that it should have found.
844238032Speter	Relax check of name on HELO packet so that a program using -bs
844338032Speter		that claims to be itself works properly.
844438032Speter	Restore rewriting of $: part of address through 2, R, 4 in
844538032Speter		buildaddr -- this requires passing a lot of flags to get
844638032Speter		it right.  Unlike old versions, this ONLY rewrites
844738032Speter		recipient addresses, not sender addresses.
844838032Speter	Fix a bug that caused core dumps in config files that cannot
844938032Speter		resolve /file/name style addresses.  Fix from Jonathan
845038032Speter		Kamens of OpenVision Technologies.
845138032Speter	Fix problem with fcntl locking that can cause error returns to
845238032Speter		be lost if the lock is lost; this required fully
845338032Speter		queueing everything, dropping the envelope (so errors
845438032Speter		would get returned), and then re-reading the queue from
845538032Speter		scratch.
845638032Speter	Fix a problem that caused aliases that redefine an otherwise
845738032Speter		true address to still send to the original address
845838032Speter		if and only if the alias failed in certain bizarre
845938032Speter		ways (e.g, if they pointed at a list:; syntax address).
846038032Speter		Problem pointed out by Jonathan Kamens.
846138032Speter	Remove support for frozen configuration files.  They caused
846238032Speter		more trouble than it was worth.
846338032Speter	Fix problem that can cause error messages to get ignored when
846438032Speter		using both -odb and -t flags.  Problem noted by Rob
846538032Speter		McNicholas at U.C. Berkeley.
846638032Speter	Include all "normal" variations on hostname in $=w.  For example,
846738032Speter		if the host name is vangogh.cs.berkeley.edu, $=w will
846838032Speter		contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
846938032Speter	Add "restrictqrun" privacy flag -- without this, anyone can run
847038032Speter		the queue.
847138032Speter	Reset SmtpPhase global on initial connection creation so that
847238032Speter		messages don't come out with stale information.
847338032Speter	Pass an "ext" argument to lockfile so that error/log messages
847438032Speter		will properly reflect the true filename being locked.
847538032Speter	Put all [...] address forms into $=w -- this eliminates the need
847638032Speter		for MAXIPADDR in conf.h.  Suggested by John Gardiner
847738032Speter		Myers of CMU.
847838032Speter	Fix a bug that can cause qf files to be left around even after
847938032Speter		an SMTP RSET command.  Problem and fix from Michael
848038032Speter		Corrigan.
848143730Speter	Don't send a PostmasterCopy to errors when the Precedence: is
848238032Speter		negative.  Error reports still go to the envelope
848338032Speter		sender address.
848438032Speter	Add LA_SHORT for load averages.
848538032Speter	Lock sendmail.st file when posting statistics.
848638032Speter	Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
848738032Speter		set the size of the TCP send and receive buffers; if you
848838032Speter		run over a slow slip line you may need to set these down
848938032Speter		(although it would be better to fix the SLIP implementation
849038032Speter		so that it's not necessary to recompile every program
849138032Speter		that does bulk data transfer).
849238032Speter	Allow null defaults on $( ... $) lookups.  Problem reported by
849338032Speter		Amir Plivatsky.
849438032Speter	Diagnose crufty S and V config lines.  This resulted from an
849538032Speter		observation that some people were using the SITE macro
849638032Speter		without the SITECONFIG macro first, which was causing
849738032Speter		bogus config files that were not caught.
849838032Speter	Fix makemap -f flag to turn off case folding (it was turning it
849938032Speter		on instead).  THIS IS A USER VISIBLE CHANGE!!!
850038032Speter	Fix a problem that caused multiple error messages to be sent if
850138032Speter		you used "sendmail -t -oem -odb", your system uses fcntl
850238032Speter		locking, and one of the recipient addresses is unknown.
850338032Speter	Reset uid earlier in include() so that recursive .forwards or
850438032Speter		:include:s don't use the wrong uid.
850538032Speter	If file descriptor 0, 1, or 2 was closed when sendmail was
850638032Speter		called, the code to recover the descriptor was broken.
850738032Speter		This sometimes (only sometimes) caused problems with the
850838032Speter		alias file.  Fix from Motonori Nakamura.
850938032Speter	Fix a problem that caused aliaswait to go into infinite recursion
851038032Speter		if the @:@ metasymbol wasn't found in the alias file.
851138032Speter	Improve error message on newaliases if database files cannot be
851238032Speter		opened or if running with no database format defined.
851338032Speter	Do a better estimation of the size of error messages when NoReturn
851438032Speter		is set.  Problem noted by P{r (Pell) Emanuelsson.
851538032Speter	Fix a problem causing the "c" option (don't connect to expensive
851638032Speter		mailers) to be ignored in SMTP.  Problem noted and the
851738032Speter		solution suggested by Robert Elz of The University of
851838032Speter		Melbourne.
851938032Speter	Improve connection caching algorithm by passing "[host]" to
852038032Speter		hostsignature, which strips the square brackets and
852138032Speter		returns the real name.  This allows mailertable entries
852238032Speter		to match regular entries.
852338032Speter	Re-enable Return-Receipt-To: -- people seem to want this stupid
852438032Speter		feature, even if it doesn't work right.
852538032Speter	Catch and log attempts to try the "wiz" command in server SMTP.
852638032Speter		This also ups the log level from LOG_NOTICE to LOG_CRIT.
852738032Speter	Be more generous at assigning $z to the home directory -- do this
852838032Speter		for programs that are specified through a .forward file.
852938032Speter		Fix from Andrew Chang of Sun Microsystems.
853038032Speter	Always save a fatal error message in preference to a non-fatal
853138032Speter		error message so that the "subject" line of return
853238032Speter		messages is the best possible.
853338032Speter	CONFIG: reduce the number of quotes needed to quote configuration
853438032Speter		parameters with commas: two quotes should work now, e.g.,
853538032Speter		define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
853638032Speter	CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
853738032Speter		connections (domain-ized UUCP).
853838032Speter	CONFIG: fix bug in default maps (-o must be before database file
853964562Sgshapiro		name).  Pointed out by Christophe Wolfhugel.
854038032Speter	CONFIG: add FEATURE(nodns) to state that we are not relying on
854138032Speter		DNS.  This would presumably be used in UUCP islands.
854238032Speter	CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
854338032Speter	CONFIG: log $u in Received: line.  This is in technical violation
854438032Speter		of the standards, since it doesn't guarantee a domain
854538032Speter		on the address.
854638032Speter	CONFIG: don't assume "m" in local mailer flags -- this means that
854738032Speter		if you redefine LOCAL_MAILER_FLAGS you will have to include
854838032Speter		the "m" flag should you want it.  Apparently some Solaris 2.2
854938032Speter		installations can't handle multiple local recipients.
855038032Speter		Problem noted by Josh Smith.
855138032Speter	CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
855238032Speter	CONFIG: change default version level from 4 to 5.
855338032Speter	CONFIG: add FEATURE(nullclient) to create a config file that
855438032Speter		forwards all mail to a hub without ever looking at the
855538032Speter		addresses in any detail.
855638032Speter	CONFIG: properly strip mailer: information off of relays when
855738032Speter		used to change .BITNET form into %-hack form.
855838032Speter	CONFIG: fix a problem that caused infinite loops if presented
855938032Speter		with an address such as "!foo".
856038032Speter	CONFIG: check for self literal (e.g., [128.32.131.12]) even if
856138032Speter		the reverse "PTR" mapping is broken.  There's a better
856238032Speter		way to do this, but the change is fairly major and I
856338032Speter		want to hold it for another release.  Problem noted by
856438032Speter		Bret Marquis.
856538032Speter
856664562Sgshapiro8.5/8.5		1993/07/23
856738032Speter	Serious bug: if you used a command line recipient that was unknown
856838032Speter		sendmail would not send a return message (it was treating
856938032Speter		everything as though it had an SMTP-style client that
857038032Speter		would do the return itself).  Problem noted by Josh Smith.
857138032Speter	Change "trymx" option in getcanonname() to ignore all MX data,
857238032Speter		even during a T_ANY query.  This actually didn't break
857338032Speter		anything, because the only time you called getcanonname
857438032Speter		with !trymx was if you already knew there were no MX
857538032Speter		records, but it is somewhat cleaner.  From Motonori
857638032Speter		Nakamura.
857738032Speter	Don't call getcanonname from getmxrr if you already know there
857838032Speter		are no DNS records matching the name.
857938032Speter	Fix a problem causing error messages to always include "The
858038032Speter		original message was received ... from localhost".
858138032Speter		The correct original host information is now included.
858238032Speter	Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
858338032Speter		version of "test" doesn't have the -x flag).  Change it
858438032Speter		to use -f instead.  From John Myers.
858538032Speter	CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
858638032Speter		esmtp -- it should be smtp.
858738032Speter	CONFIG: send all relayed mail using confRELAY_MAILER (defaults
858838032Speter		to "relay" (a variant of "smtp") if MAILER(smtp) is used,
858938032Speter		else "suucp" if MAILER(uucp) is used, else "unknown");
859038032Speter		this cleans up the configs somewhat.  This fixes a serious
859138032Speter		problem that caused route-addrs to get mistaken as relays,
859238032Speter		pointed out by John Myers.  WARNING: this also causes
859338032Speter		the default on SMART_HOST to change from "suucp" to
859438032Speter		"relay" if you have MAILER(smtp) specified.
859538032Speter
859664562Sgshapiro8.4/8.4		1993/07/22
859738032Speter	Add option `w'.  If you receive a message that comes to you because
859838032Speter		you are the best (lowest preference) target of an MX, and
859938032Speter		you haven't explicitly recognized the source MX host in
860038032Speter		your .cf file, this option will cause you to try the target
860138032Speter		host directly (as if there were no MX for it at all).  If
860238032Speter		`w' is not set, this case is a configuration error.
860338032Speter		Beware: if `w' is set, senders may get bogus errors like
860438032Speter		"message timed out" or "host unknown" for problems that
860538032Speter		are really configuration errors.  This option is
860638032Speter		disrecommended, provided only for compatibility with
860738032Speter		UIUC sendmail.
860838032Speter	Fix a problem that caused the incoming socket to be left open
860938032Speter		when sendmail forks after the DATA command.  This caused
861038032Speter		calling systems to wait in FIN_WAIT_2 state until the
861138032Speter		entire list was processed and the child closed -- a
861238032Speter		potentially prodigious amount of time.  Problem noted
861338032Speter		by Neil Rickert.
861438032Speter	Fix problem (created in 6.64) that caused mail sent to multiple
861538032Speter		addresses, one of which was a bad address, to completely
861638032Speter		suppress the sending of the message.  This changes
861738032Speter		handling of EF_FATALERRS somewhat, and adds an
861838032Speter		EF_GLOBALERRS flag.  This also fixes a potential problem
861938032Speter		with duplicate error messages if there is a syntax error
862038032Speter		in the header of a message that isn't noticed until late
862138032Speter		in processing.  Original problem pointed out by Josh Smith
862238032Speter		of Harvey Mudd College.  This release includes quite a bit
862338032Speter		of dickering with error handling (see below).
862438032Speter	Back out SMTP transaction if MAIL gets nested 501 error.  This
862538032Speter		will only hurt already-broken software and should help
862638032Speter		humans.
862738032Speter	Fix a problem that broke aliases when neither NDBM nor NEWDB were
862838032Speter		compiled in.  It would never read the alias file.
862938032Speter	Repair unbalanced `)' and `>' (the "open" versions are already
863038032Speter		repaired).
863138032Speter	Logging of "done" in dropenvelope() was incorrect: it would
863238032Speter		log this even when the queue file still existed.  Change
863338032Speter		this to only log "done" (at log level 11) when the
863438032Speter		queue file is actually removed.  From John Myers.
863538032Speter	Log "lost connection" in server SMTP at log level 20 if there
863638032Speter		is no pending transaction.  Some senders just close the
863738032Speter		connection rather than sending QUIT.
863838032Speter	Fix a bug causing getmxrr to add a dot to the end of unqualified
863938032Speter		domains that do not have MX records -- this would cause
864038032Speter		the subsequent host name lookup to fail.  The problem
864138032Speter		only occurred if you had FEATURE(nocanonify) set.
864238032Speter		Problem noted by Rick McCarty of Texas Instruments.
864338032Speter	Fix invocation of setvbuf when passed a -X flag -- I had
864438032Speter		unwittingly used an ANSI C extension, and this caused
864538032Speter		core dumps on some machines.
864638032Speter	Diagnose self-destructive alias loops on RCPT as well as EXPN.
864738032Speter		Previously it just gave an empty send queue, which
864838032Speter		then gave either "Need RCPT (recipient)" at the DATA
864938032Speter		(confusing, since you had given an RCPT command which
865038032Speter		returned 250) or just dropped the email, depending on
865138032Speter		whether you were running VERBose mode.  Now it usually
865238032Speter		diagnoses this case as "aliasing/forwarding loop broken".
865338032Speter		Unfortunately, it still doesn't adequately diagnose
865438032Speter		some true error conditions.
865538032Speter	Add internal concept of "warning messages" using 6xx codes.
865638032Speter		These are not reported only to Postmaster.  Unbalanced
865738032Speter		parens, brackets, and quotes are printed as 653 codes.
865838032Speter		They are always mapped to 5xx codes before use in SMTP.
865938032Speter	Clean up error messages to tell both the actual address that
866038032Speter		failed and the alias they arose from.  This makes it
866138032Speter		somewhat easier to diagnose problems.  Difficulty noted
866238032Speter		by Motonori Nakamura.
866338032Speter	Fix a problem that inappropriately added a ctladdr to addresses
866438032Speter		that shouldn't have had one during a queue run.  This
866538032Speter		caused error messages to be handled differently during
866638032Speter		a queue run than a direct run.
866738032Speter	Don't print the qf name and line number if you get errors during
866838032Speter		the direct run of the queue from srvrsmtp -- this was
866938032Speter		just extra stuff for users to crawl through.
867038032Speter	Put command line flags on second line of pid file so you can
867138032Speter		auto-restart the daemon with all appropriate arguments.
867238032Speter		Use "kill `head -1 /etc/sendmail.pid`" to stop the
867338032Speter		daemon, and "eval `tail -1 /etc/sendmail.pid`" to
867438032Speter		restart it.
867538032Speter	Remove the ``setuid(getuid())'' in main -- this caused the
867638032Speter		IDENT daemon to screw up.  This required that I change
867738032Speter		HASSETEUID to HASSETREUID and complicate the mode
867838032Speter		changing somewhat because both Ultrix and SunOS seem
867938032Speter		to have a bug causing seteuid() to set the saved uid
868038032Speter		as well as the effective.  The program test/t_setreuid.c
868138032Speter		will test to see if your implementation of setreuid(2)
868238032Speter		is appropriately functional.
868338032Speter	The FallBackMX (option V) handling failed to properly identify
868438032Speter		fallback to yourself -- most of the code was there,
868538032Speter		but it wasn't being enabled.  Problem noted by Murray
868638032Speter		Kucherawy of the University of Waterloo.
868738032Speter	Change :include: open timeout from ETIMEDOUT to an internal
868838032Speter		code EOPENTIMEOUT; this avoids adding "during SmtpPhase
868938032Speter		with CurHostName" in error messages, which can be
869038032Speter		confusing.  Reported by Jonathan Kamens of OpenVision
869138032Speter		Technologies.
869238032Speter	Back out setpgrp (setpgid on POSIX systems) call to reset the
869338032Speter		process group id.  The original fix was to get around
869438032Speter		some problems with recalcitrant MUAs, but it breaks
869538032Speter		any call from a shell that creates a process group id
869638032Speter		different from the process id.  I could try to fix
869738032Speter		this by diddling the tty owner (using tcsetpgrp or
869838032Speter		equivalent) but this is too likely to break other
869938032Speter		things.
870038032Speter	Portability changes:
870138032Speter		Support -M as equivalent to -oM on Ultrix -- apparently
870238032Speter			DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
870338032Speter			instead of using standard flags.  Oh joy.  This
870443730Speter			behavior reported by Jon Giltner of University
870538032Speter			of Colorado.
870638032Speter		SGI IRIX  -- this includes several changes that should
870738032Speter			help other strict ANSI compilers.
870838032Speter		SCO Unix -- from Murray Kucherawy of HookUp Communication
870938032Speter			Corporation.
871038032Speter		Solaris running the Sun C compiler (which despite the
871138032Speter			documentation apparently doesn't define
871238032Speter			__STDC__ by default).
871338032Speter		ConvexOS from Eric Schnoebelen of Convex.
871438032Speter		Sony NEWS workstations and Omron LUNA workstations from
871538032Speter			Motonori Nakamura.
871638032Speter	CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
871738032Speter	CONFIG: delete `C' and `e' from default SMTP mailers flags;
871838032Speter		several people have made a good argument that this
871938032Speter		creates more problems than it solves (although this
872038032Speter		may prove painful in the short run).
872138032Speter	CONFIG: generalize all the relays to accept a "mailer:host"
872238032Speter		format.
872338032Speter	CONFIG: move local processing in ruleset 0 into a new ruleset
872438032Speter		98 (8 on old sendmail).  Domain literal [a.b.c.d]
872538032Speter		addresses are also passed through this ruleset.
872638032Speter	CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
872738032Speter		internet-style addresses would "fall off the end" of
872838032Speter		ruleset zero and be interpreted as local -- however,
872938032Speter		the angle brackets confused the recursive call.
873038032Speter		These are now diagnosed as "Unrecognized host name".
873138032Speter	CONFIG: USENET rules weren't included in S0 because of a mistaken
873238032Speter		ifdef(`_MAILER_USENET_') instead of
873338032Speter		ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
873438032Speter		of SINTEF RUNIT, Oslo.
873538032Speter	CONFIG: move up LOCAL_RULE_0 processing so that it happens very
873638032Speter		early in ruleset 0; this allows .mc authors to bypass
873738032Speter		things like the "short circuit" code for local addresses.
873838032Speter		Prompted by a comment by Bill Wisner of The Well.
873938032Speter	CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
874038032Speter		esmtp) to send SMTP mail.  This allows you to default
874138032Speter		to esmtp but use a mailertable or other override to
874238032Speter		deal with broken servers.  This logic was pointed out
874338032Speter		to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
874438032Speter	Changes to cf/sh/makeinfo.sh to make it portable to SVR4
874538032Speter		environments.  Ugly as sin.
874638032Speter
874764562Sgshapiro8.3/8.3		1993/07/13
874838032Speter	Fix setuid problems introduced in 8.2 that caused messages
874938032Speter		like "Cannot create qfXXXXXX: Invalid argument"
875038032Speter		or "Cannot reopen dfXXXXXX: Permission denied".  This
875138032Speter		involved a new compile flag "HASSETEUID" that takes
875238032Speter		the place of the old _POSIX_SAVED_IDS -- it turns out
875338032Speter		that the POSIX interface is broken enough to break
875438032Speter		some systems badly.  This includes some fixes for
875538032Speter		HP-UX.  Also fixes problems where the real uid is
875638032Speter		not reset properly on startup (from Neil Rickert).
875738032Speter	Fix a problem that caused timed out messages to not report the
875838032Speter		addresses that timed out.  Error messages are also more
875938032Speter		"user friendly".
876038032Speter	Drop required bandwidth on connections from 64 bytes/sec to
876138032Speter		16 bytes/sec.
876238032Speter	Further Solaris portability changes -- doesn't require the BSD
876338032Speter		compatibility library.  This also adds a new
876438032Speter		"HASGETDTABLESIZE" compile flag which can be used if
876538032Speter		you want to use getdtablesize(2) instead of sysconf(2).
876638032Speter		These are loosely based on changes from David Meyer at
876738032Speter		University of Oregon.  This now seems to work, at least
876838032Speter		for quick test cases.
876938032Speter	Fix a problem that can cause duplicate error messages to be
877038032Speter		sent if you are in SMTP, you send to multiple addresses,
877138032Speter		and at least one of those addresses is good and points
877238032Speter		to an account that has a .forward file (whew!).
877338032Speter	Fix a problem causing messages to be discarded if checkcompat()
877438032Speter		returned EX_TEMPFAIL (because it didn't properly mark
877538032Speter		the "to" address).  Problem noted by John Myers.
877638032Speter	Fix dfopen to return NULL if the open failed; I was depending
877738032Speter		on fdopen(-1) returning NULL, which isn't the case.  This
877838032Speter		isn't serious, but does result in weird error diagnoses.
877938032Speter		From Michael Corrigan.
878038032Speter	CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
878138032Speter		messages sent through UUCP-family mailers.  Suggested
878238032Speter		by Bill Wisner of The Well.
878338032Speter	CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
878438032Speter		include a "uucp-dom" mailer that uses domain-style
878538032Speter		addressing.  Suggested by Bill Wisner.
878638032Speter	CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
878738032Speter		LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
878838032Speter		Christophe Wolfhugel.
878938032Speter	CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
879038032Speter
879164562Sgshapiro8.2/8.2		1993/07/11
879238032Speter	Don't drop out on config file parse errors in -bt mode.
879338032Speter	On older configuration files, assume option "l" (use Errors-To
879438032Speter		header) for back compatibility.  NOTE:  this DOES NOT
879538032Speter		imply an endorsement of the Errors-To: header in any way.
879638032Speter	Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
879738032Speter	Don't log errors on EHLO -- it isn't a "real" error for an old
879838032Speter		SMTP server to give an error on this command, and
879938032Speter		logging it in the transcript can be confusing.  Fix
880038032Speter		from Bill Wisner.
880138032Speter	IRIX compatibility changes provided by Dan Rich
880238032Speter		<drich@sandman.lerc.nasa.gov>.
880338032Speter	Solaris 2 compatibility changes.  Provided by Bob Cunningham
880438032Speter		<bob@kahala.soest.hawaii.edu>, John Oleynick
880538032Speter		<juo@klinzhai.rutgers.edu>
880638032Speter	Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
880738032Speter		move usersmtp (smtpinit and smtpmailfrom) to -d18 to
880838032Speter		match the other flags in that file.
880938032Speter	Flush transcript before fork in mailfile().  From Eric Wassenaar.
881038032Speter	Save h_errno in mci struct and improve error message display.
881138032Speter		Changes from Eric Wassenaar.
881238032Speter	Open /dev/null for the transcript if the create of the xf file
881338032Speter		failed; this avoids at least one possible null pointer
881438032Speter		reference in very weird cases.  From Eric Wassenaar.
881538032Speter	Clean up statistics gathering; it was over-reporting because of
881638032Speter		forks.  From Eric Wassenaar.
881738032Speter	Fix problem that causes old Return-Path: line to override new
881838032Speter		Return-Path: line (conf.c needs H_FORCE to avoid
881938032Speter		re-using old value).  From Motonori Nakamura.
882038032Speter	Fix broken -m flag in K definition -- even if -m (match only)
882138032Speter		was specified, it would still replace the key with the
882238032Speter		value.  Noted by Rick McCarty of Texas Instruments.
882338032Speter	If the name server timed out over several days, no "timed out"
882438032Speter		message would ever be sent back.  The timeout code
882538032Speter		has been moved from markfailure() to dropenvelope()
882638032Speter		so that all such failures should be diagnosed.  Pointed
882738032Speter		out by Christophe Wolfhugel and others.
882838032Speter	Relax safefile() constraints: directories in an include or
882938032Speter		forward path must be readable by self if the controlling
883038032Speter		user owns the entry, readable by all otherwise (e.g.,
883138032Speter		when reading your .forward file, you have to own and
883238032Speter		have X permission in it; everyone needs X permission in
883338032Speter		the root and directories leading up to your home);
883438032Speter		include files must be readable by anyone, but need not
883538032Speter		be owned by you.
883638032Speter	If _POSIX_SAVED_IDS is defined, setuid to the owner before
883738032Speter		reading a .forward file; this gets around some problems
883838032Speter		on NFS mounts if root permission is not exported and
883938032Speter		the user's home directory isn't x'able.
884038032Speter	Additional NeXT portability enhancements from Axel Zinser.
884138032Speter	Additional HP-UX portability enhancements from Brian Bullen.
884238032Speter	Add a timeout around SMTP message writes; this assumes you can
884338032Speter		get throughput of at least 64 bytes/second.  Note that
884438032Speter		this does not impact the "datafinal" default, which
884538032Speter		is separate; this is just intended to work around
884638032Speter		network clogs that will occur before the final dot
884738032Speter		is sent.  From Eric Wassenaar.
884838032Speter	Change map code to set the "include null" flag adaptively --
884938032Speter		it initially tries both, but if it finds anything
885038032Speter		matching without a null it never tries again with a
885138032Speter		null and vice versa.  If -N is specified, it never
885238032Speter		tries without the null and creates new maps with a
885338032Speter		null byte.  If -O is specified, it never tries with
885438032Speter		the null (for efficiency).  If -N and -O are specified,
885538032Speter		you get -NO (get it?) lookup at all, so this would
885638032Speter		be a bad idea.  If you don't specify either -N or -O,
885738032Speter		it adapts.
885838032Speter	Fix recognition of "same from address" so that MH submissions
885938032Speter		will insert the appropriate full name information;
886038032Speter		this used to work and got broken somewhere along the
886138032Speter		way.
886238032Speter	Some changes to eliminate some unnecessary SYSERRs in the
886338032Speter		log.  For example, if you lost a connection, don't
886438032Speter		bother reporting that fact on the connection you lost.
886538032Speter	Add some "extended debugging" flags to try to track down
886638032Speter		why we get occasional problems with file descriptor
886738032Speter		one being closed when execing a mailer; it seems to
886838032Speter		only happen when there has been another error in the
886938032Speter		same transaction.  This requires XDEBUG, defined
887038032Speter		by default in conf.h.
887138032Speter	Add "-X filename" command line flag, which logs both sides of
887238032Speter		all SMTP transactions.  This is intended ONLY for
887338032Speter		debugging bad implementations of other mailers; start
887438032Speter		it up, send a message from a mailer that is failing,
887538032Speter		and then kill it off and examine the indicated log.
887638032Speter		This output is not intended to be particularly human
887738032Speter		readable.  This also adds the HASSETVBUF compile
887838032Speter		flag, defaulted on if your compiler defines __STDC__.
887938032Speter	CONFIG: change SMART_HOST to override an SMTP mailer.  If you
888038032Speter		have a local net that should get direct connects, you
888138032Speter		will need to use LOCAL_NET_CONFIG to catch these hosts.
888238032Speter		See cf/README for an example.
888338032Speter	CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
888438032Speter		sites that don't use the -d flag.
888538032Speter	CONFIG: hide recipient addresses as well as sender addresses
888638032Speter		behind $M if FEATURE(allmasquerade) is specified; this
888738032Speter		has been requested by several people, but can break
888838032Speter		local aliases.  For example, if you mail to "localalias"
888938032Speter		this will be rewritten as "localalias@masqueradehost";
889038032Speter		although initial delivery will work, replies will be
889138032Speter		broken.  Use it sparingly.
889238032Speter	CONFIG: add FEATURE(domaintable).  This maps unqualified domains
889338032Speter		to qualified domains in headers.  I believe this is
889438032Speter		largely equivalent to the IDA feature of the same name.
889538032Speter	CONFIG: use $U as UUCP name instead of $k.  This permits you
889638032Speter		to override the "system name" as your UUCP name --
889738032Speter		in particular, to use domain-ized UUCP names.  From
889838032Speter		Bill Wisner of The Well.
889938032Speter	CONFIG: create new mailer "esmtp" that always tries EHLO
890038032Speter		first.  This is currently unused in the config files,
890138032Speter		but could be used in a mailertable entry.
890238032Speter
890364562Sgshapiro8.1C/8.1B	1993/06/27
890438032Speter	Serious security bug fix: it was possible to read any file on
890538032Speter		the system, regardless of ownership and permissions.
890638032Speter	If a subroutine returns a fully qualified address, return it
890738032Speter		immediately instead of feeding it back into rewriting.
890838032Speter		This fixes a problem with mailertable lookups.
890938032Speter	CONFIG: fix some M4 frotz (concat => CONCAT)
891038032Speter
891164562Sgshapiro8.1B/8.1A	1993/06/12
891238032Speter	Serious bug fix: pattern matching backup algorithm stepped by
891338032Speter		two tokens in classes instead of one.  Found by Claus
891438032Speter		Assmann at University of Kiel, Germany.
891538032Speter
891664562Sgshapiro8.1A/8.1A	1993/06/08
891738032Speter	Another mailertable fix....
891838032Speter
891964562Sgshapiro8.1/8.1		1993/06/07
892038032Speter	4.4BSD freeze.  No semantic changes.
8921