RELEASE_NOTES revision 223067
138032Speter			SENDMAIL RELEASE NOTES
2223067Sgshapiro      $Id: RELEASE_NOTES,v 8.1991 2011/05/15 04:28:16 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
9223067Sgshapiro8.14.5/8.14.5	2011/05/17
10223067Sgshapiro	Do not cache SMTP extensions across connections as the cache
11223067Sgshapiro		is based on hostname which may not be a unique identifier
12223067Sgshapiro		for a server, i.e., different machines may have the
13223067Sgshapiro		same hostname but provide different SMTP extensions.
14223067Sgshapiro		Problem noted by Jim Hermann.
15223067Sgshapiro	Avoid an out-of-bounds access in case a resolver reply for a DNS
16223067Sgshapiro		map lookup returns a size larger than 1K.  Based on a
17223067Sgshapiro		patch from Dr. Werner Fink of SuSE.
18223067Sgshapiro	If a job is aborted using the interrupt signal (e.g., control-C from
19223067Sgshapiro		the keyboard), perform minimal cleanup to avoid invoking
20223067Sgshapiro		functions that are not signal-safe. Note: in previous
21223067Sgshapiro		versions the mail might have been queued up already
22223067Sgshapiro		and would be delivered subsequently, now an interrupt
23223067Sgshapiro		will always remove the queue files and thus prevent
24223067Sgshapiro		delivery.
25223067Sgshapiro	Per RFC 6176, when operating as a TLS client, do not offer SSLv2.
26223067Sgshapiro	Since TLS session resumption is never used as a client, disable
27223067Sgshapiro		use of RFC 4507-style session tickets.
28223067Sgshapiro	Work around gcc4 versions which reverse 25 years of history and
29223067Sgshapiro		no longer align char buffers on the stack, breaking calls
30223067Sgshapiro		to resolver functions on strict alignment platforms.
31223067Sgshapiro		Found by Stuart Henderson of OpenBSD.
32223067Sgshapiro	Read at most two AUTH lines from a server greeting (up to two
33223067Sgshapiro		lines are read because servers may use "AUTH mechs" and
34223067Sgshapiro		"AUTH=mechs"). Otherwise a malicious server may exhaust
35223067Sgshapiro		the memory of the client.  Bug report by Nils of MWR
36223067Sgshapiro		InfoSecurity.
37223067Sgshapiro	Avoid triggering an assertion in the OpenLDAP code when the
38223067Sgshapiro		connection to an LDAP server is lost while making a query.
39223067Sgshapiro		Problem noted and patch provided by Andy Fiddaman.
40223067Sgshapiro	If ConnectOnlyTo is set and sendmail is compiled with NETINET6
41223067Sgshapiro		it would try to use an IPv6 address if an IPv4 (or
42223067Sgshapiro		unparseable) address is specified.
43223067Sgshapiro	If SASLv2 is used, make sure that the macro {auth_authen} is
44223067Sgshapiro		stored in xtext format to avoid problems with parsing
45223067Sgshapiro		it.  Problem noted by Christophe Wolfhugel.
46223067Sgshapiro	CONFIG: FEATURE(`ldap_routing') in 8.14.4 tried to add a missing
47223067Sgshapiro		-T<TMPF> that is required, but failed for some cases
48223067Sgshapiro		that did not use LDAP.  This change has been undone
49223067Sgshapiro		until a better solution can be implemented.  Problem
50223067Sgshapiro		found by Andy Fiddaman.
51223067Sgshapiro	CONFIG: Add cf/ostype/solaris11.m4 for Solaris11 support.
52223067Sgshapiro		Contributed by Casper Dik of Oracle.
53223067Sgshapiro	CONTRIB: qtool.pl: Deal with H entries that do not have a
54223067Sgshapiro		letter between the question marks.  Patch from
55223067Sgshapiro		Stefan Christensen.
56223067Sgshapiro	DOC: Use a better description for the -i option in sendmail.
57223067Sgshapiro		Patch from Mitchell Berger.
58223067Sgshapiro	Portability:
59223067Sgshapiro		Add support for Darwin 10.x (Mac OS X 10.6).
60223067Sgshapiro		Enable HAVE_NANOSLEEP for FreeBSD 3 and later.  Patch
61223067Sgshapiro		from John Marshall.
62223067Sgshapiro		Enable HAVE_NANOSLEEP for OpenBSD 4.3 and later.
63223067Sgshapiro		Use new directory "/system/volatile" for PidFile on
64223067Sgshapiro		Solaris 11.  Patch from Casper Dik of Oracle.
65223067Sgshapiro		Fix compilation on Solaris 11 (and maybe some other
66223067Sgshapiro		OSs) when using OpenSSL 1.0.  Based on patch from
67223067Sgshapiro		Jan Pechanec of Oracle.
68223067Sgshapiro		Set SOCKADDR_LEN_T and SOCKOPT_LEN_T to socklen_t
69223067Sgshapiro		for Solaris 11.  Patch from Roger Faulkner of Oracle.
70223067Sgshapiro	New Files:
71223067Sgshapiro		cf/ostype/solaris11.m4
72223067Sgshapiro
73203004Sgshapiro8.14.4/8.14.4	2009/12/30
74203004Sgshapiro	SECURITY: Handle bogus certificates containing NUL characters
75203004Sgshapiro		in CNs by placing a string indicating a bad certificate
76203004Sgshapiro		in the {cn_subject} or {cn_issuer} macro.  Patch inspired
77203004Sgshapiro		by Matthias Andree's changes for fetchmail.
78203004Sgshapiro	During the generation of a queue identifier an integer overflow
79203004Sgshapiro		could occur which might result in bogus characters
80203004Sgshapiro		being used.  Based on patch from John Vannoy of
81203004Sgshapiro		Pepperdine University.
82203004Sgshapiro	The value of headers, e.g., Precedence, Content-Type, et.al.,
83203004Sgshapiro		was not processed correctly.  Patch from Per Hedeland.
84203004Sgshapiro	Between 8.11.7 and 8.12.0 the length limitation on a return
85203004Sgshapiro		path was erroneously reduced from MAXNAME (256) to
86203004Sgshapiro		MAXSHORTSTR (203).  Patch from John Gardiner Myers
87203004Sgshapiro		of Proofpoint; the problem was also noted by Steve
88203004Sgshapiro		Hubert of University of Washington.
89203004Sgshapiro	Prevent a crash when a hostname lookup returns a seemingly
90203004Sgshapiro		valid result which contains a NULL pointer (this seems
91203004Sgshapiro		to be happening on some Linux versions).
92203004Sgshapiro	The process title was missing the current load average when
93203004Sgshapiro		the MTA was delaying connections due to DelayLA.
94203004Sgshapiro		Patch from Dick St.Peters of NetHeaven.
95203004Sgshapiro	Do not reset the number of queue entries in shared memory if
96203004Sgshapiro		only some of them are processed.
97203004Sgshapiro	Fix overflow of an internal array when parsing some replies
98203004Sgshapiro		from a milter.  Problem found by Scott Rotondo
99203004Sgshapiro		of Sun Microsystems.
100203004Sgshapiro	If STARTTLS is turned off in the server (via M=S) then it
101203004Sgshapiro		would not be initialized for use in the client either.
102203004Sgshapiro		Patch from Kazuteru Okahashi of IIJ.
103203004Sgshapiro	If a Diffie-Hellman cipher is selected for STARTTLS, the
104203004Sgshapiro		handshake could fail with some TLS implementations
105203004Sgshapiro		because the prime used by the server is not long enough.
106203004Sgshapiro		Note: the initialization of the DSA/DH parameters for
107203004Sgshapiro		the server can take a significant amount of time on slow
108203004Sgshapiro		machines. This can be turned off by setting DHParameters
109203004Sgshapiro		to none or a file (see doc/op/op.me).  Patch from
110203004Sgshapiro		Petr Lampa of the Brno University of Technology.
111203004Sgshapiro	Fix handling of `b' modifier for DaemonPortOptions on little
112203004Sgshapiro		endian machines for loopback address.  Patch from
113203004Sgshapiro		John Beck of Sun Microsystems.
114203004Sgshapiro	Fix a potential memory leak in libsmdb/smdb1.c found by parfait.
115203004Sgshapiro		Based on patch from Jonathan Gray of OpenBSD.
116203004Sgshapiro	If a milter sets the reply code to "421" during the transfer
117203004Sgshapiro		of the body, the SMTP server will terminate the SMTP session
118203004Sgshapiro		with that error to match the behavior of the other callbacks.
119203004Sgshapiro	Return EX_IOERR (instead of 0) if a mail submission fails due to
120203004Sgshapiro		missing disk space in the mail queue.  Based on patch
121203004Sgshapiro		from Martin Poole of RedHat.
122203004Sgshapiro	CONFIG: Using FEATURE(`ldap_routing')'s `nodomain' argument would
123203004Sgshapiro		cause addresses not found in LDAP to be misparsed.
124203004Sgshapiro	CONFIG: Using a CN restriction did not work for TLS_Clt as it
125203004Sgshapiro		referred to a wrong macro.  Patch from John Gardiner
126203004Sgshapiro		Myers of Proofpoint.
127203004Sgshapiro	CONFIG: The option relaytofulladdress of FEATURE(`access_db')
128203004Sgshapiro		did not work if FEATURE(`relay_hosts_only') is used too.
129203004Sgshapiro		Problem noted by Kristian Shaw.
130203004Sgshapiro	CONFIG: The internal function lower() was broken and hence
131203004Sgshapiro		strcasecmp() did not work either, which could cause
132203004Sgshapiro		problems for some FEATURE()s if upper case arguments
133203004Sgshapiro		were used.  Patch from Vesa-Matti J Kari of the
134203004Sgshapiro		University of Helsinki.
135203004Sgshapiro	LIBMILTER: Fix internal check whether a milter application
136203004Sgshapiro		is compiled against the same version of libmilter as
137203004Sgshapiro		it is linked against (especially useful for dynamic
138203004Sgshapiro		libraries).
139203004Sgshapiro	LIBMILTER: Fix memory leak that occurred when smfi_setsymlist()
140203004Sgshapiro		was used.  Based on patch by Dan Lukes.
141203004Sgshapiro	LIBMILTER: Document the effect of SMFIP_HDR_LEADSPC for filters
142203004Sgshapiro		which add, insert, or replace headers.  From Benjamin
143203004Sgshapiro		Pineau.
144203004Sgshapiro	LIBMILTER: Fix error messages which refer to "select()" to be
145203004Sgshapiro		correct if SM_CONF_POLL is used.  Based on patch from
146203004Sgshapiro		John Nemeth.
147203004Sgshapiro	LIBSM: Fix handling of LDAP search failures where the error is
148203004Sgshapiro		carried in the search result itself, such as seen with
149203004Sgshapiro		OpenLDAP proxy servers.
150203004Sgshapiro	VACATION: Do not refer to a local variable outside its scope.
151203004Sgshapiro		Based on patch from Mark Costlow of Southwest Cyberport.
152203004Sgshapiro	Portability:
153203004Sgshapiro		Enable HAVE_NANOSLEEP for SunOS 5.11. Patch from
154203004Sgshapiro		John Beck of Sun Microsystems.
155203004Sgshapiro		Drop NISPLUS from default SunOS 5.11 map definitions.
156203004Sgshapiro		Patch from John Beck of Sun Microsystems.
157203004Sgshapiro
158182352Sgshapiro8.14.3/8.14.3	2008/05/03
159182352Sgshapiro	During ruleset processing the generation of a key for a map
160182352Sgshapiro		lookup and the parsing of the default value was broken
161182352Sgshapiro		for some macros, e.g., $|, which caused the BlankSub
162182352Sgshapiro		character to be inserted into the workspace and thus
163182352Sgshapiro		failures, e.g., rules that should have matched did not.
164182352Sgshapiro	8.14.2 caused a regression: it accessed (macro) storage which was
165182352Sgshapiro		freed before. First instance of the problem reported by
166182352Sgshapiro		Matthew Dillon of DragonFlyBSD; variations of the same
167182352Sgshapiro		bug reported by Todd C. Miller of OpenBSD, Moritz
168182352Sgshapiro		Jodeit, and Dave Hayes.
169182352Sgshapiro	Improve pathname length checks for persistent host status.  Patch
170182352Sgshapiro		from Joerg Sonnenberger of DragonFlyBSD.
171182352Sgshapiro	Reword misleading SMTP reply text for FEATURE(`badmx').  Problem
172182352Sgshapiro		noted by Beth Halsema.
173182352Sgshapiro	The read timeout was fixed to be Timeout.datablock if STARTTLS
174182352Sgshapiro		was activated. This may cause problems if that value
175182352Sgshapiro		is lowered from its default. Problem noted by Jens Elkner.
176182352Sgshapiro	CONFIG: Using LOCAL_TLS_CLIENT caused the tls_client ruleset
177182352Sgshapiro		to operate incorrectly.  Problem found by Werner Wiethege.
178182352Sgshapiro	LIBMILTER: Omitting some protocol steps via the xxfi_negotiate()
179182352Sgshapiro		callback did not work properly. The patchlevel of
180182352Sgshapiro		libmilter has been set to 1 so a milter can determine
181182352Sgshapiro		whether libmilter contains this fix.
182182352Sgshapiro	MAKEMAP: If a delimiter is specified (-t) use that also when
183182352Sgshapiro		dumping a map.  Patch from Todd C. Miller of OpenBSD.
184182352Sgshapiro	Portability:
185182352Sgshapiro		Add support for Darwin 9.x (Mac OS X 10.5).
186182352Sgshapiro		Support shared libraries in Darwin 8 and 9.  Patch from
187182352Sgshapiro		Chris Behrens of Concentric.
188182352Sgshapiro		Add support for SCO OpenServer 6, patch from Boyd Gerber.
189203004Sgshapiro	DEVTOOLS: Clarify that confSHAREDLIBDIR requires a trailing slash.
190182352Sgshapiro	Added Files:
191182352Sgshapiro		devtools/OS/Darwin.9.x
192182352Sgshapiro		devtools/OS/OSR.i386
193182352Sgshapiro
194173340Sgshapiro8.14.2/8.14.2	2007/11/01
195173340Sgshapiro	If a message was queued and it contained 8 bit characters in
196173340Sgshapiro		a From: or To: header, then those characters could be
197173340Sgshapiro		"mistaken" for internal control characters during a queue
198173340Sgshapiro		run and trigger various consistency checks.  Problem
199173340Sgshapiro		noted by Neil Rickert of Northern Illinois University.
200173340Sgshapiro	If MaxMimeHeaderLength is set to a value greater than 0 (which
201173340Sgshapiro		it is by default) then even if the Linelimit parameter
202173340Sgshapiro		is 0, sendmail corrupted in the non-transfer-encoding
203173340Sgshapiro		case every MAXLINE-1 characters.  Patch from John Gardiner
204173340Sgshapiro		Myers of Proofpoint.
205173340Sgshapiro	Setting the suboption DeliveryMode for DaemonPortOptions did not
206173340Sgshapiro		work in earlier 8.14 versions.
207173340Sgshapiro	Note: DeliveryMode=interactive is silently converted to
208173340Sgshapiro		background if a milter can reject or delete a recipient.
209173340Sgshapiro		Prior to 8.14 this happened only if milter could delete
210173340Sgshapiro		recipients.
211173340Sgshapiro	ClientRate should trigger when the limit was exceeded (as
212182352Sgshapiro		documented), not when it was reached.  Patch from
213173340Sgshapiro		John Beck of Sun Microsystems.
214173340Sgshapiro	Force a queue run for -qGqueuegroup even if no runners are
215173340Sgshapiro		specified (R=0) and forking (F=f) is requested.
216173340Sgshapiro	When multiple results are requested for a DNS map lookup
217173340Sgshapiro		(-z and -Z), return only those that are relevant for
218173340Sgshapiro		the query (not also those in the "additional section".)
219173340Sgshapiro	If the message transfer time to sendmail (when acting as server)
220173340Sgshapiro		exceeds Timeout.queuewarn or Timeout.queuereturn and
221173340Sgshapiro		the message is refused (by a milter), sendmail previously
222173340Sgshapiro		created a delivery status notification (DSN).  Patch
223173340Sgshapiro		from Doug Heath of The Hertz Corporation.
224173340Sgshapiro	A code change in Cyrus-SASL 2.1.22 for sasl_decode64() requires
225173340Sgshapiro		the MTA to deal with some input (i.e., "=") itself.
226173340Sgshapiro		Problem noted by Eliot Lear.
227173340Sgshapiro	sendmail counted a delivery as successful if PIPELINING is
228173340Sgshapiro		compiled in but not offered by the server and the
229173340Sgshapiro		delivery failed temporarily.  Patch from Werner Wiethege.
230173340Sgshapiro	If getting the result of an LDAP query times out then close the
231173340Sgshapiro		map so it will be reopened on the next lookup.  This
232173340Sgshapiro		should help "failover" configurations that specify more
233173340Sgshapiro		than one LDAP server.
234173340Sgshapiro	If check_compat returns $#discard then a "savemail panic" could
235173340Sgshapiro		be triggered under some circumstances (e.g., requiring
236173340Sgshapiro		a system which does not have the compile time flag
237173340Sgshapiro		HASFLOCK set). Based on patch by Motonori Nakamura
238173340Sgshapiro		of National Institute of Informatics, Japan.
239173340Sgshapiro	If a milter rejected a recipient, the count for nrcpts= in the
240173340Sgshapiro		logfile entry might have been wrong.  Problem found by
241173340Sgshapiro		Petra Humann of TU Dresden.
242173340Sgshapiro	If a milter invoked smfi_chgfrom() where ESMTP arguments are not
243173340Sgshapiro		NULL, the message body was lost.  Patch from Motonori
244173340Sgshapiro		Nakamura of National Institute of Informatics, Japan.
245173340Sgshapiro	sendmail(8) had a bogus space in -qGname.  Patch from Peng Haitao.
246173340Sgshapiro	CONTRIB: buildvirtuser: Preserve ownership and permissions when
247173340Sgshapiro		replacing files.
248173340Sgshapiro	CONTRIB: buildvirtuser: Skip dot-files (e.g., .cvsignore) when
249173340Sgshapiro		reading the /etc/mail/virtusers/ directory.
250173340Sgshapiro	CONTRIB: buildvirtuser: Emit warnings instead of exiting where
251173340Sgshapiro		appropriate.
252173340Sgshapiro	LIBMILTER: Fix ABI backwards compatibility so milters compiled
253173340Sgshapiro		against an older libmilter.so shared library can use an
254173340Sgshapiro		8.14 libmilter.so shared library.
255173340Sgshapiro	LIBMILTER: smfi_version() did not properly extract the patchlevel
256173340Sgshapiro		from the version number, however, the returned value was
257173340Sgshapiro		correct for the current libmilter version.
258173340Sgshapiro
259168515Sgshapiro8.14.1/8.14.1	2007/04/03
260168515Sgshapiro	Even though a milter rejects a recipient the MTA will still keep
261168515Sgshapiro		it in its list of recipients and deliver to it if the
262168515Sgshapiro		transaction is accepted. This is a regression introduced
263168515Sgshapiro		in 8.14.0 due to the change for SMFIP_RCPT_REJ.  Bug
264168515Sgshapiro		found by Andy Fiddaman.
265168515Sgshapiro	The new DaemonPortOptions which begin with a lower case character
266168515Sgshapiro		could not be set in 8.14.0.
267168515Sgshapiro	If a server shut down the connection in response to a STARTTLS
268168515Sgshapiro		command, sendmail would log a misleading error message
269168515Sgshapiro		due to an internal inconsistency.  Problem found by
270168515Sgshapiro		Werner Wiethege.
271168515Sgshapiro	Document how some sendmail.cf options change the behavior of mailq.
272168515Sgshapiro		Noted by Paul Menchini of the North Carolina School of
273168515Sgshapiro		Science and Mathematics.
274168515Sgshapiro	CONFIG: Add confSOFT_BOUNCE m4 option for setting SoftBounce.
275168515Sgshapiro	CONFIG: 8.14.0's RELEASE_NOTES failed to mention the addition
276168515Sgshapiro		of the confMAX_NOOP_COMMANDS and confSHARED_MEMORY_KEY_FILE
277168515Sgshapiro		m4 options for setting MaxNOOPCommands and
278168515Sgshapiro		SharedMemoryKeyFile.
279168515Sgshapiro	CONFIG: Add confMILTER_MACROS_EOH and confMILTER_MACROS_DATA m4
280168515Sgshapiro		options for setting Milter.macros.eoh and Milter.macros.data.
281168515Sgshapiro	CONTRIB: Use flock() and fcntl() in qtool.pl if necessary.
282168515Sgshapiro		Patch from Daniel Carroll of Mesa State College.
283168515Sgshapiro	LIBMILTER: Make sure an unknown command does not affect the
284168515Sgshapiro		currently available macros.  Problem found by Andy Fiddaman.
285168515Sgshapiro	LIBMILTER: The MTA did not offer SMFIF_SETSYMLIST during option
286168515Sgshapiro		negotiation.  Problem reported by Bryan Costales.
287168515Sgshapiro	LIBMILTER: Fix several minor errors in the documentation.
288168515Sgshapiro		Patches from Bryan Costales.
289168515Sgshapiro	PORTABILITY FIXES:
290168515Sgshapiro		AIX 5.{1,2}: libsm/util.c failed to compile due to
291168515Sgshapiro			redefinition of several macros, e.g., SIG_ERR.
292168515Sgshapiro			Patch from Jim Pirzyk with assistance by Bob
293168515Sgshapiro			Booth, University of Illinois at Urbana-Champaign.
294168515Sgshapiro		Add support for QNX.6.  Patch from Sean Boudreau of QNX
295168515Sgshapiro			Software Systems.
296168515Sgshapiro	New Files:
297168515Sgshapiro		devtools/M4/depend/QNX6.m4
298168515Sgshapiro		devtools/OS/QNX.6.x
299168515Sgshapiro		include/sm/os/sm_os_qnx.h
300168515Sgshapiro
301168515Sgshapiro	New Files added in 8.14.0, but not shown in the release notes entry:
302168515Sgshapiro		libmilter/docs/smfi_chgfrom.html
303168515Sgshapiro		libmilter/docs/smfi_version.html
304168515Sgshapiro
305168515Sgshapiro8.14.0/8.14.0	2007/01/31
306168515Sgshapiro	Header field values are now 8 bit clean.  Notes:
307168515Sgshapiro		- header field names are still restricted to 7 bit.
308168515Sgshapiro		- RFC 2822 allows only 7 bit (US-ASCII) characters in
309168515Sgshapiro		  headers.
310168515Sgshapiro	Preserve spaces after the colon in a header.  Previously, any
311168515Sgshapiro		number of spaces after the colon would be changed to
312168515Sgshapiro		exactly one space.
313168515Sgshapiro	In some cases of deeply nested aliases/forwarding, mail can
314168515Sgshapiro		be silently lost.  Moreover, the MaxAliasRecursion
315168515Sgshapiro		limit may be reached too early, e.g., the counter
316168515Sgshapiro		may be off by a factor of 4 in case of a sequence of
317168515Sgshapiro		.forward files that refer to others.  Patch from
318168515Sgshapiro		Motonori Nakamura of Kyoto University.
319168515Sgshapiro	Fix a regression in 8.13.8: if InputMailFilters is set then
320168515Sgshapiro		"sendmail -bs" can trigger an assertion because the
321168515Sgshapiro		hostname of the client is undefined.  It is now set
322168515Sgshapiro		to "localhost" for the xxfi_connect() callback.
323168515Sgshapiro	Avoid referencing a freed variable during cleanup when terminating.
324168515Sgshapiro		Problem reported and diagnosed by Joe Maimon.
325168515Sgshapiro	New option HeloName to set the name for the HELO/EHLO command.
326168515Sgshapiro		Patch from Nik Clayton.
327168515Sgshapiro	New option SoftBounce to issue temporary errors (4xy) instead of
328168515Sgshapiro		permanent errors (5xy).  This can be useful for testing.
329168515Sgshapiro	New suboptions for DaemonPortOptions to set them individually
330168515Sgshapiro		per daemon socket:
331168515Sgshapiro			DeliveryMode	DeliveryMode
332168515Sgshapiro			refuseLA	RefuseLA
333168515Sgshapiro			delayLA		DelayLA
334168515Sgshapiro			queueLA		QueueLA
335168515Sgshapiro			children	MaxDaemonChildren
336168515Sgshapiro	New option -K for LDAP maps to replace %1 through %9 in the
337168515Sgshapiro		lookup key with the LDAP escaped contents of the
338168515Sgshapiro		arguments specified in the map lookup.  Loosely based
339168515Sgshapiro		on patch from Wolfgang Hottgenroth.
340168515Sgshapiro	Log the time after which a greet_pause delay triggered.  Patch
341168515Sgshapiro		from Nik Clayton.
342168515Sgshapiro	If a client is rejected via TCP wrapper or some other check
343168515Sgshapiro		performed by validate_connection() (in conf.c) then do
344168515Sgshapiro		not also invoke greet_pause.  Problem noted by Jim Pirzyk
345168515Sgshapiro		of the University of Illinois at Urbana-Champaign.
346168515Sgshapiro	If a client terminates the SMTP connection during a pause
347168515Sgshapiro		introduced by greet_pause, then a misleading message
348168515Sgshapiro		was logged previously.  Problem noted by Vernon Schryver
349168515Sgshapiro		et.al., patch from Matej Vela.
350168515Sgshapiro	New command "mstat" for control socket to provide "machine
351168515Sgshapiro		readable" status.
352168515Sgshapiro	New named config file rule check_eom which is called at the end
353168515Sgshapiro		of a message, its parameter is the size of the message.
354168515Sgshapiro	If the macro {addr_type} indicates that the current address
355168515Sgshapiro		is a header address it also distinguishes between
356168515Sgshapiro		recipient and sender addresses (as it is done for
357168515Sgshapiro		envelope addresses).
358168515Sgshapiro	When a macro is set in check_relay, then its value is accessible
359168515Sgshapiro		by all transactions in the same SMTP session.
360168515Sgshapiro	Increase size of key for ldap lookups to 1024 (MAXKEY).
361168515Sgshapiro	New option MaxNOOPCommands to override default of 20 for the
362168515Sgshapiro		number of "useless" commands before the SMTP server will
363168515Sgshapiro		slow down responding.
364168515Sgshapiro	New option SharedMemoryKeyFile: if shared memory support is
365168515Sgshapiro		enabled, the MTA can be asked to select a shared memory
366168515Sgshapiro		key itself by setting SharedMemoryKey to -1 and specifying
367168515Sgshapiro		a file where to store the selected key.
368168515Sgshapiro	Try to deal with open HTTP proxies that are used to send spam
369168515Sgshapiro		by recognizing some commands from them. If the first command
370168515Sgshapiro		from the client is GET, POST, CONNECT, or USER, then the
371168515Sgshapiro		connection is terminated immediately.
372168515Sgshapiro	New PrivacyOptions noactualrecipient to avoid putting
373168515Sgshapiro		X-Actual-Recipient lines in DSNs revealing the actual
374168515Sgshapiro		account that addresses map to.  Patch from Dan Harkless.
375168515Sgshapiro	New options B, z, and Z for DNS maps:
376168515Sgshapiro		-B: specify a domain that is always appended to queries.
377168515Sgshapiro		-z: specify the delimiter at which to cut off the result of
378168515Sgshapiro			a query if it is too long.
379168515Sgshapiro		-Z: specify the maximum number of entries to be concatenated
380168515Sgshapiro			to form the result of a lookup.
381168515Sgshapiro	New target "check" in the Makefile of libsm: instead of running tests
382168515Sgshapiro		implicitly while building libsm, they must be explicitly
383168515Sgshapiro		started by using "make check".
384168515Sgshapiro	Fixed some inconsistent checks for NULL pointers that have been
385168515Sgshapiro		reported by the SATURN tool which has been developed by
386168515Sgshapiro		Isil Dillig and Thomas Dillig of Stanford University.
387168515Sgshapiro	Fix a potential race condition caused by a signal handler for
388168515Sgshapiro		terminated child processes.  Problem noted by David F. Skoll.
389168515Sgshapiro	When a milter deleted a recipient, that recipient could cause a
390168515Sgshapiro		queue group selection. This has been disabled as it was not
391168515Sgshapiro		intended.
392168515Sgshapiro	New operator 'r' for the arith map to return a random number.
393168515Sgshapiro		Patch from Motonori Nakamura of Kyoto University.
394168515Sgshapiro	New compile time option MILTER_NO_NAGLE to turn off the Nagle
395168515Sgshapiro		algorithm for communication with libmilter ("cork" on Linux),
396168515Sgshapiro		which may improve the communication performance on some
397168515Sgshapiro		operating systems.  Patch from John Gardiner Myers of
398168515Sgshapiro		Proofpoint.
399168515Sgshapiro	If sendmail received input that contained a CR without subsequent LF
400168515Sgshapiro		(thus violating RFC 2821 (2.3.7)), it could previously
401168515Sgshapiro		generate an additional blank line in the output as the last
402168515Sgshapiro		line.
403168515Sgshapiro	Restarting persistent queue runners by sending a HUP signal to
404168515Sgshapiro		the "queue control process" (QCP) works now.
405168515Sgshapiro	Increase the length of an input line to 12288 to deal with
406168515Sgshapiro		really long lines during SMTP AUTH negotiations.
407168515Sgshapiro		Problem noted by Werner Wiethege.
408168515Sgshapiro	If ARPANET mode (-ba) was selected STARTTLS would fail (due to
409168515Sgshapiro		a missing initialization call for that case).  Problem
410168515Sgshapiro		noted by Neil Rickert of Northern Illinois University.
411168515Sgshapiro	If sendmail is linked against a library that initializes Cyrus-SASL
412168515Sgshapiro		before sendmail did it (such as libnss-ldap), then SMTP AUTH
413168515Sgshapiro		could fail for the sendmail client.  A patch by Moritz Both
414168515Sgshapiro		works around the API design flaw of Cyrus-SASLv2.
415168515Sgshapiro	CONFIG: Make it possible to unset the StatusFile option by
416168515Sgshapiro		undefining STATUS_FILE.  By not setting StatusFile,
417168515Sgshapiro		the MTA will not attempt to open a statistics file on
418168515Sgshapiro		each delivery.
419168515Sgshapiro	CONFIG: New FEATURE(`require_rdns') to reject messages from SMTP
420168515Sgshapiro		clients whose IP address does not have proper reverse DNS.
421168515Sgshapiro		Contributed by Neil Rickert of Northern Illinois University
422168515Sgshapiro		and John Beck of Sun Microsystems.
423168515Sgshapiro	CONFIG: New FEATURE(`block_bad_helo') to reject messages from SMTP
424168515Sgshapiro		clients which provide a HELO/EHLO argument which is either
425168515Sgshapiro		unqualified, or is one of our own names (i.e., the server
426168515Sgshapiro		name instead of the client name).  Contributed by Neil
427168515Sgshapiro		Rickert of Northern Illinois University and John Beck of
428168515Sgshapiro		Sun Microsystems.
429168515Sgshapiro	CONFIG: New FEATURE(`badmx') to reject envelope sender addresses
430168515Sgshapiro		(MAIL) whose domain part resolves to a "bad" MX record.
431168515Sgshapiro		Based on contribution from William Dell Wisner.
432168515Sgshapiro	CONFIG: New macros SMTP_MAILER_LL and RELAY_MAILER_LL to override
433168515Sgshapiro		the maximum line length of the smtp mailers.
434168515Sgshapiro	CONFIG: New option `relaytofulladdress' for FEATURE(`access_db')
435168515Sgshapiro		to allow entries in the access map to be of the form
436168515Sgshapiro			To:user@example.com	RELAY
437168515Sgshapiro	CONFIG: New subsuboptions eoh and data to specify the list of
438168515Sgshapiro		macros a milter should receive at those stages in the
439168515Sgshapiro		SMTP dialogue.
440168515Sgshapiro	CONFIG: New option confHELO_NAME for HeloName to set the name
441168515Sgshapiro		for the HELO/EHLO command.
442168515Sgshapiro	CONFIG: dnsbl and enhdnsbl can now also discard or quarantine
443168515Sgshapiro		messages by using those values as second argument.
444168515Sgshapiro		Patches from Nelson Fung.
445168515Sgshapiro	CONTRIB: cidrexpand uses a hash symbol as comment character and
446168515Sgshapiro		ignores everything after it unless it is in quotes or
447168515Sgshapiro		preceeded by a backslash.
448168515Sgshapiro	DEVTOOLS: New macro confMKDIR: if set to a program that creates
449168515Sgshapiro		directories, then it used for "make install" to create
450168515Sgshapiro		the required installation directories.
451168515Sgshapiro	DEVTOOLS: New macro confCCLINK to specify the linker to use for
452168515Sgshapiro		executables (defaults to confCC).
453168515Sgshapiro	LIBMILTER: A new version of the milter API has been created that
454168515Sgshapiro		has several changes which are listed below and documented
455168515Sgshapiro		in the webpages reachable via libmilter/docs/index.html.
456168515Sgshapiro	LIBMILTER: The meaning of the version macro SMFI_VERSION has been
457168515Sgshapiro		changed.  It now refers only to the version of libmilter,
458168515Sgshapiro		not to the protocol version (which is used only internally,
459168515Sgshapiro		it is not user/milter-programmer visible).  Additionally,
460168515Sgshapiro		a version function smfi_version() has been introduced such
461168515Sgshapiro		that a milter program can check the libmilter version also
462168515Sgshapiro		at runtime which is useful if a shared library is used.
463168515Sgshapiro	LIBMILTER: A new callback xxfi_negotiate() can be used to
464168515Sgshapiro		dynamically (i.e., at runtime) determine the available
465168515Sgshapiro		protocol actions and features of the MTA and also to
466168515Sgshapiro		specify which of these a milter wants to use.  This allows
467168515Sgshapiro		for more flexibility than hardcoding these flags in the
468168515Sgshapiro		xxfi_flags field of the smfiDesc structure.
469168515Sgshapiro	LIBMILTER: A new callback xxfi_data() is available so milters
470168515Sgshapiro		can act on the DATA command.
471168515Sgshapiro	LIBMILTER: A new callback xxfi_unknown() is available so milters
472168515Sgshapiro		can receive also unknown SMTP commands.
473168515Sgshapiro	LIBMILTER: A new return code SMFIS_NOREPLY has been added which
474168515Sgshapiro		can be used by the xxfi_header() callback provided the
475168515Sgshapiro		milter requested the SMFIP_NOHREPL protocol action.
476168515Sgshapiro	LIBMILTER: The new return code SMFIS_SKIP can be used in the
477168515Sgshapiro		xxfi_body() callback to skip over further body chunks
478168515Sgshapiro		and directly advance to the xxfi_eom() callback.  This
479168515Sgshapiro		is useful if a milter can make a decision based on the
480168515Sgshapiro		body chunks it already received without reading the entire
481168515Sgshapiro		rest of the body and the milter wants to invoke functions
482168515Sgshapiro		that are only available from the xxfi_eom() callback.
483168515Sgshapiro	LIBMILTER: A new function smfi_addrcpt_par() can be used to add
484168515Sgshapiro		new recipients including ESMTP parameters.
485168515Sgshapiro	LIBMILTER: A new function smfi_chgfrom() can be used to change the
486168515Sgshapiro		envelope sender including ESMTP parameters.
487168515Sgshapiro	LIBMILTER: A milter can now request to be informed about rejected
488168515Sgshapiro		recipients (RCPT) too.  This requires to set the protocol
489168515Sgshapiro		flag SMFIP_RCPT_REJ during option negotiation.  Whether
490168515Sgshapiro		a RCPT has been rejected can be checked by comparing the
491168515Sgshapiro		value of the macro {rcpt_mailer} with "error".
492168515Sgshapiro	LIBMILTER: A milter can now override the list of macros that it
493168515Sgshapiro		wants to receive from the MTA for each protocol step
494168515Sgshapiro		by invoking the function smfi_setsymlist() during option
495168515Sgshapiro		negotiation.
496168515Sgshapiro	LIBMILTER: A milter can receive header field values with all
497168515Sgshapiro		leading spaces by requesting the SMFIP_HDR_LEADSPC
498168515Sgshapiro		protocol action.  Also, if the flag is set then the MTA
499168515Sgshapiro		does not add a leading space to headers that are added,
500168515Sgshapiro		inserted, or replaced.
501168515Sgshapiro	LIBMILTER: If a milter sets the reply code to "421" for the HELO
502168515Sgshapiro		callback, the SMTP server will terminate the SMTP session
503168515Sgshapiro		with that error to match the behavior of all other callbacks.
504168515Sgshapiro	New Files:
505168515Sgshapiro		cf/feature/badmx.m4
506168515Sgshapiro		cf/feature/block_bad_helo.m4
507168515Sgshapiro		cf/feature/require_rdns.m4
508168515Sgshapiro		devtools/M4/UNIX/check.m4
509168515Sgshapiro		include/sm/misc.h
510168515Sgshapiro		include/sm/sendmail.h
511168515Sgshapiro		include/sm/tailq.h
512168515Sgshapiro		libmilter/docs/smfi_addrcpt_par.html
513168515Sgshapiro		libmilter/docs/smfi_setsymlist.html
514168515Sgshapiro		libmilter/docs/xxfi_data.html
515168515Sgshapiro		libmilter/docs/xxfi_negotiate.html
516168515Sgshapiro		libmilter/docs/xxfi_unknown.html
517168515Sgshapiro		libmilter/example.c
518168515Sgshapiro		libmilter/monitor.c
519168515Sgshapiro		libmilter/worker.c
520168515Sgshapiro		libsm/memstat.c
521168515Sgshapiro		libsm/t-memstat.c
522168515Sgshapiro		libsm/t-qic.c
523168515Sgshapiro		libsm/util.c
524168515Sgshapiro		sendmail/daemon.h
525168515Sgshapiro		sendmail/map.h
526168515Sgshapiro
527161389Sgshapiro8.13.8/8.13.8	2006/08/09
528161389Sgshapiro	Fix a regression in 8.13.7: if shared memory is activated, then
529161389Sgshapiro		the server can erroneously report that there is
530161389Sgshapiro		insufficient disk space.  Additionally make sure that
531161389Sgshapiro		an internal variable is set properly to avoid those
532161389Sgshapiro		misleading errors.  Based on patch from Steve Hubert
533161389Sgshapiro		of University of Washington.
534161389Sgshapiro	Fix a regression in 8.13.7: the PidFile could be removed after
535161389Sgshapiro		the process that forks the daemon exited, i.e., if
536161389Sgshapiro		sendmail -bd is invoked.  Problem reported by Kan Sasaki
537161389Sgshapiro		of Fusion Communications Corp. and Werner Wiethege.
538161389Sgshapiro	Avoid opening qf files if QueueSortOrder is "none".  Patch from
539161389Sgshapiro		David F. Skoll.
540161389Sgshapiro	Avoid a crash when finishing due to referencing a freed variable.
541161389Sgshapiro		Problem reported and diagnosed by Moritz Jodeit.
542161389Sgshapiro	CONTRIB: cidrexpand now deals with /0 by issuing the entire IPv4
543161389Sgshapiro		range (0..255).
544161389Sgshapiro	LIBMILTER: The "hostname" argument of the xxfi_connect() callback
545161389Sgshapiro		previously was the equivalent of {client_ptr}.  However,
546161389Sgshapiro		this did not match the documentation of the function, hence
547161389Sgshapiro		it has been changed to {client_name}.  See doc/op/op.*
548161389Sgshapiro		about these macros.
549161389Sgshapiro
550159609Sgshapiro8.13.7/8.13.7	2006/06/14
551159609Sgshapiro	A malformed MIME structure with many parts can cause sendmail to
552159609Sgshapiro		crash while trying to send a mail due to a stack overflow,
553159609Sgshapiro		e.g., if the stack size is limited (ulimit -s).  This
554159609Sgshapiro		happens because the recursion of the function mime8to7()
555159609Sgshapiro		was not restricted.  The function is called for MIME 8 to
556159609Sgshapiro		7 bit conversion and also to enforce MaxMimeHeaderLength.
557159609Sgshapiro		To work around this problem, recursive calls are limited to
558159609Sgshapiro		a depth of MAXMIMENESTING (20); message content after this
559159609Sgshapiro		limit is treated as opaque and is not checked further.
560159609Sgshapiro		Problem noted by Frank Sheiness.
561159609Sgshapiro	The changes to the I/O layer in 8.13.6 caused a regression for
562159609Sgshapiro		SASL mechanisms that use the security layer, e.g.,
563159609Sgshapiro		DIGEST-MD5.  Problem noted by Robert Stampfli.
564159609Sgshapiro	If a timeout occurs while reading a message (during the DATA phase)
565159609Sgshapiro		a df file might have been left behind in the queue.
566159609Sgshapiro		This was another side effect of the changes to the I/O
567159609Sgshapiro		layer made in 8.13.6.
568159609Sgshapiro	Several minor problems have been fixed that were found by a
569159609Sgshapiro		Coverity scan of sendmail 8 as part of the NetBSD
570159609Sgshapiro		distribution. See http://scan.coverity.com/
571159609Sgshapiro		Note: the scan generated also a lot of "false positives",
572159609Sgshapiro		e.g., "error" reports about situations that cannot happen.
573159609Sgshapiro		Most of those code places are marked with lint(1) comments
574159609Sgshapiro		like NOTREACHED, but Coverity does not understand those.
575159609Sgshapiro		Hence an explicit assertion has been added in some cases
576159609Sgshapiro		to avoid those false positives.
577159609Sgshapiro	If the start of the sendmail daemon fails due to a configuration
578159609Sgshapiro		error then in some cases shared memory segments or pid
579159609Sgshapiro		files were not removed.
580159609Sgshapiro	If DSN support is disabled via access_db, then related ESMTP
581159609Sgshapiro		parameters for MAIL and RCPT should be rejected.  Problem
582159609Sgshapiro		reported by Akihiro Sagawa.
583159609Sgshapiro	Enabling zlib compression in OpenSSL 0.9.8[ab] breaks the padding
584159609Sgshapiro		bug work-around.  Hence if sendmail is linked against
585159609Sgshapiro		either of these versions and compression is available,
586159609Sgshapiro		the padding bug work-around is turned off.  Based on
587159609Sgshapiro		patch from Victor Duchovni of Morgan Stanley.
588159609Sgshapiro	CONFIG: FEATURE(`dnsbl') and FEATURE(`enhdnsbl') used
589159609Sgshapiro		blackholes.mail-abuse.org as default domain for lookups,
590159609Sgshapiro		however, that list is no longer available.  To avoid
591159609Sgshapiro		further problems, no default value is available anymore,
592159609Sgshapiro		but an argument must be specified.
593159609Sgshapiro	Portability:
594159609Sgshapiro		Fix compilation on OSF/1 for sfsasl.c.  Patch from
595159609Sgshapiro		Pieter Bowman of the University of Utah.
596159609Sgshapiro
597157001Sgshapiro8.13.6/8.13.6	2006/03/22
598157001Sgshapiro	SECURITY: Replace unsafe use of setjmp(3)/longjmp(3) in the server
599157001Sgshapiro		and client side of sendmail with timeouts in the libsm I/O
600157001Sgshapiro		layer and fix problems in that code.  Also fix handling of
601157001Sgshapiro		a buffer in sm_syslog() which could have been used as an
602157001Sgshapiro		attack vector to exploit the unsafe handling of
603157001Sgshapiro		setjmp(3)/longjmp(3) in combination with signals.
604157001Sgshapiro		Problem detected by Mark Dowd of ISS X-Force.
605157001Sgshapiro	Handle theoretical integer overflows that could triggered if
606157001Sgshapiro		the server accepted headers larger than the maximum
607157001Sgshapiro		(signed) integer value.  This is prevented in the default
608157001Sgshapiro		configuration by restricting the size of a header, and on
609157001Sgshapiro		most machines memory allocations would fail before reaching
610157001Sgshapiro		those values.  Problems found by Phil Brass of ISS.
611157001Sgshapiro	If a server returns 421 for an RSET command when trying to start
612157001Sgshapiro		another transaction in a session while sending mail, do
613157001Sgshapiro		not trigger an internal consistency check.  Problem found
614157001Sgshapiro		by Allan E Johannesen of Worcester Polytechnic Institute.
615157001Sgshapiro	If a server returns a 5xy error code (other than 501) in response
616157001Sgshapiro		to a STARTTLS command despite the fact that it advertised
617157001Sgshapiro		STARTTLS and that the code is not valid according to RFC
618157001Sgshapiro		2487 treat it nevertheless as a permanent failure instead
619157001Sgshapiro		of a protocol error (which has been changed to a
620157001Sgshapiro		temporary error in 8.13.5).  Problem reported by Jeff
621157001Sgshapiro		A. Earickson of Colby College.
622157001Sgshapiro	Clear SMTP state after a HELO/EHLO command.  Patch from John
623157001Sgshapiro		Myers of Proofpoint.
624157001Sgshapiro	Observe MinQueueAge option when gathering entries from the queue
625157001Sgshapiro		for sorting etc instead of waiting until the entries are
626157001Sgshapiro		processed.  Patch from Brian Fundakowski Feldman.
627157001Sgshapiro	Set up TLS session cache to properly handle clients that try to
628157001Sgshapiro		resume a stored TLS session.
629157001Sgshapiro	Properly count the number of (direct) child processes such that
630157001Sgshapiro		a configured value (MaxDaemonChildren) is not exceeded.
631157001Sgshapiro		Based on patch from Attila Bruncsak.
632157001Sgshapiro	LIBMILTER: Remove superfluous backslash in macro definition
633157001Sgshapiro		(libmilter.h).  Based on patch from Mike Kupfer of
634157001Sgshapiro		Sun Microsystems.
635157001Sgshapiro	LIBMILTER: Don't try to set SO_REUSEADDR on UNIX domain sockets.
636157001Sgshapiro		This generates an error message from libmilter on
637157001Sgshapiro		Solaris, though other systems appear to just discard the
638157001Sgshapiro		request silently.
639157001Sgshapiro	LIBMILTER: Deal with sigwait(2) implementations that return
640157001Sgshapiro		-1 and set errno instead of returning an error code
641157001Sgshapiro		directly.  Patch from Chris Adams of HiWAAY Informations
642157001Sgshapiro		Services.
643157001Sgshapiro	Portability:
644157001Sgshapiro		Fix compilation checks for closefrom(3) and statvfs(2)
645157001Sgshapiro		in NetBSD.  Problem noted by S. Moonesamy, patch from
646157001Sgshapiro		Andrew Brown.
647157001Sgshapiro
648157001Sgshapiro8.13.5/8.13.5	2005/09/16
649157001Sgshapiro	Store the filesystem identifier of the df/ subdirectory (if it
650157001Sgshapiro		exists) in an internal structure instead of the base
651157001Sgshapiro		directory.  This structure is used decide whether there
652157001Sgshapiro		is enough free disk space when selecting a queue, hence
653157001Sgshapiro		without this change queue selection could fail if a df/
654157001Sgshapiro		subdirectory exists and is on a different filesystem
655157001Sgshapiro		than the base directory.
656157001Sgshapiro	Use the queue index of the df file (instead of the qf file) for
657157001Sgshapiro		checking whether a link(2) operation can be used to split
658157001Sgshapiro		an envelope across queue groups.  Problem found by
659157001Sgshapiro		Werner Wiethege.
660157001Sgshapiro	If the list of items in the queue is larger than the maximum
661157001Sgshapiro		number of items to process, sort the queue first and
662157001Sgshapiro		then cut the list off instead of the other way around.
663157001Sgshapiro		Patch from Matej Vela of Rudjer Boskovic Institute.
664157001Sgshapiro	Fix helpfile to show full entry for ETRN.  Problem noted by
665157001Sgshapiro		Penelope Fudd, patch from Neil Rickert of Northern Illinois
666157001Sgshapiro		University.
667157001Sgshapiro	FallbackSmartHost should also be tried on temporary errors.
668157001Sgshapiro		From John Beck of Sun Microsystems.
669157001Sgshapiro	When a server responds with 421 to the STARTTLS command then treat
670157001Sgshapiro		it as a temporary error, not as protocol error.  Problem
671157001Sgshapiro		noted by Andrey J. Melnikoff.
672157001Sgshapiro	Properly define two functions in libsm as static because their
673157001Sgshapiro		prototype used static too.  Patch from Peter Klein.
674157001Sgshapiro	Fix syntax errors in helpfile for MAIL and RCPT commands.
675157001Sgshapiro	LIBMILTER: When smfi_replacebody() is called with bodylen equals
676157001Sgshapiro		zero then do not silently ignore that call.  Patch from
677157001Sgshapiro		Gurusamy Sarathy of Active State.
678157001Sgshapiro	LIBMILTER: Recognize "421" also in a multi-line reply to terminate
679157001Sgshapiro		the SMTP session with that error.  Fix from Brian Kantor.
680157001Sgshapiro	Portability: New option HASSNPRINTF which can be set if the OS
681157001Sgshapiro			has a properly working snprintf(3) to get rid
682157001Sgshapiro			of the last two (safe) sprintf(3) calls in the
683157001Sgshapiro			source code.
684157001Sgshapiro		Add support for AIX 5.3.
685157001Sgshapiro		Add support for SunOS 5.11 (aka Solaris 11).
686157001Sgshapiro		Add support for Darwin 8.x.  Patch from Lyndon Nerenberg.
687157001Sgshapiro		OpenBSD 3.7 has removed support for NETISO.
688157001Sgshapiro	CONFIG: Add OSTYPE(freebsd6) for FreeBSD 6.X.
689157001Sgshapiro		Set DontBlameSendmail to AssumeSafeChown and
690157001Sgshapiro			GroupWritableDirPathSafe for OSTYPE(darwin).
691157001Sgshapiro			Patch from Lyndon Nerenberg.
692157001Sgshapiro		Some features still used 4.7.1 as enhanced status code which
693157001Sgshapiro			was supposed to be eliminated in 8.13.0 because some
694157001Sgshapiro			broken systems misinterpret it as a permanent error.
695157001Sgshapiro			Patch from Matej Vela of Rudjer Boskovic Institute.
696157001Sgshapiro		Some default values in a generated cf file did not match
697157001Sgshapiro			the defaults in the sendmail binary.  Problem noted
698157001Sgshapiro			by Mike Pechkin.
699157001Sgshapiro	New Files:
700157001Sgshapiro		cf/ostype/freebsd6.m4
701157001Sgshapiro		devtools/OS/AIX.5.3
702157001Sgshapiro		devtools/OS/Darwin.8.x
703157001Sgshapiro		devtools/OS/SunOS.5.11
704157001Sgshapiro		include/sm/time.h
705157001Sgshapiro
706147078Sgshapiro8.13.4/8.13.4	2005/03/27
707147078Sgshapiro	The bug fixes in 8.13.3 for connection handling uncovered a
708147078Sgshapiro		different error which could result in connections that
709147078Sgshapiro		stay in CLOSE_WAIT state due to a variable that was not
710147078Sgshapiro		properly initialized.  Problem noted by Michael Sims.
711147078Sgshapiro	Deal with empty hostnames in hostsignature().  This bug could lead
712147078Sgshapiro		to an endless loop when doing LMTP deliveries to another
713147078Sgshapiro		host.  Problem first reported by Martin Lathoud and
714147078Sgshapiro		tracked down by Gael Roualland.
715147078Sgshapiro	Make sure return parameters are initialized in getmxrr().  Problem
716147078Sgshapiro		found by Gael Roualland using valgrind.
717147078Sgshapiro	If shared memory is used and the RunAsUser option is set, then the
718161389Sgshapiro		owner and group of the shared memory segment is set to
719147078Sgshapiro		the ids specified RunAsUser and the access mode is set
720147078Sgshapiro		to 0660 to allow for updates by sendmail processes.
721147078Sgshapiro	The number of queue entries that is (optionally) kept in shared
722147078Sgshapiro		memory was wrong in some cases, e.g., envelope splitting
723147078Sgshapiro		and bounce generation.
724147078Sgshapiro	Undo a change made in 8.13.0 to silently truncate long strings
725147078Sgshapiro		in address rewriting because the message can be triggered
726147078Sgshapiro		for header checks where long strings are legitimate.
727147078Sgshapiro		Problem reported by Mary Verge DeSisto, and tracked
728147078Sgshapiro		down with the help of John Beck of Sun Microsystems.
729147078Sgshapiro	The internal stab map did not obey the -m flag.  Patch from
730147078Sgshapiro		Rob McMahon of Warwick University, England.
731147078Sgshapiro	The socket map did not obey the -f flag.  Problem noted by
732147078Sgshapiro		Dan Ringdahl, forwarded by Andrzej Filip.
733147078Sgshapiro	The addition of LDAP recursion in 8.13.0 broke enforcement of
734147078Sgshapiro		the LDAP map -1 argument which tells the MTA to only
735147078Sgshapiro		return success if and only if a single LDAP match is found.
736147078Sgshapiro	Add additional error checks in the MTA for milter communication
737147078Sgshapiro		to avoid a possible segmentation fault.  Based on patch
738147078Sgshapiro		by Joe Maimon.
739147078Sgshapiro	Do not trigger an assertion if X509_digest() returns success but
740147078Sgshapiro		does not assign a value to its output parameter.  Based
741147078Sgshapiro		on patch by Brian Kantor.
742147078Sgshapiro	Add more checks when resetting internal AUTH data (applies only
743147078Sgshapiro		to Cyrus SASL version 2).  Otherwise an SMTP session might
744147078Sgshapiro		be dropped after an AUTH failure.
745147078Sgshapiro	Portability:
746147078Sgshapiro		Add LA_LONGLONG as valid LA_TYPE type for systems that use
747147078Sgshapiro			"long long" to read load average data, e.g.,
748147078Sgshapiro			AIX 5.1 in 32 bit mode.  Note: this has to be set
749147078Sgshapiro			"by hand", it is not (yet) automatically detected.
750147078Sgshapiro			Problem noted by Burak Bilen.
751147078Sgshapiro		Use socklen_t for accept(), etc. on AIX 5.x.  This should
752147078Sgshapiro			fix problems when compiling in 64 bit mode.
753147078Sgshapiro			Problem first reported by Harry Meiert of
754147078Sgshapiro			University of Bremen.
755147078Sgshapiro	New Files:
756147078Sgshapiro		include/sm/sem.h
757147078Sgshapiro		libsm/sem.c
758147078Sgshapiro		libsm/t-sem.c
759147078Sgshapiro
760141858Sgshapiro8.13.3/8.13.3	2005/01/11
761141858Sgshapiro	Enhance handling of I/O errors, especially EOF, when STARTTLS
762141858Sgshapiro		is active.
763141858Sgshapiro	Make sure a connection is not reused after it has been closed
764141858Sgshapiro		due to a 421 error.  Problem found by Allan E Johannesen
765141858Sgshapiro		of Worcester Polytechnic Institute.
766141858Sgshapiro	Avoid triggering an assertion when sendmail is interrupted while
767141858Sgshapiro		closing a connection.  Problem found by Allan E Johannesen
768141858Sgshapiro		of Worcester Polytechnic Institute.
769141858Sgshapiro	Regression: a change in 8.13.2 caused sendmail not to try the
770141858Sgshapiro		next MX host (or FallbackMXhost if configured) when, at
771141858Sgshapiro		connection open, the current server returns a 4xy or 5xy
772141858Sgshapiro		SMTP reply code.  Problem noted by Mark Tranchant.
773141858Sgshapiro
774141858Sgshapiro8.13.2/8.13.2	2004/12/15
775141858Sgshapiro	Do not split the first header even if it exceeds the internal
776141858Sgshapiro		buffer size.  Previously a part of such a header would
777141858Sgshapiro		end up in the body of the message.  Problem noted by
778141858Sgshapiro		Simple Nomad of BindView.
779141858Sgshapiro	Do not complain about "cataddr: string too long" when checking
780141858Sgshapiro		headers that do not contain RFC 2822 addresses.
781141858Sgshapiro		Problem noted by Rich Graves of Brandeis University.
782141858Sgshapiro	If a server returns a 421 reply to the RSET command between
783141858Sgshapiro		message deliveries, do not attempt to deliver any more
784141858Sgshapiro		messages on that connection.  This prevents bogus "Bad
785141858Sgshapiro		file number" recipient status.  Problem noted by
786141858Sgshapiro		Allan E Johannesen of Worcester Polytechnic Institute.
787141858Sgshapiro	Allow trailing white space in EHLO command as recommended by RFC
788141858Sgshapiro		2821.  Problem noted by Ralph Santagato of SBC Services.
789141858Sgshapiro	Deal with clients which use AUTH but negotiate a smaller buffer size
790141858Sgshapiro		for data exchanges than the value used by sendmail, e.g.,
791141858Sgshapiro		Cyrus IMAP lmtp server.  Based on patch by Jamie Clark.
792141858Sgshapiro	When passing ESMTP arguments for RCPT to a milter, do not cut
793141858Sgshapiro		them off at a comma.  Problem noted by Krzysztof Oledzki.
794141858Sgshapiro	Add more logging to milter change header functions to
795141858Sgshapiro		complement existing logging.  Based on patch from
796141858Sgshapiro		Gurusamy Sarathy of Active State.
797141858Sgshapiro	Include <lber.h> in include/sm/config.h when LDAPMAP is defined.
798141858Sgshapiro		Patch from Edgar Hoch of the University of Stuttgart.
799141858Sgshapiro	Fix DNS lookup if IPv6 is enabled when converting an IP address
800141858Sgshapiro		to a hostname for use with SASL.  Problem noted by Ken Jones;
801141858Sgshapiro		patch from Hajimu UMEMOTO.
802141858Sgshapiro	CONFIG: For consistency enable MODIFY_MAILER_FLAGS for the prog
803141858Sgshapiro		mailer.  Patch from John Beck of Sun Microsystems.
804141858Sgshapiro	LIBMILTER: It was possible that xxfi_abort() was called after
805141858Sgshapiro		xxfi_eom() for a message if some timeouts were triggered.
806141858Sgshapiro		Patch from Alexey Kravchuk.
807141858Sgshapiro	LIBMILTER: Slightly rearrange mutex use in listener.c to allow
808141858Sgshapiro		different threads to call smfi_opensocket() and smfi_main().
809141858Sgshapiro		Patch from Jordan Ritter of Cloudmark.
810141858Sgshapiro	MAIL.LOCAL: Properly terminate MBDB before exiting.  Problem
811141858Sgshapiro		noted by Nelson Fung.
812141858Sgshapiro	MAIL.LOCAL: make strip-mail.local used a wrong path to access
813141858Sgshapiro		mail.local.  Problem noted by William Park.
814141858Sgshapiro	VACATION: Properly terminate MBDB before exiting.  Problem noted
815141858Sgshapiro		by Nelson Fung.
816141858Sgshapiro	Portability:
817141858Sgshapiro		Add support for DragonFly BSD.
818141858Sgshapiro	New Files:
819141858Sgshapiro		cf/ostype/dragonfly.m4
820141858Sgshapiro		devtools/OS/DragonFly
821141858Sgshapiro		include/sm/os/sm_os_dragonfly.h
822141858Sgshapiro	Deleted Files:
823141858Sgshapiro		libsm/vsscanf.c
824141858Sgshapiro
825132943Sgshapiro8.13.1/8.13.1	2004/07/30
826132943Sgshapiro	Using the default AliasFile ldap: specification would cause the
827132943Sgshapiro		objectClasses of the LDAP response to be included in the
828132943Sgshapiro		alias expansion.  Problem noted by Brenden Conte of
829132943Sgshapiro		Rensselaer Polytechnic Institute.
830132943Sgshapiro	Fix support for a fallback smart host for system where DNS is
831132943Sgshapiro		(partially) available. From John Beck of Sun Microsystems.
832132943Sgshapiro	Fix SuperSafe=PostMilter behavior when a milter replaces a body
833132943Sgshapiro		but the data file is not yet stored on disk because it is
834132943Sgshapiro		smaller than the size of the memory buffer.  Problem noted
835132943Sgshapiro		by David Russell.
836132943Sgshapiro	Fix certificate revocation list support; if a CRL was specified
837132943Sgshapiro		but the other side presented a cert that was signed by
838132943Sgshapiro		a different (trusted) CA than the one which issued the CRL,
839132943Sgshapiro		verification would always fail.  Problem noted by Al Smith.
840132943Sgshapiro	Run mailer programs as the RunAsUser when RunAsUser is set and
841132943Sgshapiro		the F=S mailer flag is set without a U= mailer equate.
842132943Sgshapiro		Problem noted by John Gardiner Myers of Proofpoint.
843132943Sgshapiro	${nbadrcpts} was off by one if BadRcptThrottle is zero.
844132943Sgshapiro		Patch from Sung-hoon Choi of DreamWiz Inc.
845132943Sgshapiro	CONFIG: Emit a warning if FEATURE(`access_db') is used after
846132943Sgshapiro		FEATURE(`greet_pause') because then the latter will not
847132943Sgshapiro		use the access map.  Note: if no default value is given
848132943Sgshapiro		for FEATURE(`greet_pause') then it issues an error if
849132943Sgshapiro		FEATURE(`access_db') is not specified before it.
850132943Sgshapiro		Problem noted by Alexander Dalloz of University of
851132943Sgshapiro		Bielefeld.
852132943Sgshapiro	CONFIG: Invoke ruleset Local_greet_pause if FEATURE(`greet_pause')
853132943Sgshapiro		is used to give more flexibility for local changes.
854132943Sgshapiro	Portability:
855132943Sgshapiro		Fix a 64 bit problem in the socket map code.  Problem
856132943Sgshapiro			noted by Geoff Adams.
857132943Sgshapiro		NetBSD 2.0F has closefrom(3).  Patch from Andrew Brown.
858132943Sgshapiro		NetBSD can use sysctl(3) to get the number of CPUs in
859132943Sgshapiro			a system.  Patch from Andrew Brown.
860132943Sgshapiro		Add a README file in doc/op/ to explain potential
861132943Sgshapiro			incompatibilities with various *roff related
862132943Sgshapiro			tools.  Problem tracked down by Per Hedeland.
863132943Sgshapiro	New Files:
864132943Sgshapiro		doc/op/README
865132943Sgshapiro
866132943Sgshapiro8.13.0/8.13.0	2004/06/20
867132943Sgshapiro	Do not include AUTH data in a bounce to avoid leaking confidential
868132943Sgshapiro		information.  See also cf/README about MSP and the section
869132943Sgshapiro		"Providing SMTP AUTH Data when sendmail acts as Client".
870132943Sgshapiro		Problem noted by Neil Rickert of Northern Illinois
871132943Sgshapiro		University.
872132943Sgshapiro	Fix compilation error in libsm/clock.c for -D_FFR_SLEEP_USE_SELECT=n
873132943Sgshapiro		and -DSM_CONF_SETITIMER=0.  Problem noted by Juergen Georgi
874132943Sgshapiro		of RUS University of Stuttgart.
875132943Sgshapiro	Fix bug in conversion from 8bit to quoted-printable. Problem found
876132943Sgshapiro		by Christof Haerens, patch from Per Hedeland.
877132943Sgshapiro	Add support for LDAP recursion based on types given to attribute
878132943Sgshapiro		specifications in an LDAP map definition.  This allows
879132943Sgshapiro		LDAP queries to return a new query, a DN, or an LDAP
880132943Sgshapiro		URL which will in turn be queried.  See the ``LDAP
881132943Sgshapiro		Recursion'' section of doc/op/op.me for more information.
882132943Sgshapiro		Based on patch from Andrew Baucom.
883132943Sgshapiro	Extend the default LDAP specifications for AliasFile
884132943Sgshapiro		(O AliasFile=ldap:) and file classes (F{X}@LDAP) to
885132943Sgshapiro		include support for LDAP recursion via new attributes.
886132943Sgshapiro		See ``USING LDAP FOR ALIASES, MAPS, and CLASSES'' section
887132943Sgshapiro		of cf/README for more information.
888132943Sgshapiro	New option for LDAP maps: the -w option allows you to specify the
889132943Sgshapiro		LDAP API/protocol version to use.  The default depends on
890132943Sgshapiro		the LDAP library.
891132943Sgshapiro	New option for LDAP maps: the -H option allows you to specify an
892132943Sgshapiro		LDAP URI instead of specifying the LDAP server via -h host
893132943Sgshapiro		and -p port.  This also allows for the use of LDAP over
894132943Sgshapiro		SSL and connections via named sockets if your LDAP
895132943Sgshapiro		library supports it.
896132943Sgshapiro	New compile time flag SM_CONF_LDAP_INITIALIZE: set this if
897132943Sgshapiro		ldap_initialize(3) is available (and LDAPMAP is set).
898132943Sgshapiro	If MaxDaemonChildren is set and a command is repeated too often
899132943Sgshapiro		during a SMTP session then terminate it just like it is
900132943Sgshapiro		done for too many bad SMTP commands.
901132943Sgshapiro	Basic connection rate control support has been added: the daemon
902132943Sgshapiro		maintains the number of incoming connections per client
903132943Sgshapiro		IP address and total in the macros {client_rate} and
904132943Sgshapiro		{total_rate}, respectively.  These macros can be used
905132943Sgshapiro		in the cf file to impose connection rate limits.
906132943Sgshapiro		A new option ConnectionRateWindowSize (default: 60s)
907132943Sgshapiro		determines the length of the interval for which the
908132943Sgshapiro		number of connections is stored.  Based on patch from
909132943Sgshapiro		Jose Marcio Martins da Cruz, Ecole des Mines de Paris.
910132943Sgshapiro	Add optional protection from open proxies and SMTP slammers which
911132943Sgshapiro		send SMTP traffic without waiting for the SMTP greeting.
912132943Sgshapiro		If enabled by the new ruleset greet_pause (see
913132943Sgshapiro		FEATURE(`greet_pause')), sendmail will wait the specified
914132943Sgshapiro		amount of time before sending the initial 220 SMTP
915132943Sgshapiro		greeting.  If any traffic is received before then, a 554
916132943Sgshapiro		SMTP response is sent and all SMTP commands are rejected
917132943Sgshapiro		during that connection.
918132943Sgshapiro	If 32 NOOP (or unknown/bad) commands are issued by a client the SMTP
919132943Sgshapiro		server could sleep for a very long time.  Fix based on
920132943Sgshapiro		patch from Tadashi Kobayashi of IIJ.
921132943Sgshapiro	Fix a potential memory leak in persistent queue runners if the
922132943Sgshapiro		number of entries in the queue exceeds the limit of jobs.
923132943Sgshapiro		Problem noted by Steve Hubert of University of Washington.
924132943Sgshapiro	Do not use 4.7.1 as enhanced status code because some broken systems
925132943Sgshapiro		misinterpret it as a permanent error.
926132943Sgshapiro	New value for SuperSafe: PostMilter which will delay fsync() until
927132943Sgshapiro		all milters accepted the mail.  This can increase
928132943Sgshapiro		performance if many mails are rejected by milters due to
929132943Sgshapiro		body scans.  Based on patch from David F. Skoll.
930132943Sgshapiro	New macro {msg_id} which contains the value of the Message-Id:
931132943Sgshapiro		header, whether provided by the client or generated by
932132943Sgshapiro		sendmail.
933132943Sgshapiro	New macro {client_connections} which contains the number of open
934132943Sgshapiro		connections in the SMTP server for the client IP address.
935132943Sgshapiro		Based on patch from Jose Marcio Martins da Cruz, Ecole des
936132943Sgshapiro		Mines de Paris.
937132943Sgshapiro	sendmail will now remove its pidfile when it exits.  This was done
938132943Sgshapiro		to prevent confusion caused by running sendmail stop
939132943Sgshapiro		scripts two or more times, where the second and subsequent
940141858Sgshapiro		runs would report misleading error messages about sendmail's
941132943Sgshapiro		pid no longer existing.  See section 1.3.15 of doc/op/op.me
942132943Sgshapiro		for a discussion of the implications of this, including
943132943Sgshapiro		how to correct broken scripts which may have depended on
944132943Sgshapiro		the old behavior.  From John Beck of Sun Microsystems.
945132943Sgshapiro	Support per-daemon input filter lists which override the default
946132943Sgshapiro		filter list specified in InputMailFilters.  The filters
947132943Sgshapiro		can be listed in the I= equate of DaemonPortOptions.
948132943Sgshapiro	Do not add all domain prefixes of the hostname to class 'w'.  If
949132943Sgshapiro		your configuration relies on this behavior, you have to
950132943Sgshapiro		add those names to class 'w' yourself.  Problem noted
951132943Sgshapiro		by Sander Eerkes.
952132943Sgshapiro	Support message quarantining in the mail queue.  Quarantined
953132943Sgshapiro		messages are not run on normal queue displays or runs
954132943Sgshapiro		unless specifically requested with -qQ.  Quarantined queue
955132943Sgshapiro		files are named with an hf prefix instead of a qf prefix.
956132943Sgshapiro	The -q command line option now can specify which queue to display
957132943Sgshapiro		or run.  -qQ operates on quarantined queue items.  -qL
958132943Sgshapiro		operates on lost queue items.
959132943Sgshapiro	Restricted mail queue runs and displays can be done based on the
960132943Sgshapiro		quarantined reason using -qQtext to run or display
961132943Sgshapiro		quarantined items if the quarantine reason contains the
962132943Sgshapiro		given text.  Similarly, -q!Qtext will run or display
963132943Sgshapiro		quarantined items which do not have the given text in the
964132943Sgshapiro		quarantine reason.
965132943Sgshapiro	Items in the queue can be quarantined or unquarantined using the
966132943Sgshapiro		new -Q option.  See doc/op/op.me for more information.
967132943Sgshapiro	When displaying the quarantine mailq with 'mailq -qQ', the
968132943Sgshapiro		quarantine reason is shown in a new line prefixed by
969132943Sgshapiro		"QUARANTINE:".
970132943Sgshapiro	A new error code for the $#error mailer, $@ quarantine, can be used
971132943Sgshapiro		to quarantine messages in check_* (except check_compat) and
972132943Sgshapiro		header check rulesets.  The $: of the mailer triplet will
973132943Sgshapiro		be used for the quarantine reason.
974132943Sgshapiro	Add a new quarantine count to the mailstats collected.
975132943Sgshapiro	Add a new macro ${quarantine} which is the quarantine reason for a
976132943Sgshapiro		message if it is quarantined.
977132943Sgshapiro	New map type "socket" for a trivial query protocol over UNIX domain
978132943Sgshapiro		or TCP sockets (requires compile time option SOCKETMAP).
979132943Sgshapiro		See sendmail/README and doc/op/op.me for details as well as
980132943Sgshapiro		socketmapServer.pl and socketmapClient.pl in contrib.
981132943Sgshapiro		Code donated by Bastiaan Bakker of LifeLine Networks.
982132943Sgshapiro	Define new macro ${client_ptr} which holds the result of the PTR
983132943Sgshapiro		lookup for the client IP address.  Note: this is the same
984132943Sgshapiro		as ${client_name} if and only if ${client_resolve} is OK.
985132943Sgshapiro	Add a new macro ${nbadrcpts} which contains the number of bad
986132943Sgshapiro		recipients received so far in a transaction.
987132943Sgshapiro	Call check_relay with the value of ${client_name} to deal with bogus
988132943Sgshapiro		DNS entries.  See also FEATURE(`use_client_ptr').  Problem
989132943Sgshapiro		noted by Kai Schlichting.
990132943Sgshapiro	Treat Delivery-Receipt-To: headers the same as Return-Receipt-To:
991132943Sgshapiro		headers (turn them into DSNs).  Delivery-Receipt-To: is
992132943Sgshapiro		apparently used by SIMS (Sun Internet Mail System).
993132943Sgshapiro	Enable connection caching for LPC mailers.  Patch from Christophe
994132943Sgshapiro		Wolfhugel of France Telecom Oleane.
995132943Sgshapiro	Do not silently truncate long strings in address rewriting.
996132943Sgshapiro	Add support for Cyrus SASL version 2.  From Kenneth Murchison of
997132943Sgshapiro		Oceana Matrix Ltd.
998132943Sgshapiro	Add a new AuthOption=m flag to require the use of mechanisms which
999132943Sgshapiro		support mutual authentication.  From Kenneth Murchison of
1000132943Sgshapiro		Oceana Matrix Ltd.
1001132943Sgshapiro	Fix logging of TLS related problems (introduced in 8.12.11).
1002132943Sgshapiro	The macros {auth_author} and {auth_authen} are stored in xtext
1003132943Sgshapiro		format just like the STARTTLS related macros to avoid
1004132943Sgshapiro		problems with parsing them.  Problem noted by Pierangelo
1005132943Sgshapiro		Masarati of SysNet s.n.c.
1006132943Sgshapiro	New option AuthRealm to set the authentication realm that is
1007132943Sgshapiro		passed to the Cyrus SASL library.  Patch from Gary Mills
1008132943Sgshapiro		of the University of Manitoba.
1009132943Sgshapiro	Enable AUTH mechanism EXTERNAL if STARTTLS verification was
1010132943Sgshapiro		successful, otherwise relaying would be allowed if
1011132943Sgshapiro		EXTERNAL is listed in TRUST_AUTH_MECH() and STARTTLS
1012132943Sgshapiro		is active.
1013132943Sgshapiro	Add basic support for certificate revocation lists.  Note: if a
1014132943Sgshapiro		CRLFile is specified but the file is unusable, STARTTLS
1015132943Sgshapiro		is disabled.  Based on patch by Ralf Hornik.
1016132943Sgshapiro	Enable workaround for inconsistent Cyrus SASLv1 API for mechanisms
1017132943Sgshapiro		DIGEST-MD5 and LOGIN.
1018132943Sgshapiro	Write pid to file also if sendmail only acts as persistent queue
1019132943Sgshapiro		runner.  Proposed by Gary Mills of the University of Manitoba.
1020132943Sgshapiro	Keep daemon pid file(s) locked so other daemons don't try to
1021132943Sgshapiro		overwrite each other's pid files.
1022132943Sgshapiro	Increase maximum length of logfile fields for {cert_subject} and
1023132943Sgshapiro		{cert_issuer} from 128 to 256.  Requested by Christophe
1024132943Sgshapiro		Wolfhugel of France Telecom.
1025132943Sgshapiro	Log the TLS verification message on the STARTTLS= log line at
1026132943Sgshapiro		LogLevel 12 or higher.
1027132943Sgshapiro	If the MSP is invoked with the verbose option (-v) then it will
1028132943Sgshapiro		try to use the SMTP command VERB to propagate this option
1029132943Sgshapiro		to the MTA which in turn will show the delivery just like
1030132943Sgshapiro		it was done before the default 8.12 separation of MSP and
1031132943Sgshapiro		MTA.  Based on patch by Per Hedeland.
1032132943Sgshapiro	If a daemon is refusing connections for longer than the time specified
1033132943Sgshapiro		by the new option RejectLogInterval (default: 3 hours) due
1034132943Sgshapiro		to high load, log this information.  Patch from John Beck
1035132943Sgshapiro		of Sun Microsystems.
1036132943Sgshapiro	Remove the ability for non-trusted users to raise the value of
1037132943Sgshapiro		CheckpointInterval on the command line.
1038132943Sgshapiro	New mailer flag 'B' to strip leading backslashes, which is a
1039132943Sgshapiro		subset of the functionality of the 's' flag.
1040132943Sgshapiro	New mailer flag 'W' to ignore long term host status information.
1041132943Sgshapiro		Patch from Juergen Georgi of RUS University of Stuttgart.
1042132943Sgshapiro	Enable generic mail filter API (milter) by default.  To turn
1043132943Sgshapiro		it off, add -DMILTER=0 to the compile time options.
1044132943Sgshapiro	An internal SMTP session discard flag was lost after an RSET/HELO/EHLO
1045132943Sgshapiro		causing subsequent messages to be sent instead of being
1046132943Sgshapiro		discarded.  This also caused milter callbacks to be called
1047132943Sgshapiro		out of order after the SMTP session was reset.
1048132943Sgshapiro	New option RequiresDirfsync to turn off the compile time flag
1049132943Sgshapiro		REQUIRES_DIR_FSYNC at runtime.  See sendmail/README for
1050132943Sgshapiro		further information.
1051132943Sgshapiro	New command line option -D logfile to send debug output to
1052132943Sgshapiro		the indicated log file instead of stdout.
1053132943Sgshapiro	Add Timeout.queuereturn.dsn and Timeout.queuewarn.dsn to control
1054132943Sgshapiro		queue return and warning times for delivery status
1055132943Sgshapiro		notifications.
1056132943Sgshapiro	New queue sort order option: 'n'one for not sorting the queue entries
1057132943Sgshapiro		at all.
1058132943Sgshapiro	Several more return values for ruleset srv_features have been added
1059132943Sgshapiro		to enable/disable certain features in the server per
1060132943Sgshapiro		connection.  See doc/op/op.me for details.
1061132943Sgshapiro	Support for SMTP over SSL (smtps), activated by Modifier=s
1062132943Sgshapiro		for DaemonPortOptions.
1063132943Sgshapiro	Continue with DNS lookups on ECONNREFUSED and TRY_AGAIN when
1064132943Sgshapiro		trying to canonify hostnames.  Suggested by Neil Rickert
1065132943Sgshapiro		of Northern Illinois University.
1066132943Sgshapiro	Add support for a fallback smart host (option FallbackSmartHost) to
1067132943Sgshapiro		be tried as a last resort after all other fallbacks.  This
1068132943Sgshapiro		is designed for sites with partial DNS (e.g., an accurate
1069132943Sgshapiro		view of inside the company, but an incomplete view of
1070132943Sgshapiro		outside).  From John Beck of Sun Microsystems.
1071132943Sgshapiro	Enable timeout for STARTTLS even if client does not start the TLS
1072132943Sgshapiro		handshake.  Based on patch by Andrey J. Melnikoff.
1073132943Sgshapiro	Remove deprecated -v option for PH map, use -k instead.  Patch from
1074132943Sgshapiro		Mark Roth of the University of Illinois at Urbana-Champaign.
1075132943Sgshapiro	libphclient is version 1.2.x by default, if version 1.1.x is required
1076132943Sgshapiro		then compile with -DNPH_VERSION=10100.  Patch from Mark Roth
1077132943Sgshapiro		of the University of Illinois at Urbana-Champaign.
1078132943Sgshapiro	Add Milter.macros.eom, allowing macros to be sent to milter
1079132943Sgshapiro		applications for use in the xxfi_eom() callback.
1080132943Sgshapiro	New macro {time} which contains the output of the time(3) function,
1081132943Sgshapiro		i.e., the number of seconds since 0 hours, 0 minutes,
1082132943Sgshapiro		0 seconds, January 1, 1970, Coordinated Universal Time (UTC).
1083132943Sgshapiro	If check_relay sets the reply code to "421" the SMTP server will
1084132943Sgshapiro		terminate the SMTP session with a 421 error message.
1085132943Sgshapiro	Get rid of dead code that tried to access the environment variable
1086132943Sgshapiro		HOSTALIASES.
1087132943Sgshapiro	Deprecate the use of ErrorMode=write.  To enable this in 8.13
1088132943Sgshapiro		compile with -DUSE_TTYPATH=1.
1089132943Sgshapiro	Header check rulesets using $>+ (do not strip comments) will get
1090132943Sgshapiro		the header value passed in without balancing quotes,
1091132943Sgshapiro		parentheses, and angle brackets.  Based on patch from
1092132943Sgshapiro		Oleg Bulyzhin.
1093132943Sgshapiro	Do not complain and fix up unbalanced quotes, parentheses, and
1094132943Sgshapiro		angle brackets when reading in rulesets.  This allows
1095132943Sgshapiro		rules to be written for header checks to catch strings
1096132943Sgshapiro		that contain quotes, parentheses, and/or angle brackets.
1097132943Sgshapiro		Based on patch from Oleg Bulyzhin.
1098132943Sgshapiro	Do not close socket when accept(2) in the daemon encounters
1099132943Sgshapiro		some temporary errors like ECONNABORTED.
1100132943Sgshapiro	Added list of CA certificates that are used by members of the
1101132943Sgshapiro		sendmail consortium, see CACerts.
1102132943Sgshapiro	Portability:
1103132943Sgshapiro		Two new compile options have been added:
1104132943Sgshapiro			HASCLOSEFROM	System has closefrom(3).
1105132943Sgshapiro			HASFDWALK	System has fdwalk(3).
1106132943Sgshapiro			Based on patch from John Beck of Sun Microsystems.
1107132943Sgshapiro		The Linux kernel version 2.4 series has a broken flock() so
1108132943Sgshapiro			change to using fcntl() locking until they can fix
1109132943Sgshapiro			it.  Be sure to update other sendmail related
1110132943Sgshapiro			programs to match locking techniques.
1111132943Sgshapiro		New compile time option NEEDINTERRNO which should be set
1112132943Sgshapiro			if <errno.h> does not declare errno itself.
1113132943Sgshapiro		Support for UNICOS/mk and UNICOS/mp added, some changes for
1114132943Sgshapiro			UNICOS.  Patches contributed by Aaron Davis and
1115132943Sgshapiro			Brian Ginsbach, Cray Inc., and Manu Mahonen of
1116132943Sgshapiro			Center for Scientific Computing.
1117132943Sgshapiro		Add support for Darwin 7.0/Mac OS X 10.3 (a.k.a. Panther).
1118132943Sgshapiro		Extend support to Darwin 7.x/Mac OS X 10.3 (a.k.a. Panther).
1119132943Sgshapiro		Remove path from compiler definition for Interix because
1120132943Sgshapiro			Interix 3.0 and 3.5 put gcc in different locations.
1121132943Sgshapiro			Also use <sys/mkdev.h> to get the correct
1122132943Sgshapiro			major()/minor() definitions.  Based on feedback
1123132943Sgshapiro			from Mark Funkenhauser.
1124132943Sgshapiro	CONFIG: Add support for LDAP recursion to the default LDAP searches
1125132943Sgshapiro		for maps via new attributes.  See the ``USING LDAP FOR
1126132943Sgshapiro		ALIASES, MAPS, and CLASSES'' section of cf/README and
1127132943Sgshapiro		cf/sendmail.schema for more information.
1128132943Sgshapiro	CONFIG: Make sure confTRUSTED_USER is valid even if confRUN_AS_USER
1129132943Sgshapiro		is of the form "user:group" when used for submit.mc.
1130132943Sgshapiro		Problem noted by Carsten P. Gehrke, patch from Neil Rickert
1131132943Sgshapiro		of Northern Illinois University.
1132132943Sgshapiro	CONFIG: Add a new access DB value of QUARANTINE:reason which
1133132943Sgshapiro		instructs the check_* (except check_compat) to quarantine
1134132943Sgshapiro		the message using the given reason.
1135132943Sgshapiro	CONFIG: Use "dns -R A" as map type for dnsbl (just as for enhdnsbl)
1136132943Sgshapiro		instead of "host" to avoid problem with looking up other
1137132943Sgshapiro		DNS records than just A.
1138132943Sgshapiro	CONFIG: New option confCONNECTION_RATE_WINDOW_SIZE to define the
1139132943Sgshapiro		length of the interval for which the number of incoming
1140132943Sgshapiro		connections is maintained.
1141132943Sgshapiro	CONFIG: New FEATURE(`ratecontrol') to set the limits for connection
1142132943Sgshapiro		rate control for individual hosts or nets.
1143132943Sgshapiro	CONFIG: New FEATURE(`conncontrol') to set the limits for the
1144132943Sgshapiro		number of open SMTP connections for individual hosts or nets.
1145132943Sgshapiro	CONFIG: New FEATURE(`greet_pause') enables open proxy and SMTP
1146132943Sgshapiro		slamming protection described above.  The feature can
1147132943Sgshapiro		take an argument specifying the milliseconds to wait and/or
1148132943Sgshapiro		use the access database to look the pause time based on
1149132943Sgshapiro		client hostname, domain, IP address, or subnet.
1150132943Sgshapiro	CONFIG: New FEATURE(`use_client_ptr') to have check_relay use
1151132943Sgshapiro		$&{client_ptr} as its first argument.  This is useful for
1152132943Sgshapiro		rejections based on the unverified hostname of client,
1153132943Sgshapiro		which turns on the same behavior as in earlier sendmail
1154132943Sgshapiro		versions when delay_checks was not in use.  See also entry
1155132943Sgshapiro		above about check_relay being invoked with ${client_name}.
1156132943Sgshapiro	CONFIG: New option confREJECT_LOG_INTERVAL to specify the log
1157132943Sgshapiro		interval when refusing connections for this long.
1158132943Sgshapiro	CONFIG: Remove quotes around usage of confREJECT_MSG; in some cases
1159132943Sgshapiro		this requires a change in a mc file.  Requested by
1160132943Sgshapiro		Ted Roberts of Electronic Data Systems.
1161132943Sgshapiro	CONFIG: New option confAUTH_REALM to set the authentication realm
1162132943Sgshapiro		that is passed to the Cyrus SASL library.  Patch from
1163132943Sgshapiro		Gary Mills of the University of Manitoba.
1164132943Sgshapiro	CONFIG: Rename the (internal) classes {tls}/{src} to {Tls}/{Src}
1165132943Sgshapiro		to follow the naming conventions.
1166132943Sgshapiro	CONFIG: Add a third optional argument to local_lmtp to specify
1167132943Sgshapiro		the A= argument.
1168132943Sgshapiro	CONFIG: Remove the f flag from the default mailer flags of
1169132943Sgshapiro		local_lmtp.
1170132943Sgshapiro	CONFIG: New option confREQUIRES_DIR_FSYNC to turn off the compile
1171132943Sgshapiro		time flag REQUIRES_DIR_FSYNC at runtime.
1172132943Sgshapiro	CONFIG: New LOCAL_UUCP macro to insert rules into the generated
1173132943Sgshapiro		cf file at the same place where MAILER(`uucp') inserts
1174132943Sgshapiro		its rules.
1175132943Sgshapiro	CONFIG: New options confTO_QUEUERETURN_DSN and confTO_QUEUEWARN_DSN
1176132943Sgshapiro		to control queue return and warning times for delivery
1177132943Sgshapiro		status notifications.
1178132943Sgshapiro	CONFIG: New option confFALLBACK_SMARTHOST to define FallbackSmartHost.
1179132943Sgshapiro	CONFIG: Add the mc file which has been used to create the cf
1180132943Sgshapiro		file to the end of the cf file when using make in cf/cf/.
1181132943Sgshapiro		Patch from Richard Rognlie.
1182132943Sgshapiro	CONFIG: FEATURE(nodns) has been removed, it was a no-op since 8.9.
1183132943Sgshapiro		Use ServiceSwitchFile to turn off DNS lookups, see
1184132943Sgshapiro		doc/op/op.me.
1185132943Sgshapiro	CONFIG: New option confMILTER_MACROS_EOM (sendmail Milter.macros.eom
1186132943Sgshapiro		option) defines macros to be sent to milter applications for
1187132943Sgshapiro		use in the xxfi_eom() callback.
1188132943Sgshapiro	CONFIG: New option confCRL to specify file which contains
1189132943Sgshapiro		certificate revocations lists.
1190132943Sgshapiro	CONFIG: Add a new value (sendertoo) for the third argument to
1191132943Sgshapiro		FEATURE(`ldap_routing') which will reject the SMTP
1192132943Sgshapiro		MAIL From: command if the sender address doesn't exist
1193132943Sgshapiro		in LDAP.  See cf/README for more information.
1194132943Sgshapiro	CONFIG: Add a fifth argument to FEATURE(`ldap_routing') which
1195132943Sgshapiro		instructs the rulesets on whether or not to do a domain
1196132943Sgshapiro		lookup if a full address lookup doesn't match.  See cf/README
1197132943Sgshapiro		for more information.
1198132943Sgshapiro	CONFIG: Add a sixth argument to FEATURE(`ldap_routing') which
1199132943Sgshapiro		instructs the rulesets on whether or not to queue the mail
1200132943Sgshapiro		or give an SMTP temporary error if the LDAP server can't be
1201132943Sgshapiro		reached.  See cf/README for more information.  Based on
1202132943Sgshapiro		patch from Billy Ray Miller of Caterpillar.
1203132943Sgshapiro	CONFIG: Experimental support for MTAMark, see cf/README for details.
1204132943Sgshapiro	CONFIG: New option confMESSAGEID_HEADER to define a different
1205132943Sgshapiro		Message-Id: header format.  Patch from Bastiaan Bakker
1206132943Sgshapiro		of LifeLine Networks.
1207132943Sgshapiro	CONTRIB: New version of cidrexpand which uses Net::CIDR.  From
1208132943Sgshapiro		Derek J. Balling.
1209132943Sgshapiro	CONTRIB: oldbind.compat.c has been removed due to security problems.
1210132943Sgshapiro		Found by code inspection done by Reasoning, Inc.
1211132943Sgshapiro	DEVTOOLS: Add an example file for devtools/Site/, contributed
1212132943Sgshapiro		by Neil Rickert of Northern Illinois University.
1213132943Sgshapiro	LIBMILTER: Add new function smfi_quarantine() which allows the
1214132943Sgshapiro		filter's EOM routine to quarantine the current message.
1215132943Sgshapiro		Filters which use this function must include the
1216132943Sgshapiro		SMFIF_QUARANTINE flag in the registered smfiDesc structure.
1217132943Sgshapiro	LIBMILTER: If a milter sets the reply code to "421", the SMTP server
1218132943Sgshapiro		will terminate the SMTP session with that error.
1219132943Sgshapiro	LIBMILTER: Upon filter shutdown, libmilter will not remove a
1220132943Sgshapiro		named socket in the file system if it is running as root.
1221132943Sgshapiro	LIBMILTER: Add new function smfi_progress() which allows the filter
1222132943Sgshapiro		to notify the MTA that an EOM operation is still in progress,
1223132943Sgshapiro		resetting the timeout.
1224132943Sgshapiro	LIBMILTER: Add new function smfi_opensocket() which allows the filter
1225132943Sgshapiro		to attempt to establish the interface socket, and detect
1226132943Sgshapiro		failure to do so before calling smfi_main().
1227132943Sgshapiro	LIBMILTER: Add new function smfi_setmlreply() which allows the
1228132943Sgshapiro		filter to return a multi-line SMTP reply.
1229132943Sgshapiro	LIBMILTER: Deal with more temporary errors in accept() by ignoring
1230132943Sgshapiro		them instead of stopping after too many occurred.
1231132943Sgshapiro		Suggested by James Carlson of Sun Microsystems.
1232132943Sgshapiro	LIBMILTER: Fix a descriptor leak in the sample program found in
1233132943Sgshapiro		docs/sample.html.  Reported by Dmitry Adamushko.
1234132943Sgshapiro	LIBMILTER: The sample program also needs to use SMFIF_ADDRCPT.
1235132943Sgshapiro		Reported by Carl Byington of 510 Software Group.
1236132943Sgshapiro	LIBMILTER: Document smfi_stop() and smfi_setdbg().  Patches
1237132943Sgshapiro		from Bryan Costales.
1238132943Sgshapiro	LIBMILTER: New compile time option SM_CONF_POLL; define this if
1239132943Sgshapiro		poll(2) should be used instead of select(2).
1240132943Sgshapiro	LIBMILTER: New function smfi_insheader() and related protocol
1241132943Sgshapiro		amendments to support header insertion operations.
1242132943Sgshapiro	MAIL.LOCAL: Add support for hashed mail directories, see
1243132943Sgshapiro		mail.local/README.  Contributed by Chris Adams of HiWAAY
1244132943Sgshapiro		Informations Services.
1245132943Sgshapiro	MAILSTATS: Display quarantine message counts.
1246132943Sgshapiro	MAKEMAP: Add new flag -D to specify the comment character to use
1247132943Sgshapiro		instead of '#'.
1248132943Sgshapiro	VACATION: Add new flag -j to auto-respond to messages regardless of
1249132943Sgshapiro		whether or not the recipient is listed in the To: or Cc:
1250132943Sgshapiro		headers.
1251132943Sgshapiro	VACATION: Add new flag -R to specify the envelope sender address
1252132943Sgshapiro		for the auto-response message.
1253132943Sgshapiro	New Files:
1254132943Sgshapiro		CACerts
1255132943Sgshapiro		cf/feature/conncontrol.m4
1256132943Sgshapiro		cf/feature/greet_pause.m4
1257132943Sgshapiro		cf/feature/mtamark.m4
1258132943Sgshapiro		cf/feature/ratecontrol.m4
1259132943Sgshapiro		cf/feature/use_client_ptr.m4
1260132943Sgshapiro		cf/ostype/unicos.m4
1261132943Sgshapiro		cf/ostype/unicosmk.m4
1262132943Sgshapiro		cf/ostype/unicosmp.m4
1263132943Sgshapiro		contrib/socketmapClient.pl
1264132943Sgshapiro		contrib/socketmapServer.pl
1265132943Sgshapiro		devtools/OS/Darwin.7.0
1266132943Sgshapiro		devtools/OS/UNICOS-mk
1267132943Sgshapiro		devtools/OS/UNICOS-mp
1268132943Sgshapiro		devtools/Site/site.config.m4.sample
1269132943Sgshapiro		include/sm/os/sm_os_unicos.h
1270132943Sgshapiro		include/sm/os/sm_os_unicosmk.h
1271132943Sgshapiro		include/sm/os/sm_os_unicosmp.h
1272132943Sgshapiro		libmilter/docs/smfi_insheader.html
1273132943Sgshapiro		libmilter/docs/smfi_progress.html
1274132943Sgshapiro		libmilter/docs/smfi_quarantine.html
1275132943Sgshapiro		libmilter/docs/smfi_setdbg.html
1276132943Sgshapiro		libmilter/docs/smfi_setmlreply.html
1277132943Sgshapiro		libmilter/docs/smfi_stop.html
1278132943Sgshapiro		sendmail/ratectrl.c
1279132943Sgshapiro	Deleted Files:
1280132943Sgshapiro		cf/feature/nodns.m4
1281132943Sgshapiro		contrib/oldbind.compat.c
1282132943Sgshapiro		devtools/OS/CRAYT3E.2.0.x
1283132943Sgshapiro		devtools/OS/CRAYTS.10.0.x
1284132943Sgshapiro		libsm/vsprintf.c
1285132943Sgshapiro	Renamed Files:
1286132943Sgshapiro		devtools/OS/Darwin.7.0 => devtools/OS/Darwin.7.x
1287132943Sgshapiro
1288125820Sgshapiro8.12.11/8.12.11	2004/01/18
1289125820Sgshapiro	Use QueueFileMode when opening qf files.  This error was a
1290125820Sgshapiro		regression in 8.12.10.  Problem detected and diagnosed
1291125820Sgshapiro		Lech Szychowski of the Polish Power Grid Company.
1292125820Sgshapiro	Properly count the number of queue runners in a work group and
1293125820Sgshapiro		make sure the total limit of MaxQueueChildren is not
1294125820Sgshapiro		exceeded.  Based on patch from Takayuki Yoshizawa of
1295125820Sgshapiro		Techfirm, Inc.
1296125820Sgshapiro	Take care of systems that can generate time values where the
1297125820Sgshapiro		seconds can exceed the usual range of 0 to 59.
1298125820Sgshapiro		Problem noted by Randy Diffenderfer of EDS.
1299125820Sgshapiro	Avoid regeneration of identical queue identifiers by processes
1300125820Sgshapiro		whose process id is the same as that of the initial
1301125820Sgshapiro		sendmail process that was used to start the daemon.
1302125820Sgshapiro		Problem noted by Randy Diffenderfer of EDS.
1303125820Sgshapiro	When a milter invokes smfi_delrcpt() compare the supplied
1304125820Sgshapiro		recipient address also against the printable addresses
1305125820Sgshapiro		of the current list to deal with rewritten addresses.
1306125820Sgshapiro		Based on patch from Sean Hanson of The Asylum.
1307125820Sgshapiro	BadRcptThrottle now also works for addresses which return the
1308125820Sgshapiro		error mailer, e.g., virtusertable entries with the
1309125820Sgshapiro		right hand side error:.  Patch from Per Hedeland.
1310125820Sgshapiro	Fix printing of 8 bit characters as octals in log messages.
1311125820Sgshapiro		Based on patch by Andrey J. Melnikoff.
1312125820Sgshapiro	Undo change of algorithm for MIME 7-bit base64 encoding to 8-bit
1313125820Sgshapiro		text that has been introduced in 8.12.3.  There are some
1314125820Sgshapiro		examples where the new code fails, but the old code works.
1315125820Sgshapiro		To get the 8.12.3-8.12.10 version, compile sendmail with
1316125820Sgshapiro		-DMIME7TO8_OLD=0.  If you have an example of improper
1317125820Sgshapiro		7 to 8 bit conversion please send it to us.
1318125820Sgshapiro	Return normal error code for unknown SMTP commands instead of
1319125820Sgshapiro		the one specified by check_relay or a milter for a
1320125820Sgshapiro		connection.  Problem noted by Andrzej Filip.
1321125820Sgshapiro	Some ident responses contain data after the terminating CRLF which
1322125820Sgshapiro		causes sendmail to log "POSSIBLE ATTACK...newline in string".
1323125820Sgshapiro		To avoid this everything after LF is ignored.
1324125820Sgshapiro	If the operating system supports O_EXLOCK and HASFLOCK is set
1325125820Sgshapiro		then a possible race condition for creating qf files
1326125820Sgshapiro		can be avoided.  Note: the race condition does not
1327125820Sgshapiro		exist within sendmail, but between sendmail and an
1328125820Sgshapiro		external application that accesses qf files.
1329125820Sgshapiro	Log the proper options name for TLS related mising files for
1330125820Sgshapiro		the CACertPath, CACertFile, and DHParameters options.
1331125820Sgshapiro	Do not split an envelope if it will be discarded, otherwise df
1332125820Sgshapiro		files could be left behind.  Problem found by Wolfgang
1333125820Sgshapiro		Breyha.
1334125820Sgshapiro	The use of the environment variables HOME and HOSTALIASES has been
1335125820Sgshapiro		deprecated and will be removed in version 8.13.  This only
1336125820Sgshapiro		effects configuration which preserve those variable via the
1337125820Sgshapiro		'E' command in the cf file as sendmail clears out its entire
1338125820Sgshapiro		environment.
1339125820Sgshapiro	Portability:
1340125820Sgshapiro		Add support for Darwin 7.0/Mac OS X 10.3 (a.k.a. Panther).
1341125820Sgshapiro		Solaris 10 has unsetenv(), patch from Craig Mohrman of
1342125820Sgshapiro			Sun Microsystems.
1343125820Sgshapiro	LIBMILTER: Add extra checks in case a broken MTA sends bogus data
1344125820Sgshapiro		to libmilter.  Based on code review by Rob Grzywinski.
1345125820Sgshapiro	SMRSH: Properly assemble commands that contain '&&' or '||'.
1346125820Sgshapiro		Problem noted by Eric Lee of Talking Heads.
1347125820Sgshapiro	New Files:
1348125820Sgshapiro		devtools/OS/Darwin.7.0
1349125820Sgshapiro
1350125820Sgshapiro8.12.10/8.12.10	2003/09/24 (Released: 2003/09/17)
1351120256Sgshapiro	SECURITY: Fix a buffer overflow in address parsing.  Problem
1352120256Sgshapiro		detected by Michal Zalewski, patch from Todd C. Miller
1353120256Sgshapiro		of Courtesan Consulting.
1354120256Sgshapiro	Fix a potential buffer overflow in ruleset parsing.  This problem
1355120256Sgshapiro		is not exploitable in the default sendmail configuration;
1356120256Sgshapiro		only if non-standard rulesets recipient (2), final (4), or
1357120256Sgshapiro		mailer-specific envelope recipients rulesets are used then
1358120256Sgshapiro		a problem may occur.  Problem noted by Timo Sirainen.
1359120256Sgshapiro	Accept 0 (and 0/0) as valid input for set MaxMimeHeaderLength.
1360120256Sgshapiro		Problem noted by Thomas Schulz.
1361120256Sgshapiro	Add several checks to avoid (theoretical) buffer over/underflows.
1362120256Sgshapiro	Properly count message size when performing 7->8 or 8->7 bit MIME
1363120256Sgshapiro		conversions.  Problem noted by Werner Wiethege.
1364120256Sgshapiro	Properly compute message priority based on size of entire message,
1365120256Sgshapiro		not just header.  Problem noted by Axel Holscher.
1366120256Sgshapiro	Reset SevenBitInput to its configured value between SMTP
1367120256Sgshapiro		transactions for broken clients which do not properly
1368120256Sgshapiro		announce 8 bit data.  Problem noted by Stefan Roehrich.
1369120256Sgshapiro	Set {addr_type} during queue runs when processing recipients.
1370120256Sgshapiro		Based on patch from Arne Jansen.
1371120256Sgshapiro	Better error handling in case of (very unlikely) queue-id conflicts.
1372120256Sgshapiro	Perform better error recovery for address parsing, e.g., when
1373120256Sgshapiro		encountering a comment that is too long.  Problem noted by
1374120256Sgshapiro		Tanel Kokk, Union Bank of Estonia.
1375120256Sgshapiro	Add ':' to the allowed character list for bogus HELO/EHLO
1376120256Sgshapiro		checking.  It is used for IPv6 domain literals.  Patch from
1377120256Sgshapiro		Iwaizako Takahiro of FreeBit Co., Ltd.
1378120256Sgshapiro	Reset SASL connection context after a failed authentication attempt.
1379120256Sgshapiro		Based on patch from Rob Siemborski of CMU.
1380120256Sgshapiro	Check Berkeley DB compile time version against run time version
1381120256Sgshapiro		to make sure they match.
1382120256Sgshapiro	Do not attempt AAAA (IPv6) DNS lookups if IPv6 is not enabled
1383120256Sgshapiro		in the kernel.
1384120256Sgshapiro	When a milter adds recipients and one of them causes an error,
1385120256Sgshapiro		do not ignore the other recipients.  Problem noted by
1386120256Sgshapiro		Bart Duchesne.
1387120256Sgshapiro	CONFIG: Use specified SMTP error code in mailertable entries which
1388120256Sgshapiro		lack a DSN, i.e., "error:### Text".  Problem noted by
1389120256Sgshapiro		Craig Hunt.
1390120256Sgshapiro	CONFIG: Call Local_trust_auth with the correct argument.  Patch
1391120256Sgshapiro		from Jerome Borsboom.
1392120256Sgshapiro	CONTRIB: Better handling of temporary filenames for doublebounce.pl
1393120256Sgshapiro		and expn.pl to avoid file overwrites, etc.  Patches from
1394120256Sgshapiro		Richard A. Nelson of Debian and Paul Szabo.
1395120256Sgshapiro	MAIL.LOCAL: Fix obscure race condition that could lead to an
1396120256Sgshapiro		improper mailbox truncation if close() fails after the
1397120256Sgshapiro		mailbox is fsync()'ed and a new message is delivered
1398120256Sgshapiro		after the close() and before the truncate().
1399120256Sgshapiro	MAIL.LOCAL: If mail delivery fails, do not leave behind a
1400120256Sgshapiro		stale lockfile (which is ignored after the lock timeout).
1401120256Sgshapiro		Patch from Oleg Bulyzhin of Cronyx Plus LLC.
1402120256Sgshapiro	Portability:
1403120256Sgshapiro		Port for AIX 5.2.  Thanks to Steve Hubert of University
1404120256Sgshapiro			of Washington for providing access to a computer
1405120256Sgshapiro			with AIX 5.2.
1406120256Sgshapiro		setreuid(2) works on OpenBSD 3.3.  Patch from
1407120256Sgshapiro			Todd C. Miller of Courtesan Consulting.
1408120256Sgshapiro		Allow for custom definition of SMRSH_CMDDIR and SMRSH_PATH
1409120256Sgshapiro			on all operating systems.  Patch from Robert Harker
1410120256Sgshapiro			of Harker Systems.
1411120256Sgshapiro		Use strerror(3) on Linux.  If this causes a problem on
1412120256Sgshapiro			your Linux distribution, compile with
1413120256Sgshapiro			-DHASSTRERROR=0 and tell sendmail.org about it.
1414120256Sgshapiro	Added Files:
1415120256Sgshapiro		devtools/OS/AIX.5.2
1416120256Sgshapiro
1417112810Sgshapiro8.12.9/8.12.9	2003/03/29
1418112810Sgshapiro	SECURITY: Fix a buffer overflow in address parsing due to
1419112810Sgshapiro		a char to int conversion problem which is potentially
1420112810Sgshapiro		remotely exploitable.  Problem found by Michal Zalewski.
1421120256Sgshapiro		Note: an MTA that is not patched might be vulnerable to
1422112810Sgshapiro		data that it receives from untrusted sources, which
1423112810Sgshapiro		includes DNS.
1424112810Sgshapiro	To provide partial protection to internal, unpatched sendmail MTAs,
1425112810Sgshapiro		8.12.9 changes by default (char)0xff to (char)0x7f in
1426112810Sgshapiro		headers etc.  To turn off this conversion compile with
1427112810Sgshapiro		-DALLOW_255 or use the command line option -d82.101.
1428112810Sgshapiro	To provide partial protection for internal, unpatched MTAs that may be
1429112810Sgshapiro		performing 7->8 or 8->7 bit MIME conversions, the default
1430112810Sgshapiro		for MaxMimeHeaderLength has been changed to 2048/1024.
1431112810Sgshapiro		Note: this does have a performance impact, and it only
1432112810Sgshapiro		protects against frontal attacks from the outside.
1433112810Sgshapiro		To disable the checks and return to pre-8.12.9 defaults,
1434112810Sgshapiro		set MaxMimeHeaderLength to 0/0.
1435112810Sgshapiro	Do not complain about -ba when submitting mail.  Problem noted
1436112810Sgshapiro		by Derek Wueppelmann.
1437112810Sgshapiro	Fix compilation with Berkeley DB 1.85 on systems that do not
1438112810Sgshapiro		have flock(2).  Problem noted by Andy Harper of Kings
1439112810Sgshapiro		College London.
1440112810Sgshapiro	Properly initialize data structure for dns maps to avoid various
1441112810Sgshapiro		errors, e.g., looping processes.  Problem noted by
1442120256Sgshapiro		Maurice Makaay of InterNLnet B.V.
1443112810Sgshapiro	CONFIG: Prevent multiple application of rule to add smart host.
1444112810Sgshapiro		Patch from Andrzej Filip.
1445112810Sgshapiro	CONFIG: Fix queue group declaration in MAILER(`usenet').
1446112810Sgshapiro	CONTRIB: buildvirtuser: New option -t builds the virtusertable
1447112810Sgshapiro		text file instead of the database map.
1448112810Sgshapiro	Portability:
1449112810Sgshapiro		Revert wrong change made in 8.12.7 and actually use the
1450112810Sgshapiro			builtin getopt() version in sendmail on Linux.
1451112810Sgshapiro			This can be overridden by using -DSM_CONF_GETOPT=0
1452112810Sgshapiro			in which case the OS supplied version will be used.
1453112810Sgshapiro
1454111823Sgshapiro8.12.8/8.12.8	2003/02/11
1455111823Sgshapiro	SECURITY: Fix a remote buffer overflow in header parsing by
1456111823Sgshapiro		dropping sender and recipient header comments if the
1457111823Sgshapiro		comments are too long.  Problem noted by Mark Dowd
1458111823Sgshapiro		of ISS X-Force.
1459111823Sgshapiro	Fix a potential non-exploitable buffer overflow in parsing the
1460111823Sgshapiro		.cf queue settings and potential buffer underflow in
1461111823Sgshapiro		parsing ident responses.  Problem noted by Yichen Xie of
1462111823Sgshapiro		Stanford University Compilation Group.
1463111823Sgshapiro	Fix ETRN #queuegroup command: actually start a queue run for
1464111823Sgshapiro		the selected queue group.  Problem noted by Jos Vos.
1465111823Sgshapiro	If MaxMimeHeaderLength is set and a malformed MIME header is fixed,
1466111823Sgshapiro		log the fixup as "Fixed MIME header" instead of "Truncated
1467111823Sgshapiro		MIME header".  Problem noted by Ian J Hart.
1468111823Sgshapiro	CONFIG: Fix regression bug in proto.m4 that caused a bogus
1469111823Sgshapiro		error message: "FEATURE() should be before MAILER()".
1470111823Sgshapiro	MAIL.LOCAL: Be more explicit in some error cases, i.e., whether
1471111823Sgshapiro		a mailbox has more than one link or whether it is not
1472111823Sgshapiro		a regular file.  Patch from John Beck of Sun Microsystems.
1473111823Sgshapiro
1474110560Sgshapiro8.12.7/8.12.7	2002/12/29
1475110560Sgshapiro	Properly clean up macros to avoid persistence of session data
1476110560Sgshapiro		across various connections.  This could cause session
1477110560Sgshapiro		oriented restrictions, e.g., STARTTLS requirements,
1478110560Sgshapiro		to erroneously allow a connection.  Problem noted
1479110560Sgshapiro		by Tim Maletic of Priority Health.
1480110560Sgshapiro	Do not lookup MX records when sorting the MSP queue.  The MSP
1481110560Sgshapiro		only needs to relay all mail to the MTA.  Problem found
1482110560Sgshapiro		by Gary Mills of the University of Manitoba.
1483110560Sgshapiro	Do not restrict the length of connection information to 100
1484110560Sgshapiro		characters in some logging statements.  Problem noted by
1485110560Sgshapiro		Erik Parker.
1486110560Sgshapiro	When converting an enhanced status code to an exit status, use
1487110560Sgshapiro		EX_CONFIG if the first digit is not 2, 4, or 5 or if *.1.5
1488110560Sgshapiro		is used.
1489110560Sgshapiro	Reset macro $x when receiving another MAIL command.  Problem
1490110560Sgshapiro		noted by Vlado Potisk of Wigro s.r.o.
1491110560Sgshapiro	Don't bother setting the permissions on the build area statistics
1492110560Sgshapiro		file, the proper permissions will be put on the file at
1493110560Sgshapiro		install time.  This fixes installation over NFS for some
1494110560Sgshapiro		users.  Problem noted by Martin J. Dellwo of 3-Dimensional
1495110560Sgshapiro		Pharmaceuticals, Inc.
1496110560Sgshapiro	Fix problem of decoding SASLv2 encrypted data.  Problem noted by
1497110560Sgshapiro		Alex Deiter of Mobile TeleSystems, Komi Republic.
1498110560Sgshapiro	Log milter socket open errors at MilterLogLevel 1 or higher instead
1499110560Sgshapiro		of 11 or higher.
1500110560Sgshapiro	Print early system errors to the console instead of silently
1501110560Sgshapiro		exiting.  Problem noted by James Jong of IBM.
1502110560Sgshapiro	Do not process a queue group if Runners is set to 0, regardless
1503110560Sgshapiro		of whether F=f or sendmail is run in verbose mode (-v).
1504110560Sgshapiro		The use of -qGname will still force queue group "name"
1505110560Sgshapiro		to be run even if Runners=0.
1506110560Sgshapiro	Change the level for logging the fact that a daemon is refusing
1507110560Sgshapiro		connections due to high load from LOG_INFO to LOG_NOTICE.
1508110560Sgshapiro		Patch from John Beck of Sun Microsystems.
1509110560Sgshapiro	Use location information for submit.cf from NetInfo
1510110560Sgshapiro		(/locations/sendmail/submit.cf) if available.
1511110560Sgshapiro	Re-enable ForkEachJob which was lost in 8.12.0.  Problem noted by
1512110560Sgshapiro		Neil Rickert of Northern Illinois University.
1513110560Sgshapiro	Make behavior of /canon in debug mode consistent with usage in
1514110560Sgshapiro		rulesets.  Patch from Shigeno Kazutaka of IIJ.
1515110560Sgshapiro	Fix a potential memory leak in envelope splitting.  Problem noted
1516110560Sgshapiro		by John Majikes of IBM.
1517110560Sgshapiro	Do not try to share an mailbox database LDAP connection across
1518110560Sgshapiro		different processes.  Problem noted by Randy Kunkee.
1519110560Sgshapiro	Fix logging for undelivered recipients when the SMTP connection
1520110560Sgshapiro		times out during message collection.  Problem noted by Neil
1521110560Sgshapiro		Rickert of Northern Illinois University.
1522110560Sgshapiro	Avoid problems with QueueSortOrder=random due to problems with
1523110560Sgshapiro		qsort() on Solaris (and maybe some other operating systems).
1524110560Sgshapiro		Problem noted by Stephan Schulz of Gruner+Jahr..
1525110560Sgshapiro	If -f "" is specified, set the sender address to "<>".  Problem
1526110560Sgshapiro		noted by Matthias Andree.
1527110560Sgshapiro	Fix formatting problem of footnotes for plain text output on some
1528111823Sgshapiro		versions of tmac.  Patch from Per Hedeland.
1529110560Sgshapiro	Portability:
1530110560Sgshapiro		Berkeley DB 4.1 support (requires at least 4.1.25).
1531110560Sgshapiro		Some getopt(3) implementations in GNU/Linux are broken
1532110560Sgshapiro			and pass a NULL pointer to an option which requires
1533110560Sgshapiro			an argument, hence the builtin version of
1534110560Sgshapiro			sendmail is used instead.  This can be overridden
1535110560Sgshapiro			by using -DSM_CONF_GETOPT=0.  Problem noted by
1536110560Sgshapiro			Vlado Potisk of Wigro s.r.o.
1537110560Sgshapiro		Support for nph-1.2.0 from Mark D. Roth of the University
1538110560Sgshapiro			of Illinois at Urbana-Champaign.
1539110560Sgshapiro		Support for FreeBSD 5.0's MAC labeling from Robert Watson
1540110560Sgshapiro			of the TrustedBSD Project.
1541110560Sgshapiro		Support for reading the number of processors on an IRIX
1542110560Sgshapiro			system from Michel Bourget of SGI.
1543110560Sgshapiro		Support for UnixWare 7.1 based on input from Larry Rosenman.
1544110560Sgshapiro		Interix support from Nedelcho Stanev of Atlantic Sky
1545110560Sgshapiro			Corporation.
1546110560Sgshapiro		Update Mac OS X/Darwin portability from Wilfredo Sanchez.
1547110560Sgshapiro	CONFIG: Enforce tls_client restrictions even if delay_checks
1548110560Sgshapiro		is used.  Problem noted by Malte Starostik.
1549110560Sgshapiro	CONFIG: Deal with an empty hostname created via bogus
1550110560Sgshapiro		DNS entries to get around access restrictions.
1551110560Sgshapiro		Problem noted by Kai Schlichting.
1552110560Sgshapiro	CONFIG: Use FEATURE(`msp', `[127.0.0.1]') in submit.mc by default
1553110560Sgshapiro		to avoid problems with hostname resolution for localhost
1554110560Sgshapiro		which on many systems does not resolve to 127.0.0.1 (or
1555110560Sgshapiro		::1 for IPv6).  If you do not use IPv4 but only IPv6 then
1556110560Sgshapiro		you need to change submit.mc accordingly, see the comment
1557110560Sgshapiro		in the file itself.
1558110560Sgshapiro	CONFIG: Set confDONT_INIT_GROUPS to True in submit.mc to avoid
1559110560Sgshapiro		error messages from initgroups(3) on AIX 4.3 when sending
1560110560Sgshapiro		mail to non-existing users. Problem noted by Mark Roth of
1561110560Sgshapiro		the University of Illinois at Urbana-Champaign.
1562110560Sgshapiro	CONFIG: Allow local_procmail to override local_lmtp settings.
1563110560Sgshapiro	CONFIG: Always allow connections from 127.0.0.1 or IPv6:::1 to
1564110560Sgshapiro		relay.
1565110560Sgshapiro	CONTRIB: cidrexpand: Deal with the prefix tags that may be included
1566110560Sgshapiro		in access_db.
1567110560Sgshapiro	CONTRIB: New version of doublebounce.pl contributed by Leo Bicknell.
1568110560Sgshapiro	LIBMILTER: On Solaris libmilter may get into an endless loop if
1569110560Sgshapiro		an error in the communication from/to the MTA occurs.
1570110560Sgshapiro		Patch from Gurusamy Sarathy of Active State.
1571110560Sgshapiro	LIBMILTER: Ignore EINTR from sigwait(3) which may happen on Tru64.
1572110560Sgshapiro		Patch from from Jose Marcio Martins da Cruz of Ecole
1573110560Sgshapiro		Nationale Superieure des Mines de Paris.
1574110560Sgshapiro	MAIL.LOCAL: Fix a truncation race condition if the close() on
1575110560Sgshapiro		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
1576110560Sgshapiro		Sun Microsystems.
1577110560Sgshapiro	MAIL.LOCAL: Fix a potential file descriptor leak if mkstemp(3)
1578110560Sgshapiro		fails.  Patch from John Beck of Sun Microsystems.
1579110560Sgshapiro	SMRSH: SECURITY: Only allow regular files or symbolic links to be
1580110560Sgshapiro		used for a command.  Problem noted by David Endler of
1581110560Sgshapiro		iDEFENSE, Inc.
1582110560Sgshapiro	New Files:
1583110560Sgshapiro		devtools/OS/Interix
1584110560Sgshapiro		include/sm/bdb.h
1585110560Sgshapiro
1586102528Sgshapiro8.12.6/8.12.6	2002/08/26
1587102528Sgshapiro	Do not add the FallbackMXhost (or its MX records) to the list
1588102528Sgshapiro		returned by the bestmx map when -z is used as option.
1589102528Sgshapiro		Otherwise sendmail may act as an open relay if FallbackMXhost
1590102528Sgshapiro		and FEATURE(`relay_based_on_MX') are used together.
1591102528Sgshapiro		Problem noted by Alexander Ignatyev.
1592102528Sgshapiro	Properly split owner- mailing list messages when SuperSafe is set
1593102528Sgshapiro		to interactive.  Problem noted by Todd C. Miller of
1594102528Sgshapiro		Courtesan Consulting.
1595102528Sgshapiro	Make sure that an envelope is queued in the selected queue group
1596102528Sgshapiro		even if some recipients are deleted or invalid.  Problem
1597102528Sgshapiro		found by Chris Adams of HiWAAY Informations Services.
1598102528Sgshapiro	Do not send a bounce message if a message is completely collected
1599102528Sgshapiro		from the SMTP client.  Problem noted by Kari Hurtta of the
1600102528Sgshapiro		Finnish Meteorological Institute.
1601102528Sgshapiro	Provide an 'install-submit-st' target for sendmail/Makefile to
1602102528Sgshapiro		install the MSP statistics file using the file named in the
1603102528Sgshapiro		confMSP_STFILE devtools variable.  Requested by Jeff
1604102528Sgshapiro		Earickson of Colby College.
1605102528Sgshapiro	Queue up mail with a temporary error if setusercontext() fails
1606102528Sgshapiro		during a delivery attempt.  Patch from Todd C. Miller of
1607102528Sgshapiro		Courtesan Consulting.
1608102528Sgshapiro	Fix handling of base64 encoded client authentication data for
1609102528Sgshapiro		SMTP AUTH.  Patch from Elena Slobodnik of life medien GmbH.
1610102528Sgshapiro	Set the OpenLDAP option LDAP_OPT_RESTART so the client libraries
1611102528Sgshapiro		restart interrupted system calls.  Problem noted by Luiz
1612102528Sgshapiro		Henrique Duma of BSIOne.
1613102528Sgshapiro	Prevent a segmentation fault if a program passed a NULL envp using
1614102528Sgshapiro		execve().
1615102528Sgshapiro	Document a problem with the counting of queue runners that may
1616102528Sgshapiro		cause delays if MaxQueueChildren is set too low. Problem
1617102528Sgshapiro		noted by Ian Duplisse of Cable Television Laboratories, Inc.
1618102528Sgshapiro	If discarding a message based on a recipient, don't try to look up
1619102528Sgshapiro		the recipient in the mailbox database if F=w is set.  This
1620102528Sgshapiro		allows users to discard bogus recipients when dealing with
1621102528Sgshapiro		spammers without tipping them off.  Problem noted by Neil
1622102528Sgshapiro		Rickert of Northern Illinois University.
1623102528Sgshapiro	If applying a header check to a header with unstructured data,
1624102528Sgshapiro		e.g., Subject:, then do not run syntax checks that are
1625102528Sgshapiro		supposed for addresses on the header content.
1626102528Sgshapiro	Count messages rejected/discarded via the check_data ruleset.
1627102528Sgshapiro	Portability:
1628102528Sgshapiro		Fix compilation on systems which do not allow simple
1629102528Sgshapiro			copying of the variable argument va_list.  Based on
1630102528Sgshapiro			fix from Scott Walters.
1631102528Sgshapiro		Fix NSD map open bug.  From Michel Bourget of SGI.
1632102528Sgshapiro		Add some additional IRIX shells to the default shell
1633102528Sgshapiro			list.  From Michel Bourget of SGI.
1634102528Sgshapiro		Fix compilation issues on Mac OS X 10.2 (Darwin 6.0).
1635102528Sgshapiro			NETISO support has been dropped.
1636102528Sgshapiro	CONFIG: There was a seemingly minor change in 8.12.4 with respect
1637102528Sgshapiro		to handling entries of IP nets/addresses with RHS REJECT.
1638102528Sgshapiro		These would be rejected in check_rcpt instead of only
1639102528Sgshapiro		being activated in check_relay.  This change has been made to
1640102528Sgshapiro		avoid potential bogus temporary rejection of relay attempts
1641102528Sgshapiro		"450 4.7.1 Relaying temporarily denied. Cannot resolve PTR
1642102528Sgshapiro		record for ..." if delay_checks is enabled.  However, this
1643102528Sgshapiro		modification causes a change of behavior if an IP net/address
1644102528Sgshapiro		is listed in the access map with REJECT and a host/domain
1645102528Sgshapiro		name is listed with OK or RELAY, hence it has been reversed
1646102528Sgshapiro		such that the behavior of 8.12.3 is restored.  The original
1647102528Sgshapiro		change was made on request of Neil Rickert of Northern
1648102528Sgshapiro		Illinois University, the side effect has been found by
1649102528Sgshapiro		Stefaan Van Hoornick.
1650102528Sgshapiro	CONFIG: Make sure delay_checks works even for sender addresses
1651102528Sgshapiro		using the local hostname ($j) or domains in class {P}.
1652102528Sgshapiro		Based on patch from Neil Rickert of Northern Illinois
1653102528Sgshapiro		University.
1654102528Sgshapiro	CONFIG: Fix temporary error handling for LDAP Routing lookups.
1655102528Sgshapiro		Fix from Andrzej Filip.
1656102528Sgshapiro	CONTRIB: New version of etrn.pl script and external man page
1657102528Sgshapiro		(etrn.0) from John Beck of Sun Microsystems.
1658102528Sgshapiro	LIBMILTER: Protect a free(3) operation from being called with a
1659102528Sgshapiro		NULL pointer.  Problem noted by Andrey J. Melnikoff.
1660102528Sgshapiro	LIBMILTER: Protect against more interrupted select() calls.  Based
1661102528Sgshapiro		on patch from Jose Marcio Martins da Cruz of Ecole Nationale
1662102528Sgshapiro		Superieure des Mines de Paris.
1663102528Sgshapiro	New Files:
1664102528Sgshapiro		contrib/etrn.0
1665102528Sgshapiro
166698841Sgshapiro8.12.5/8.12.5	2002/06/25
166798841Sgshapiro	SECURITY: The DNS map can cause a buffer overflow if the user
166898841Sgshapiro		specifies a dns map using TXT records in the configuration
166998841Sgshapiro		file and a rogue DNS server is queried.  None of the
167098841Sgshapiro		sendmail supplied configuration files use this option hence
167198841Sgshapiro		they are not vulnerable.  Problem noted independently by
167298841Sgshapiro		Joost Pol of PINE Internet and Anton Rang of Sun Microsystems.
167398841Sgshapiro	Unprintable characters in responses from DNS servers for the DNS
167498841Sgshapiro		map type are changed to 'X' to avoid potential problems
167598841Sgshapiro		with rogue DNS servers.
167698841Sgshapiro	Require a suboption when setting the Milter option.  Problem noted
167798841Sgshapiro		by Bryan Costales.
167898841Sgshapiro	Do not silently overwrite command line settings for
167998841Sgshapiro		DirectSubmissionModifiers.  Problem noted by Bryan
168098841Sgshapiro		Costales.
168198841Sgshapiro	Prevent a segmentation fault when clearing the event list by
168298841Sgshapiro		turning off alarms before checking if event list is
168398841Sgshapiro		empty.  Problem noted by Allan E Johannesen of Worcester
168498841Sgshapiro		Polytechnic Institute.
168598841Sgshapiro	Close a potential race condition in transitioning a memory buffered
168698841Sgshapiro		file onto disk.  From Janani Devarajan of Sun Microsystems.
168798841Sgshapiro	Portability:
168898841Sgshapiro		Include paths.h on Linux systems running glibc 2.0 or later
168998841Sgshapiro			to get the definition for _PATH_SENDMAIL, used by
169098841Sgshapiro			rmail and vacation.  Problem noted by Kevin
169198841Sgshapiro			A. McGrail of Peregrine Hardware.
169298841Sgshapiro		NOTE: Linux appears to have broken flock() again.  Unless
169398841Sgshapiro			the bug is fixed before sendmail 8.13 is shipped,
169498841Sgshapiro			8.13 will change the default locking method to
169598841Sgshapiro			fcntl() for Linux kernel 2.4 and later.  You may
169698841Sgshapiro			want to do this in 8.12 by compiling with
169798841Sgshapiro			-DHASFLOCK=0.  Be sure to update other sendmail
169898841Sgshapiro			related programs to match locking techniques.
169998841Sgshapiro
170098121Sgshapiro8.12.4/8.12.4	2002/06/03
170198121Sgshapiro	SECURITY: Inherent limitations in the UNIX file locking model
170298121Sgshapiro		can leave systems open to a local denial of service
170398121Sgshapiro		attack.  Be sure to read the "FILE AND MAP PERMISSIONS"
170498121Sgshapiro		section of the top level README for more information.
170598121Sgshapiro		Problem noted by lumpy.
170698121Sgshapiro	Use TempFileMode (defaults to 0600) for the permissions of PidFile
170798121Sgshapiro		instead of 0644.
170898121Sgshapiro	Change the default file permissions for new alias database files
170998121Sgshapiro		from 0644 to 0640.  This can be overridden at compile time
171098121Sgshapiro		by setting the DBMMODE macro.
171198121Sgshapiro	Fix a potential core dump problem if the environment variable
171298121Sgshapiro		NAME is set.  Problem noted by Beth A. Chaney of
171398121Sgshapiro		Purdue University.
171498121Sgshapiro	Expand macros before passing them to libmilter.  Problem noted
171598121Sgshapiro		by Jose Marcio Martins da Cruz of Ecole Nationale
171698121Sgshapiro		Superieure des Mines de Paris.
171798121Sgshapiro	Rewind the df (message body) before truncating it when libmilter
171898121Sgshapiro		replaces the body of a message.  Problem noted by Gisle Aas
171998121Sgshapiro		of Active State.
172098121Sgshapiro	Change SMTP reply code for AUTH failure from 500 to 535 and the
172198121Sgshapiro		initial zero-length response to "=" per RFC 2554.  Patches
172298121Sgshapiro		from Kenneth Murchison of Oceana Matrix Ltd.
172398121Sgshapiro	Do not try to fix broken message/rfc822 MIME attachments by
172498121Sgshapiro		inserting a MIME-Version: header when MaxMimeHeaderLength
172598121Sgshapiro		is set and no 8 to 7 bit conversion is needed.  Based on
172698121Sgshapiro		patch from Rehor Petr of ICZ (Czech Republic).
172798121Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" if the connection
172898121Sgshapiro		is rejected anyway.  Noted by Chris Loelke.
172998121Sgshapiro	Mention the submission mail queue in the mailq man page.  Requested
173098121Sgshapiro		by Bill Fenner of AT&T.
173198121Sgshapiro	Set ${msg_size} macro when reading a message from the command line
173298121Sgshapiro		or the queue.
173398121Sgshapiro	Detach from shared memory before dropping privileges back to
173498121Sgshapiro		user who started sendmail.
173598121Sgshapiro	If AllowBogusHELO is set to false (default) then also complain if
173698121Sgshapiro		the argument to HELO/EHLO contains white space.  Suggested
173798121Sgshapiro		by Seva Gluschenko of Cronyx Plus.
173898121Sgshapiro	Allow symbolicly linked forward files in writable directory paths
173998121Sgshapiro		if both ForwardFileInUnsafeDirPath and
174098121Sgshapiro		LinkedForwardFileInWritableDir DontBlameSendmail options
174198121Sgshapiro		are set.  Problem noted by Werner Spirk of
174298121Sgshapiro		Leibniz-Rechenzentrum Munich.
174398121Sgshapiro	Portability:
174498121Sgshapiro		Operating systems that lack the ftruncate() call will not
174598121Sgshapiro			be able to use Milter's body replacement feature.
174698121Sgshapiro			This only affects Altos, Maxion, and MPE/iX.
174798121Sgshapiro		Digital UNIX 5.0 has changed flock() semantics to be
174898121Sgshapiro			non-compliant.  Problem noted by Martin Mokrejs of
174998121Sgshapiro			Charles University in Prague.
175098121Sgshapiro		The sparc64 port of FreeBSD 5.0 now supports shared
175198121Sgshapiro			memory.
175298121Sgshapiro	CONFIG: FEATURE(`preserve_luser_host') needs the macro map.
175398121Sgshapiro		Problem noted by Andrzej Filip.
175498121Sgshapiro	CONFIG: Using 'local:' as a mailertable value with
175598121Sgshapiro		FEATURE(`preserve_luser_host') and LUSER_RELAY caused mail
175698121Sgshapiro		to be misaddressed.  Problem noted by Andrzej Filip.
175798121Sgshapiro	CONFIG: Provide a workaround for DNS based rejection lists that
175898121Sgshapiro		fail for AAAA queries.  Problem noted by Chris Boyd.
175998121Sgshapiro	CONFIG: Accept the machine's hostname as resolvable when checking
176098121Sgshapiro		the sender address.  This allows locally submitted mail to
176198121Sgshapiro		be accepted if the machine isn't connected to a nameserver
176298121Sgshapiro		and doesn't have an /etc/hosts entry for itself.  Problem
176398121Sgshapiro		noted by Robert Watson of the TrustedBSD Project.
176498121Sgshapiro	CONFIG: Use deferred expansion for checking the ${deliveryMode}
176598121Sgshapiro		macro in case the SMTP VERB command is used.  Problem
176698121Sgshapiro		noted by Bryan Costales.
176798121Sgshapiro	CONFIG: Avoid a duplicate '@domain' virtusertable lookup if no
176898121Sgshapiro		matches are found.  Fix from Andrzej Filip.
176998121Sgshapiro	CONFIG: Fix wording in default dnsbl rejection message.  Suggested
177098121Sgshapiro		by Lou Katz of Metron Computerware, Ltd.
177198121Sgshapiro	CONFIG: Add mailer cyrusv2 for Cyrus V2.  Contributed by
177298121Sgshapiro		Kenneth Murchison of Oceana Matrix Ltd.
177398121Sgshapiro	CONTRIB: Fix wording in default dnsblaccess rejection message to
177498121Sgshapiro		match dnsbl change.
177598121Sgshapiro	DEVTOOLS: Add new option for access mode of statistics file,
177698121Sgshapiro		confSTMODE, which specifies the permissions when initially
177798121Sgshapiro		installing the sendmail statistics file.
177898121Sgshapiro	LIBMILTER: Mark the listening socket as close-on-exec in case
177998121Sgshapiro		a user's filter starts other applications.
178098121Sgshapiro	LIBSM: Allow the MBDB initialize, lookup, and/or terminate
178198121Sgshapiro		functions in SmMbdbTypes to be set to NULL.
178298121Sgshapiro	MAKEMAP: Change the default file permissions for new databases from
178398121Sgshapiro		0644 to 0640.  This can be overridden at compile time
178498121Sgshapiro		by setting the DBMMODE macro.
178598121Sgshapiro	SMRSH: Fix man page bug: replace SMRSH_CMDBIN with SMRSH_CMDDIR.
178698121Sgshapiro		Problem noted by Dave Alden of Ohio State University.
178798121Sgshapiro	VACATION: When listing the vacation database (-l), don't show
178898121Sgshapiro		bogus timestamps for excluded (-x) addresses.  Problem
178998121Sgshapiro		noted by Bryan Costales.
179098121Sgshapiro	New Files:
179198121Sgshapiro		cf/mailer/cyrusv2.m4
179298121Sgshapiro
179394334Sgshapiro8.12.3/8.12.3	2002/04/05
179494334Sgshapiro	NOTICE: In general queue files should not be moved if queue groups
179594334Sgshapiro		are used.  In previous versions this could cause mail
179694334Sgshapiro		not to be delivered if a queue file is repeatedly moved
179794334Sgshapiro		by an external process whenever sendmail moved it back
179894334Sgshapiro		into the right place.  Some precautions have been taken
179994334Sgshapiro		to avoid moving queue files if not really necessary.
180094334Sgshapiro		sendmail may use links to refer to queue files and it
180194334Sgshapiro		may store the path of data files in queue files.  Hence
180294334Sgshapiro		queue files should not be moved unless those internals
180394334Sgshapiro		are understood and the integrity of the files is not
180494334Sgshapiro		compromised.  Problem noted by Anne Bennett of Concordia
180594334Sgshapiro		University.
180694334Sgshapiro	If an error mail is created, and the mail is split across different
180794334Sgshapiro		queue directories, and SuperSafe is off, then write the mail
180894334Sgshapiro		to disk before splitting it, otherwise an assertion is
180994334Sgshapiro		triggered.  Problem tracked down by Henning Schmiedehausen
181094334Sgshapiro		of INTERMETA.
181194334Sgshapiro	Fix possible race condition that could cause sendmail to forget
181294334Sgshapiro		running queues.  Problem noted by Jeff Wasilko of smoe.org.
181394334Sgshapiro	Handle bogus qf files better without triggering assertions.
181494334Sgshapiro		Problem noted by Guy Feltin.
181594334Sgshapiro	Protect against interrupted select() call when enforcing Milter
181694334Sgshapiro		read and write timeouts.  Patch from Gurusamy Sarathy of
181794334Sgshapiro		ActiveState.
181894334Sgshapiro	Matching queue IDs with -qI should be case sensitive.  Problem
181994334Sgshapiro		noted by Anne Bennett of Concordia University.
182094334Sgshapiro	If privileges have been dropped, don't try to change group ID to
182194334Sgshapiro		the RunAsUser group.  Problem noted by Neil Rickert of
182294334Sgshapiro		Northern Illinois University.
182394334Sgshapiro	Fix SafeFileEnvironment path munging when the specified path
182494334Sgshapiro		contains a trailing slash.  Based on patch from Dirk Meyer
182594334Sgshapiro		of Dinoex.
182694334Sgshapiro	Do not limit sendmail command line length to SM_ARG_MAX (usually
182794334Sgshapiro		4096).  Problem noted by Allan E Johannesen of Worcester
182894334Sgshapiro		Polytechnic Institute.
182994334Sgshapiro	Clear full name of sender for each new envelope to avoid bogus data
183094334Sgshapiro		if several mails are sent in one session and some of them
183194334Sgshapiro		do not have a From: header.  Problem noted by Bas Haakman.
183294334Sgshapiro	Change timeout check such that cached information about a connection
183394334Sgshapiro		will be immediately invalid if ConnectionCacheTimeout is zero.
183494334Sgshapiro		Based on patch from David Burns of Portland State University.
183594334Sgshapiro	Properly count message size for mailstats during mail collection.
183694334Sgshapiro		Problem noted by Werner Wiethege.
183794334Sgshapiro	Log complete response from LMTP delivery agent on failure.  Based on
1838168515Sgshapiro		patch from Motonori Nakamura of Kyoto University.
183994334Sgshapiro	Provide workaround for getopt() implementations that do not catch
184094334Sgshapiro		missing arguments.
184194334Sgshapiro	Fix the message size calculation if the message body is replaced by
184294334Sgshapiro		a milter filter and buffered file I/O is being used.
184394334Sgshapiro		Problem noted by Sergey Akhapkin of Dr.Web.
184494334Sgshapiro	Do not honor SIGUSR1 requests if running with extra privileges.
184594334Sgshapiro		Problem noted by Werner Wiethege.
184694334Sgshapiro	Prevent a file descriptor leak on mail delivery if the initial
184794334Sgshapiro		connect fails and DialDelay is set.  Patch from Servaas
184894334Sgshapiro		Vandenberghe of Katholieke Universiteit Leuven.
184994334Sgshapiro	Properly deal with a case where sendmail is called by root running
185094334Sgshapiro		a set-user-ID (non-root) program.  Problem noted by Jon
185194334Sgshapiro		Lusky of ISS Atlanta.
185294334Sgshapiro	Avoid leaving behind stray transcript (xf) files if multiple queue
185394334Sgshapiro		directories are used and mail is sent to a mailing list
185494334Sgshapiro		which has an owner- alias.  Problem noted by Anne Bennett
185594334Sgshapiro		of Concordia University.
185694334Sgshapiro	Fix class map parsing code if optional key is specified.  Problem
185794334Sgshapiro		found by Mario Nigrovic.
185894334Sgshapiro	The SMTP daemon no longer tries to fix up improperly dot-stuffed
185994334Sgshapiro		incoming messages.  A leading dot is always stripped by the
186094334Sgshapiro		SMTP receiver regardless of whether or not it is followed by
186194334Sgshapiro		another dot.  Problem noted by Jordan Ritter of darkridge.com.
186294334Sgshapiro	Fix corruption when doing automatic MIME 7-bit quoted-printable or
186394334Sgshapiro		base64 encoding to 8-bit text.  Problem noted by Mark
186494334Sgshapiro		Elvers.
186594334Sgshapiro	Correct the statistics gathered for total number of connections.
186694334Sgshapiro		Instead of being the exact same number as the total number
186794334Sgshapiro		of messages (T line in mailstats) it now represents the
186894334Sgshapiro		total number of TCP connections.
186994334Sgshapiro	Be more explicit about syntax errors in addresses, especially
187094334Sgshapiro		non-ASCII characters, and properly create DSNs if necessary.
187194334Sgshapiro		Problem noted by Leena Heino of the University of Tampere.
187294334Sgshapiro	Prevent small timeouts from being lost on slow machines if itimers
187394334Sgshapiro		are used.  Problem noted by Suresh Ramasubramanian.
187494334Sgshapiro	Prevent a race condition on child cleanup for delivery to files.
187594334Sgshapiro		Problem noted by Fletcher Mattox of the University of
187694334Sgshapiro		Texas.
187794334Sgshapiro	Change the SMTP error code for temporary map failures from 421
187894334Sgshapiro		to 451.
187994334Sgshapiro	Do not assume that realloc(NULL, size) works on all OS (this was
188094334Sgshapiro		only done in one place: queue group creation).  Based on
188194334Sgshapiro		patch by Bryan Costales.
188294334Sgshapiro	Initialize Timeout.iconnect in the code to prevent randomly short
188394334Sgshapiro		timeouts.  Problem noted by Bradley Watts of AT&T Canada.
188494334Sgshapiro	Do not try to send a second SMTP QUIT command if the remote
188594334Sgshapiro		responds to a MAIL command with a 421 reply or on I/O
188694334Sgshapiro		errors.  By doing so, the host was marked as having a
188794334Sgshapiro		temporary problem and other mail destined for that host was
188894334Sgshapiro		queued for the next queue run.  Problem noted by Fletcher
188994334Sgshapiro		Mattox of the University of Texas, Allan E Johannesen of
189094334Sgshapiro		Worcester Polytechnic Institute, Larry Greenfield of CMU,
189194334Sgshapiro		and Neil Rickert of Northern Illinois University.
189294334Sgshapiro	Ignore error replies from the SMTP QUIT command (including servers
189394334Sgshapiro		which drop the connection instead of responding to the
189494334Sgshapiro		command).
189594334Sgshapiro	Portability:
189694334Sgshapiro		Check LDAP_API_VERSION to determine if ldap_memfree() is
189798121Sgshapiro			available.
189894334Sgshapiro		Define HPUX10 when building on HP-UX 10.X.  That platform
189994334Sgshapiro			now gets the proper _PATH_SENDMAIL and SMRSH_CMDDIR
190094334Sgshapiro			settings.  Patch from Elias Halldor Agustsson of
190194334Sgshapiro			Skyrr.
190294334Sgshapiro		Fix dependency building on Mac OS X and Darwin.  Problem
190394334Sgshapiro			noted by John Beck.
190494334Sgshapiro		Preliminary support for the sparc64 port of FreeBSD 5.0.
190594334Sgshapiro		Add /sbin/sh as an acceptable user shell on HP-UX.  From
190694334Sgshapiro			Rajesh Somasund of Hewlett-Packard.
190794334Sgshapiro	CONFIG: Add FEATURE(`authinfo') to allow a separate database for
190894334Sgshapiro		SMTP AUTH information.  This feature was actually added in
190994334Sgshapiro		8.12.0 but a release note was not included.
191094334Sgshapiro	CONFIG: Do not bounce mail if FEATURE(`ldap_routing')'s bounce
191194334Sgshapiro		parameter is set and the LDAP lookup returns a temporary
191294334Sgshapiro		error.
191394334Sgshapiro	CONFIG: Honor FEATURE(`relay_hosts_only') when using
191494334Sgshapiro		FEATURE(`relay_mail_from', `domain').  Problem noted by
191594334Sgshapiro		Krzysztof Oledzki.
191694334Sgshapiro	CONFIG: FEATURE(`msp') now disables any type of alias
191794334Sgshapiro		initialization as aliases are not needed for the MSP.
191894334Sgshapiro	CONFIG: Allow users to override RELAY_MAILER_ARGS when FEATURE(`msp')
191994334Sgshapiro		is in use.  Patch from Andrzej Filip.
192094334Sgshapiro	CONFIG: FEATURE(`msp') uses `[localhost]' as default instead of
192194334Sgshapiro		`localhost' and turns on MX lookups for the SMTP mailers.
192294334Sgshapiro		This will only have an effect if a parameter is specified,
192394334Sgshapiro		i.e., an MX lookup will be performed on the hostname unless
192494334Sgshapiro		it is embedded in square brackets.  Problem noted by
192594334Sgshapiro		Theo Van Dinter of Collective Technologies.
192694334Sgshapiro	CONFIG: Set confTIME_ZONE to USE_TZ in submit.mc (TimeZoneSpec= in
192794334Sgshapiro		submit.cf) to use $TZ for time stamps.  This is a compromise
192894334Sgshapiro		to allow for the proper time zone on systems where the
192994334Sgshapiro		default results in misleading time stamps. That is, syslog
193094334Sgshapiro		time stamps and Date headers on submitted mail will use the
193194334Sgshapiro		user's $TZ setting.  Problem noted by Mark Roth of the
193294334Sgshapiro		University of Illinois at Urbana-Champaign, solution proposed
193394334Sgshapiro		by Neil Rickert of Northern Illinois University.
193494334Sgshapiro	CONFIG: Mac OS X (Darwin) ships with mail.local as non-set-user-ID
193594334Sgshapiro		binary.  Adjust local mailer flags accordingly.  Problem
193694334Sgshapiro		noted by John Beck.
193794334Sgshapiro	CONTRIB: Add a warning to qtool.pl to not move queue files around
193894334Sgshapiro		if queue groups are used.
193994334Sgshapiro	CONTRIB: buildvirtuser: Add -f option to force rebuild.
194094334Sgshapiro	CONTRIB: smcontrol.pl: Add -f option to specify control socket.
194194334Sgshapiro	CONTRIB: smcontrol.pl: Add support for 'memdump' command.
194294334Sgshapiro		Suggested by Bryan Costales.
194394334Sgshapiro	DEVTOOLS: Add dependency generation for test programs.
194494334Sgshapiro	LIBMILTER: Remove conversion of port number for the socket
194594334Sgshapiro		structure that is passed to xxfi_connect().  Notice:
194698121Sgshapiro		this fix requires that sendmail and libmilter both have
194798121Sgshapiro		this change; mixing versions may lead to wrong port
194894334Sgshapiro		values depending on the endianness of the involved systems.
194994334Sgshapiro		Problem noted by Gisle Aas of ActiveState.
195094334Sgshapiro	LIBMILTER: If smfi_setreply() sets a custom reply code of '4XX' but
195194334Sgshapiro		SMFI_REJECT is returned, ignore the custom reply.  Do the
195294334Sgshapiro		same if '5XX' is used and SMFI_TEMPFAIL is returned.
195394334Sgshapiro	LIBMILTER: Install include files in ${INCLUDEDIR}/libmilter/ as
195494334Sgshapiro		required by mfapi.h.  Problem noted by Jose Marcio Martins
195594334Sgshapiro		da Cruz of Ecole Nationale Superieure des Mines de Paris.
195694334Sgshapiro	LIBSM: Add SM_CONF_LDAP_MEMFREE as a configuration define.  Set
195794334Sgshapiro		this to 1 if your LDAP client libraries include
195894334Sgshapiro		ldap_memfree().
195994334Sgshapiro	LIBSMDB: Avoid a file creation race condition for Berkeley DB 1.X
196094334Sgshapiro		and NDBM on systems with the O_EXLOCK open(2) flag.
196194334Sgshapiro	SMRSH: Fix compilation problem on some operating systems.  Problem
196294334Sgshapiro		noted by Christian Krackowizer of schuler technodat GmbH.
196394334Sgshapiro	VACATION: Allow root to operate on user vacation databases.  Based
196494334Sgshapiro		on patch from Greg Couch of the University of California,
196594334Sgshapiro		San Francisco.
196694334Sgshapiro	VACATION: Don't ignore -C option.  Based on patch by Bryan Costales.
196794334Sgshapiro	VACATION: Clarify option usage in the man page.  Problem noted by
196894334Sgshapiro		Joe Barbish.
196994334Sgshapiro	New Files:
197094334Sgshapiro		libmilter/docs/smfi_setbacklog.html
197194334Sgshapiro
197290792Sgshapiro8.12.2/8.12.2	2002/01/13
197390792Sgshapiro	Don't complain too much if stdin, stdout, or stderr are missing
197490792Sgshapiro		at startup, only log an error message.
197590792Sgshapiro	Fix potential problem if an unknown operation mode (character
197690792Sgshapiro		following -b) has been specified.
197790792Sgshapiro	Prevent purgestat from looping even if someone changes the
197890792Sgshapiro		permissions or owner of hoststatus files.  Problem noted
197990792Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
198090792Sgshapiro	Properly record dropped connections in persistent host status.
198190792Sgshapiro		Problem noted by Ulrich Windl of the Universitat
198290792Sgshapiro		Regensburg.
198390792Sgshapiro	Remove newlines from recipients read via sendmail -t to prevent
198490792Sgshapiro		SMTP protocol errors when sending the RCPT command.
198590792Sgshapiro		Problem noted by William D. Colburn of the New Mexico
198690792Sgshapiro		Institute of Mining and Technology.
198790792Sgshapiro	Only log milter body replacements once instead of for each body
198890792Sgshapiro		chunk sent by a filter.  Problem noted by Kari Hurtta of
198990792Sgshapiro		the Finnish Meteorological Institute.
199090792Sgshapiro	In 8.12.0 and 8.12.1, the headers were mistakenly not included in
199190792Sgshapiro		the message size calculation.  Problem noted by Kari Hurtta
199290792Sgshapiro		of the Finnish Meteorological Institute.
199390792Sgshapiro	Since 8.12 no longer forks at the SMTP MAIL command, the daemon
199490792Sgshapiro		needs to collect children status to avoid zombie processes.
199590792Sgshapiro		Problem noted by Chris Adams of HiWAAY Informations Services.
199690792Sgshapiro	Shut down "nullserver" and ETRN-only connections after 25 bad
199790792Sgshapiro		commands are issued.  This makes it consistent with normal
199890792Sgshapiro		SMTP connections.
199990792Sgshapiro	Avoid duplicate logging of milter rejections.  Problem noted by
200090792Sgshapiro		William D. Colburn of the New Mexico Institute of Mining
200190792Sgshapiro		and Technology.
200290792Sgshapiro	Error and delay DSNs were being sent to postmaster instead of the
200390792Sgshapiro		message sender if the sender had used a deprecated RFC822
200490792Sgshapiro		source route.  Problem noted by Kari Hurtta of the Finnish
200590792Sgshapiro		Meteorological Institute.
200690792Sgshapiro	Fix FallbackMXhost behavior for temporary errors during address
200790792Sgshapiro		parsing.  Problem noted by Jorg Bielak from Coastal Web
200890792Sgshapiro		Online.
200990792Sgshapiro	For systems on which stat(2) does not return a value for st_blksize
201090792Sgshapiro		that is the "optimal blocksize for I/O" three new compile
201190792Sgshapiro		time flags are available: SM_IO_MAX_BUF_FILE, SM_IO_MIN_BUF,
201290792Sgshapiro		and SM_IO_MAX_BUF, which define an upper limit for
201390792Sgshapiro		regular files, and a lower and upper limit for other file
201490792Sgshapiro		types, respectively.
201590792Sgshapiro	Fix a potential deadlock if two events are supposed to occur at
201690792Sgshapiro		exactly the same time.  Problem noted by Valdis Kletnieks
201790792Sgshapiro		of Virginia Tech.
201890792Sgshapiro	Perform envelope splitting for aliases listed directly in the
201990792Sgshapiro		alias file, not just for include/.forward files.
202090792Sgshapiro		Problem noted by John Beck of Sun Microsystems.
202190792Sgshapiro	Allow selection of queue group for mailq using -qGgroup.
202290792Sgshapiro		Based on patch by John Beck of Sun Microsystems.
202390792Sgshapiro	Make sure cached LDAP connections used my multiple maps in the same
202490792Sgshapiro		process are closed.  Patch from Taso N. Devetzis.
202590792Sgshapiro	If running as root, allow reading of class files in protected
202690792Sgshapiro		directories.  Patch from Alexander Talos of the University
202790792Sgshapiro		of Vienna.
202890792Sgshapiro	Correct a few LDAP related memory leaks.  Patch from David Powell
202990792Sgshapiro		of Sun Microsystems.
203090792Sgshapiro	Allow specification of an empty realm via the authinfo ruleset.
203190792Sgshapiro		This is necessary to interoperate as an SMTP AUTH client
203290792Sgshapiro		with servers that do not support realms when using
203390792Sgshapiro		CRAM-MD5.  Problem noted by Bjoern Voigt of TU Berlin.
203490792Sgshapiro	Avoid a potential information leak if AUTH PLAIN is used and the
203590792Sgshapiro		server gets stuck while processing that command.  Problem
203690792Sgshapiro		noted by Chris Adams from HiWAAY Informations Services.
203790792Sgshapiro	In addition to printing errors when parsing recipients during
203890792Sgshapiro		command line invocations log them to make it simpler
203990792Sgshapiro		to understand possible DSNs to postmaster.
204090792Sgshapiro	Do not use FallbackMXhost on mailers which have the F=0 flag set.
204190792Sgshapiro	Allow local mailers (F=l) to specify a host for TCP connections
204290792Sgshapiro		instead of forcing localhost.
204390792Sgshapiro	Obey ${DESTDIR} for installation of the client mail queue and
204490792Sgshapiro		submit.cf.  Patch from Peter 'Luna' Runestig.
204590792Sgshapiro	Re-enable support for -M option which was broken in 8.12.1.  Problem
204690792Sgshapiro		noted by Neil Rickert of Northern Illinois University.
204790792Sgshapiro	If a remote server violates the SMTP standard by unexpectedly
204890792Sgshapiro		dropping the connection during an SMTP transaction, stop
204990792Sgshapiro		sending commands.  This prevents bogus "Bad file number"
205090792Sgshapiro		recipient status.  Problem noted by Allan E Johannesen of
205190792Sgshapiro		Worcester Polytechnic Institute.
205290792Sgshapiro	Do not use a size estimate of 100 for postmaster bounces, it's
205390792Sgshapiro		almost always too small; do not guess the size at all.
205490792Sgshapiro	New VENDOR_DEC for Compaq/DEC.  Requested by James Seagraves of
205590792Sgshapiro		Compaq Computer Corp.
205690792Sgshapiro	Fix DaemonPortOptions IPv6 address parsing such that ::1 works
205790792Sgshapiro		properly.  Problem noted by Valdis Kletnieks of Virginia
205890792Sgshapiro		Tech.
205990792Sgshapiro	Portability:
206090792Sgshapiro		Fix IPv6 network interface probing on HP-UX 11.X.  Based on
206190792Sgshapiro			patch provided by HP.
206290792Sgshapiro		Mac OS X (aka Darwin) has a broken setreuid() call, but a
206390792Sgshapiro			working seteuid() call.  From Daniel J. Luke.
206490792Sgshapiro		Use proper type for a 32-bit integer on SINIX.  From Ganu
206590792Sgshapiro			Sachin of Siemens.
206690792Sgshapiro		Set SM_IO_MIN_BUF (4K) and SM_IO_MAX_BUF (8K) for HP-UX.
206790792Sgshapiro		Reduce optimization from +O3 to +O2 on HP-UX 11.  This
206890792Sgshapiro			fixes a problem that caused additional bogus
206990792Sgshapiro			characters to be written to the qf file.  Problem
207090792Sgshapiro			noted by Tapani Tarvainen.
207190792Sgshapiro		Set LDA_USE_LOCKF by default for UnixWare.  Problem noted
207290792Sgshapiro			by Boyd Lynn Gerber.
207390792Sgshapiro		Add support for HP MPE/iX.  See sendmail/README for port
207490792Sgshapiro			information.  From Mark Bixby of Hewlett-Packard.
207590792Sgshapiro		New portability defines HASNICE, HASRRESVPORT, USE_ENVIRON,
207690792Sgshapiro			USE_DOUBLE_FORK, and NEEDLINK.  See sendmail/README
207790792Sgshapiro			for more information.  From Mark Bixby of
207890792Sgshapiro			Hewlett-Packard.
207990792Sgshapiro		If an OS doesn't have a method of finding free disk space
208090792Sgshapiro			(SFS_NONE), lie and say there is plenty of space.
208190792Sgshapiro			From Mark Bixby of Hewlett-Packard.
208290792Sgshapiro		Add support for AIX 5.1.  From Valdis Kletnieks of
208390792Sgshapiro			Virginia Tech.
208490792Sgshapiro		Fix man page location for NeXTSTEP.  From Hisanori Gogota
208590792Sgshapiro			of the NTT/InterCommunication Center.
208690792Sgshapiro		Do not assume that strerror() always returns a string.
208790792Sgshapiro			Problem noted by John Beck of Sun Microsystems.
208890792Sgshapiro	CONFIG: Add OSTYPE(freebsd5) for FreeBSD 5.X, which has removed
208990792Sgshapiro		UUCP from the base operating system.  From Mark Murray of
209090792Sgshapiro		FreeBSD Services, Ltd.
209190792Sgshapiro	CONFIG: Add OSTYPE(mpeix) and a generic .mc file for HP MPE/iX
209290792Sgshapiro		systems.  From Mark Bixby of Hewlett-Packard.
209390792Sgshapiro	CONFIG: Add support for selecting a queue group for all mailers.
209490792Sgshapiro		Based on proposal by Stephen L. Ulmer of the University of
209590792Sgshapiro		Florida.
209690792Sgshapiro	CONFIG: Fix error reporting for compat_check.m4.  Problem noted by
209790792Sgshapiro		Altin Waldmann.
209890792Sgshapiro	CONFIG: Do not override user selections for confRUN_AS_USER and
209990792Sgshapiro		confTRUSTED_USER in FEATURE(msp).  From Mark Bixby of
210090792Sgshapiro		Hewlett-Packard.
210190792Sgshapiro	LIBMILTER: Fix bug that prevented the removal of a socket after
210290792Sgshapiro		libmilter terminated.  Problem reported by Andrey V. Pevnev
210390792Sgshapiro		of MSFU.
210490792Sgshapiro	LIBMILTER: Fix configuration error that required libsm for linking.
210590792Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
210690792Sgshapiro		Institute.
210790792Sgshapiro	LIBMILTER: Portability fix for OpenUNIX.  Patch from Larry Rosenman.
210890792Sgshapiro	LIBMILTER: Fix a theoretical memory leak and a possible attempt
210990792Sgshapiro		to free memory twice.
211090792Sgshapiro	LIBSM: Fix a potential segmentation violation in the I/O library.
211190792Sgshapiro		Problem found and analyzed by John Beck and Tim Haley
211290792Sgshapiro		of Sun Microsystems.
211390792Sgshapiro	LIBSM: Do not clear the LDAP configuration information when
211490792Sgshapiro		terminating the mailbox database connection in the LDAP
211590792Sgshapiro		example code.  Problem noted by Nikos Voutsinas of the
211690792Sgshapiro		University of Athens.
211790792Sgshapiro	New Files:
211890792Sgshapiro		cf/cf/generic-mpeix.cf
211990792Sgshapiro		cf/cf/generic-mpeix.mc
212090792Sgshapiro		cf/ostype/freebsd5.m4
212190792Sgshapiro		cf/ostype/mpeix.m4
212290792Sgshapiro		devtools/OS/AIX.5.1
212390792Sgshapiro		devtools/OS/MPE-iX
212490792Sgshapiro		include/sm/os/sm_os_mpeix.h
212590792Sgshapiro		libsm/mpeix.c
212690792Sgshapiro
212790792Sgshapiro8.12.1/8.12.1	2001/10/01
212890792Sgshapiro	SECURITY: Check whether dropping group privileges actually succeeded
212990792Sgshapiro		to avoid possible compromises of the mail system by
213090792Sgshapiro		supplying bogus data.  Add configuration options for
213190792Sgshapiro		different set*gid() calls to reset saved gid.  Problem
213290792Sgshapiro		found by Michal Zalewski.
213390792Sgshapiro	PRIVACY: Prevent information leakage when sendmail has extra
213490792Sgshapiro		privileges by disabling debugging (command line -d flag)
213590792Sgshapiro		during queue runs and disabling ETRN when sendmail -bs is
213690792Sgshapiro		used.  Suggested by Michal Zalewski.
213790792Sgshapiro	Avoid memory corruption problems resulting from bogus .cf files.
213890792Sgshapiro		Problem found by Michal Zalewski.
213990792Sgshapiro	Set the ${server_addr} macro to name of mailer when doing LMTP
214090792Sgshapiro		delivery.  LMTP systems may offer SMTP Authentication or
214190792Sgshapiro		STARTTLS causing sendmail to use this macro in rulesets.
214290792Sgshapiro	If debugging is turned on (-d0.10) print not just the default
214390792Sgshapiro		values for configuration file and pid file but also the
214490792Sgshapiro		selected values.  Problem noted by Brad Chapman.
214590792Sgshapiro	Continue dealing with broken nameservers by ignoring SERVFAIL
214690792Sgshapiro		errors returned on T_AAAA (IPv6) lookups at delivery time
214790792Sgshapiro		if ResolverOptions=WorkAroundBrokenAAAA is set.  Previously
214890792Sgshapiro		this only applied to hostname canonification.  Problem
214990792Sgshapiro		noted by Bill Fenner of AT&T Research.
215090792Sgshapiro	Ignore comments in NIS host records when trying to find the
215190792Sgshapiro		canonical name for a host.
215290792Sgshapiro	When sendmail has extra privileges, limit mail submission command
215390792Sgshapiro		line flags (i.e., -G, -h, -F, etc.)  to mail submission
215490792Sgshapiro		operating modes (i.e., -bm, -bs, -bv, etc.).  Idea based on
215590792Sgshapiro		suggestion from Michal Zalewski.
215690792Sgshapiro	Portability:
215790792Sgshapiro		AIX: Use `oslevel` if available to determine OS version.
215890792Sgshapiro			`uname` does not given complete information.
215990792Sgshapiro			Problem noted by Keith Neufeld of the Cessna
216090792Sgshapiro			Aircraft Company.
216190792Sgshapiro		OpenUNIX: Use lockf() for LDA delivery (affects mail.local).
216290792Sgshapiro			Problem noticed by Boyd Lynn Gerber of ZENEX.
216390792Sgshapiro		Avoid compiler warnings by not using pointers to pass
216490792Sgshapiro			integers.  Problem noted by Todd C. Miller of
216590792Sgshapiro			Courtesan Consulting.
216690792Sgshapiro	CONFIG: Add restrictqrun to PrivacyOptions for the MSP to minimize
216790792Sgshapiro		problems with potential misconfigurations.
216890792Sgshapiro	CONFIG: Fix comment showing default value of MaxHopCount.  Problem
216990792Sgshapiro		noted by Greg Robinson of the Defence Science and
217090792Sgshapiro		Technology Organisation of Australia.
217190792Sgshapiro	CONFIG: dnsbl: If an argument specifies an error message in case
217290792Sgshapiro		of temporary lookup failures for DNS based blacklists
217390792Sgshapiro		then use it.
217490792Sgshapiro	LIBMILTER: Install mfdef.h, required by mfapi.h.  Problem noted by
217590792Sgshapiro		Richard A. Nelson of Debian.
217690792Sgshapiro	LIBMILTER: Add __P definition for OS that lack it.  Problem noted
217790792Sgshapiro		by Chris Adams from HiWAAY Informations Services.
217890792Sgshapiro	LIBSMDB: Fix a lock race condition that affects makemap, praliases,
217990792Sgshapiro		and vacation.
218090792Sgshapiro	MAKEMAP: Avoid going beyond the end of an input line if it does
218190792Sgshapiro		not contain a value for a key.  Based on patch from
218290792Sgshapiro		Mark Bixby from Hewlett-Packard.
218390792Sgshapiro	New Files:
218490792Sgshapiro		test/Build
218590792Sgshapiro		test/Makefile
218690792Sgshapiro		test/Makefile.m4
218790792Sgshapiro		test/README
218890792Sgshapiro		test/t_dropgid.c
218990792Sgshapiro		test/t_setgid.c
219090792Sgshapiro	Deleted Files:
219190792Sgshapiro		include/sm/stdio.h
219290792Sgshapiro		include/sm/sysstat.h
219390792Sgshapiro
219490792Sgshapiro8.12.0/8.12.0	2001/09/08
219590792Sgshapiro	*NOTICE*: The default installation of sendmail does not use
219690792Sgshapiro		set-user-ID root anymore.  You need to create a new user and
219790792Sgshapiro		a new group before installing sendmail (both called smmsp by
219890792Sgshapiro		default).  The installation process tries to install
219990792Sgshapiro		/etc/mail/submit.cf and creates /var/spool/clientmqueue by
220090792Sgshapiro		default.  Please see sendmail/SECURITY for details.
220190792Sgshapiro	SECURITY: Check for group and world writable forward and :include:
220290792Sgshapiro		files.  These checks can be turned off if absolutely
220390792Sgshapiro		necessary using the DontBlameSendmail option and the new
220490792Sgshapiro		flags:
220590792Sgshapiro			GroupWritableForwardFile
220690792Sgshapiro			WorldWritableForwardFile
220790792Sgshapiro			GroupWritableIncludeFile
220890792Sgshapiro			WorldWritableIncludeFile
220990792Sgshapiro		Problem noted by Slawek Zak of Politechnika Warszawska,
221090792Sgshapiro	SECURITY: Drop privileges when using address test mode.  Suggested
221190792Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
221290792Sgshapiro		(IdS).
221390792Sgshapiro	Fixed problem of a global variable being used for a timeout jump
221490792Sgshapiro		point where the variable could become overused for more than
221590792Sgshapiro		one timeout concurrently.  This erroneous behavior resulted in
221690792Sgshapiro		a corrupted stack causing a core dump.  The timeout is now
221790792Sgshapiro		handled via libsm.  Problem noted by Michael Shapiro,
221890792Sgshapiro		John Beck, and Carl Smith of Sun Microsystems.
221990792Sgshapiro	If sendmail is set-group-ID then that group ID is used for permission
222090792Sgshapiro		checks (group ID of RunAsUser).  This allows use of a
222190792Sgshapiro		set-group-ID sendmail binary for initial message submission
222290792Sgshapiro		and no set-user-ID root sendmail is needed.  For details
222390792Sgshapiro		see sendmail/SECURITY.
222490792Sgshapiro	Log a warning if a non-trusted user changes the syslog label.
222590792Sgshapiro		Based on notice from Bryan Costales of SL3D, Inc.
222690792Sgshapiro	If sendmail is called for initial delivery, try to use submit.cf
222790792Sgshapiro		with a fallback of sendmail.cf as configuration file.  See
222890792Sgshapiro		sendmail/SECURITY.
222990792Sgshapiro	New configuration file option UseMSP to allow group writable queue
223090792Sgshapiro		files if the group is the same as that of a set-group-ID
223190792Sgshapiro		sendmail binary.  See sendmail/SECURITY.
223290792Sgshapiro	The .cf file is chosen based on the operation mode. For -bm (default),
223390792Sgshapiro		-bs, and -t it is submit.cf if it exists for all others it
223490792Sgshapiro		is sendmail.cf (to be backward compatible).  This selection
223590792Sgshapiro		can be changed by the new option -Ac or -Am (alternative .cf
223690792Sgshapiro		file: client or mta).  See sendmail/SECURITY.
223790792Sgshapiro	The SMTP server no longer forks on each MAIL command.  The ONEX
223890792Sgshapiro		command has been removed.
223990792Sgshapiro	Implement SMTP PIPELINING per RFC 2920.  It can be turned off
224090792Sgshapiro		at compile time or per host (ruleset).
224190792Sgshapiro	New option MailboxDatabase specifies the type of mailbox database
224290792Sgshapiro		used to look up local mail recipients; the default value
224390792Sgshapiro		is "pw", which means to use getpwnam().  New mailbox database
224490792Sgshapiro		types can be added by adding custom code to libsm/mbdb.c.
224590792Sgshapiro	Queue file names are now 15 characters long, rather than 14 characters
224690792Sgshapiro		long, to accomodate envelope splitting.  File systems with
224790792Sgshapiro		a 14 character file name length limit are no longer
224890792Sgshapiro		supported.
224990792Sgshapiro	Recipient list used for delivery now gets internally ordered by
225090792Sgshapiro		hostsignature (character string version of MX RR).  This orders
225190792Sgshapiro		recipients for the same MX RR's together meaning smaller
225290792Sgshapiro		portions of the list need to be scanned (instead of the whole
225390792Sgshapiro		list) each delivery() pass to determine piggybacking.  The
225490792Sgshapiro		significance of the change is better the larger the recipient
225590792Sgshapiro		list.  Hostsignature is now created during recipient list
225690792Sgshapiro		creation rather than just before delivery.
225790792Sgshapiro	Enhancements for more opportunistic piggybacking.  Previous
225890792Sgshapiro		piggybacking (called coincidental) extended to coattail
225990792Sgshapiro		piggybacking.  Rather than complete MX RR matching
226090792Sgshapiro		(coincidental) piggybacking is done if just the lowest value
226190792Sgshapiro		preference matches (coattail).
226290792Sgshapiro	If sendmail receives a temporary error on a RCPT TO: command, it will
226390792Sgshapiro		try other MX hosts if available.
226490792Sgshapiro	DefaultAuthInfo can contain a list of mechanisms to be used for
226590792Sgshapiro		outgoing (client-side) SMTP Authentication.
226690792Sgshapiro	New modifier 'A' for DaemonPortOptions/ClientPortOptions to disable
226790792Sgshapiro		AUTH (overrides 'a' modifier in DaemonPortOptions).  Based
226890792Sgshapiro		on patch from Lyndon Nerenberg of Messaging Direct.
226990792Sgshapiro	Enable AUTH mechanism EXTERNAL if STARTTLS is used.
227090792Sgshapiro	A new ruleset authinfo can be used to return client side
227190792Sgshapiro		authentication information for AUTH instead of DefaultAuthInfo.
227290792Sgshapiro		Therefore the DefaultAuthInfo option is deprecated and will be
227390792Sgshapiro		removed in future versions.
227490792Sgshapiro	Accept any SMTP continuation code 3xy for AUTH even though RFC 2554
227590792Sgshapiro		requires 334.  Mercury 1.48 is a known offender.
227690792Sgshapiro	Add new option AuthMaxBits to limit the overall encryption strength
227790792Sgshapiro		for the security layer in SMTP AUTH (SASL).  See
227890792Sgshapiro		doc/op/op.me for details.
227990792Sgshapiro	Introduce new STARTTLS related macros {cn_issuer}, {cn_subject},
228090792Sgshapiro		{cert_md5} which hold the CN (common name) of the CA that
228190792Sgshapiro		signed the presented certificate, the CN and the MD5 hash
228290792Sgshapiro		of the presented certificate, respectively.
228390792Sgshapiro	New ruleset try_tls to decide whether to try (as client) STARTTLS.
228490792Sgshapiro	New ruleset srv_features to enable/disable certain features in the
228590792Sgshapiro		server per connection.  See doc/op/op.me for details.
228690792Sgshapiro	New ruleset tls_rcpt to decide whether to send e-mail to a particular
228790792Sgshapiro		recipient; useful to decide whether a conection is secure
228890792Sgshapiro		enough on a per recipient basis.
228990792Sgshapiro	New option TLSSrvOptions to modify some aspects of the server
229090792Sgshapiro		for STARTTLS.
229190792Sgshapiro	If no certificate has been requested, the macro {verify} has the
229290792Sgshapiro		value "NOT".
229390792Sgshapiro	New M=S modifier for ClientPortOptions/DaemonPortOptions to turn off
229490792Sgshapiro		using/offering STARTTLS when delivering/receiving e-mail.
229590792Sgshapiro	Macro expand filenames/directories for certs and keys in the .cf file.
229690792Sgshapiro		Proposed by Neil Rickert of Northern Illinois University.
229790792Sgshapiro	Generate an ephemeral RSA key for a STARTTLS connection only if
229890792Sgshapiro		really required.  This change results in a noticable
229990792Sgshapiro		performance gains on most machines.  Moreover, if shared
230090792Sgshapiro		memory is in use, reuse the key several times.
230190792Sgshapiro	Add queue groups which can be used to group queue directories with
230290792Sgshapiro		the same behavior together.  See doc/op/op.me for details.
230390792Sgshapiro	If the new option FastSplit (defaults to one) has a value greater
230490792Sgshapiro		than zero, it suppresses the MX lookups on addresses when they
230590792Sgshapiro		are initially sorted which may result in faster envelope
230690792Sgshapiro		splitting.  If the mail is submitted directly from the
230790792Sgshapiro		command line, then the value also limits the number of
230890792Sgshapiro		processes to deliver the envelopes; if more envelopes are
230990792Sgshapiro		created they are only queued up and must be taken care of
231090792Sgshapiro		by a queue run.
231190792Sgshapiro	The check for 'enough disk space' now pays attention to which file
231290792Sgshapiro		system each queue directory resides in.
231390792Sgshapiro	All queue runners can be cleanly terminated via SIGTERM to parent.
231490792Sgshapiro	New option QueueFileMode for the default permissions of queue files.
231590792Sgshapiro	Add parallel queue runner code.  Allows multiple queue runners per work
231690792Sgshapiro		group (one or more queues in a multi-queue environment
231790792Sgshapiro		collected together) to process the same work list at the
231890792Sgshapiro		same time.
231990792Sgshapiro	Option MaxQueueChildren added to limit the number of concurrently
232090792Sgshapiro		active queue runner processes.
232190792Sgshapiro	New option MaxRunnersPerQueue to specify the maximum number of queue
232290792Sgshapiro		runners per queue group.
232390792Sgshapiro	Queue member selection by substring pattern matching now allows
232490792Sgshapiro		the pattern to be negated.  For -qI, -qR and -qS it is
232590792Sgshapiro		permissible for -q!I, -q!R and -q!S to mean remove members
232690792Sgshapiro		of the queue that match during processing.
232790792Sgshapiro	New -qp[time] option is similar to -qtime, except that instead of
232890792Sgshapiro		periodically forking a child to process the queue, a single
232990792Sgshapiro		child is forked for each queue that sleeps between queue
233090792Sgshapiro		runs.  A SIGHUP signal can be sent to restart this
233190792Sgshapiro		persistent queue runner.
233290792Sgshapiro	The SIGHUP signal now restarts a timed queue run process (i.e., a
233390792Sgshapiro		sendmail process which only runs the queue at an interval:
233490792Sgshapiro		sendmail -q15m).
233590792Sgshapiro	New option NiceQueueRun	to set the priority of queue runners.
233690792Sgshapiro		Proposed by Thom O'Connor.
233790792Sgshapiro	sendmail will run the queue(s) in the background when invoked with -q
233890792Sgshapiro		unless the new -qf option or -v is used.
233990792Sgshapiro	QueueSortOrder=Random sorts the queue randomly, which is useful if
234090792Sgshapiro		several queue runners are started by hand to avoid contention.
234190792Sgshapiro	QueueSortOrder=Modification sorts the queue by the modification time
234290792Sgshapiro		of the qf file (older entries first).
234390792Sgshapiro	Support Deliver By SMTP Service Extension (RFC 2852) which allows
234490792Sgshapiro		a client to specify an amount of time within which an e-mail
234590792Sgshapiro		should be delivered.  New option DeliverByMin added to set the
234690792Sgshapiro		minimum amount of time or disable the extension.
234790792Sgshapiro	Non-printable characters (ASCII: 0-31, 127) in mailbox addresses are
234890792Sgshapiro		not allowed unless escaped or quoted.
234990792Sgshapiro	Add support for a generic DNS map.  Based on a patch contributed
235090792Sgshapiro		by Leif Johansson of Stockholm University, which was based on
235190792Sgshapiro		work by Assar Westerlund of Swedish Institute of Computer
235290792Sgshapiro		Science, Kista, and Johan Danielsson of Royal Institute of
235390792Sgshapiro		Technology, Stockholm, Sweden.
235490792Sgshapiro	MX records will be looked up for FallBackMXhost.  To use the old
235590792Sgshapiro		behavior (no MX lookups), put the name in square brackets.
235690792Sgshapiro		Proposed by Thom O'Connor.
235790792Sgshapiro	Use shared memory to store free space of filesystems that are used
235890792Sgshapiro		for queues, if shared memory is available and if a key is set
235990792Sgshapiro		via SharedMemoryKey.  This minimizes the number of system
236090792Sgshapiro		calls to check the available space.  See doc/op/op.me for
236190792Sgshapiro		details.
236290792Sgshapiro	If shared memory is compiled in the option -bP can be used to print
236390792Sgshapiro		the number of entries in the queue(s).
236490792Sgshapiro	Enable generic mail filter API (milter).  See libmilter/README
236590792Sgshapiro		and the usual documentation for details.
236690792Sgshapiro	Remove AutoRebuildAliases option, deprecated since 8.10.
236790792Sgshapiro	Remove '-U' (initial user submission) command line option as
236890792Sgshapiro		announced in 8.10.
236990792Sgshapiro	Remove support for non-standard SMTP command XUSR.  Use an MSA instead.
237090792Sgshapiro	New macro {addr_type} which contains whether the current address is
237190792Sgshapiro		an envelope sender or recipient address.  Suggested by
237290792Sgshapiro		Neil Rickert of Northern Illinois University.
237390792Sgshapiro	Two new options for host maps: -d (retransmission timeout),
237490792Sgshapiro		-r (number of retries).
237590792Sgshapiro	New option for LDAP maps: the -V<sep> allows you to specify a
237690792Sgshapiro		separator such that a lookup can return both an attribute
237790792Sgshapiro		and value separated by the given separator.
237890792Sgshapiro	Add new operators '%', '|', '&' (modulo, binary or, binary and)
237990792Sgshapiro		to map class arith.
238090792Sgshapiro	If DoubleBounceAddress expands to an empty string, ``double bounces''
238190792Sgshapiro		(errors that occur when sending an error message) are dropped.
238290792Sgshapiro	New DontBlameSendmail options GroupReadableSASLDBFile and
238390792Sgshapiro		GroupWritableSASLDBFile to relax requirements for sasldb files.
238490792Sgshapiro	New DontBlameSendmail options GroupReadableKeyFile to relax
238590792Sgshapiro		requirements for files containing secret keys.  This is
238690792Sgshapiro		necessary for the MSP if client authentification is used.
238790792Sgshapiro	Properly handle quoted filenames for class files (to allow for
238890792Sgshapiro		filenames with spaces).
238990792Sgshapiro	Honor the resolver option RES_NOALIASES when canonifying hostnames.
239090792Sgshapiro	Add macros to avoid the reuse of {if_addr} etc:
239190792Sgshapiro		{if_name_out}	hostname of interface of outgoing connection.
239290792Sgshapiro		{if_addr_out}	address of interface of outgoing connection.
239390792Sgshapiro		{if_family_out}	family of interface of outgoing connection.
239490792Sgshapiro		The latter two are only set if the interface does not belong
239590792Sgshapiro		to the loopback net.
239690792Sgshapiro	Add macro {nrcpts} which holds the number of (validated) recipients.
239790792Sgshapiro	DialDelay option applies only to mailers with flag 'Z'.  Patch from
239890792Sgshapiro		Juergen Georgi of RUS University of Stuttgart.
239990792Sgshapiro	New Timeout.lhlo,auth,starttls options to limit the time waiting for
240090792Sgshapiro		an answer to the LMTP LHLO, SMTP AUTH or STARTTLS command.
240190792Sgshapiro	New Timeout.aconnect option to limit the overall waiting time for
240290792Sgshapiro		all connections for a single delivery attempt to succeed.
240390792Sgshapiro	Limit the rate recipients in the SMTP envelope are accepted once
240490792Sgshapiro		a threshold number of recipients has been rejected (option
240590792Sgshapiro		BadRcptThrottle).  From Gregory A Lundberg of the WU-FTPD
240690792Sgshapiro		Development Group.
240790792Sgshapiro	New option DelayLA to delay connections if the load averages
240890792Sgshapiro		exceeds the specified value.  The default of 0 does not
240990792Sgshapiro		change the previous behavior.  A value greater than 0
241090792Sgshapiro		will cause sendmail to sleep for one second on most
241190792Sgshapiro		SMTP commands and before accepting connections if that
241290792Sgshapiro		load average is exceeded.
241390792Sgshapiro	Use a dynamic (instead of fixed-size) buffer for the list of
241490792Sgshapiro		recipients that are sent during a connection to a mailer.
241590792Sgshapiro		This also introduces a new mailer field 'r' which defines
241690792Sgshapiro		the maximum number of recipients (defaults to 100).
241790792Sgshapiro		Based on patch by Motonori Nakamura of Kyoto University.
241890792Sgshapiro	Add new F=1 mailer flag to disable sending of null characters ('\0').
241990792Sgshapiro	Add new F=2 mailer flag to disable use of ESMTP, using SMTP instead.
242090792Sgshapiro	The deprecated [TCP] builtin mailer pathname (P=) is gone.  Use [IPC]
242190792Sgshapiro		instead.
242290792Sgshapiro	IPC is no longer available as first mailer argument (A=) for [IPC]
242390792Sgshapiro		builtin mailer pathnames.  Use TCP instead.
242490792Sgshapiro	PH map code updated to use the new libphclient API instead of the
242590792Sgshapiro		old libqiapi library.  Contributed by Mark Roth of the
242690792Sgshapiro		University of Illinois at Urbana-Champaign.
242790792Sgshapiro	New option DirectSubmissionModifiers to define {daemon_flags}
242890792Sgshapiro		for direct (command line) submissions.
242990792Sgshapiro	New M=O modifier for DaemonPortOptions to ignore the socket in
243090792Sgshapiro		case of failures.  Based on patch by Jun-ichiro itojun
243190792Sgshapiro		Hagino of the KAME Project.
243290792Sgshapiro	Add Disposition-Notification-To: (RFC 2298) to the list of headers
243390792Sgshapiro		whose content is rewritten similar to Reply-To:.
243490792Sgshapiro		Proposed by Andrzej Filip.
243590792Sgshapiro	Use STARTTLS/AUTH=server/client for logging incoming/outgoing
243690792Sgshapiro		STARTTLS/AUTH connections; log incoming connections at level
243790792Sgshapiro		9 or higher.  Use AUTH/STARTTLS instead of SASL/TLS for SMTP
243890792Sgshapiro		AUTH/STARTTLS related logfile entries.
243990792Sgshapiro	Convert unprintable characters (and backslash) into octal or C format
244090792Sgshapiro		before logging.
244190792Sgshapiro	Log recipients if no message is transferred but QUIT/RSET is given
244290792Sgshapiro		(at LogLevel 9/10 or higher).
244390792Sgshapiro	Log discarded recipients at LogLevel 10 or higher.
244490792Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" for connections
244590792Sgshapiro		in which most commands are rejected due to check_relay or
244690792Sgshapiro		TCP Wrappers if the host tries one of those commands anyway.
244790792Sgshapiro	Change logging format for cloned envelopes to be similar to that for
244890792Sgshapiro		DSNs ("old id: new id: clone").  Suggested by Ulrich Windl
244990792Sgshapiro		of the Universitat Regensburg.
245090792Sgshapiro	Added libsm, a C library of general purpose abstractions including
245190792Sgshapiro		assertions, tracing and debugging with named debug categories,
245290792Sgshapiro		exception handling, malloc debugging, resource pools,
245390792Sgshapiro		portability abstractions, and an extensible buffered I/O
245490792Sgshapiro		package.  It will at some point replace libsmutil.
245590792Sgshapiro		See libsm/index.html for details.
245690792Sgshapiro	Fixed most memory leaks in sendmail which were previously taken
245790792Sgshapiro		care of by fork() and exit().
245890792Sgshapiro	Use new sm_io*() functions in place of stdio calls.  Allows for
245990792Sgshapiro		more consistent portablity amongst different platforms
246090792Sgshapiro		new and old (from new libsm).
246190792Sgshapiro	Common I/O pkg means just one buffering method needed instead of two
246290792Sgshapiro		('bf_portable' and 'bf_torek' now just 'bf').
246390792Sgshapiro	Sfio no longer needed as SASL/TLS code uses sm_io*() API's.
246490792Sgshapiro	New possible value 'interactive' for SuperSafe which can be used
246590792Sgshapiro		together with DeliveryMode=interactive is to avoid some disk
246690792Sgshapiro		synchronizations calls.
246790792Sgshapiro	Add per-recipient status information to mailq -v output.
246890792Sgshapiro	T_ANY queries are no longer used by sendmail.
246990792Sgshapiro	When compiling with "gcc -O -Wall" specify "-DSM_OMIT_BOGUS_WARNINGS"
247090792Sgshapiro		too (see include/sm/cdefs.h for more info).
247190792Sgshapiro	sendmail -d now has general support for named debug categories.
247290792Sgshapiro		See libsm/debug.html and section 3.4 of doc/op/op.me
247390792Sgshapiro		for details.
247490792Sgshapiro	Eliminate the "postmaster warning" DSNs on address parsing errors
247590792Sgshapiro		such as unbalanced angle brackets or parentheses.  The DSNs
247690792Sgshapiro		generated by this condition were illegal (not RFC conform).
247790792Sgshapiro		Problem noted by Ulrich Windl of the Universitaet Regensburg.
247890792Sgshapiro	Do not issue a DSN if the ruleset localaddr resolves to the $#error
247990792Sgshapiro		mailer and the recipient has hence been rejected during the
248090792Sgshapiro		SMTP dialogue.  Problem reported by Larry Greenfield of CMU.
248190792Sgshapiro	Deal with a case of multiple deliveries on misconfigured systems
248290792Sgshapiro		that do not have postmaster defined.  If an email was sent
248390792Sgshapiro		from an address to which a DSN cannot be returned and
248490792Sgshapiro		in which at least one recipient address is non-deliverable,
248590792Sgshapiro		then that email had been delivered in each queue run.
248690792Sgshapiro		Problem reported by Matteo HCE Valsasna of Universita
248790792Sgshapiro		degli Studi dell'Insubria.
248890792Sgshapiro	The compilation options SMTP, DAEMON, and QUEUE have been removed,
248990792Sgshapiro		i.e., the corresponding code is always compiled in now.
249090792Sgshapiro	Log the command line in daemon/queue-run mode at LogLevel 10 and
249190792Sgshapiro		higher.  Suggested by Robert Harker of Harker Systems.
249290792Sgshapiro	New ResolverOptions setting: WorkAroundBrokenAAAA.  When
249390792Sgshapiro		attempting to canonify a hostname, some broken nameservers
249490792Sgshapiro		will return SERVFAIL (a temporary failure) on T_AAAA (IPv6)
249590792Sgshapiro		lookups.  If you want to excuse this behavior, use this new
249690792Sgshapiro		flag.  Suggested by Chris Foote of SE Network Access and
249790792Sgshapiro		Mark Roth of the University of Illinois at
249890792Sgshapiro		Urbana-Champaign.
249990792Sgshapiro	Free the memory allocated by getipnodeby{addr,name}().  Problem
250090792Sgshapiro		noted by Joy Latten of IBM.
250190792Sgshapiro	ConnectionRateThrottle limits the number of connections per second
250290792Sgshapiro		to each daemon individually, not the overall number of
250390792Sgshapiro		connections.
250490792Sgshapiro	Specifying only "ldap:" as an AliasFile specification will force
250590792Sgshapiro		sendmail to use a default alias schema as outlined in the
250690792Sgshapiro		``USING LDAP FOR ALIASES, MAPS, and CLASSES'' section of
250790792Sgshapiro		cf/README.
250890792Sgshapiro	Add a new syntax for the 'F' (file class) sendmail.cf command.  If
250990792Sgshapiro		the first character after the class name is not a '/' or a
251090792Sgshapiro		'|' and it contains an '@' (e.g., F{X}key@class:spec), the
251190792Sgshapiro		rest of the line will be parsed as a map lookup.  This
251290792Sgshapiro		allows classes to be filled via a map lookup.  See op.me
251390792Sgshapiro		for more syntax information.  Specifically, this can be
251490792Sgshapiro		used for commands such as VIRTUSER_DOMAIN_FILE() to read
251590792Sgshapiro		the list of domains via LDAP (see the ``USING LDAP FOR
251690792Sgshapiro		ALIASES, MAPS, and CLASSES'' section of cf/README for an
251790792Sgshapiro		example).
251890792Sgshapiro	The new macro ${sendmailMTACluster} determines the LDAP cluster for
251990792Sgshapiro		the default schema used in the above two items.
252090792Sgshapiro	Unless DontBlameSendmail=RunProgramInUnsafeDirPath is set, log a
252190792Sgshapiro		warning if a program being run from a mailer or file class
252290792Sgshapiro		(e.g., F|/path/to/prog) is in an unsafe directory path.
252390792Sgshapiro	Unless DontBlameSendmail=RunWritableProgram is set, log a warning
252490792Sgshapiro		if a program being run from a mailer or file class
252590792Sgshapiro		(e.g., F|/path/to/prog) is group or world writable.
252690792Sgshapiro	Loopback interfaces (e.g., "lo0") are now probed for class {w}
252790792Sgshapiro		hostnames.  Setting DontProbeInterfaces to "loopback"
252890792Sgshapiro		(without quotes) will disable this and return to the
252990792Sgshapiro		pre-8.12 behavior of only probing non-loopback interfaces.
253090792Sgshapiro		Suggested by Bryan Stansell of GNAC.
253190792Sgshapiro	In accordance with RFC 2821 section 4.1.4, accept multiple
253290792Sgshapiro		HELO/EHLO commands.
253390792Sgshapiro	Multiple ClientPortOptions settings are now allowed, one for each
253490792Sgshapiro		possible protocol family which may be used for outgoing
253590792Sgshapiro		connections.  Restrictions placed on one family only affect
253690792Sgshapiro		outgoing connections on that particular family.  Because of
253790792Sgshapiro		this change, the ${client_flags} macro is not set until the
253890792Sgshapiro		connection is established.  Based on patch from Motonori
253990792Sgshapiro		Nakamura of Kyoto University.
254090792Sgshapiro	PrivacyOptions=restrictexpand instructs sendmail to drop privileges
254190792Sgshapiro		when the -bv option is given by users who are neither root
254290792Sgshapiro		nor the TrustedUser so users can not read private aliases,
254390792Sgshapiro		forwards, or :include: files.  It also will override the -v
254490792Sgshapiro		(verbose) command line option.
254590792Sgshapiro	If the M=b modifier is set in DaemonPortOptions and the interface
254690792Sgshapiro		address can't be used for the outgoing connection, fall
254790792Sgshapiro		back to the settings in ClientPortOptions (if set).
254890792Sgshapiro		Problem noted by John Beck of Sun Microsystems.
254990792Sgshapiro	New named config file rule check_data for DATA command (input:
255090792Sgshapiro		number of recipients).  Based on patch from Mark Roth of
255190792Sgshapiro		the University of Illinois at Urbana-Champaign.
255290792Sgshapiro	Add support for ETRN queue selection per RFC 1985.  The queue group
255390792Sgshapiro		can be specified using the '#' option character.  For
255490792Sgshapiro		example, 'ETRN #queuegroup'.
255590792Sgshapiro	If an LDAP server times out or becomes unavailable, close the
255690792Sgshapiro		current connection and reopen to get to one of the fallback
255790792Sgshapiro		servers.  Patch from Paul Hilchey of the University of
255890792Sgshapiro		British Columbia.
255990792Sgshapiro	Make default error number on $#error messages 550 instead of 501
256090792Sgshapiro		because 501 is not allowed on all commands.
256190792Sgshapiro	The .cf file option UnsafeGroupWrites is deprecated, it should be
256290792Sgshapiro		replaced with the settings GroupWritableForwardFileSafe
256390792Sgshapiro		and GroupWritableIncludeFileSafe in DontBlameSendmail
256490792Sgshapiro		if required.
256590792Sgshapiro	The deprecated ldapx map class has been removed.  Use the ldap map
256690792Sgshapiro		class instead.
256790792Sgshapiro	Any IPv6 addresses used in configuration should be prefixed by the
256890792Sgshapiro		"IPv6:" tag to identify the address properly.  For example,
256990792Sgshapiro		if you want to add the IPv6 address [2002:c0a8:51d2::23f4] to
257090792Sgshapiro		class {w}, you would need to add [IPv6:2002:c0a8:51d2::23f4].
257190792Sgshapiro	Change the $&{opMode} macro if the operation mode changes while the
257290792Sgshapiro		MTA is running.  For example, during a queue run.
257390792Sgshapiro	Add "use_inet6" as a new ResolverOptions flag to control the
257490792Sgshapiro		RES_USE_INET6 resolver option.  Based on patch from Rick
257590792Sgshapiro		Nelson of IBM.
257690792Sgshapiro	The maximum number of commands before the MTA slows down when too
257790792Sgshapiro		many "light weight" commands have been received are now
257890792Sgshapiro		configurable during compile time.  The current values and
257990792Sgshapiro		their defaults are:
258090792Sgshapiro		    MAXBADCOMMANDS	25	unknown commands
258190792Sgshapiro		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
258290792Sgshapiro		    MAXHELOCOMMANDS	3	HELO, EHLO
258390792Sgshapiro		    MAXVRFYCOMMANDS	6	VRFY, EXPN
258490792Sgshapiro		    MAXETRNCOMMANDS	8	ETRN
258590792Sgshapiro		Setting a value to 0 disables the check.  Patch from Bryan
258690792Sgshapiro		Costales of SL3D, Inc.
258790792Sgshapiro	The header syntax H?${MyMacro}?X-My-Header: now not only checks if
258890792Sgshapiro		${MyMacro} is defined but also that it is not empty.
258990792Sgshapiro	Properly quote usernames with special characters if they are used
259090792Sgshapiro		in headers.  Problem noted by Kari Hurtta of the Finnish
259190792Sgshapiro		Meteorological Institute.
259290792Sgshapiro	Be sure to include the proper Final-Recipient: DSN header in bounce
259390792Sgshapiro		messages for messages for mailing list expanded addresses
259490792Sgshapiro		which are not delivered on the initial attempt.
259590792Sgshapiro	Do not treat errors as sticky when doing delivery via LMTP after
259690792Sgshapiro		the final dot has been sent to avoid affecting future
259790792Sgshapiro		deliveries.  Problem reported by Larry Greenfield of CMU.
259890792Sgshapiro	New compile time flag REQUIRES_DIR_FSYNC which turns on support for
259990792Sgshapiro		file systems that require to call fsync() for a directory
260090792Sgshapiro		if the meta-data in it has been changed.  This should be
260190792Sgshapiro		set at least for ReiserFS; it is enabled by default for Linux.
260290792Sgshapiro		See sendmail/README for further information.
260390792Sgshapiro	Avoid file locking deadlock when updating the statistics file if
260490792Sgshapiro		sendmail is signaled to terminate.  Problem noted by
260590792Sgshapiro		Christophe Wolfhugel of France Telecom.
260690792Sgshapiro	Set the $c macro (hop count) as it is being set instead of when the
260790792Sgshapiro		envelope is initialized.  Problem noted by Kari Hurtta of
260890792Sgshapiro		the Finnish Meteorological Institute.
260990792Sgshapiro	Properly count recipients for DeliveryMode defer and queue.  Fix
261090792Sgshapiro		from Peter A. Friend of EarthLink.
261190792Sgshapiro	Treat invalid hesiod lookups as permanent errors instead of
261290792Sgshapiro		temporary errors.  Problem noted by Russell McOrmond of
261390792Sgshapiro		flora.ca.
261490792Sgshapiro	Portability:
261590792Sgshapiro		Remove support for AIX 2, which supports only 14 character
261690792Sgshapiro			filenames and is outdated anyway.  Suggested by
261790792Sgshapiro			Valdis Kletnieks of Virginia Tech.
261890792Sgshapiro		Change several settings for Irix 6: remove confSBINDIR,
261990792Sgshapiro			i.e., use default /usr/sbin, change owner/group
262090792Sgshapiro			of man pages and user-executable to root/sys, set
262190792Sgshapiro			optimization limit to 0 (unlimited).  Based on patch
262290792Sgshapiro			from Ayamura Kikuchi, M.D, and proposal from Kari
262390792Sgshapiro			Hurtta of the Finnish Meteorological Institute.
262490792Sgshapiro		Do not assume LDAP support is installed by default under
262590792Sgshapiro			Solaris 8 and later.
262690792Sgshapiro		Add support for OpenUNIX.
262790792Sgshapiro	CONFIG: Increment version number of config file to 10.
262890792Sgshapiro	CONFIG: Add an install target and a README file in cf/cf.
262990792Sgshapiro	CONFIG: Don't accept addresses of the form a@b@, a@b@c, a@[b]c, etc.
263090792Sgshapiro	CONFIG: Reject empty recipient addresses (in check_rcpt).
263190792Sgshapiro	CONFIG: The access map uses an option of -T<TMPF> to deal with
263290792Sgshapiro		temporary lookup failures.
263390792Sgshapiro	CONFIG: New value for access map: SKIP, which causes the default
263490792Sgshapiro		action to be taken by aborting the search for domain names
263590792Sgshapiro		or IP nets.
263690792Sgshapiro	CONFIG: check_rcpt can deal with TEMPFAIL for either recipient or
263790792Sgshapiro		relay address as long as the other part allows the email
263890792Sgshapiro		to get through.
263990792Sgshapiro	CONFIG: Entries for virtusertable can make use of a third parameter
264090792Sgshapiro		"%3" which contains "+detail" of a wildcard match, i.e., an
264190792Sgshapiro		entry like user+*@domain.  This allows handling of details by
264290792Sgshapiro		using %1%3 as the RHS.  Additionally, a "+" wildcard has been
264390792Sgshapiro		introduced to match only non-empty details of addresses.
264490792Sgshapiro	CONFIG: Numbers for rulesets used by MAILERs have been removed
264590792Sgshapiro		and hence there is no required order within the MAILER
264690792Sgshapiro		section anymore except for MAILER(`uucp') which must come
264790792Sgshapiro		after MAILER(`smtp') if uucp-dom and uucp-uudom are used.
264890792Sgshapiro	CONFIG: Hosts listed in the generics domain class {G}
264990792Sgshapiro		(GENERICS_DOMAIN() and GENERICS_DOMAIN_FILE()) are treated
265090792Sgshapiro		as canonical.  Suggested by Per Hedeland of Ericsson.
265190792Sgshapiro	CONFIG: If FEATURE(`delay_checks') is used, make sure that a lookup
265290792Sgshapiro		in the access map which returns OK or RELAY actually
265390792Sgshapiro		terminates check_* ruleset checking.
265490792Sgshapiro	CONFIG: New tag TLS_Rcpt: for access map to be used by ruleset
265590792Sgshapiro		tls_rcpt, see cf/README for details.
265690792Sgshapiro	CONFIG: Change format of Received: header line which reveals whether
265790792Sgshapiro		STARTTLS has been used to "(version=${tls_version}
265890792Sgshapiro		cipher=${cipher} bits=${cipher_bits} verify=${verify})".
265990792Sgshapiro	CONFIG: Use "Spam:" as tag for lookups for FEATURE(`delay_checks')
266090792Sgshapiro		options friends/haters instead of "To:" and enable
266190792Sgshapiro		specification of whole domains instead of just users.
266290792Sgshapiro		Notice: this change is not backward compatible.
266390792Sgshapiro		Suggested by Chris Adams from HiWAAY Informations Services.
266490792Sgshapiro	CONFIG: Allow for local extensions for most new rulesets, see
266590792Sgshapiro		cf/README for details.
266690792Sgshapiro	CONFIG: New FEATURE(`lookupdotdomain') to lookup also .domain in
266790792Sgshapiro		the access map.  Proposed by Randall Winchester of the
266890792Sgshapiro		University of Maryland.
266990792Sgshapiro	CONFIG: New FEATURE(`local_no_masquerade') to avoid masquerading for
267090792Sgshapiro		the local mailer.  Proposed by Ingo Brueckl of Wupper Online.
267190792Sgshapiro	CONFIG: confRELAY_MSG/confREJECT_MSG can override the default
267290792Sgshapiro		messages for an unauthorized relaying attempt/for access
267390792Sgshapiro		map entries with RHS REJECT, respectively.
267490792Sgshapiro	CONFIG: FEATURE(`always_add_domain') takes an optional argument
267590792Sgshapiro		to specify another domain to be added instead of the local one.
267690792Sgshapiro		Suggested by Richard H. Gumpertz of Computer Problem
267790792Sgshapiro		Solving.
267890792Sgshapiro	CONFIG: confAUTH_OPTIONS allows setting of Cyrus-SASL specific
267990792Sgshapiro		options, see doc/op/op.me for details.
268090792Sgshapiro	CONFIG: confAUTH_MAX_BITS sets the maximum encryption strength for
268190792Sgshapiro		the security layer in SMTP AUTH (SASL).
268290792Sgshapiro	CONFIG: If Local_localaddr resolves to $#ok, localaddr is terminated
268390792Sgshapiro		immediately.
268490792Sgshapiro	CONFIG: FEATURE(`enhdnsbl') is an enhanced version of dnsbl which
268590792Sgshapiro		allows checking of the return values of the DNS lookups.
268690792Sgshapiro		See cf/README for details.
268790792Sgshapiro	CONFIG: FEATURE(`dnsbl') allows now to specify the behavior for
268890792Sgshapiro		temporary lookup failures.
268990792Sgshapiro	CONFIG: New option confDELIVER_BY_MIN to specify minimum time for
269090792Sgshapiro		Deliver By (RFC 2852) or to turn off the extension.
269190792Sgshapiro	CONFIG: New option confSHARED_MEMORY_KEY to set the key for shared
269290792Sgshapiro		memory use.
269390792Sgshapiro	CONFIG: New FEATURE(`compat_check') to look up a key consisting
269490792Sgshapiro		of the sender and the recipient address delimited by the
269590792Sgshapiro		string "<@>", e.g., sender@sdomain<@>recipient@rdomain,
269690792Sgshapiro		in the access map.  Based on code contributed by Mathias
269790792Sgshapiro		Koerber of Singapore Telecommunications Ltd.
269890792Sgshapiro	CONFIG: Add EXPOSED_USER_FILE() command to allow an exposed user
269990792Sgshapiro		file.  Suggested by John Beck of Sun Microsystems.
270090792Sgshapiro	CONFIG: Don't use MAILER-DAEMON for error messages delivered
270190792Sgshapiro		via LMTP.  Problem reported by Larry Greenfield of CMU.
270290792Sgshapiro	CONFIG: New FEATURE(`preserve_luser_host') to preserve the name of
270390792Sgshapiro		the recipient host if LUSER_RELAY is used.
270490792Sgshapiro	CONFIG: New FEATURE(`preserve_local_plus_detail') to preserve the
270590792Sgshapiro		+detail portion of the address when passing address to
270690792Sgshapiro		local delivery agent.  Disables alias and .forward +detail
270790792Sgshapiro		stripping.  Only use if LDA supports this.
270890792Sgshapiro	CONFIG: Removed deprecated FEATURE(`rbl').
270990792Sgshapiro	CONFIG: Add LDAPROUTE_EQUIVALENT() and LDAPROUTE_EQUIVALENT_FILE()
271090792Sgshapiro		which allow you to specify 'equivalent' hosts for LDAP
271190792Sgshapiro		Routing lookups.  Equivalent hostnames are replaced by the
271290792Sgshapiro		masquerade domain name for lookups.  See cf/README for
271390792Sgshapiro		additional details.
271490792Sgshapiro	CONFIG: Add a fourth argument to FEATURE(`ldap_routing') which
271590792Sgshapiro		instructs the rulesets on what to do if the address being
271690792Sgshapiro		looked up has +detail information.  See cf/README for more
271790792Sgshapiro		information.
271890792Sgshapiro	CONFIG: When chosing a new destination via LDAP Routing, also look
271990792Sgshapiro		up the new routing address/host in the mailertable.  Based
272090792Sgshapiro		on patch from Don Badrak of the United States Census Bureau.
272190792Sgshapiro	CONFIG: Do not reject the SMTP Mail from: command if LDAP Routing
272290792Sgshapiro		is in use and the bounce option is enabled.  Only reject
272390792Sgshapiro		recipients as user unknown.
272490792Sgshapiro	CONFIG: Provide LDAP support for the remaining database map
272590792Sgshapiro		features.  See the ``USING LDAP FOR ALIASES AND MAPS''
272690792Sgshapiro		section of cf/README for more information.
272790792Sgshapiro	CONFIG: Add confLDAP_CLUSTER which defines the ${sendmailMTACluster}
272890792Sgshapiro		macro used for LDAP searches as described above in ``USING
272990792Sgshapiro		LDAP FOR ALIASES, MAPS, AND CLASSES''.
273090792Sgshapiro	CONFIG: confCLIENT_OPTIONS has been replaced by CLIENT_OPTIONS(),
273190792Sgshapiro		which takes the options as argument and can be used
273290792Sgshapiro		multiple times; see cf/README for details.
273390792Sgshapiro	CONFIG: Add configuration macros for new options:
273490792Sgshapiro		confBAD_RCPT_THROTTLE		BadRcptThrottle
273590792Sgshapiro		confDIRECT_SUBMISSION_MODIFIERS	DirectSubmissionModifiers
273690792Sgshapiro		confMAILBOX_DATABASE		MailboxDatabase
273790792Sgshapiro		confMAX_QUEUE_CHILDREN		MaxQueueChildren
273890792Sgshapiro		confMAX_RUNNERS_PER_QUEUE	MaxRunnersPerQueue
273990792Sgshapiro		confNICE_QUEUE_RUN		NiceQueueRun
274090792Sgshapiro		confQUEUE_FILE_MODE		QueueFileMode
274190792Sgshapiro		confFAST_SPLIT			FastSplit
274290792Sgshapiro		confTLS_SRV_OPTIONS		TLSSrvOptions
274390792Sgshapiro		See above (and related documentation) for further information.
274490792Sgshapiro	CONFIG: Add configuration variables for new timeout options:
274590792Sgshapiro		confTO_ACONNECT		Timeout.aconnect
274690792Sgshapiro		confTO_AUTH		Timeout.auth
274790792Sgshapiro		confTO_LHLO		Timeout.lhlo
274890792Sgshapiro		confTO_STARTTLS		Timeout.starttls
274990792Sgshapiro	CONFIG: Add configuration macros for mail filter API:
275090792Sgshapiro		confINPUT_MAIL_FILTERS		InputMailFilters
275190792Sgshapiro		confMILTER_LOG_LEVEL		Milter.LogLevel
275290792Sgshapiro		confMILTER_MACROS_CONNECT	Milter.macros.connect
275390792Sgshapiro		confMILTER_MACROS_HELO		Milter.macros.helo
275490792Sgshapiro		confMILTER_MACROS_ENVFROM	Milter.macros.envfrom
275590792Sgshapiro		confMILTER_MACROS_ENVRCPT	Milter.macros.envrcpt
275690792Sgshapiro		Mail filters can be defined via INPUT_MAIL_FILTER() and
275790792Sgshapiro		MAIL_FILTER().  See libmilter/README, cf/README, and
275890792Sgshapiro		doc/op/op.me for details.
275990792Sgshapiro	CONFIG: Add support for accepting temporarily unresolvable domains.
276090792Sgshapiro		See cf/README for details.  Based on patch by Motonori
276190792Sgshapiro		Nakamura of Kyoto University.
276290792Sgshapiro	CONFIG: confDEQUOTE_OPTS can be used to specify options for the
276390792Sgshapiro		dequote map.
276490792Sgshapiro	CONFIG: New macro QUEUE_GROUP() to define queue groups.
276590792Sgshapiro	CONFIG: New FEATURE(`queuegroup') to select a queue group based
276690792Sgshapiro		on the full e-mail address or the domain of the recipient.
276790792Sgshapiro	CONFIG: Any IPv6 addresses used in configuration should be prefixed
276890792Sgshapiro		by the "IPv6:" tag to identify the address properly.  For
276990792Sgshapiro		example, if you want to use the IPv6 address
277090792Sgshapiro		2002:c0a8:51d2::23f4 in the access database, you would need
277190792Sgshapiro		to use IPv6:2002:c0a8:51d2::23f4 on the left hand side.
277290792Sgshapiro		This affects the access database as well as the
277390792Sgshapiro		relay-domains and local-host-names files.
277490792Sgshapiro	CONFIG: OSTYPE(aux) has been renamed to OSTYPE(a-ux).
277590792Sgshapiro	CONFIG: Avoid expansion of m4 keywords in SMART_HOST.
277690792Sgshapiro	CONFIG: Add MASQUERADE_EXCEPTION_FILE() for reading masquerading
277790792Sgshapiro		exceptions from a file.  Suggested by Trey Breckenridge of
277890792Sgshapiro		Mississippi State University.
277990792Sgshapiro	CONFIG: Add LOCAL_USER_FILE() for reading local users
278090792Sgshapiro		(LOCAL_USER() -- $={L}) entries from a file.
278190792Sgshapiro	CONTRIB: dnsblaccess.m4 is a further enhanced version of enhdnsbl.m4
278290792Sgshapiro		which allows to lookup error codes in the access map.
278390792Sgshapiro		Contributed by Neil Rickert of Northern Illinois University.
278490792Sgshapiro	DEVTOOLS: Add new options for installation of include and library
278590792Sgshapiro		files: confINCGRP, confINCMODE, confINCOWN, confLIBGRP,
278690792Sgshapiro		confLIBMODE, confLIBOWN.
278790792Sgshapiro	DEVTOOLS: Add new option confDONT_INSTALL_CATMAN to turn off
278890792Sgshapiro		installation of the the formatted man pages on operating
278990792Sgshapiro		systems which don't include cat directories.
279090792Sgshapiro	EDITMAP: New program for editing maps as supplement to makemap.
279190792Sgshapiro	MAIL.LOCAL: Mail.local now uses the libsm mbdb package to look up
279290792Sgshapiro		local mail recipients.  New option -D mbdb specifies the
279390792Sgshapiro		mailbox database type.
279490792Sgshapiro	MAIL.LOCAL: New option "-h filename" which instructs mail.local to
279590792Sgshapiro		deliver the mail to the named file in the user's home
279690792Sgshapiro		directory instead of the system mail spool area.  Based on
279790792Sgshapiro		patch from Doug Hardie of the Los Angeles Free-Net.
279890792Sgshapiro	MAILSTATS: New command line option -P which acts the same as -p but
279990792Sgshapiro		doesn't truncate the statistics file.
280090792Sgshapiro	MAKEMAP: Add new option -t to specify a different delimiter
280190792Sgshapiro		instead of white space.
280290792Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
280390792Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
280490792Sgshapiro		Meteorological Institute.
280590792Sgshapiro	SMRSH: Use the vendor supplied directory on FreeBSD 3.3 and later.
280690792Sgshapiro	VACATION: Change Auto-Submitted: header value from auto-generated to
280790792Sgshapiro		auto-replied.  From Kenneth Murchison of Oceana Matrix Ltd.
280890792Sgshapiro	VACATION: New option -d to send error/debug messages to stdout
280990792Sgshapiro		instead of syslog.
281090792Sgshapiro	VACATION: New option -U which prevents the attempt to lookup login
281190792Sgshapiro		in the password file.  The -f and -m options must be used
281290792Sgshapiro		to specify the database and message file since there is no
281390792Sgshapiro		home directory for the default settings for these options.
281490792Sgshapiro	VACATION: Vacation now uses the libsm mbdb package to look up
281590792Sgshapiro		local mail recipients; it reads the MailboxDatabase option
281690792Sgshapiro		from the sendmail.cf file.  New option -C cffile which
281790792Sgshapiro		specifies the path of the sendmail.cf file.
281890792Sgshapiro	New Directories:
281990792Sgshapiro		libmilter/docs
282090792Sgshapiro	New Files:
282190792Sgshapiro		cf/cf/README
282290792Sgshapiro		cf/cf/submit.cf
282390792Sgshapiro		cf/cf/submit.mc
282490792Sgshapiro		cf/feature/authinfo.m4
282590792Sgshapiro		cf/feature/compat_check.m4
282690792Sgshapiro		cf/feature/enhdnsbl.m4
282790792Sgshapiro		cf/feature/msp.m4
282890792Sgshapiro		cf/feature/local_no_masquerade.m4
282990792Sgshapiro		cf/feature/lookupdotdomain.m4
283090792Sgshapiro		cf/feature/preserve_luser_host.m4
283190792Sgshapiro		cf/feature/preserve_local_plus_detail.m4
283290792Sgshapiro		cf/feature/queuegroup.m4
283390792Sgshapiro		cf/sendmail.schema
283490792Sgshapiro		contrib/dnsblaccess.m4
283590792Sgshapiro		devtools/M4/UNIX/sm-test.m4
283690792Sgshapiro		devtools/OS/OpenUNIX.5.i386
283790792Sgshapiro		editmap/*
283890792Sgshapiro		include/sm/*
283990792Sgshapiro		libsm/*
284090792Sgshapiro		libsmutil/cf.c
284190792Sgshapiro		libsmutil/err.c
284290792Sgshapiro		sendmail/SECURITY
284390792Sgshapiro		sendmail/TUNING
284490792Sgshapiro		sendmail/bf.c
284590792Sgshapiro		sendmail/bf.h
284690792Sgshapiro		sendmail/sasl.c
284790792Sgshapiro		sendmail/sm_resolve.c
284890792Sgshapiro		sendmail/sm_resolve.h
284990792Sgshapiro		sendmail/tls.c
285090792Sgshapiro	Deleted Files:
285190792Sgshapiro		cf/feature/rbl.m4
285290792Sgshapiro		cf/ostype/aix2.m4
285390792Sgshapiro		devtools/OS/AIX.2
285490792Sgshapiro		include/sendmail/cdefs.h
285590792Sgshapiro		include/sendmail/errstring.h
285690792Sgshapiro		include/sendmail/useful.h
285790792Sgshapiro		libsmutil/errstring.c
285890792Sgshapiro		sendmail/bf_portable.c
285990792Sgshapiro		sendmail/bf_portable.h
286090792Sgshapiro		sendmail/bf_torek.c
286190792Sgshapiro		sendmail/bf_torek.h
286290792Sgshapiro		sendmail/clock.c
286390792Sgshapiro	Renamed Files:
286490792Sgshapiro		cf/cf/generic-solaris2.mc => cf/cf/generic-solaris.mc
286590792Sgshapiro		cf/cf/generic-solaris2.cf => cf/cf/generic-solaris.cf
286690792Sgshapiro		cf/ostype/aux.m4 => cf/ostype/a-ux.m4
286790792Sgshapiro
2868120256Sgshapiro8.11.7/8.11.7	2003/03/29
2869120256Sgshapiro	SECURITY: Fix a remote buffer overflow in header parsing by
2870120256Sgshapiro		dropping sender and recipient header comments if the
2871120256Sgshapiro		comments are too long.  Problem noted by Mark Dowd
2872120256Sgshapiro		of ISS X-Force.
2873120256Sgshapiro	SECURITY: Fix a buffer overflow in address parsing due to
2874120256Sgshapiro		a char to int conversion problem which is potentially
2875120256Sgshapiro		remotely exploitable.  Problem found by Michal Zalewski.
2876120256Sgshapiro		Note: an MTA that is not patched might be vulnerable to
2877120256Sgshapiro		data that it receives from untrusted sources, which
2878120256Sgshapiro		includes DNS.
2879120256Sgshapiro	To provide partial protection to internal, unpatched sendmail MTAs,
2880120256Sgshapiro		8.11.7 changes by default (char)0xff to (char)0x7f in
2881120256Sgshapiro		headers etc.  To turn off this conversion compile with
2882120256Sgshapiro		-DALLOW_255 or use the command line option -d82.101.
2883120256Sgshapiro	To provide partial protection for internal, unpatched MTAs that may be
2884120256Sgshapiro		performing 7->8 or 8->7 bit MIME conversions, the default
2885120256Sgshapiro		for MaxMimeHeaderLength has been changed to 2048/1024.
2886120256Sgshapiro		Note: this does have a performance impact, and it only
2887120256Sgshapiro		protects against frontal attacks from the outside.
2888120256Sgshapiro		To disable the checks and return to pre-8.11.7 defaults,
2889120256Sgshapiro		set MaxMimeHeaderLength to 0/0.
2890120256Sgshapiro	Properly clean up macros to avoid persistence of session data
2891120256Sgshapiro		across various connections.  This could cause session
2892120256Sgshapiro		oriented restrictions, e.g., STARTTLS requirements,
2893120256Sgshapiro		to erroneously allow a connection.  Problem noted
2894120256Sgshapiro		by Tim Maletic of Priority Health.
2895120256Sgshapiro	Ignore comments in NIS host records when trying to find the
2896120256Sgshapiro		canonical name for a host.
2897120256Sgshapiro	Fix a memory leak when closing Hesiod maps.
2898120256Sgshapiro	Set ${msg_size} macro when reading a message from the command line
2899120256Sgshapiro		or the queue.
2900120256Sgshapiro	Prevent a segmentation fault when clearing the event list by
2901120256Sgshapiro		turning off alarms before checking if event list is
2902120256Sgshapiro		empty.  Problem noted by Allan E Johannesen of Worcester
2903120256Sgshapiro		Polytechnic Institute.
2904120256Sgshapiro	Fix a potential core dump problem if the environment variable
2905120256Sgshapiro		NAME is set.  Problem noted by Beth A. Chaney of
2906120256Sgshapiro		Purdue University.
2907120256Sgshapiro	Prevent a race condition on child cleanup for delivery to files.
2908120256Sgshapiro		Problem noted by Fletcher Mattox of the University of
2909120256Sgshapiro		Texas.
2910120256Sgshapiro	CONFIG: Do not bounce mail if FEATURE(`ldap_routing')'s bounce
2911120256Sgshapiro		parameter is set and the LDAP lookup returns a temporary
2912120256Sgshapiro		error.
2913120256Sgshapiro	CONFIG: Fix a syntax error in the try_tls ruleset if
2914120256Sgshapiro		FEATURE(`access_db') is not enabled.
2915120256Sgshapiro	LIBSMDB: Fix a lock race condition that affects makemap, praliases,
2916120256Sgshapiro		and vacation.
2917120256Sgshapiro	LIBSMDB: Avoid a file creation race condition for Berkeley DB 1.X
2918120256Sgshapiro		and NDBM on systems with the O_EXLOCK open(2) flag.
2919120256Sgshapiro	MAKEMAP: Avoid going beyond the end of an input line if it does
2920120256Sgshapiro		not contain a value for a key.  Based on patch from
2921120256Sgshapiro		Mark Bixby from Hewlett-Packard.
2922120256Sgshapiro	MAIL.LOCAL: Fix a truncation race condition if the close() on
2923120256Sgshapiro		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
2924120256Sgshapiro		Sun Microsystems.
2925120256Sgshapiro	SMRSH: SECURITY: Only allow regular files or symbolic links to be
2926120256Sgshapiro		used for a command.  Problem noted by David Endler of
2927120256Sgshapiro		iDEFENSE, Inc.
2928120256Sgshapiro
292982017Sgshapiro8.11.6/8.11.6	2001/08/20
293082017Sgshapiro	SECURITY: Fix a possible memory access violation when specifying
293182017Sgshapiro		out-of-bounds debug parameters.  Problem detected by
293282017Sgshapiro		Cade Cairns of SecurityFocus.
293382017Sgshapiro	Avoid leaking recipient information in unrelated DSNs.  This could
293482017Sgshapiro		happen if a connection is aborted, several mails had been
293582017Sgshapiro		scheduled for delivery via that connection, and the timeout
293682017Sgshapiro		is reached such that several DSNs are sent next.  Problem
293782017Sgshapiro		noted by Dileepan Moorkanat of Hewlett-Packard.
293882017Sgshapiro	Fix a possible segmentation violation when specifying too many
293982017Sgshapiro		wildcard operators in a rule.  Problem detected by
294082017Sgshapiro		Werner Wiethege.
294182017Sgshapiro	Avoid a segmentation fault on non-matching Hesiod lookups.  Problem
294282017Sgshapiro		noted by Russell McOrmond of flora.ca
294382017Sgshapiro
294480785Sgshapiro8.11.5/8.11.5	2001/07/31
294580785Sgshapiro	Fix a possible race condition when sending a HUP signal to restart
294680785Sgshapiro		the daemon.  This could terminate the current process without
294780785Sgshapiro		starting a new daemon.  Problem reported by Wolfgang Breyha
294880785Sgshapiro		of SE Netway Communications.
294980785Sgshapiro	Only apply MaxHeadersLength when receiving a message via SMTP or
295080785Sgshapiro		the command line.  Problem noted by Andrey J. Melnikoff.
295180785Sgshapiro	When finding the system's local hostname on an IPv6-enabled system
295280785Sgshapiro		which doesn't have any IPv6 interface addresses, fall back
295380785Sgshapiro		to looking up only IPv4 addresses.  Problem noted by Tim
295480785Sgshapiro		Bosserman of EarthLink.
295580785Sgshapiro	When commands were being rejected due to check_relay or TCP
295680785Sgshapiro		Wrappers, the ETRN command was not giving a response.
295780785Sgshapiro	Incoming IPv4 connections on a Family=inet6 daemon (using
295880785Sgshapiro		IPv4-mapped addresses) were incorrectly labeled as "may be
295980785Sgshapiro		forged".  Problem noted by Per Steinar Iversen of Oslo
296080785Sgshapiro		University College.
296180785Sgshapiro	Shutdown address test mode cleanly on SIGTERM.  Problem noted by
296280785Sgshapiro		Greg King of the OAO Corporation.
296380785Sgshapiro	Restore the original real uid (changed in main() to prevent
296480785Sgshapiro		out of band signals) before invoking a delivery agent.
296580785Sgshapiro		Some delivery agents use this for the "From " envelope
296680785Sgshapiro		"header".  Problem noted by Leslie Carroll of the
296780785Sgshapiro		University at Albany.
296880785Sgshapiro	Mark closed file descriptors properly to avoid reuse. Problem
296980785Sgshapiro		noted by Jeff Bronson of J.D. Bronson, Inc.
297080785Sgshapiro	Setting Timeout options on the command line will also override
297180785Sgshapiro		their sub-suboptions in the .cf file, e.g., -O
297280785Sgshapiro		Timeout.queuereturn=2d will set all queuereturn timeouts
297380785Sgshapiro		to 2 days.  Problem noted by Roger B.A. Klorese.
297480785Sgshapiro	Portability:
297580785Sgshapiro		BSD/OS has a broken setreuid() implementation.  Problem
297680785Sgshapiro			noted by Vernon Schryver of Rhyolite Software.
297780785Sgshapiro		BSD/OS has /dev/urandom(4) (as of version 4.1/199910 ?).
297880785Sgshapiro			Noted by Vernon Schryver of Rhyolite Software.
297980785Sgshapiro		BSD/OS has fchown(2).  Noted by Dave Yadallee of Netline
298080785Sgshapiro			2000 Internet Solutions Inc.
298180785Sgshapiro		Solaris 2.X and later have strerror(3).  From Sebastian
298280785Sgshapiro			Hagedorn of Cologne University.
298380785Sgshapiro	CONFIG: Fix parsing for IPv6 domain literals in addresses
298480785Sgshapiro		(user@[IPv6:address]).  Problem noted by Liyuan Zhou.
298580785Sgshapiro
298677349Sgshapiro8.11.4/8.11.4	2001/05/28
298777349Sgshapiro	Clean up signal handling routines to reduce the chances of heap
298877349Sgshapiro		corruption and other potential race conditions.
298977349Sgshapiro		Terminating and restarting the daemon may not be
299077349Sgshapiro		instantaneous due to this change.  Also, non-root users can
299177349Sgshapiro		no longer send out-of-band signals.  Problem reported by
299277349Sgshapiro		Michal Zalewski of BindView.
299377349Sgshapiro	If LogLevel is greater than 9 and SASL fails to negotiate an
299477349Sgshapiro		encryption layer, avoid core dump logging the encryption
299577349Sgshapiro		strength.  Problem noted by Miroslav Zubcic of Crol.
299677349Sgshapiro	If a server offers "AUTH=" and "AUTH " and the list of mechanisms is
299777349Sgshapiro		different in those two lines, sendmail might not have
299877349Sgshapiro		recognized (and used) all of the offered mechanisms.
299977349Sgshapiro	Fix an IP address lookup problem on Solaris 2.0 - 2.3.  Patch
300077349Sgshapiro		from Kenji Miyake.
300177349Sgshapiro	This time, really don't use the .. directory when expanding
300277349Sgshapiro		QueueDirectory wildcards.
300377349Sgshapiro	If a process is interrupted while closing a map, don't try to close
300477349Sgshapiro		the same map again while exiting.
300577349Sgshapiro	Allow local mailers (F=l) to contact remote hosts (e.g., via
300677349Sgshapiro		LMTP).  Problem noted by Norbert Klasen of the University
300777349Sgshapiro		of Tuebingen.
300877349Sgshapiro	If Timeout.QueueReturn was set to a value less the time it took
300977349Sgshapiro		to write a new queue file (e.g., 0 seconds), the bounce
301077349Sgshapiro		message would be lost.  Problem noted by Lorraine L Goff of
301177349Sgshapiro		Oklahoma State University.
301277349Sgshapiro	Pass map argument vector into map rewriting engine for the regex
301377349Sgshapiro		and prog map types.  Problem noted by Stephen Gildea of
301477349Sgshapiro		InTouch Systems, Inc.
301577349Sgshapiro	When closing an LDAP map due to a temporary error, close all of the
301677349Sgshapiro		other LDAP maps which share the original map's connection
301777349Sgshapiro		to the LDAP server.  Patch from Victor Duchovni of
301877349Sgshapiro		Morgan Stanley.
301977349Sgshapiro	To detect changes of NDBM aliases files check the timestamp of the
302077349Sgshapiro		.pag file instead of the .dir file.  Problem noted by Neil
302177349Sgshapiro		Rickert of Northern Illinois University.
302277349Sgshapiro	Don't treat temporary hesiod lookup failures as permanent.  Patch
302377349Sgshapiro		from Werner Wiethege.
302477349Sgshapiro	If ClientPortOptions is set, make sure to create the outgoing socket
302577349Sgshapiro		with the family set in that option.  Patch from Sean Farley.
302677349Sgshapiro	Avoid a segmentation fault trying to dereference a NULL pointer
302777349Sgshapiro		when logging a MaxHopCount exceeded error with an empty
302877349Sgshapiro		recipient list.  Problem noted by Chris Adams of HiWAAY
302977349Sgshapiro		Internet Services.
303077349Sgshapiro	Fix DSN for "Too many hops" bounces.  Problem noticed by Ulrich
303177349Sgshapiro		Windl of the Universitaet Regensburg.
303277349Sgshapiro	Fix DSN for "mail loops back to me" bounces.  Problem noticed by
303377349Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
303477349Sgshapiro	Portability:
303577349Sgshapiro		OpenBSD has a broken setreuid() implementation.
303677349Sgshapiro	CONFIG: Undo change from 8.11.1: change 501 SMTP reply code back
303777349Sgshapiro		to 553 since it is allowed by DRUMS.
303877349Sgshapiro	CONFIG: Add OSTYPE(freebsd4) for FreeBSD 4.X.
303977349Sgshapiro	DEVTOOLS: install.sh did not properly handle paths in the source
304077349Sgshapiro		file name argument.  Noted by Kari Hurtta of the Finnish
304177349Sgshapiro		Meteorological Institute.
304277349Sgshapiro	DEVTOOLS: Add FAST_PID_RECYCLE to compile time options for OpenBSD
304377349Sgshapiro		since it generates random process ids.
304477349Sgshapiro	PRALIASES: Add back adaptive algorithm to deal with different endings
304577349Sgshapiro		of entries in the database (with/without trailing '\0').
304677349Sgshapiro		Patch from John Beck of Sun Microsystems.
304777349Sgshapiro	New Files:
304877349Sgshapiro		cf/ostype/freebsd4.m4
304977349Sgshapiro
305073188Sgshapiro8.11.3/8.11.3	2001/02/27
305173188Sgshapiro	Prevent a segmentation fault when a bogus value was used in the
305273188Sgshapiro		LDAPDefaultSpec option's -r, -s, or -M flags and if a bogus
305373188Sgshapiro		option was used.  Problem noted by Allan E Johannesen of
305473188Sgshapiro		Worcester Polytechnic Institute.
305573188Sgshapiro	Prevent "token too long" message by shortening {currHeader} which
305673188Sgshapiro		could be too long if the last copied character was a quote.
305773188Sgshapiro		Problem detected by Jan Krueger of digitalanswers
305873188Sgshapiro		communications consulting gmbh.
305973188Sgshapiro	Additional IPv6 check for unspecified addresses.  Patch from
306073188Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
306173188Sgshapiro	Do not ignore the ClientPortOptions setting if DaemonPortOptions
306273188Sgshapiro		Modifier=b (bind to same interface) is set and the
306373188Sgshapiro		connection came in from the command line.
306473188Sgshapiro	Do not bind to the loopback address if DaemonPortOptions
306573188Sgshapiro		Modifier=b (bind to same interface) is set.  Patch from
306673188Sgshapiro		John Beck of Sun Microsystems.
306773188Sgshapiro	Properly deal with open failures on non-optional maps used in
306873188Sgshapiro		check_* rulesets by returning a temporary failure.
306973188Sgshapiro	Buffered file I/O files were not being properly fsync'ed to disk
307073188Sgshapiro		when they were committed.
307173188Sgshapiro	Properly encode '=' for the AUTH= parameter of the MAIL command.
307273188Sgshapiro		Problem noted by Hadmut Danisch.
307373188Sgshapiro	Under certain circumstances the macro {server_name} could be set
307473188Sgshapiro		to the wrong hostname (of a previous connection), which may
307573188Sgshapiro		cause some rulesets to return wrong results.  This would
307673188Sgshapiro		usually cause mail to be queued up and delivered later on.
307773188Sgshapiro	Ignore F=z (LMTP) mailer flag if $u is given in the mailer A=
307873188Sgshapiro		equate.  Problem noted by Motonori Nakamura of Kyoto
307973188Sgshapiro		University.
308073188Sgshapiro	Work around broken accept() implementations which only partially
308173188Sgshapiro		fill in the peer address if the socket is closed before
308273188Sgshapiro		accept() completes.
308373188Sgshapiro	Return an SMTP "421" temporary failure if the data file can't be
308473188Sgshapiro		opened where the "354" reply would normally be given.
308573188Sgshapiro	Prevent a CPU loop in trying to expand a macro which doesn't exist
308673188Sgshapiro		in a queue run.  Problem noted by Gordon Lack of Glaxo
308773188Sgshapiro		Wellcome.
308873188Sgshapiro	If delivering via a program and that program exits with EX_TEMPFAIL,
308973188Sgshapiro		note that fact for the mailq display instead of just showing
309073188Sgshapiro		"Deferred".  Problem noted by Motonori Nakamura of Kyoto
309173188Sgshapiro		University.
309273188Sgshapiro	If doing canonification via /etc/hosts, try both the fully
309373188Sgshapiro		qualified hostname as well as the first portion of the
309473188Sgshapiro		hostname.  Problem noted by David Bremner of the
309573188Sgshapiro		University of New Brunswick.
309673188Sgshapiro	Portability:
309773188Sgshapiro		Fix a compilation problem for mail.local and rmail if SFIO
309873188Sgshapiro			is in use.  Problem noted by Auteria Wally
309973188Sgshapiro			Winzer Jr. of Champion Nutrition.
310073188Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
310173188Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
310273188Sgshapiro		OpenBSD 2.7 and higher has srandomdev(3).  OpenBSD 2.8 and
310373188Sgshapiro			higher has BSDI-style login classes.  Patch from
310473188Sgshapiro			Todd C.  Miller of Courtesan Consulting.
310573188Sgshapiro		Unixware 7.1.1 doesn't allow h_errno to be set directly if
310673188Sgshapiro			sendmail is being compiled with -kthread.  Problem
310773188Sgshapiro			noted by Orion Poplawski of CQG, Inc.
310873188Sgshapiro	CONTRIB: buildvirtuser: Substitute current domain for $DOMAIN and
310973188Sgshapiro		current left hand side for $LHS in virtuser files.
311073188Sgshapiro	DEVTOOLS: Do not pass make targets to recursive Build invocations.
311173188Sgshapiro		Problem noted by Jeff Bronson of J.D. Bronson, Inc.
311273188Sgshapiro	MAIL.LOCAL: In LMTP mode, do not return errors regarding problems
311373188Sgshapiro		storing the temporary message file until after the remote
311473188Sgshapiro		side has sent the final DATA termination dot.  Problem
311573188Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic
311673188Sgshapiro		Institute.
311773188Sgshapiro	MAIL.LOCAL: If LMTP mode is set, give a temporary error if users
311873188Sgshapiro		are also specified on the command line.  Patch from
311973188Sgshapiro		Motonori Nakamura of Kyoto University.
312073188Sgshapiro	PRALIASES: Skip over AliasFile specifications which aren't based on
312173188Sgshapiro		database files (i.e., only show dbm, hash, and btree).
312273188Sgshapiro	Renamed Files:
312373188Sgshapiro		devtools/OS/OSF1.V5.0 => devtools/OS/OSF1.V5.x
312473188Sgshapiro
312571345Sgshapiro8.11.2/8.11.2	2000/12/29
312671345Sgshapiro	Prevent a segmentation fault when trying to set a class in
312771345Sgshapiro		address test mode due to a negative array index.  Audit
312871345Sgshapiro		other array indexing.  This bug is not believed to be
312971345Sgshapiro		exploitable.  Noted by Michal Zalewski of the "Internet for
313071345Sgshapiro		Schools" project (IdS).
313171345Sgshapiro	Add an FFR (for future release) to drop privileges when using
313271345Sgshapiro		address test mode.  This will be turned on in 8.12. It can
313371345Sgshapiro		be enabled by compiling with:
313471345Sgshapiro		APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TESTMODE_DROP_PRIVS')
313571345Sgshapiro		in your devtools/Site/site.config.m4 file.  Suggested by
313671345Sgshapiro		Michal Zalewski of the "Internet for Schools" project (IdS).
313771345Sgshapiro	Fix potential problem with Cyrus-SASL security layer which may have
313871345Sgshapiro		caused I/O errors, especially for mechanism DIGEST-MD5.
313971345Sgshapiro	When QueueSortOrder was set to host, sendmail might not read
314071345Sgshapiro		enough of the queue file to determine the host, making the
314171345Sgshapiro		sort sub-optimal.  Problem noted by Jeff Earickson of
314271345Sgshapiro		Colby College.
314371345Sgshapiro	Don't issue DSNs for addresses which use the NOTIFY parameter (per
314471345Sgshapiro		RFC 1891) but don't have FAILURE as value.
314571345Sgshapiro	Initialize Cyrus-SASL library before the SMTP daemon is started.
314671345Sgshapiro		This implies that every change to SASL related files requires
314771345Sgshapiro		a restart of the daemon, e.g., Sendmail.conf, new SASL
314871345Sgshapiro		mechanisms (in form of shared libraries).
314971345Sgshapiro	Properly set the STARTTLS related macros during a queue run for
315071345Sgshapiro		a cached connection.  Bug reported by Michael Kellen of
315171345Sgshapiro		NxNetworks, Inc.
315271345Sgshapiro	Log the server name in relay= for ruleset tls_server instead of the
315371345Sgshapiro		client name.
315471345Sgshapiro	Include original length of bad field/header when reporting
315571345Sgshapiro		MaxMimeHeaderLength problems.  Requested by Ulrich Windl of
315671345Sgshapiro		the Universitat Regensburg.
315771345Sgshapiro	Fix delivery to set-user-ID files that are expanded from aliases in
315871345Sgshapiro		DeliveryMode queue.  Problem noted by Ric Anderson of the
315971345Sgshapiro		University of Arizona.
316071345Sgshapiro	Fix LDAP map -m (match only) flag.  Problem noted by Jeff Giuliano
316171345Sgshapiro		of Collective Technologies.
316271345Sgshapiro	Avoid using a negative argument for sleep() calls when delaying answers
316371345Sgshapiro		to EXPN/VRFY commands on systems which respond very slowly.
316471345Sgshapiro		Problem noted by Mikolaj J. Habryn of Optus Internet
316571345Sgshapiro		Engineering.
316671345Sgshapiro	Make sure the F=u flag is set in the default prog mailer
316771345Sgshapiro		definition.  Problem noted by Kari Hurtta of the Finnish
316871345Sgshapiro		Meteorological Institute.
316971345Sgshapiro	Fix IPv6 check for unspecified addresses.  Patch from
317071345Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
317171345Sgshapiro	Fix return values for IRIX nsd map.  From Kari Hurtta of the Finnish
317271345Sgshapiro		Meteorological Institute.
317371345Sgshapiro	Fix parsing of DaemonPortOptions and ClientPortOptions.  Read all
317471345Sgshapiro		of the parameters to find Family= setting before trying to
317571345Sgshapiro		interpret Addr= and Port=.  Problem noted by Valdis
317671345Sgshapiro		Kletnieks of Virginia Tech.
317771345Sgshapiro	When delivering to a file directly from an alias, do not call
317871345Sgshapiro		initgroups(); instead use the DefaultUser group information.
317971345Sgshapiro		Problem noted by Marc Schaefer of ALPHANET NF.
318071345Sgshapiro	RunAsUser now overrides the ownership of the control socket, if
318171345Sgshapiro		created.  Otherwise, sendmail can not remove it upon
318271345Sgshapiro		close.  Problem noted by Werner Wiethege.
318371345Sgshapiro	Fix ConnectionRateThrottle counting as the option is the number of
318471345Sgshapiro		overall connections, not the number of connections per
318571345Sgshapiro		socket.  A future version may change this to per socket
318671345Sgshapiro		counting.
318771345Sgshapiro	Portability:
318871345Sgshapiro		Clean up libsmdb so it functions properly on platforms
318971345Sgshapiro			where sizeof(u_int32_t) != sizeof(size_t).  Problem
319071345Sgshapiro			noted by Rein Tollevik of Basefarm AS.
319171345Sgshapiro		Fix man page formatting for compatibility with Solaris'
319271345Sgshapiro			whatis.  From Stephen Gildea of InTouch Systems, Inc.
319371345Sgshapiro		UnixWare 7 includes snprintf() support.  From Larry
319471345Sgshapiro			Rosenman.
319571345Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
319671345Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
319771345Sgshapiro		Avoid a typedef compile conflict with Berkeley DB 3.X and
319871345Sgshapiro			Solaris 2.5 or earlier.  Problem noted by Bob Hughes
319971345Sgshapiro			of Pacific Access.
320071345Sgshapiro		Add preliminary support for AIX 5.  Contributed by
320171345Sgshapiro			Valdis Kletnieks of Virginia Tech.
320271345Sgshapiro		Solaris 9 load average support from Andrew Tucker of Sun
320371345Sgshapiro			Microsystems.
320471345Sgshapiro	CONFIG: Reject addresses of the form a!b if FEATURE(`nouucp', `r')
320571345Sgshapiro		is used.  Problem noted by Phil Homewood of Asia Online,
320671345Sgshapiro		patch from Neil Rickert of Northern Illinois University.
320771345Sgshapiro	CONFIG: Change the default DNS based blacklist server for
320873188Sgshapiro		FEATURE(`dnsbl') to blackholes.mail-abuse.org.
320971345Sgshapiro	CONFIG: Deal correctly with the 'C' flag in {daemon_flags}, i.e.,
321071345Sgshapiro		implicitly assume canonical host names.
321171345Sgshapiro	CONFIG: Deal with "::" in IPv6 addresses for access_db.  Based on
321271345Sgshapiro		patch by Motonori Nakamura of Kyoto University.
321371345Sgshapiro	CONFIG: New OSTYPE(`aix5') contributed by Valdis Kletnieks of
321471345Sgshapiro		Virginia Tech.
321571345Sgshapiro	CONFIG: Pass the illegal header form <list:;> through untouched
321671345Sgshapiro		instead of making it worse.  Problem noted by Motonori
321771345Sgshapiro		Nakamura of Kyoto University.
321871345Sgshapiro	CONTRIB: Added buildvirtuser (see `perldoc contrib/buildvirtuser`).
321971345Sgshapiro	CONTRIB: qtool.pl: An empty queue is not an error.  Problem noted
322071345Sgshapiro		by Jan Krueger of digitalanswers communications consulting
322171345Sgshapiro		gmbh.
322271345Sgshapiro	CONTRIB: domainmap.m4: Handle domains with '-' in them.  From Mark
322371345Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
322471345Sgshapiro	DEVTOOLS: Change the internal devtools OS, REL, and ARCH m4
322571345Sgshapiro		variables into bldOS, bldREL, and bldARCH to prevent
322673188Sgshapiro		namespace collisions.  Problem noted by Motonori Nakamura
322771345Sgshapiro		of Kyoto University.
322871345Sgshapiro	RMAIL: Undo the 8.11.1 change to use -G when calling sendmail.  It
322971345Sgshapiro		causes some changes in behavior and may break rmail for
323071345Sgshapiro		installations where sendmail is actually a wrapper to
323171345Sgshapiro		another MTA.  The change will re-appear in a future
323271345Sgshapiro		version.
323371345Sgshapiro	SMRSH: Use the vendor supplied directory on HPUX 10.X, HPUX 11.X,
323471345Sgshapiro		and SunOS 5.8.  Requested by Jeff A. Earickson of Colby
323571345Sgshapiro		College and John Beck of Sun Microsystems.
323671345Sgshapiro	VACATION: Fix pattern matching for addresses to ignore.
323771345Sgshapiro	VACATION: Don't reply to addresses of the form owner-*
323871345Sgshapiro		or *-owner.
323971345Sgshapiro	New Files:
324071345Sgshapiro		cf/ostype/aix5.m4
324171345Sgshapiro		contrib/buildvirtuser
324271345Sgshapiro		devtools/OS/AIX.5.0
324371345Sgshapiro
324466494Sgshapiro8.11.1/8.11.1	2000/09/27
324566494Sgshapiro	Fix SMTP EXPN command output if the address expands to a single
324666494Sgshapiro		name.  Fix from John Beck of Sun Microsystems.
324766494Sgshapiro	Don't try STARTTLS in the client if the PRNG has not been properly
324866494Sgshapiro		seeded.  This problem only occurs on systems without
324966494Sgshapiro		/dev/urandom.  Problem detected by Jan Krueger of
325066494Sgshapiro		digitalanswers communications consulting gmbh and
325166494Sgshapiro		Neil Rickert of Northern Illinois University.
325266494Sgshapiro	Don't use the . and .. directories when expanding QueueDirectory
325366494Sgshapiro		wildcards.
325466494Sgshapiro	Do not try to cache LDAP connections across processes as a parent
325566494Sgshapiro		process may close the connection before the child process
325666494Sgshapiro		has completed.  Problem noted by Lai Yiu Fai of the Hong
325766494Sgshapiro		Kong University of Science and Technology and Wolfgang
325866494Sgshapiro		Hottgenroth of UUNET.
325966494Sgshapiro	Use Timeout.fileopen to limit the amount of time spent trying to
326066494Sgshapiro		read the LDAP secret from a file.
326166494Sgshapiro	Prevent SIGTERM from removing a command line submitted item after
326266494Sgshapiro		the user submits the message and before the first delivery
326366494Sgshapiro		attempt completes.  Problem noted by Max France of AlphaNet.
326466494Sgshapiro		Fix from Neil Rickert of Northern Illinois University.
326566494Sgshapiro	Deal correctly with MaxMessageSize restriction if message size is
326671345Sgshapiro		greater than 2^31.  Problem noted by Tim "Darth Dice" Bosserman
326771345Sgshapiro		of EarthLink.
326866494Sgshapiro	Turn off queue checkpointing if CheckpointInterval is set to zero.
326966494Sgshapiro	Treat an empty home directory (from getpw*() or $HOME) as
327066494Sgshapiro		non-existent instead of treating it as /.  Problem noted by
327166494Sgshapiro		Todd C. Miller of Courtesan Consulting.
327266494Sgshapiro	Don't drop duplicate headers when reading a queued item.  Problem
327366494Sgshapiro		noted by Motonori Nakamura of Kyoto University.
327466494Sgshapiro	Avoid bogus error text when logging the savemail panic "cannot
327566494Sgshapiro		save rejected email anywhere".  Problem noted by Marc G.
327666494Sgshapiro		Fournier of Acadia University.
327766494Sgshapiro	If an LDAP search fails because the LDAP server went down, close
327866494Sgshapiro		the map so subsequent searches reopen the map.  If there are
327966494Sgshapiro		multiple LDAP servers, the down server will be skipped and
328066494Sgshapiro		one of the others may be able to take over.
328166494Sgshapiro	Set the ${load_avg} macro to the current load average, not the
328266494Sgshapiro		previous load average query result.
328366494Sgshapiro	If a non-optional map used in a check_* ruleset can't be opened,
328466494Sgshapiro		return a temporary failure to the remote SMTP client
328566494Sgshapiro		instead of ignoring the map.  Problem noted by Allan E
328666494Sgshapiro		Johannesen of Worcester Polytechnic Institute.
328766494Sgshapiro	Avoid a race condition when queuing up split envelopes by saving
328866494Sgshapiro		the split envelopes before the original envelope.
328966494Sgshapiro	Fix a bug in the PH_MAP code which caused mail to bounce instead of
329066494Sgshapiro		defer if the PH server could not be contacted.  From Mark
329166494Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
329266494Sgshapiro	Prevent QueueSortOrder=Filename from interfering with -qR, -qS, and
329366494Sgshapiro		ETRN.  Problem noted by Erik R. Leo of SoVerNet.
329466494Sgshapiro	Change error code for unrecognized parameters to the SMTP MAIL and
329566494Sgshapiro		RCPT commands from 501 to 555 per RFC 1869.  Problem
329666494Sgshapiro		reported to Postfix by Robert Norris of Monash University.
329766494Sgshapiro	Prevent overwriting the argument of -B on certain OS.  Problem
329866494Sgshapiro		noted by Matteo Gelosa of I.NET S.p.A.
329966494Sgshapiro	Use the proper routine for freeing memory with Netscape's LDAP
330066494Sgshapiro		client libraries.  Patch from Paul Hilchey of the
330166494Sgshapiro		University of British Columbia.
330266494Sgshapiro	Portability:
330366494Sgshapiro		Move the NETINET6 define to devtools/OS/SunOS.5.{8,9}
330466494Sgshapiro			instead of defining it in conf.h so users can
330566494Sgshapiro			override the setting.  Suggested by
330666494Sgshapiro			Henrik Nordstrom of Ericsson.
330766494Sgshapiro		On HP-UX 10.X and 11.X, use /usr/sbin/sendmail instead of
330866494Sgshapiro			/usr/lib/sendmail for rmail and vacation.  From
330966494Sgshapiro			Jeff A. Earickson of Colby College.
331066494Sgshapiro		On HP-UX 11.X, use /usr/sbin instead of /usr/libexec (which
331166494Sgshapiro			does not exist).  From Jeff A. Earickson of Colby
331266494Sgshapiro			College.
331366494Sgshapiro		Avoid using the UCB subsystem on NCR MP-RAS 3.x.  From
331466494Sgshapiro			Tom Moore of NCR.
331566494Sgshapiro		NeXT 3.X and 4.X installs man pages in /usr/man.  From
331666494Sgshapiro			Hisanori Gogota of NTT/InterCommunicationCenter.
331766494Sgshapiro		Solaris 8 and later include /var/run.  The default PID file
331866494Sgshapiro			location is now /var/run/sendmail.pid.  From John
331966494Sgshapiro			Beck of Sun Microsystems.
332066494Sgshapiro		SFIO includes snprintf() for those operating systems
332166494Sgshapiro			which do not.  From Todd C. Miller of Courtesan
332266494Sgshapiro			Consulting.
332366494Sgshapiro	CONFIG: Use the result of _CERT_REGEX_SUBJECT_ not {cert_subject}.
332466494Sgshapiro		Problem noted by Kaspar Brand of futureLab AG.
332566494Sgshapiro	CONFIG: Change 553 SMTP reply code to 501 to avoid problems with
332666494Sgshapiro		errors in the MAIL address.
332766494Sgshapiro	CONFIG: Fix FEATURE(nouucp) usage in example .mc files.  Problem
332866494Sgshapiro		noted by Ron Jarrell of Virginia Tech.
332966494Sgshapiro	CONFIG: Add support for Solaris 8 (and later) as OSTYPE(solaris8).
333066494Sgshapiro		Contributed by John Beck of Sun Microsystems.
333166494Sgshapiro	CONFIG: Set confFROM_HEADER such that the mail hub can possibly add
333266494Sgshapiro		GECOS information for an address.  This more closely
333366494Sgshapiro		matches pre-8.10 nullclient behavior.  From Per Hedeland of
333466494Sgshapiro		Ericsson.
333566494Sgshapiro	CONFIG: Fix MODIFY_MAILER_FLAGS(): apply the flag modifications for
333666494Sgshapiro		SMTP to all *smtp* mailers and those for RELAY to the relay
333766494Sgshapiro		mailer as described in cf/README.
333866494Sgshapiro	MAIL.LOCAL: Open the mailbox as the recipient not root so quotas
333966494Sgshapiro		are obeyed.  Problem noted by Damian Kuczynski of NIK.
334066494Sgshapiro	MAKEMAP: Do not change a map's owner to the TrustedUser if using
334166494Sgshapiro		makemap to 'unmake' the map.
334266494Sgshapiro	RMAIL: Avoid overflowing the list of recipients being passed to
334366494Sgshapiro		sendmail.
334466494Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
334566494Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
334666494Sgshapiro		Meteorological Institute.
334766494Sgshapiro	VACATION: Read the complete message to avoid "broken pipe" signals.
334866494Sgshapiro	VACATION: Do not cut off vacation.msg files which have a single
334966494Sgshapiro		dot as the only character on the line.
335066494Sgshapiro	New Files:
335166494Sgshapiro		cf/ostype/solaris8.m4
335266494Sgshapiro
335364562Sgshapiro8.11.0/8.11.0	2000/07/19
335464562Sgshapiro	SECURITY: If sendmail is installed as a non-root set-user-ID binary
335564562Sgshapiro		(not the normal case), some operating systems will still
335664562Sgshapiro		keep a saved-uid of the effective-uid when sendmail tries
335764562Sgshapiro		to drop all of its privileges.  If sendmail needs to drop
335864562Sgshapiro		these privileges and the operating system doesn't set the
335964562Sgshapiro		saved-uid as well, exit with an error.  Problem noted by
336064562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
336164562Sgshapiro	SECURITY: sendmail depends on snprintf() NUL terminating the string
336264562Sgshapiro		it populates.  It is possible that some broken
336364562Sgshapiro		implementations of snprintf() exist that do not do this.
336464562Sgshapiro		Systems in this category should compile with
336564562Sgshapiro		-DSNPRINTF_IS_BROKEN=1.  Use test/t_snprintf.c to test your
336664562Sgshapiro		system and report broken implementations to
336764562Sgshapiro		sendmail-bugs@sendmail.org and your OS vendor.  Problem
336864562Sgshapiro		noted by Slawomir Piotrowski of TELSAT GP.
336964562Sgshapiro	Support SMTP Service Extension for Secure SMTP (RFC 2487) (STARTTLS).
337064562Sgshapiro		Implementation influenced by the example programs of
337164562Sgshapiro		OpenSSL and the work of Lutz Jaenicke of TU Cottbus.
337264562Sgshapiro	Add new STARTTLS related options CACERTPath, CACERTFile,
337364562Sgshapiro		ClientCertFile, ClientKeyFile, DHParameters, RandFile,
337464562Sgshapiro		ServerCertFile, and ServerKeyFile.  These are documented in
337564562Sgshapiro		cf/README and doc/op/op.*.
337664562Sgshapiro	New STARTTLS related macros: ${cert_issuer}, ${cert_subject},
337764562Sgshapiro		${tls_version}, ${cipher}, ${cipher_bits}, ${verify},
337864562Sgshapiro		${server_name}, and ${server_addr}.  These are documented
337964562Sgshapiro		in cf/README and doc/op/op.*.
338064562Sgshapiro	Add support for the Entropy Gathering Daemon (EGD) for better
338164562Sgshapiro		random data.
338264562Sgshapiro	New DontBlameSendmail option InsufficientEntropy for systems which
338364562Sgshapiro		don't properly seed the PRNG for OpenSSL but want to
338464562Sgshapiro		try to use STARTTLS despite the security problems.
338564562Sgshapiro	Support the security layer in SMTP AUTH for mechanisms which
338664562Sgshapiro		support encryption.  Based on code contributed by Tim
338764562Sgshapiro		Martin of CMU.
338864562Sgshapiro	Add new macro ${auth_ssf} to reflect the SMTP AUTH security
338964562Sgshapiro		strength factor.
339064562Sgshapiro	LDAP's -1 (single match only) flag was not honored if the -z
339164562Sgshapiro		(delimiter) flag was not given.  Problem noted by ST Wong of
339264562Sgshapiro		the Chinese University of Hong Kong.  Fix from Mark Adamson
339364562Sgshapiro		of CMU.
339464562Sgshapiro	Add more protection from accidentally tripping OpenLDAP 1.X's
339564562Sgshapiro		ld_errno == LDAP_DECODING_ERROR hack on ldap_next_attribute().
339664562Sgshapiro		Suggested by Kurt Zeilenga of OpenLDAP.
339764562Sgshapiro	Fix the default family selection for DaemonPortOptions.  As
339864562Sgshapiro		documented, unless a family is specified in a
339964562Sgshapiro		DaemonPortOptions option, "inet" is the default.  It is
340064562Sgshapiro		also the default if no DaemonPortOptions value is set.
340164562Sgshapiro		Therefore, IPv6 users should configure additional sockets
340264562Sgshapiro		by adding DaemonPortOptions settings with Family=inet6 if
340364562Sgshapiro		they wish to also listen on IPv6 interfaces.  Problem noted
340464562Sgshapiro		by Jun-ichiro itojun Hagino of the KAME Project.
340564562Sgshapiro	Set ${if_family} when setting ${if_addr} and ${if_name} to reflect
340664562Sgshapiro		the interface information for an outgoing connection.
340764562Sgshapiro		Not doing so was creating a mismatch between the socket
340864562Sgshapiro		family and address used in subsequent connections if the
340964562Sgshapiro		M=b modifier was set in DaemonPortOptions.  Problem noted
341064562Sgshapiro		by John Beck of Sun Microsystems.
341164562Sgshapiro	If DaemonPortOptions modifier M=b is used, determine the socket
341264562Sgshapiro		family based on the IP address.  ${if_family} is no longer
341364562Sgshapiro		persistent (i.e., saved in qf files).  Patch from John Beck
341464562Sgshapiro		of Sun Microsystems.
341564562Sgshapiro	sendmail 8.10 and 8.11 reused the ${if_addr} and ${if_family}
341664562Sgshapiro		macros for both the incoming interface address/family and
341764562Sgshapiro		the outgoing interface address/family.  In order for M=b
341864562Sgshapiro		modifier in DaemonPortOptions to work properly, preserve
341964562Sgshapiro		the incoming information in the queue file for later
342064562Sgshapiro		delivery attempts.
342164562Sgshapiro	Use SMTP error code and enhanced status code from check_relay in
342264562Sgshapiro		responses to commands.  Problem noted by Jeff Wasilko of
342364562Sgshapiro		smoe.org.
342464562Sgshapiro	Add more vigilance in checking for putc() errors on output streams
342564562Sgshapiro		to protect from a bug in Solaris 2.6's putc().  Problem
342664562Sgshapiro		noted by Graeme Hewson of Oracle.
342764562Sgshapiro	The LDAP map -n option (return attribute names only) wasn't working.
342864562Sgshapiro		Problem noted by Ajay Matia.
342964562Sgshapiro	Under certain circumstances, an address could be listed as deferred
343064562Sgshapiro		but would be bounced back to the sender as failed to be
343164562Sgshapiro		delivered when it really should have been queued.  Problem
343264562Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic Institute.
343364562Sgshapiro	Prevent a segmentation fault in a child SMTP process from getting
343464562Sgshapiro		the SMTP transaction out of sync.  Problem noted by Per
343564562Sgshapiro		Hedeland of Ericsson.
343664562Sgshapiro	Turn off RES_DEBUG if SFIO is defined unless SFIO_STDIO_COMPAT
343764562Sgshapiro		is defined to avoid a core dump due to incompatibilities
343864562Sgshapiro		between sfio and stdio.  Problem noted by Neil Rickert
343964562Sgshapiro		of Northern Illinois University.
344064562Sgshapiro	Don't log useless envelope ID on initial connection log.  Problem
344164562Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological Institute.
344264562Sgshapiro	Convert the free disk space shown in a control socket status query
344364562Sgshapiro		to kilobyte units.
344464562Sgshapiro	If TryNullMXList is True and there is a temporary DNS failure
344564562Sgshapiro		looking up the hostname, requeue the message for a later
344664562Sgshapiro		attempt.  Problem noted by Ari Heikkinen of Pohjois-Savo
344764562Sgshapiro		Polytechnic.
344864562Sgshapiro	Under the proper circumstances, failed connections would be recorded
344964562Sgshapiro		as "Bad file number" instead of "Connection failed" in the
345064562Sgshapiro		queue file and persistent host status.  Problem noted by
345164562Sgshapiro		Graeme Hewson of Oracle.
345264562Sgshapiro	Avoid getting into an endless loop if a non-hoststat directory exists
345364562Sgshapiro		within the hoststatus directory (e.g., lost+found).
345464562Sgshapiro		Patch from Valdis Kletnieks of Virginia Tech.
345564562Sgshapiro	Make sure Timeout.queuereturn=now returns a bounce message to the
345664562Sgshapiro		sender.  Problem noted by Per Hedeland of Ericsson.
345764562Sgshapiro	If a message data file can't be opened at delivery time, panic and
345864562Sgshapiro		abort the attempt instead of delivering a message that
345964562Sgshapiro		states "<<< No Message Collected >>>".
346064562Sgshapiro	Fixup the GID checking code from 8.10.2 as it was overly
346164562Sgshapiro		restrictive.  Problem noted by Mark G. Thomas of Mark
346264562Sgshapiro		G. Thomas Consulting.
346364562Sgshapiro	Preserve source port number instead of replacing it with the ident
346464562Sgshapiro		port number (113).
346564562Sgshapiro	Document the queue status characters in the mailq man page.
346664562Sgshapiro		Suggested by Ulrich Windl of the Universitat Regensburg.
346764562Sgshapiro	Process queued items in which none of the recipient addresses have
346864562Sgshapiro		host portions (or there are no recipients).  Problem noted
346964562Sgshapiro		by Valdis Kletnieks of Virginia Tech.
347064562Sgshapiro	If a cached LDAP connection is used for multiple maps, make sure
347164562Sgshapiro		only the first to open the connection is allowed to close
347264562Sgshapiro		it so a later map close doesn't break the connection for
347364562Sgshapiro		other maps.  Problem noted by Wolfgang Hottgenroth of UUNET.
347464562Sgshapiro	Netscape's LDAP libraries do not support Kerberos V4
347564562Sgshapiro		authentication.  Patch from Rainer Schoepf of the
347664562Sgshapiro		University of Mainz.
347764562Sgshapiro	Provide workaround for inconsistent handling of data passed
347864562Sgshapiro		via callbacks to Cyrus SASL prior to version 1.5.23.
347964562Sgshapiro	Mention ENHANCEDSTATUSCODES in the SMTP HELP helpfile.  Omission
348064562Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg.
348164562Sgshapiro	Portability:
348264562Sgshapiro		Add the ability to read IPv6 interface addresses into class
348364562Sgshapiro			'w' under FreeBSD (and possibly others).  From Jun
348464562Sgshapiro			Kuriyama of IMG SRC, Inc. and the FreeBSD Project.
348564562Sgshapiro		Replace code for finding the number of CPUs on HPUX.
348664562Sgshapiro		NCRUNIX MP-RAS 3.02 SO_REUSEADDR socket option does not
348764562Sgshapiro			work properly causing problems if the accept()
348864562Sgshapiro			fails and the socket needs to be reopened.  Patch
348964562Sgshapiro			from Tom Moore of NCR.
349064562Sgshapiro		NetBSD uses a .0 extension of formatted man pages.  From
349166494Sgshapiro			Andrew Brown of Crossbar Security.
349264562Sgshapiro		Return to using the IPv6 AI_DEFAULT flag instead of AI_V4MAPPED
349364562Sgshapiro			for calls to getipnodebyname().  The Linux
349464562Sgshapiro			implementation is broken so AI_ADDRCONFIG is stripped
349564562Sgshapiro			under Linux.  From John Beck of Sun Microsystems and
349664562Sgshapiro			John Kennedy of Cal State University, Chico.
349764562Sgshapiro	CONFIG: Catch invalid addresses containing a ',' at the wrong place.
349864562Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
349964562Sgshapiro	CONFIG: New variables for the new sendmail options:
350064562Sgshapiro		confCACERT_PATH			CACERTPath
350164562Sgshapiro		confCACERT			CACERTFile
350264562Sgshapiro		confCLIENT_CERT			ClientCertFile
350364562Sgshapiro		confCLIENT_KEY			ClientKeyFile
350464562Sgshapiro		confDH_PARAMETERS		DHParameters
350564562Sgshapiro		confRAND_FILE			RandFile
350664562Sgshapiro		confSERVER_CERT			ServerCertFile
350764562Sgshapiro		confSERVER_KEY			ServerKeyFile
350864562Sgshapiro	CONFIG: Provide basic rulesets for TLS policy control and add new
350964562Sgshapiro		tags to the access database to support these policies.  See
351064562Sgshapiro		cf/README for more information.
351164562Sgshapiro	CONFIG: Add TLS information to the Received: header.
351264562Sgshapiro	CONFIG: Call tls_client ruleset from check_mail in case it wasn't
351364562Sgshapiro		called due to a STARTTLS command.
351464562Sgshapiro	CONFIG: If TLS_PERM_ERR is defined, TLS related errors are permanent
351564562Sgshapiro		instead of temporary.
351664562Sgshapiro	CONFIG: FEATURE(`relay_hosts_only') didn't work in combination with
351764562Sgshapiro		the access map and relaying to a domain without using a To:
351864562Sgshapiro		tag.  Problem noted by Mark G. Thomas of Mark G. Thomas
351964562Sgshapiro		Consulting.
352064562Sgshapiro	CONFIG: Set confEBINDIR to /usr/sbin to match the devtools entry in
352164562Sgshapiro		OSTYPE(`linux') and OSTYPE(`mklinux').  From Tim Pierce of
352264562Sgshapiro		RootsWeb.com.
352364562Sgshapiro	CONFIG: Make sure FEATURE(`nullclient') doesn't use aliasing and
352464562Sgshapiro		forwarding to make it as close to the old behavior as
352564562Sgshapiro		possible.  Problem noted by George W. Baltz of the
352664562Sgshapiro		University of Maryland.
352764562Sgshapiro	CONFIG: Added OSTYPE(`darwin') for Mac OS X and Darwin users.  From
352864562Sgshapiro		Wilfredo Sanchez of Apple Computer, Inc.
352964562Sgshapiro	CONFIG: Changed the map names used by FEATURE(`ldap_routing') from
353064562Sgshapiro		ldap_mailhost and ldap_mailroutingaddress to ldapmh and
353164562Sgshapiro		ldapmra as underscores in map names cause problems if
353264562Sgshapiro		underscore is in OperatorChars.  Problem noted by Bob Zeitz
353364562Sgshapiro		of the University of Alberta.
353464562Sgshapiro	CONFIG: Apply blacklist_recipients also to hosts in class {w}.
353564562Sgshapiro		Patch from Michael Tratz of Esosoft Corporation.
353664562Sgshapiro	CONFIG: Use A=TCP ... instead of A=IPC ... in SMTP mailers.
353764562Sgshapiro	CONTRIB: Add link_hash.sh to create symbolic links to the hash
353864562Sgshapiro		of X.509 certificates.
353964562Sgshapiro	CONTRIB: passwd-to-alias.pl:  More protection from special characters;
354064562Sgshapiro		treat special shells as root aliases; skip entries where the
354164562Sgshapiro		GECOS full name and username match.  From Ulrich Windl of the
354264562Sgshapiro		Universitat Regensburg.
354364562Sgshapiro	CONTRIB: qtool.pl: Add missing last_modified_time method and fix a
354464562Sgshapiro		typo.  Patch from Graeme Hewson of Oracle.
354564562Sgshapiro	CONTRIB: re-mqueue.pl: Improve handling of a race between re-mqueue
354664562Sgshapiro		and sendmail.  Patch from Graeme Hewson of Oracle.
354764562Sgshapiro	CONTRIB: re-mqueue.pl: Don't exit(0) at end so can be called as
354864562Sgshapiro		subroutine Patch from Graeme Hewson of Oracle.
354964562Sgshapiro	CONTRIB: Add movemail.pl (move old mail messages between queues by
355064562Sgshapiro		calling re-mqueue.pl) and movemail.conf (configuration
355164562Sgshapiro		script for movemail.pl).  From Graeme Hewson of Oracle.
355264562Sgshapiro	CONTRIB: Add cidrexpand (expands CIDR blocks as a preprocessor to
355364562Sgshapiro		makemap).  From Derek J. Balling of Yahoo,Inc.
355464562Sgshapiro	DEVTOOLS: INSTALL_RAWMAN installation option mistakenly applied any
355564562Sgshapiro		extension modifications (e.g., MAN8EXT) to the installation
355664562Sgshapiro		target.  Patch from James Ralston of Carnegie Mellon
355764562Sgshapiro		University.
355864562Sgshapiro	DEVTOOLS: Add support for SunOS 5.9.
355964562Sgshapiro	DEVTOOLS: New option confLN contains the command used to create
356064562Sgshapiro		links.
356164562Sgshapiro	LIBSMDB: Berkeley DB 2.X and 3.X errors might be lost and not
356264562Sgshapiro		reported.
356364562Sgshapiro	MAIL.LOCAL: DG/UX portability.  Problem noted by Tim Boyer of
356464562Sgshapiro		Denman Tire Corporation.
356564562Sgshapiro	MAIL.LOCAL: Prevent a possible DoS attack when compiled with
356664562Sgshapiro		-DCONTENTLENGTH.  Based on patch from 3APA3A@SECURITY.NNOV.RU.
356764562Sgshapiro	MAILSTATS: Fix usage statement (-p and -o are optional).
356864562Sgshapiro	MAKEMAP: Change man page layout as workaround for problem with nroff
356964562Sgshapiro		and -man on Solaris 7.  Patch from Larry Williamson.
357064562Sgshapiro	RMAIL: AIX 4.3 has snprintf().  Problem noted by David Hayes of
357164562Sgshapiro		Black Diamond Equipment, Limited.
357264562Sgshapiro	RMAIL: Prevent a segmentation fault if the incoming message does not
357364562Sgshapiro		have a From line.
357464562Sgshapiro	VACATION: Read all of the headers before deciding whether or not
357564562Sgshapiro		to respond instead of stopping after finding recipient.
357664562Sgshapiro	Added Files:
357764562Sgshapiro		cf/ostype/darwin.m4
357864562Sgshapiro		contrib/cidrexpand
357964562Sgshapiro		contrib/link_hash.sh
358064562Sgshapiro		contrib/movemail.conf
358164562Sgshapiro		contrib/movemail.pl
358264562Sgshapiro		devtools/OS/SunOS.5.9
358364562Sgshapiro		test/t_snprintf.c
358464562Sgshapiro
358564562Sgshapiro8.10.2/8.10.2	2000/06/07
358664562Sgshapiro	SECURITY: Work around broken Linux setuid() implementation.
358764562Sgshapiro		On Linux, a normal user process has the ability to subvert
358864562Sgshapiro		the setuid() call such that it is impossible for a root
358964562Sgshapiro		process to drop its privileges.  Problem noted by Wojciech
359064562Sgshapiro		Purczynski of elzabsoft.pl.
359164562Sgshapiro	SECURITY: Add more vigilance around set*uid(), setgid(), setgroups(),
359264562Sgshapiro		initgroups(), and chroot() calls.
359364562Sgshapiro	Added Files:
359464562Sgshapiro		test/t_setuid.c
359564562Sgshapiro
359664562Sgshapiro8.10.1/8.10.1	2000/04/06
359764562Sgshapiro	SECURITY: Limit the choice of outgoing (client-side) SMTP
359864562Sgshapiro		Authentication mechanisms to those specified in
359964562Sgshapiro		AuthMechanisms to prevent information leakage.  We do not
360064562Sgshapiro		recommend use of PLAIN for outgoing mail as it sends the
360164562Sgshapiro		password in clear text to possibly untrusted servers.  See
360264562Sgshapiro		cf/README's DefaultAuthInfo section for additional information.
360364562Sgshapiro	Copy the ident argument for openlog() to avoid problems on some
360464562Sgshapiro		OSs.  Based on patch from Rob Bajorek from Webhelp.com.
360564562Sgshapiro	Avoid bogus error message when reporting an alias line as too long.
360664562Sgshapiro	Avoid bogus socket error message if sendmail.cf version level is
360764562Sgshapiro		greater than sendmail binary supported version.  Patch
360864562Sgshapiro		from John Beck of Sun Microsystems.
360964562Sgshapiro	Prevent a malformed ruleset (missing right hand side) from causing
361064562Sgshapiro		a segmentation fault when using address test mode.  Based on
361164562Sgshapiro		patch from John Beck of Sun Microsystems.
361264562Sgshapiro	Prevent memory leak from use of NIS maps and yp_match(3).  Problem
361364562Sgshapiro		noted by Gil Kloepfer of the University of Texas at Austin.
361464562Sgshapiro	Fix queue file permission checks to allow for TrustedUser ownership.
361564562Sgshapiro	Change logging of errors from the trust_auth ruleset to LogLevel 10
361664562Sgshapiro		or higher.
361764562Sgshapiro	Avoid simple password cracking attacks against SMTP AUTH by using
361864562Sgshapiro		exponential delay after too many tries within one connection.
361964562Sgshapiro	Encode an initial empty AUTH challenge as '=', not as empty string.
362064562Sgshapiro	Avoid segmentation fault on EX_SOFTWARE internal error logs.
362164562Sgshapiro		Problem noted by Allan E Johannesen of Worcester
362264562Sgshapiro		Polytechnic Institute.
362364562Sgshapiro	Ensure that a header check which resolves to $#discard actually
362464562Sgshapiro		discards the message.
362564562Sgshapiro	Emit missing value warnings for aliases with no right hand side
362664562Sgshapiro		when newaliases is run instead of only when delivery is
362764562Sgshapiro		attempted to the alias.
362864562Sgshapiro	Remove AuthOptions missing value warning for consistency with other
362964562Sgshapiro		flag options.
363064562Sgshapiro	Portability:
363164562Sgshapiro		SECURITY: Specify a run-time shared library search path for
363264562Sgshapiro			AIX 4.X instead of using the dangerous AIX 4.X
363364562Sgshapiro			linker semantics.  AIX 4.X users should consult
363464562Sgshapiro			sendmail/README for further information.  Problem
363564562Sgshapiro			noted by Valdis Kletnieks of Virginia Tech.
363664562Sgshapiro		Avoid use of strerror(3) call.  Problem noted by Charles
363764562Sgshapiro			Levert of Ecole Polytechnique de Montreal.
363864562Sgshapiro		DGUX requires -lsocket -lnsl and has a non-standard install
363964562Sgshapiro			program.  From Tim Boyer of Denman Tire Corporation.
364064562Sgshapiro		HPUX 11.0 has a broken res_search() function.
364164562Sgshapiro		Updates to devtools/OS/NeXT.3.X, NeXT.4.X, and NEXTSTEP.4.X
364264562Sgshapiro			from J. P. McCann of E I A.
364364562Sgshapiro		Digital UNIX/Compaq Tru64 5.0 now includes snprintf(3).
364464562Sgshapiro			Problem noted by Michael Long of Info Avenue Internet
364564562Sgshapiro			Services, LLC.
364664562Sgshapiro		Modern (post-199912) OpenBSD versions include working
364764562Sgshapiro			strlc{at,py}(3) functions.  From Todd C. Miller of
364864562Sgshapiro			Courtesan Consulting.
364964562Sgshapiro		SINIX doesn't have random(3).  From Gerald Rinske of
365064562Sgshapiro			Siemens Business Services.
365164562Sgshapiro	CONFIG: Change error message about unresolvable sender domain to
365264562Sgshapiro		include the sender address.  Proposed by Wolfgang Rupprecht
365364562Sgshapiro		of WSRCC.
365464562Sgshapiro	CONFIG: Fix usenet mailer calls.
365564562Sgshapiro	CONFIG: If RELAY_MAILER_FLAGS is not defined, use SMTP_MAILER_FLAGS
365664562Sgshapiro		to be backward compatible with 8.9.
365764562Sgshapiro	CONFIG: Change handling of default case @domain for virtusertable
365864562Sgshapiro		to allow for +*@domain to deal with +detail.
365964562Sgshapiro	CONTRIB: Remove converting.sun.configs -- it is obsolete.
366064562Sgshapiro	DEVTOOLS: confUBINMODE was being ignored.  Fix from KITAZIMA, Tuneki
366164562Sgshapiro		of NEC.
366264562Sgshapiro	DEVTOOLS: Add to NCR platform list and include the architecture
366364562Sgshapiro		(i486).  From Tom J. Moore of NCR.
366464562Sgshapiro	DEVTOOLS: SECURITY: Change method of linking with sendmail utility
366564562Sgshapiro		libraries to work around the AIX 4.X and SunOS 4.X linker's
366664562Sgshapiro		overloaded -L option.  Problem noted by Valdis Kletnieks of
366764562Sgshapiro		Virginia Tech.
366864562Sgshapiro	DEVTOOLS: configure.sh was overriding the user's choice for
366964562Sgshapiro		confNROFF.  Problem noted by Glenn A. Malling of Syracuse
367064562Sgshapiro		University.
367164562Sgshapiro	DEVTOOLS: New variables conf_prog_LIB_POST and confBLDVARIANT added
367264562Sgshapiro		for other internal projects but included in the open source
367364562Sgshapiro		release.
367464562Sgshapiro	LIBSMDB: Check for ".db" instead of simply "db" at the end of the
367564562Sgshapiro		map name to determine whether or not to add the extension.
367664562Sgshapiro		This fixes makemap when building the userdb file.  Problem
367764562Sgshapiro		noted by Andrew J Cole of the University of Leeds.
367864562Sgshapiro	LIBSMDB: Allow a database to be opened for updating and created if
367964562Sgshapiro		it doesn't already exist.  Problem noted by Rand Wacker of
368064562Sgshapiro		Sendmail.
368164562Sgshapiro	LIBSMDB: If type is SMDB_TYPE_DEFAULT and both NEWDB and NDBM are
368264562Sgshapiro		available, fall back to NDBM if NEWDB open fails.  This
368364562Sgshapiro		fixes praliases.  Patch	from John Beck of Sun Microsystems.
368464562Sgshapiro	LIBSMUTIL: safefile()'s SFF_NOTEXCL check was being misinterpreted
368564562Sgshapiro		as SFF_NOWRFILES.
368664562Sgshapiro	OP.ME: Clarify some issues regarding mailer flags.  Suggested by
368764562Sgshapiro		Martin Mokrejs of The Charles University and Neil Rickert of
368864562Sgshapiro		Northern Illinois University.
368964562Sgshapiro	PRALIASES: Restore 8.9.X functionality of being able to search for
369064562Sgshapiro		particular keys in a database by specifying the keys on the
369164562Sgshapiro		command line.  Man page updated accordingly.  Patch from
369264562Sgshapiro		John Beck of Sun Microsystems.
369364562Sgshapiro	VACATION: SunOS 4.X portability from Charles Levert of Ecole
369464562Sgshapiro		Polytechnique de Montreal.
369564562Sgshapiro	VACATION: Fix -t option which is ignored but available for
369664562Sgshapiro		compatibility with Sun's version, based on patch from
369764562Sgshapiro		Volker Dobler of Infratest Burke.
369864562Sgshapiro	Added Files:
369964562Sgshapiro		devtools/M4/UNIX/smlib.m4
370064562Sgshapiro		devtools/OS/OSF1.V5.0
370164562Sgshapiro	Deleted Files:
370264562Sgshapiro		contrib/converting.sun.configs
370364562Sgshapiro	Deleted Directories (already done in 8.10.0 but not listed):
370464562Sgshapiro		doc/intro
370564562Sgshapiro		doc/usenix
370664562Sgshapiro		doc/changes
370764562Sgshapiro
370864562Sgshapiro8.10.0/8.10.0	2000/03/01
370964562Sgshapiro	    *************************************************************
371080785Sgshapiro	    * The engineering department at Sendmail, Inc. has suffered	*
371180785Sgshapiro	    * the tragic loss of a key member of our engineering team.	*
371280785Sgshapiro	    * Julie Van Bourg was the Vice President of Engineering	*
371380785Sgshapiro	    * at Sendmail, Inc. during the development and deployment	*
371480785Sgshapiro	    * of this release.  It was her vision, dedication, and	*
371580785Sgshapiro	    * support that has made this release a success.  Julie died	*
371680785Sgshapiro	    * on October 26, 1999 of cancer.  We have lost a leader, a	*
371780785Sgshapiro	    * coach, and a friend.					*
371880785Sgshapiro	    *								*
371980785Sgshapiro	    * This release is dedicated to her memory and to the joy,	*
372080785Sgshapiro	    * strength, ideals, and hope that she brought to all of us.	*
372180785Sgshapiro	    * Julie, we miss you!					*
372264562Sgshapiro	    *************************************************************
372364562Sgshapiro	SECURITY: The safe file checks now back track through symbolic
372464562Sgshapiro		links to make sure the files can't be compromised due
372564562Sgshapiro		to poor permissions on the parent directories of the
372664562Sgshapiro		symbolic link target.
372764562Sgshapiro	SECURITY: Only root, TrustedUser, and users in class t can rebuild
372864562Sgshapiro		the alias map.  Problem noted by Michal Zalewski of the
372964562Sgshapiro		"Internet for Schools" project (IdS).
373064562Sgshapiro	SECURITY: There is a potential for a denial of service attack if
373164562Sgshapiro		the AutoRebuildAliases option is set as a user can kill the
373264562Sgshapiro		sendmail process while it is rebuilding the aliases file
373364562Sgshapiro		(leaving it in an inconsistent state).  This option and
373464562Sgshapiro		its use is deprecated and will be removed from a future
373564562Sgshapiro		version of sendmail.
373664562Sgshapiro	SECURITY: Make sure all file descriptors (besides stdin, stdout, and
373764562Sgshapiro		stderr) are closed before restarting sendmail.  Problem noted
373864562Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
373964562Sgshapiro		(IdS).
374064562Sgshapiro	Begin using /etc/mail/ for sendmail related files.  This affects
374164562Sgshapiro		a large number of files.  See cf/README for more details.
374264562Sgshapiro	The directory structure of the distribution has changed slightly
374364562Sgshapiro		for easier code sharing among the programs.
374464562Sgshapiro	Support SMTP AUTH (see RFC 2554).  New macros for this purpose
374564562Sgshapiro		are ${auth_authen}, ${auth_type}, and ${auth_author}
374664562Sgshapiro		which hold the client's authentication credentials,
374764562Sgshapiro		the mechanism used for authentication, and the
374864562Sgshapiro		authorization identity (i.e., the AUTH= parameter if
374964562Sgshapiro		supplied).  Based on code contributed by Tim Martin of CMU.
375064562Sgshapiro	On systems which use the Torek stdio library (all of the BSD
375164562Sgshapiro		distributions), use memory-buffered files to reduce
375264562Sgshapiro		file system overhead by not creating temporary files on
375364562Sgshapiro		disk.  Contributed by Exactis.com, Inc.
375464562Sgshapiro	New option DataFileBufferSize to control the maximum size of a
375564562Sgshapiro		memory-buffered data (df) file before a disk-based file is
375664562Sgshapiro		used.  Contributed by Exactis.com, Inc.
375764562Sgshapiro	New option XscriptFileBufferSize to control the maximum size of a
375864562Sgshapiro		memory-buffered transcript (xf) file before a disk-based
375964562Sgshapiro		file is used.  Contributed by Exactis.com, Inc.
376064562Sgshapiro	sendmail implements RFC 2476 (Message Submission), e.g., it can
376164562Sgshapiro		now listen on several different ports.  Use:
376264562Sgshapiro		O DaemonPortOptions=Name=MSA, Port=587, M=E
376364562Sgshapiro		to run a Message Submission Agent (MSA); this is turned
376464562Sgshapiro		on by default in m4-generated .cf files; it can be turned
376564562Sgshapiro		off with FEATURE(`no_default_msa').
376664562Sgshapiro	The 'XUSR' SMTP command is deprecated.  Mail user agents should
376764562Sgshapiro		begin using RFC 2476 Message Submission for initial user
376864562Sgshapiro		message submission.  XUSR may disappear from a future release.
376964562Sgshapiro	The new '-G' (relay (gateway) submission) command line option
377064562Sgshapiro		indicates that the message being submitted from the command
377164562Sgshapiro		line is for relaying, not initial submission.  This means
377264562Sgshapiro		the message will be rejected if the addresses are not fully
377364562Sgshapiro		qualified and no canonicalization will be done.  Future
377464562Sgshapiro		releases may even reject improperly formed messages.
377564562Sgshapiro	The '-U' (initial user submission) command line option is
377664562Sgshapiro		deprecated and may be removed from a future release.
377764562Sgshapiro		Mail user agents should begin using '-G' to indicate that
377864562Sgshapiro		this is a relay submission (the inverse of -U).
377964562Sgshapiro	The next release of sendmail will assume that any message submitted
378064562Sgshapiro		from the command line is an initial user submission and act
378164562Sgshapiro		accordingly.
378264562Sgshapiro	If sendmail doesn't have enough privileges to run a .forward
378364562Sgshapiro		program or deliver to file as the owner of that file, the
378464562Sgshapiro		address is marked as unsafe.  This means if RunAsUser is
378564562Sgshapiro		set, users won't be able to use programs or delivery to
378664562Sgshapiro		files in their .forward files.  Administrators can override
378764562Sgshapiro		this by setting the DontBlameSendmail option to the new
378864562Sgshapiro		setting NonRootSafeAddr.
378964562Sgshapiro	Allow group or world writable directories if the sticky bit is set
379064562Sgshapiro		on the directory and DontBlameSendmail is set to
379164562Sgshapiro		TrustStickyBit.  Based on patch from Chris Metcalf of
379264562Sgshapiro		InCert Software.
379364562Sgshapiro	Prevent logging of unsafe directory paths for non-existent forward
379464562Sgshapiro		files if the new DontWarnForwardFileInUnsafeDirPath bit is
379564562Sgshapiro		set in the DontBlameSendmail option.  Requested by many.
379664562Sgshapiro	New Timeout.control option to limit the total time spent satisfying
379764562Sgshapiro		a control socket request.
379864562Sgshapiro	New Timeout.resolver options for controlling BIND resolver
379964562Sgshapiro		settings:
380064562Sgshapiro		Timeout.resolver.retrans
380164562Sgshapiro			Sets the resolver's retransmission time interval (in
380264562Sgshapiro			seconds).  Sets both Timeout.resolver.retrans.first
380364562Sgshapiro			and Timeout.resolver.retrans.normal.
380464562Sgshapiro		Timeout.resolver.retrans.first
380564562Sgshapiro			Sets the resolver's retransmission time interval (in
380664562Sgshapiro			seconds) for the first attempt to deliver a message.
380764562Sgshapiro		Timeout.resolver.retrans.normal
380864562Sgshapiro			Sets the resolver's retransmission time interval (in
380964562Sgshapiro			seconds) for all resolver lookups except the first
381064562Sgshapiro			delivery attempt.
381164562Sgshapiro		Timeout.resolver.retry
381264562Sgshapiro			Sets the number of times to retransmit a resolver
381364562Sgshapiro			query.  Sets both Timeout.resolver.retry.first
381464562Sgshapiro			and Timeout.resolver.retry.normal.
381564562Sgshapiro		Timeout.resolver.retry.first
381664562Sgshapiro			Sets the number of times to retransmit a resolver
381764562Sgshapiro			query for the first attempt to deliver a message.
381864562Sgshapiro		Timeout.resolver.retry.normal
381964562Sgshapiro			Sets the number of times to retransmit a resolver
382064562Sgshapiro			query for all resolver lookups except the first
382164562Sgshapiro			delivery attempt.
382264562Sgshapiro		Contributed by Exactis.com, Inc.
382364562Sgshapiro	Support multiple queue directories.  To use multiple queues, supply
382464562Sgshapiro		a QueueDirectory option value ending with an asterisk.  For
382564562Sgshapiro		example, /var/spool/mqueue/q* will use all of the
382664562Sgshapiro		directories or symbolic links to directories beginning with
382764562Sgshapiro		'q' in /var/spool/mqueue as queue directories.  Keep in
382864562Sgshapiro		mind, the queue directory structure should not be changed
382964562Sgshapiro		while sendmail is running.  Queue runs create a separate
383064562Sgshapiro		process for running each queue unless the verbose flag is
383164562Sgshapiro		given on a non-daemon queue run.  New items are randomly
383264562Sgshapiro		assigned to a queue.  Contributed by Exactis.com, Inc.
383364562Sgshapiro	Support different directories for qf, df, and xf queue files; if
383464562Sgshapiro		subdirectories or symbolic links to directories of those names
383564562Sgshapiro		exist in the queue directories, they are used for the
383664562Sgshapiro		corresponding queue files.  Keep in mind, the queue
383764562Sgshapiro		directory structure should not be changed while sendmail is
383864562Sgshapiro		running.  Proposed by Mathias Koerber of Singapore
383964562Sgshapiro		Telecommunications Ltd.
384064562Sgshapiro	New queue file naming system which uses a filename guaranteed to be
384164562Sgshapiro		unique for 60 years.  This allows queue IDs to be assigned
384264562Sgshapiro		without fancy file system locking.  Queued items can be
384364562Sgshapiro		moved between queues easily.  Contributed by Exactis.com,
384464562Sgshapiro		Inc.
384564562Sgshapiro	Messages which are undeliverable due to temporary address failures
384664562Sgshapiro		(e.g., DNS failure) will now go to the FallBackMX host, if
384764562Sgshapiro		set.  Contributed by Exactis.com, Inc.
384864562Sgshapiro	New command line option '-L tag' which sets the identifier used for
384964562Sgshapiro		syslog.  Contributed by Exactis.com, Inc.
385064562Sgshapiro	QueueSortOrder=Filename will sort the queue by filename.  This
385164562Sgshapiro		avoids opening and reading each queue file when preparing
385264562Sgshapiro		to run the queue.  Contributed by Exactis.com, Inc.
385364562Sgshapiro	Shared memory counters and microtimers functionality has been
385464562Sgshapiro		donated by Exactis.com, Inc.
385564562Sgshapiro	The SCCS ID tags have been replaced with RCS ID tags.
385664562Sgshapiro	Allow trusted users (those on a T line or in $=t) to set the
385764562Sgshapiro		QueueDirectory (Q) option without an X-Authentication-Warning:
385864562Sgshapiro		being added.  Suggested by Michael K. Sanders.
385964562Sgshapiro	IPv6 support based on patches from John Kennedy of Cal State
386064562Sgshapiro		University, Chico, Motonori Nakamura of Kyoto University,
386164562Sgshapiro		and John Beck of Sun Microsystems.
386264562Sgshapiro	In low-disk space situations, where sendmail would previously refuse
386364562Sgshapiro		connections, still accept them, but only allow ETRN commands.
386464562Sgshapiro		Suggested by Mathias Koerber of Singapore Telecommunications
386564562Sgshapiro		Ltd.
386664562Sgshapiro	The [IPC] builtin mailer now allows delivery to a UNIX domain socket
386764562Sgshapiro		on systems which support them.  This can be used with LMTP
386864562Sgshapiro		local delivery agents which listen on a named socket.  An
386964562Sgshapiro		example mailer might be:
387064562Sgshapiro			Mexecmail, P=[IPC], F=lsDFMmnqSXzA5@/:|, E=\r\n,
387164562Sgshapiro				S=10, R=20/40, T=DNS/RFC822/X-Unix,
387264562Sgshapiro				A=FILE /var/run/lmtpd
387364562Sgshapiro		Code contributed by Lyndon Nerenberg of Messaging Direct.
387464562Sgshapiro	The [TCP] builtin mailer name is now deprecated.  Use [IPC]
387564562Sgshapiro		instead.
387664562Sgshapiro	The first mailer argument in the [IPC] mailer is now checked for a
387764562Sgshapiro		legitimate value.  Possible values are TCP (for TCP/IP
387864562Sgshapiro		connections), IPC (which will be deprecated in a future
387964562Sgshapiro		version), and FILE (for UNIX domain socket delivery).
388064562Sgshapiro	PrivacyOptions=goaway no longer includes the noetrn and the noreceipts
388164562Sgshapiro		flags.
388264562Sgshapiro	PrivacyOptions=nobodyreturn instructs sendmail not to include the
388364562Sgshapiro		body of the original message on delivery status
388464562Sgshapiro		notifications.
388564562Sgshapiro	Don't announce DSN if PrivacyOptions=noreceipts is set.  Problem noted
388664562Sgshapiro		by Dan Bernstein, fix from Robert Harker of Harker Systems.
388764562Sgshapiro	Accept the SMTP RSET command even when rejecting commands due to TCP
388864562Sgshapiro		Wrappers or the check_relay ruleset.  Problem noted by
388964562Sgshapiro		Steve Schweinhart of America Online.
389064562Sgshapiro	Warn if OperatorChars is set multiple times.  OperatorChars should
389164562Sgshapiro		not be set after rulesets are defined.  Suggested by
389264562Sgshapiro		Mitchell Blank Jr of Exec-PC.
389364562Sgshapiro	Do not report temporary failure on delivery to files.  In
389464562Sgshapiro		interactive delivery mode, this would result in two SMTP
389564562Sgshapiro		responses after the DATA command.  Problem noted by
389664562Sgshapiro		Nik Conwell of Boston University.
389764562Sgshapiro	Check file close when mailing to files.  Problem noted by Nik
389864562Sgshapiro		Conwell of Boston University.
389964562Sgshapiro	Avoid a segmentation fault when using the LDAP map.  Patch from
390064562Sgshapiro		Curtis W. Hillegas of Princeton University.
390164562Sgshapiro	Always bind to the LDAP server regardless of whether you are using
390264562Sgshapiro		ldap_open() or ldap_init().  Fix from Raj Kunjithapadam of
390364562Sgshapiro		@Home Network.
390464562Sgshapiro	New ruleset trust_auth to determine whether a given AUTH=
390564562Sgshapiro		parameter of the MAIL command should be trusted.  See SMTP
390664562Sgshapiro		AUTH, cf/README, and doc/op/op.ps.
390764562Sgshapiro	Allow new named config file rules check_vrfy, check_expn, and
390864562Sgshapiro		check_etrn for VRFY, EXPN, and ETRN commands, respectively,
390964562Sgshapiro		similar to check_rcpt etc.
391064562Sgshapiro	Introduce new macros ${rcpt_mailer}, ${rcpt_host}, ${rcpt_addr},
391164562Sgshapiro		${mail_mailer}, ${mail_host}, ${mail_addr} that hold
391264562Sgshapiro		the results of parsing the RCPT and MAIL arguments, i.e.
391364562Sgshapiro		the resolved triplet from $#mailer $@host $:addr.
391464562Sgshapiro		From Kari Hurtta of the Finnish Meteorological Institute.
391564562Sgshapiro	New macro ${client_resolve} which holds the result of the resolve
391664562Sgshapiro		call for ${client_name}: OK, FAIL, FORGED, TEMP.  Proposed
391764562Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
391864562Sgshapiro	New macros ${dsn_notify}, ${dsn_envid}, and ${dsn_ret} that hold
391964562Sgshapiro		the corresponding DSN parameter values.  Proposed by
392064562Sgshapiro		Mathias Herberts.
392164562Sgshapiro	New macro ${msg_size} which holds the value of the SIZE= parameter,
392264562Sgshapiro		i.e., usually the size of the message (in an ESMTP dialogue),
392364562Sgshapiro		before the message has been collected, thereafter it holds
392464562Sgshapiro		the message size as computed by sendmail (and can be used
392564562Sgshapiro		in check_compat).
392664562Sgshapiro	The macro ${deliveryMode} now specifies the current delivery mode
392764562Sgshapiro		sendmail is using instead of the value of the DeliveryMode
392864562Sgshapiro		option.
392964562Sgshapiro	New macro ${ntries} holds the number of delivery attempts.
393064562Sgshapiro	Drop explicit From: if same as what would be generated only if it is
393164562Sgshapiro		a local address.  From Motonori Nakamura of Kyoto University.
393264562Sgshapiro	Write pid to file also if sendmail only processes the queue.
393364562Sgshapiro		Proposed by Roy J. Mongiovi of Georgia Tech.
393464562Sgshapiro	Log "low on disk space" only when necessary.
393564562Sgshapiro	New macro ${load_avg} can be used to check the current load average.
393664562Sgshapiro		Suggested by Scott Gifford of The Internet Ramp.
393764562Sgshapiro	Return-Receipt-To: header implies DSN request if option RrtImpliesDsn
393864562Sgshapiro		is set.
393964562Sgshapiro	Flag -S for maps to specify the character which is substituted
394064562Sgshapiro		for spaces (instead of the default given by O BlankSub).
394164562Sgshapiro	Flag -D for maps: perform no lookup in deferred delivery mode.
394264562Sgshapiro		This flag is set by default for the host map.  Based on a
394364562Sgshapiro		proposal from Ian MacPhedran of the University of Saskatchewan.
394464562Sgshapiro	Open maps only on demand, not at startup.
394564562Sgshapiro	Log warning about unsupported IP address families.
394664562Sgshapiro	New option MaxHeadersLength allows to specify a maximum length
394764562Sgshapiro		of the sum of all headers.  This can be used to prevent
394864562Sgshapiro		a denial-of-service attack.
394964562Sgshapiro	New option MaxMimeHeaderLength which limits the size of MIME
395064562Sgshapiro		headers and parameters within those headers.  This option
395164562Sgshapiro		is intended to protect mail user agents from buffer
395264562Sgshapiro		overflow attacks.
395364562Sgshapiro	Added option MaxAliasRecursion to specify the maximum depth of
395464562Sgshapiro		alias recursion.
395564562Sgshapiro	New flag F=6 for mailers to strip headers to seven bit.
395664562Sgshapiro	Map type syslog to log the key via syslogd.
395764562Sgshapiro	Entries in the alias file can be continued by putting a backslash
395864562Sgshapiro		directly before the newline.
395964562Sgshapiro	New option DeadLetterDrop to define the location of the system-wide
396064562Sgshapiro		dead.letter file, formerly hardcoded to
396164562Sgshapiro		/usr/tmp/dead.letter.  If this option is not set (the
396264562Sgshapiro		default), sendmail will not attempt to save to a
396364562Sgshapiro		system-wide dead.letter file if it can not bounce the mail
396464562Sgshapiro		to the user nor postmaster.  Instead, it will rename the qf
396564562Sgshapiro		file as it has in the past when the dead.letter file
396664562Sgshapiro		could not be opened.
396764562Sgshapiro	New option PidFile to define the location of the pid file.  The
396864562Sgshapiro		value of this option is macro expanded.
396964562Sgshapiro	New option ProcessTitlePrefix specifies a prefix string for the
397064562Sgshapiro		process title shown in 'ps' listings.
397164562Sgshapiro	New macros for use with the PidFile and ProcessTitlePrefix options
397264562Sgshapiro		(along with the already existing macros):
397364562Sgshapiro		${daemon_info}      Daemon information, e.g.
397464562Sgshapiro		                    SMTP+queueing@00:30:00
397564562Sgshapiro		${daemon_addr}	    Daemon address, e.g., 0.0.0.0
397664562Sgshapiro		${daemon_family}    Daemon family, e.g., inet, inet6, etc.
397764562Sgshapiro		${daemon_name}      Daemon name, e.g., MSA.
397864562Sgshapiro		${daemon_port}	    Daemon port, e.g., 25
397964562Sgshapiro		${queue_interval}   Queue run interval, e.g., 00:30:00
398064562Sgshapiro	New macros especially for virtual hosting:
398164562Sgshapiro		${if_name}	hostname of interface of incoming connection.
398264562Sgshapiro		${if_addr}	address of interface of incoming connection.
398364562Sgshapiro		The latter is only set if the interface does not belong to the
398464562Sgshapiro		loopback net.
398564562Sgshapiro	If a message being accepted via a method other than SMTP and
398664562Sgshapiro		would be rejected by a header check, do not send the message.
398764562Sgshapiro		Suggested by Phil Homewood of Mincom Pty Ltd.
398864562Sgshapiro	Don't strip comments for header checks if $>+ is used instead of $>.
398964562Sgshapiro		Provide header value as quoted string in the macro
399064562Sgshapiro		${currHeader} (possibly truncated to MAXNAME).  Suggested by
399164562Sgshapiro		Jan Krueger of Unix-AG of University of Hannover.
399264562Sgshapiro		The length of the header value is stored in ${hdrlen}.
399364562Sgshapiro	H*: allows to specify a default ruleset for header checks.  This
399464562Sgshapiro		ruleset will only be called if the individual header does
399564562Sgshapiro		not have its own ruleset assigned.  Suggested by Jan
399664562Sgshapiro		Krueger of Unix-AG of University of Hannover.
399764562Sgshapiro		The name of the header field stored in ${hdr_name}.
399864562Sgshapiro	Comments (i.e., text within parentheses) in rulesets are not
399964562Sgshapiro		removed if the config file version is greater than or equal
400064562Sgshapiro		to 9.  For example, "R$+ ( 1 )		$@ 1" matches the
400164562Sgshapiro		input "token (1)" but does not match "token".
400264562Sgshapiro	Avoid removing the Content-Transfer-Encoding MIME header on
400364562Sgshapiro		MIME messages.  Problem noted by Sigurbjorn B. Larusson of
400464562Sgshapiro		Multimedia Consumer Services.  Fix from Per Hedeland of
400564562Sgshapiro		Ericsson.
400664562Sgshapiro	Avoid duplicate Content-Transfer-Encoding MIME header on
400764562Sgshapiro		messages with 8-bit text in headers.  Problem noted by
400864562Sgshapiro		Per Steinar Iversen of Oslo College.  Fix from Per Hedeland
400964562Sgshapiro		of Ericsson.
401064562Sgshapiro	Avoid keeping maps locked longer than necessary when re-opening a
401164562Sgshapiro		modified database map file.  Problem noted by Chris Adams
401264562Sgshapiro		of Renaissance Internet Services.
401364562Sgshapiro	Resolving to the $#error mailer with a temporary failure code (e.g.,
401464562Sgshapiro		$#error $@ tempfail $: "400 Temporary failure") will now
401564562Sgshapiro		queue up the message instead of bouncing it.
401664562Sgshapiro	Be more liberal in acceptable responses to an SMTP RSET command as
401764562Sgshapiro		standard does not provide any indication of what to do when
401864562Sgshapiro		something other than 250 is received.  Based on a patch
401964562Sgshapiro		from Steve Schweinhart of America Online.
402064562Sgshapiro	New option TrustedUser allows to specify a user who can own
402164562Sgshapiro		important files instead of root.  This requires HASFCHOWN.
402264562Sgshapiro	Fix USERDB conditional so compiling with NEWDB or HESIOD and
402364562Sgshapiro		setting USERDB=0 works.  Fix from Jorg Zanger of Schock.
402464562Sgshapiro	Fix another instance (similar to one in 8.9.3) of a network failure
402564562Sgshapiro		being mis-logged as "Illegal Seek" instead of whatever
402664562Sgshapiro		really went wrong.  From John Beck of Sun Microsystems.
402764562Sgshapiro	$? tests also whether the macro is non-null.
402864562Sgshapiro	Print an error message if a mailer definition contains an invalid
402964562Sgshapiro		equate name.
403064562Sgshapiro	New mailer equate /= to specify a directory to chroot() into before
403164562Sgshapiro		executing the mailer program.  Suggested by Igor Vinokurov.
403264562Sgshapiro	New mailer equate W= to specify the maximum time to wait for the
403364562Sgshapiro		mailer to return after sending all data to it.
403464562Sgshapiro	Only free memory from the process list when adding a new process
403564562Sgshapiro		into a previously filled slot.  Previously, the memory was
403664562Sgshapiro		freed at removal time.  Since removal can happen in a
403764562Sgshapiro		signal handler, this may leave the memory map in an
403864562Sgshapiro		inconsistent state.  Problem noted by Jeff A. Earickson and
403964562Sgshapiro		David Cooley of Colby College.
404064562Sgshapiro	When using the UserDB @hostname catch-all, do not try to lookup
404164562Sgshapiro		local users in the passwd file.  The UserDB code has
404264562Sgshapiro		already decided the message will be passed to another host
404364562Sgshapiro		for processing.  Fix from Tony Landells of Burdett
404464562Sgshapiro		Buckeridge Young Limited.
404564562Sgshapiro	Support LDAP authorization via either a file containing the
404664562Sgshapiro		password or Kerberos V4 using the new map options
404764562Sgshapiro		'-ddistinguished_name', '-Mmethod', and '-Pfilename'.  The
404864562Sgshapiro		distinguished_name is who to login as.  The method can be
404964562Sgshapiro		one of LDAP_AUTH_NONE, LDAP_AUTH_SIMPLE, or
405064562Sgshapiro		LDAP_AUTH_KRBV4.  The filename is the file containing the
405164562Sgshapiro		secret key for LDAP_AUTH_SIMPLE or the name of the Kerberos
405264562Sgshapiro		ticket file for LDAP_AUTH_KRBV4.  Patch from Booker Bense
405364562Sgshapiro		of Stanford University.
405464562Sgshapiro	The ldapx map has been renamed to ldap.  The use of ldapx is
405564562Sgshapiro		deprecated and will be removed in a future version.
405664562Sgshapiro	If the result of an LDAP search returns a multi-valued attribute
405764562Sgshapiro		and the map has the column delimiter set, it turns that
405864562Sgshapiro		response into a delimiter separated string.  The LDAP map
405964562Sgshapiro		will traverse multiple entries as well.  LDAP alias maps
406064562Sgshapiro		automatically set the column delimiter to the comma.
406164562Sgshapiro		Based on patch from Booker Bense of Stanford University and
406264562Sgshapiro		idea from Philip A. Prindeville of Mirapoint, Inc.
406364562Sgshapiro	Support return of multiple values for a single LDAP lookup.  The
406464562Sgshapiro		values to be returned should be in a comma separated string.
406564562Sgshapiro		For example, `-v "email,emailother"'.  Patch from
406664562Sgshapiro		Curtis W. Hillegas of Princeton University.
406764562Sgshapiro	Allow the use of LDAP for alias maps.
406864562Sgshapiro	If no LDAP attributes are specified in an LDAP map declaration, all
406964562Sgshapiro		attributes found in the match will be returned.
407064562Sgshapiro	Prevent commas in quoted strings in the AliasFile value from
407164562Sgshapiro		breaking up a single entry into multiple entries.  This is
407264562Sgshapiro		needed for LDAP alias file specifications to allow for
407364562Sgshapiro		comma separated key and value strings.
407464562Sgshapiro	Keep connections to LDAP server open instead of opening and closing
407564562Sgshapiro		for each lookup.  To reduce overhead, sendmail will cache
407664562Sgshapiro		connections such that multiple maps which use the same
407764562Sgshapiro		host, port, bind DN, and authentication will only result in
407864562Sgshapiro		a single connection to that host.
407964562Sgshapiro	Put timeout in the proper place for USE_LDAP_INIT.
408064562Sgshapiro	Be more careful about checking for errors and freeing memory on
408164562Sgshapiro		LDAP lookups.
408264562Sgshapiro	Use asynchronous LDAP searches to save memory and network
408364562Sgshapiro		resources.
408464562Sgshapiro	Do not copy LDAP query results if the map's match only flag is set.
408564562Sgshapiro	Increase portability to the Netscape LDAP libraries.
408664562Sgshapiro	Change the parsing of the LDAP filter specification.  '%s' is still
408764562Sgshapiro		replaced with the literal contents of the map lookup key --
408864562Sgshapiro		note that this means a lookup can be done using the LDAP
408964562Sgshapiro		special characters.  The new '%0' token can be used instead
409064562Sgshapiro		of '%s' to encode the key buffer according to RFC 2254.
409164562Sgshapiro		For example, if the LDAP map specification contains '-k
409264562Sgshapiro		"(user=%s)"' and a lookup is done on "*", this would be
409364562Sgshapiro		equivalent to '-k "(user=*)"' -- matching ANY record with a
409464562Sgshapiro		user attribute.  Instead, if the LDAP map specification
409564562Sgshapiro		contains '-k "(user=%0)"' and a lookup is done on "*", this
409664562Sgshapiro		would be equivalent to '-k "(user=\2A)"' -- matching a user
409764562Sgshapiro		with the name "*".
409864562Sgshapiro	New LDAP map flags: "-1" requires a single match to be returned, if
409964562Sgshapiro		more than one is returned, it is equivalent to no records
410064562Sgshapiro		being found; "-r never|always|search|find" sets the LDAP
410164562Sgshapiro		alias dereference option; "-Z size" limits the number of
410264562Sgshapiro		matches to return.
410364562Sgshapiro	New option LDAPDefaultSpec allows a default map specification for
410464562Sgshapiro		LDAP maps.  The value should only contain LDAP specific
410564562Sgshapiro		settings such as "-h host -p port -d bindDN", etc.  The
410664562Sgshapiro		settings will be used for all LDAP maps unless they are
410764562Sgshapiro		specified in the individual map specification ('K'
410864562Sgshapiro		command).  This option should be set before any LDAP maps
410964562Sgshapiro		are defined.
411064562Sgshapiro	Prevent an NDBM alias file opening loop when the NDBM open
411164562Sgshapiro		continually fails.  Fix from Roy J. Mongiovi of Georgia
411264562Sgshapiro		Tech.
411364562Sgshapiro	Reduce memory utilization for smaller symbol table entries.  In
411464562Sgshapiro		particular, class entries get much smaller, which can be
411564562Sgshapiro		important if you have large classes.
411664562Sgshapiro	On network-related temporary failures, record the hostname which
411764562Sgshapiro		gave error in the queued status message.  Requested by
411864562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
411964562Sgshapiro	Add new F=% mailer flag to allow for a store and forward
412064562Sgshapiro		configuration.  Mailers which have this flag will not attempt
412171345Sgshapiro		delivery on initial receipt of a message or on queue runs
412264562Sgshapiro		unless the queued message is selected using one of the
412364562Sgshapiro		-qI/-qR/-qS queue run modifiers or an ETRN request.  Code
412464562Sgshapiro		provided by Philip Guenther of Gustavus Adolphus College.
412564562Sgshapiro	New option ControlSocketName which, when set, creates a daemon
412664562Sgshapiro		control socket.  This socket allows an external program to
412764562Sgshapiro		control and query status from the running sendmail daemon
412864562Sgshapiro		via a named socket, similar to the ctlinnd interface to the
412964562Sgshapiro		INN news server.  Access to this interface is controlled by
413064562Sgshapiro		the UNIX file permissions on the named socket on most UNIX
413164562Sgshapiro		systems (see sendmail/README for more information).  An
413264562Sgshapiro		example control program is provided as contrib/smcontrol.pl.
413364562Sgshapiro	Change the default values of QueueLA from 8 to (8 * numproc) and
413464562Sgshapiro		RefuseLA from 12 to (12 * numproc) where numproc is the
413564562Sgshapiro		number of processors online on the system (if that can be
413664562Sgshapiro		determined).  For single processor machines, this change
413764562Sgshapiro		has no effect.
413864562Sgshapiro	Don't return body of message to postmaster on "Too many hops" bounces.
413964562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
414064562Sgshapiro	Give more detailed DSN descriptions for some cases.  Patch from
414164562Sgshapiro		Motonori Nakamura of Kyoto University.
414264562Sgshapiro	Logging of alias, forward file, and UserDB expansion now happens
414364562Sgshapiro		at LogLevel 11 or higher instead of 10 or higher.
414464562Sgshapiro	Logging of an envelope's complete delivery (the "done" message) now
414564562Sgshapiro		happens at LogLevel 10 or higher instead of 11 or higher.
414664562Sgshapiro	Logging of TCP/IP or UNIX standard input connections now happens at
414764562Sgshapiro		LogLevel 10 or higher.  Previously, only TCP/IP connections
414864562Sgshapiro		were logged, and on at LogLevel 12 or higher.  Setting
414964562Sgshapiro		LogLevel to 10 will now assist users in tracking frequent
415064562Sgshapiro		connection-based denial of service attacks.
415164562Sgshapiro	Log basic information about authenticated connections at LogLevel
415264562Sgshapiro		10 or higher.
415364562Sgshapiro	Log SMTP Authentication mechanism and author when logging the sender
415464562Sgshapiro		information (from= syslog line).
415564562Sgshapiro	Log the DSN code for each recipient if one is available as a new
415664562Sgshapiro		equate (dsn=).
415764562Sgshapiro	Macro expand PostmasterCopy and DoubleBounceAddress options.
4158120256Sgshapiro	New "ph" map for performing ph queries in rulesets, see
4159120256Sgshapiro		sendmail/README for details.  Contributed by Mark Roth
4160120256Sgshapiro		of the University of Illinois at Urbana-Champaign.
416164562Sgshapiro	Detect temporary lookup failures in the host map if looking up a
416264562Sgshapiro		bracketed IP address.  Problem noted by Kari Hurtta of the
416364562Sgshapiro		Finnish Meteorological Institute.
416464562Sgshapiro	Do not report a Remote-MTA on local deliveries.  Problem noted by
416564562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
416664562Sgshapiro	When a forward file points to an alias which runs a program, run
416764562Sgshapiro		the program as the default user and the default group, not
416864562Sgshapiro		the forward file user.  This change also assures the
416964562Sgshapiro		:include: directives in aliases are also processed using
417064562Sgshapiro		the default user and group.  Problem noted by Sergiu
417164562Sgshapiro		Popovici of DNT Romania.
417264562Sgshapiro	Prevent attempts to save a dead.letter file for a user with
417364562Sgshapiro		no home directory (/no/such/directory).  Problem noted by
417464562Sgshapiro		Michael Brown of Finnigan FT/MS.
417564562Sgshapiro	Include message delay and number of tries when logging that a
417664562Sgshapiro		message has been completely delivered (LogLevel of 10 or
417764562Sgshapiro		above).  Suggested by Nick Hilliard of Ireland Online.
417864562Sgshapiro	Log the sender of a message even if none of the recipients were
417964562Sgshapiro		accepted.  If some of the recipients were rejected, it is
418064562Sgshapiro		helpful to know the sender of the message.
418164562Sgshapiro	Check the root directory (/) when checking a path for safety.
418264562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
418364562Sgshapiro	Prevent multiple responses to the DATA command if DeliveryMode is
418464562Sgshapiro		interactive and delivering to an alias which resolves to
418564562Sgshapiro		multiple files.
418664562Sgshapiro	Macros in the helpfile are expanded if the helpfile version is 2 or
418764562Sgshapiro		greater (see below); the help function doesn't print the
418864562Sgshapiro		version of sendmail any longer, instead it is placed in
418964562Sgshapiro		the helpfile ($v).  Suggested by Chuck Foster of UUNET
419064562Sgshapiro		PIPEX.  Additionally, comment lines (starting with #) are
419164562Sgshapiro		skipped and a version line (#vers) is introduced.  The
419264562Sgshapiro		helpfile version for 8.10.0 is 2, if no version or an older
419364562Sgshapiro		version is found, a warning is logged.  The '#vers'
419464562Sgshapiro		directive should be placed at the top of the help file.
419564562Sgshapiro	Use fsync() when delivering to a file to guarantee the delivery to
419664562Sgshapiro		disk succeeded.  Suggested by Nick Christenson.
419764562Sgshapiro	If delivery to a file is unsuccessful, truncate the file back to its
419864562Sgshapiro		length before the attempt.
419964562Sgshapiro	If a forward points to a filename for delivery, change to the
420064562Sgshapiro		user's uid before checking permissions on the file.  This
420164562Sgshapiro		allows delivery to files on NFS mounted directories where
420264562Sgshapiro		root is remapped to nobody.  Problem noted by Harald
420364562Sgshapiro		Daeubler of Universitaet Ulm.
420464562Sgshapiro	purgestat and sendmail -bH purge only expired (Timeout.hoststatus)
420564562Sgshapiro		host status files, not all files.
420664562Sgshapiro	Any macros stored in the class $={persistentMacros} will be saved
420764562Sgshapiro		in the queue file for the message and set when delivery
420864562Sgshapiro		is attempted on the queued item.  Suggested by Kyle Jones of
420964562Sgshapiro		Wonderworks Inc.
421064562Sgshapiro	Add support for storing information between rulesets using the new
421164562Sgshapiro		macro map class.  This can be used to store information
421264562Sgshapiro		between queue runs as well using $={persistentMacros}.
421364562Sgshapiro		Based on an idea from Jan Krueger of Unix-AG of University
421464562Sgshapiro		of Hannover.
421564562Sgshapiro	New map class arith to allow for computations in rules.  The
421664562Sgshapiro		operation (+, -, *, /, l (for less than), and =) is given
421764562Sgshapiro		as key.  The two operands are specified as arguments; the
421864562Sgshapiro		lookup returns the result of the computation.  For example,
421964562Sgshapiro		"$(arith l $@ 4 $@ 2 $)" will return "FALSE" and
422064562Sgshapiro		"$(arith + $@ 4 $@ 2 $)" will return "6".
422164562Sgshapiro	Add new syntax for header declarations which decide whether to
422264562Sgshapiro		include the header based on a macro rather than a mailer
422364562Sgshapiro		flag:
422464562Sgshapiro			H?${MyMacro}?X-My-Header: ${MyMacro}
422564562Sgshapiro		This should be used along with $={persistentMacros}.
422664562Sgshapiro		It can be used for adding headers to a message based on
422764562Sgshapiro		the results of check_* and header check rulesets.
422864562Sgshapiro	Allow new named config file rule check_eoh which is called after
422964562Sgshapiro		all of the headers have been collected.  The input to the
423064562Sgshapiro		ruleset the number of headers and the size of all of the
423164562Sgshapiro		headers in bytes separated by $|.  This ruleset along with
423264562Sgshapiro		the macro storage map can be used to correlate information
423364562Sgshapiro		gathered between headers and to check for missing headers.
423464562Sgshapiro		See cf/README or doc/op/op.ps for an example.
423564562Sgshapiro	Change the default for the MeToo option to True to correspond
423664562Sgshapiro		to the clarification in the DRUMS SMTP Update spec.  This
423764562Sgshapiro		option is deprecated and will be removed from a future
423864562Sgshapiro		version.
423964562Sgshapiro	Change the sendmail binary default for SendMimeErrors to True.
424064562Sgshapiro	Change the sendmail binary default for SuperSafe to True.
424164562Sgshapiro	Display ruleset names in debug and address test mode output
424264562Sgshapiro		if referencing a named ruleset.
424364562Sgshapiro	New mailer equate m= which will limit the number of messages
424464562Sgshapiro		delivered per connection on an SMTP or LMTP mailer.
424564562Sgshapiro	Improve QueueSortOrder=Host by reversing the hostname before
424664562Sgshapiro		using it to sort.  Now all the same domains are really run
424764562Sgshapiro		through the queue together.  If they have the same MX host,
424864562Sgshapiro		then they will have a much better opportunity to use the
424964562Sgshapiro		connection cache if available.  This should be a reasonable
425064562Sgshapiro		performance improvement.  Patch from Randall Winchester of
425164562Sgshapiro		the University of Maryland.
425264562Sgshapiro	If a message is rejected by a header check ruleset, log who would
425364562Sgshapiro		have received the message if it had not been rejected.
425464562Sgshapiro	New "now" value for Timeout.queuereturn to bounce entries from the
425564562Sgshapiro		queue immediately.  No delivery attempt is made.
425664562Sgshapiro	Increase sleeping time exponentially after too many "bad" commands
425764562Sgshapiro		up to 4 minutes delay (compare MAX{BAD,NOOP,HELO,VRFY,ETRN}-
425864562Sgshapiro		COMMANDS).
425964562Sgshapiro	New option ClientPortOptions similar to DaemonPortOptions
426064562Sgshapiro		but for outgoing connections.
426164562Sgshapiro	New suboptions for DaemonPortOptions: Name (a name used for
426264562Sgshapiro		error messages and logging) and Modifiers, i.e.
426364562Sgshapiro			a	require authentication
426464562Sgshapiro			b	bind to interface through which mail has
426564562Sgshapiro				been received
426664562Sgshapiro			c	perform hostname canonification
426764562Sgshapiro			f	require fully qualified hostname
426864562Sgshapiro			h	use name of interface for outgoing HELO
426964562Sgshapiro				command
427064562Sgshapiro			C	don't perform hostname canonification
427164562Sgshapiro			E	disallow ETRN (see RFC 2476)
427264562Sgshapiro	New suboption for ClientPortOptions: Modifiers, i.e.
427364562Sgshapiro			h	use name of interface for HELO command
427464562Sgshapiro	The version number for queue files (qf) has been incremented to 4.
427564562Sgshapiro	Log unacceptable HELO/EHLO domain name attempts if LogLevel is set
427664562Sgshapiro		to 10 or higher.  Suggested by Rick Troxel of the National
427764562Sgshapiro		Institutes of Health.
427864562Sgshapiro	If a mailer dies, print the status in decimal instead of octal
427964562Sgshapiro		format.  Suggested by Michael Shapiro of Sun Microsystems.
428064562Sgshapiro	Limit the length of all MX records considered for delivery to 8k.
428164562Sgshapiro	Move message priority from sender to recipient logging.  Suggested by
428264562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
428364562Sgshapiro	Add support for Berkeley DB 3.X.
428464562Sgshapiro	Add fix for Berkeley DB 2.X fcntl() locking race condition.
428564562Sgshapiro		Requires a post-2.7.5 version of Berkeley DB.
428664562Sgshapiro	Support writing traffic log (sendmail -X option) to a FIFO.
428764562Sgshapiro		Patch submitted by Rick Heaton of Network Associates, Inc.
428864562Sgshapiro	Do not ignore Timeout settings in the .cf file when a Timeout
428964562Sgshapiro		sub-options is set on the command line.  Problem noted by
429064562Sgshapiro		Graeme Hewson of Oracle.
429164562Sgshapiro	Randomize equal preference MX records each time delivery is
429264562Sgshapiro		attempted via a new connection to a host instead of once per
429364562Sgshapiro		session.  Suggested by Scott Salvidio of Compaq.
429464562Sgshapiro	Implement enhanced status codes as defined by RFC 2034.
429564562Sgshapiro	Add [hostname] to class w for the names of all interfaces unless
429664562Sgshapiro		DontProbeInterfaces is set. This is useful for sending mails
429764562Sgshapiro		to hosts which have dynamically assigned names.
429864562Sgshapiro	If a message is bounced due to bad MIME conformance, avoid bouncing
429964562Sgshapiro		the bounce for the same reason.  If the body is not 8-bit
430064562Sgshapiro		clean, and EightBitMode isn't set to pass8, the body will
430164562Sgshapiro		not be included in the bounce.  Problem noted by Valdis
430264562Sgshapiro		Kletnieks of Virginia Tech.
430364562Sgshapiro	The timeout for sending a message via SMTP has been changed from
430464562Sgshapiro		'${msgsize} / 16 + (${nrcpts} * 300)' to a timeout which
430564562Sgshapiro		simply checks for progress on sending data every 5 minutes.
430664562Sgshapiro		This will detect the inability to send information quicker
430764562Sgshapiro		and reduce the number of processes simply waiting to
430864562Sgshapiro		timeout.
430964562Sgshapiro	Prevent a segmentation fault on systems which give a partial filled
431064562Sgshapiro		interface address structure when loading the system network
431164562Sgshapiro		interface addresses.  Fix from Reinier Bezuidenhout of
431264562Sgshapiro		Nanoteq.
431364562Sgshapiro	Add a compile-time configuration macro, MAXINTERFACES, which
431464562Sgshapiro		indicates the number of interfaces to read when probing
431564562Sgshapiro		for hostnames and IP addresses for class w ($=w).  The
431664562Sgshapiro		default value is 512.  Based on idea from Reinier
431764562Sgshapiro		Bezuidenhout of Nanoteq.
431864562Sgshapiro	If the RefuseLA option is set to 0, do not reject connections based
431964562Sgshapiro		on load average.
432064562Sgshapiro	Allow ruleset 0 to have a name.  Problem noted by Neil Rickert of
432164562Sgshapiro		Northern Illinois University.
432264562Sgshapiro	Expand the Return-Path: header at delivery time, after "owner-"
432364562Sgshapiro		envelope splitting has occurred.
432464562Sgshapiro	Don't try to sort the queue if there are no entries. Patch from
432564562Sgshapiro		Luke Mewburn from RMIT University.
432664562Sgshapiro	Add a "/quit" command to address test mode.
432764562Sgshapiro	Include the proper sender in the UNIX "From " line and Return-Path:
432864562Sgshapiro		header when undeliverable mail is saved to ~/dead.letter.
432964562Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
433064562Sgshapiro		Institute.
433164562Sgshapiro	The contents of a class can now be copied to another class using
433264562Sgshapiro		the syntax: "C{Dest} $={Source}".  This would copy all of
433364562Sgshapiro		the items in class $={Source} into the class $={Dest}.
433464562Sgshapiro	Include original envelope's error transcript in bounces created for
433564562Sgshapiro		split (owner-) envelopes to see the original errors when
433664562Sgshapiro		the recipients were added.  Based on fix from Motonori
433764562Sgshapiro		Nakamura of Kyoto University.
433864562Sgshapiro	Show reason for permanent delivery errors directly after the
433964562Sgshapiro		addresses.  From Motonori Nakamura of Kyoto University.
434064562Sgshapiro	Prevent a segmentation fault when bouncing a split-envelope
434164562Sgshapiro		message.  Patch from Motonori Nakamura of Kyoto University.
434264562Sgshapiro	If the specification for the queue run interval (-q###) has a
434364562Sgshapiro		syntax error, consider the error fatal and exit.
434464562Sgshapiro	Pay attention to CheckpointInterval during LMTP delivery.  Problem
434564562Sgshapiro		noted by Motonori Nakamura of Kyoto University.
434664562Sgshapiro	On operating systems which have setlogin(2), use it to set the
434764562Sgshapiro		login name to the RunAsUserName when starting as a daemon.
434864562Sgshapiro		This is for delivery to programs which use getlogin().
434964562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
435064562Sgshapiro	Differentiate between "command not implemented" and "command
435164562Sgshapiro		unrecognized" in the SMTP dialogue.
435264562Sgshapiro	Strip returns from forward and include files.  Problem noted by
435364562Sgshapiro		Allan E Johannesen of Worcester Polytechnic Institute.
435464562Sgshapiro	Prevent a core dump when using 'sendmail -bv' on an address which
435564562Sgshapiro		resolves to the $#error mailer with a temporary failure.
435664562Sgshapiro		Based on fix from Neil Rickert of Northern Illinois
435764562Sgshapiro		University.
435864562Sgshapiro	Prevent multiple deliveries of a message with a "non-local alias"
435964562Sgshapiro		pointing to a local user, if canonicalization fails
436064562Sgshapiro		the message was requeued *and* delivered to the alias.
436164562Sgshapiro	If an invalid ruleset is declared, the ruleset name could be
436264562Sgshapiro		ignored and its rules added to S0.  Instead, ignore the
436364562Sgshapiro		ruleset lines as well.
436464562Sgshapiro	Avoid incorrect Final-Recipient, Action, and X-Actual-Recipient
436564562Sgshapiro		success DSN fields as well as duplicate entries for a
436664562Sgshapiro		single address due to S5 and UserDB processing.  Problems
436764562Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological
436864562Sgshapiro		Institute.
436964562Sgshapiro	Turn off timeouts when exiting sendmail due to an interrupt signal
437064562Sgshapiro		to prevent the timeout from firing during the exit process.
437164562Sgshapiro		Problem noted by Michael Shapiro of Sun Microsystems.
437264562Sgshapiro	Do not append @MyHostName to non-RFC822 addresses output by the EXPN
437364562Sgshapiro		command or on Final-Recipient: and X-Actual-Recipient: DSN
437464562Sgshapiro		headers.  Non-RFC822 addresses include deliveries to
437564562Sgshapiro		programs, file, DECnet, etc.
437664562Sgshapiro	Fix logic for determining if a local user is using -f or -bs to
437764562Sgshapiro		spoof their return address.  Based on idea from Neil Rickert
437864562Sgshapiro		of Northern Illinois University and patch from Per Hedeland
437964562Sgshapiro		of Ericsson.
438064562Sgshapiro	Report the proper UID in the bounce message if an :include: file is
438164562Sgshapiro		owned by a uid that doesn't map to a username and the
438264562Sgshapiro		:include: file contains delivery to a file or program.
438364562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
438464562Sgshapiro	Avoid the attempt of trying to send a second SMTP QUIT command if
438564562Sgshapiro		the remote server responds to the first QUIT with a 4xx
438664562Sgshapiro		response code and drops the connection.  This behavior was
438764562Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg when
438864562Sgshapiro		sendmail was talking to the Mercury 1.43 MTA.
438964562Sgshapiro	If a hostname lookup times out and ServiceSwitchFile is set but the
439064562Sgshapiro		file is not present, the lookup failure would be marked as
439164562Sgshapiro		a permanent failure instead of a temporary failure.  Fix
439264562Sgshapiro		from Russell King of the ARM Linux Project.
439364562Sgshapiro	Handle aliases or forwards which deliver to programs using tabs
439464562Sgshapiro		instead of spaces between arguments.  Problem noted by Randy
439564562Sgshapiro		Wormser.  Fix from Neil Rickert of Northern Illinois
439664562Sgshapiro		University.
439764562Sgshapiro	Allow MaxRecipientsPerMessage option to be set on the command line
439864562Sgshapiro		by normal users (e.g., sendmail won't drop its root
439964562Sgshapiro		privileges) to allow overrides for message submission via
440064562Sgshapiro		'sendmail -bs'.
440164562Sgshapiro	Set the names for help file and statistics file to "helpfile" and
440264562Sgshapiro		"statistics", respectively, if no parameters are given for
440364562Sgshapiro		them in the .cf file.
440464562Sgshapiro	Avoid bogus 'errbody: I/O Error -7' log messages when sending
440564562Sgshapiro		success DSN messages for messages relayed to non-DSN aware
440664562Sgshapiro		systems.  Problem noted by Juergen Georgi of RUS University
440764562Sgshapiro		of Stuttgart and Kyle Tucker of Parexel International.
440864562Sgshapiro	Prevent +detail information from interfering with local delivery to
440964562Sgshapiro		multiple users in the same transaction (F=m).
441064562Sgshapiro	Add H_FORCE flag for the X-Authentication-Warning: header, so it
441164562Sgshapiro		will be added even if one already exists.  Problem noted
441264562Sgshapiro		by Michal Zalewski of Marchew Industries.
441364562Sgshapiro	Stop processing SMTP commands if the SMTP connection is dropped.
441464562Sgshapiro		This prevents a remote system from flooding the connection
441564562Sgshapiro		with commands and then disconnecting.  Previously, the
441664562Sgshapiro		server would process all of the buffered commands.  Problem
441764562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
441864562Sgshapiro	Properly process user-supplied headers beginning with '?'.  Problem
441964562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
442064562Sgshapiro	If multiple header checks resolve to the $#error mailer, use the
442164562Sgshapiro		last permanent (5XX) failure if any exist.  Otherwise, use
442264562Sgshapiro		the last temporary (4XX) failure.
442364562Sgshapiro	RFC 1891 requires "hexchar" in a "xtext" to be upper case.  Patch
442464562Sgshapiro		from Ronald F. Guilmette of Infinite Monkeys & Co.
442564562Sgshapiro	Timeout.ident now defaults to 5 seconds instead of 30 seconds to
442664562Sgshapiro		prevent the now common delays associated with mailing to a
442764562Sgshapiro		site which drops IDENT packets.  Suggested by many.
442864562Sgshapiro	Persistent host status data is not reloaded disk when current data
442964562Sgshapiro		is available in the in-memory cache.  Problem noted by Per
443064562Sgshapiro		Hedeland of Ericsson.
443164562Sgshapiro	mailq displays unprintable characters in addresses as their octal
443264562Sgshapiro		representation and a leading backslash.  This avoids problems
443364562Sgshapiro		with "unprintable" characters.  Problem noted by Michal
443464562Sgshapiro		Zalewski of the "Internet for Schools" project (IdS).
443564562Sgshapiro	The mail line length limit (L= equate) was adding the '!' indicator
443664562Sgshapiro		one character past the limit.  This would cause subsequent
443764562Sgshapiro		hops to break the line again.  The '!' is now placed in
443864562Sgshapiro		the last column of the limit if the line needs to be broken.
443964562Sgshapiro		Problem noted by Joe Pruett of Q7 Enterprises.  Based on fix
444064562Sgshapiro		from Per Hedeland of Ericsson.
444164562Sgshapiro	If a resolver ANY query is larger than the UDP packet size, the
444264562Sgshapiro		resolver will fall back to TCP.  However, some
444364562Sgshapiro		misconfigured firewalls black 53/TCP so the ANY lookup
444464562Sgshapiro		fails whereas an MX or A record might succeed.  Therefore,
444564562Sgshapiro		don't fail on ANY queries.
444664562Sgshapiro	If an SMTP recipient is rejected due to syntax errors in the
444764562Sgshapiro		address, do not send an empty postmaster notification DSN
444864562Sgshapiro		to the postmaster.  Problem noted by Neil Rickert of
444964562Sgshapiro		Northern Illinois University.
445064562Sgshapiro	Allow '_' and '.' in map names when parsing a sequence map
445164562Sgshapiro		specification.  Patch from William Setzer of North Carolina
445264562Sgshapiro		State University.
445364562Sgshapiro	Fix hostname in logging of read timeouts for the QUIT command on
445464562Sgshapiro		cached connections.  Problem noted by Neil Rickert of
445564562Sgshapiro		Northern Illinois University.
445664562Sgshapiro	Use a more descriptive entry to log "null" connections, i.e.,
445764562Sgshapiro		"host did not issue MAIL/EXPN/VRFY/ETRN during connection".
445864562Sgshapiro	Fix a file descriptor leak in ONEX mode.
445964562Sgshapiro	Portability:
446064562Sgshapiro		Reverse signal handling logic such that sigaction(2) with
446164562Sgshapiro			the SA_RESTART flag is the preferred method and the
446264562Sgshapiro			other signal methods are only tried if SA_RESTART
446364562Sgshapiro			is not available.  Problem noted by Allan E
446464562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
446564562Sgshapiro		AIX 4.x supports the sa_len member of struct sockaddr.
446664562Sgshapiro			This allows network interface probing to work
446764562Sgshapiro			properly.  Fix from David Bronder of the
446864562Sgshapiro			University of Iowa.
446964562Sgshapiro		AIX 4.3 has snprintf() support.
447064562Sgshapiro		Use "PPC" as the architecture name when building under
447164562Sgshapiro			AIX.  This will be reflected in the obj.* directory
447264562Sgshapiro			name.
447364562Sgshapiro		Apple Darwin support based on Apple Rhapsody port.
447464562Sgshapiro		Fixed AIX 'make depend' method from Valdis Kletnieks of
447564562Sgshapiro			Virginia Tech.
447664562Sgshapiro		Digital UNIX has uname(2).
447764562Sgshapiro		GNU Hurd updates from Mark Kettenis of the University of
447864562Sgshapiro			Amsterdam.
447964562Sgshapiro		Improved HPUX 11.0 portability.
448064562Sgshapiro		Properly determine the number of CPUs on FreeBSD 2.X,
448164562Sgshapiro			FreeBSD 3.X, HP/UX 10.X and HP/UX 11.X.
448264562Sgshapiro		Remove special IRIX ABI cases from Build script and the OS
448364562Sgshapiro			files.  Use the standard 'cc' options used by SGI
448464562Sgshapiro			in building the operating system.  Users can
448564562Sgshapiro			override the defaults by setting confCC and
448664562Sgshapiro			confLIBSEARCHPATH appropriately.
448764562Sgshapiro		IRIX nsd map support from Bob Mende of SGI.
448864562Sgshapiro		Minor devtools fixes for IRIX from Bob Mende of SGI.
448964562Sgshapiro		Linux patch for IP_SRCROUTE support from Joerg Dorchain
449064562Sgshapiro			of MW EDV & ELECTRONIC.
449164562Sgshapiro		Linux now uses /usr/sbin for confEBINDIR in the build
449264562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
449364562Sgshapiro		Remove special treatment for Linux PPC in the build
449464562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
449564562Sgshapiro		Motorolla UNIX SYSTEM V/88 Release 4.0 support from
449664562Sgshapiro			Sergey Rusanov of the Republic of Udmurtia.
449764562Sgshapiro		NCR MP-RAS 3.x includes regular expression support.  From
449864562Sgshapiro			Tom J. Moore of NCR.
449964562Sgshapiro		NEC EWS-UX/V series settings for _PATH_VENDOR_CF and
450064562Sgshapiro			_PATH_SENDMAILPID from Oota Toshiya of
450164562Sgshapiro			NEC Computers Group Planning Division.
450264562Sgshapiro		Minor NetBSD owner/group tweaks from Ayamura Kikuchi, M.D.
450364562Sgshapiro		NEWS-OS 6.X listed SYSLOG_BUFSIZE as 256 in confENVDEF and
450464562Sgshapiro			1024 in conf.h.  Since confENVDEF would be used,
450564562Sgshapiro			use that value in conf.h.
450664562Sgshapiro		Use NeXT's NETINFO to get domain name.  From Gerd Knops of
450764562Sgshapiro			BITart Consulting.
450864562Sgshapiro		Use NeXT's NETINFO for alias and hostname resolution if
450964562Sgshapiro			AUTO_NETINFO_ALIASES and AUTO_NETINFO_HOSTS are
451064562Sgshapiro			defined.  Patch from Wilfredo Sanchez of Apple
451164562Sgshapiro			Computer, Inc.
451264562Sgshapiro		NeXT portability tweaks.  Problems reported by Dragan
451364562Sgshapiro			Milicic of the University of Utah and J. P. McCann
451464562Sgshapiro			of E I A.
451564562Sgshapiro		New compile flag FAST_PID_RECYCLE: set this if your system
451664562Sgshapiro			can reuse the same PID in the same second.
451764562Sgshapiro		New compile flag HASFCHOWN: set this if your OS has
451864562Sgshapiro			fchown(2).
451964562Sgshapiro		New compile flag HASRANDOM: set this to 0 if your OS does
452064562Sgshapiro			not have random(3).  rand() will be used instead.
452164562Sgshapiro		New compile flag HASSRANDOMDEV: set this if your OS has
452264562Sgshapiro			srandomdev(3).
452364562Sgshapiro		New compile flag HASSETLOGIN: set this if your OS has
452464562Sgshapiro			setlogin(2).
452564562Sgshapiro		Replace SINIX and ReliantUNIX support with version
452664562Sgshapiro			specific SINIX files.  From Gerald Rinske of
452764562Sgshapiro			Siemens Business Services.
452864562Sgshapiro		Use the 60-second load average instead of the 5 second load
452964562Sgshapiro			average on Compaq Tru64 UNIX (formerly Digital
453064562Sgshapiro			UNIX).  From Chris Teakle of the University of Qld.
453164562Sgshapiro		Use ANSI C by default for Compaq Tru64 UNIX.  Suggested by
453264562Sgshapiro			Randall Winchester of Swales Aerospace.
453364562Sgshapiro		Correct setgroups() prototype for Compaq Tru64 UNIX.
453464562Sgshapiro			Problem noted by Randall Winchester of Swales
453564562Sgshapiro			Aerospace.
453664562Sgshapiro		Hitachi 3050R/3050RX and 3500 Workstations running
453764562Sgshapiro			HI-UX/WE2 4.02, 6.10 and 7.10 from Motonori
453864562Sgshapiro			NAKAMURA of Kyoto University.
453964562Sgshapiro		New compile flag NO_GETSERVBYNAME: set this to disable
454064562Sgshapiro			use of getservbyname() on systems which can
454164562Sgshapiro			not lookup a service by name over NIS, such as
454264562Sgshapiro			HI-UX.  Patch from Motonori NAKAMURA of Kyoto
454364562Sgshapiro			University.
454464562Sgshapiro		Use devtools/bin/install.sh on SCO 5.x.  Problem noted
454564562Sgshapiro			by Sun Wenbing of the China Engineering and
454664562Sgshapiro			Technology Information Network.
454764562Sgshapiro		make depend didn't work properly on UNIXWARE 4.2.  Problem
454864562Sgshapiro			noted by Ariel Malik of Netology, Ltd.
454964562Sgshapiro		Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
455064562Sgshapiro		Set confSTDIO_TYPE to torek for BSD-OS, FreeBSD, NetBSD,
455164562Sgshapiro			and OpenBSD.
455264562Sgshapiro		A recent Compaq Ultrix 4.5 Y2K patch has broken detection
455364562Sgshapiro			of local_hostname_length().  See sendmail/README
455464562Sgshapiro			for more details.  Problem noted by Allan E
455564562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
455664562Sgshapiro	CONFIG: Begin using /etc/mail/ for sendmail related files.  This
455764562Sgshapiro		affects a large number of files.  See cf/README for more
455864562Sgshapiro		details.
455964562Sgshapiro	CONFIG: New macro MAIL_SETTINGS_DIR contains the path (including
456064562Sgshapiro		trailing slash) for the mail settings directory.
456164562Sgshapiro	CONFIG: Increment version number of config file to 9.
456264562Sgshapiro	CONFIG: OSTYPE(`bsdi1.0') and OSTYPE(`bsdi2.0') have been
456364562Sgshapiro		deprecated and may be removed from a future release.
456464562Sgshapiro		BSD/OS users should begin using OSTYPE(`bsdi').
456590792Sgshapiro	CONFIG: OpenBSD 2.4 installs mail.local non-set-user-ID root.  This
456664562Sgshapiro		requires a new OSTYPE(`openbsd').  From Todd C. Miller of
456764562Sgshapiro		Courtesan Consulting.
456864562Sgshapiro	CONFIG: New OSTYPE(`hpux11') for HP/UX 11.X.
456964562Sgshapiro	CONFIG: A syntax error in check_mail would cause fake top-level
457064562Sgshapiro		domains (.BITNET, .DECNET, .FAX, .USENET, and .UUCP) to
457164562Sgshapiro		be improperly rejected as unresolvable.
457264562Sgshapiro	CONFIG: New FEATURE(`dnsbl') takes up to two arguments (name of
457364562Sgshapiro		DNS server, rejection message) and can be included
457464562Sgshapiro		multiple times.
457564562Sgshapiro	CONFIG: New FEATURE(`relay_mail_from') allows relaying if the
457664562Sgshapiro		mail sender is listed as RELAY in the access map (and tagged
457764562Sgshapiro		with From:).
457864562Sgshapiro	CONFIG: Optional tagging of LHS in the access map (Connect:,
457964562Sgshapiro		From:, To:) to enable finer control.
458064562Sgshapiro	CONFIG: New FEATURE(`ldap_routing') implements LDAP address
458164562Sgshapiro		routing.  See cf/README for a complete description of the
458264562Sgshapiro		new functionality.
458364562Sgshapiro	CONFIG: New variables for the new sendmail options:
458464562Sgshapiro		confAUTH_MECHANISMS		AuthMechanisms
458564562Sgshapiro		confAUTH_OPTIONS		AuthOptions
458664562Sgshapiro		confCLIENT_OPTIONS		ClientPortOptions
458764562Sgshapiro		confCONTROL_SOCKET_NAME		ControlSocketName
458864562Sgshapiro		confDEAD_LETTER_DROP		DeadLetterDrop
458964562Sgshapiro		confDEF_AUTH_INFO		DefaultAuthInfo
459064562Sgshapiro		confDF_BUFFER_SIZE		DataFileBufferSize
459164562Sgshapiro		confLDAP_DEFAULT_SPEC		LDAPDefaultSpec
459264562Sgshapiro		confMAX_ALIAS_RECURSION		MaxAliasRecursion
459364562Sgshapiro		confMAX_HEADERS_LENGTH		MaxHeadersLength
459464562Sgshapiro		confMAX_MIME_HEADER_LENGTH	MaxMimeHeaderLength
459564562Sgshapiro		confPID_FILE			PidFile
459664562Sgshapiro		confPROCESS_TITLE_PREFIX	ProcessTitlePrefix
459764562Sgshapiro		confRRT_IMPLIES_DSN		RrtImpliesDsn
459864562Sgshapiro		confTO_CONTROL			Timeout.control
459964562Sgshapiro		confTO_RESOLVER_RETRANS		Timeout.resolver.retrans
460064562Sgshapiro		confTO_RESOLVER_RETRANS_FIRST	Timeout.resolver.retrans.first
460164562Sgshapiro		confTO_RESOLVER_RETRANS_NORMAL	Timeout.resolver.retrans.normal
460264562Sgshapiro		confTO_RESOLVER_RETRY		Timeout.resolver.retry
460364562Sgshapiro		confTO_RESOLVER_RETRY_FIRST	Timeout.resolver.retry.first
460464562Sgshapiro		confTO_RESOLVER_RETRY_NORMAL	Timeout.resolver.retry.normal
460564562Sgshapiro		confTRUSTED_USER		TrustedUser
460664562Sgshapiro		confXF_BUFFER_SIZE		XscriptFileBufferSize
460764562Sgshapiro	CONFIG: confDAEMON_OPTIONS has been replaced by DAEMON_OPTIONS(),
460864562Sgshapiro		which takes the options as argument and can be used
460964562Sgshapiro		multiple times; see cf/README for details.
461064562Sgshapiro	CONFIG: Add a fifth mailer definition to MAILER(`smtp') called
461164562Sgshapiro		"dsmtp".  This mail provides on-demand delivery using the
461264562Sgshapiro		F=% mailer flag described above.  The "dsmtp" mailer
461364562Sgshapiro		definition uses the new DSMTP_MAILER_ARGS which defaults
461464562Sgshapiro		to "IPC $h".
461564562Sgshapiro	CONFIG: New variables LOCAL_MAILER_MAXMSGS, SMTP_MAILER_MAXMSGS,
461664562Sgshapiro		and RELAY_MAILER_MAXMSGS for setting the m= equate for the
461764562Sgshapiro		local, smtp, and relay mailers respectively.
461864562Sgshapiro	CONFIG: New variable LOCAL_MAILER_DSN_DIAGNOSTIC_CODE for setting
461964562Sgshapiro		the DSN Diagnostic-Code type for the local mailer.  The
462064562Sgshapiro		value should be changed with care.
462164562Sgshapiro	CONFIG: FEATURE(`local_lmtp') now sets the DSN Diagnostic-Code type
462264562Sgshapiro		for the local mailer to the proper value of "SMTP".
462364562Sgshapiro	CONFIG: All included maps are no longer optional by default; if
462464562Sgshapiro		there there is a problem with a map, sendmail will
462564562Sgshapiro		complain.
462664562Sgshapiro	CONFIG: Removed root from class E; use EXPOSED_USER(`root')
462764562Sgshapiro		to get the old behavior.  Suggested by Joe Pruett
462864562Sgshapiro		of Q7 Enterprises.
462964562Sgshapiro	CONFIG: MASQUERADE_EXCEPTION() defines hosts/subdomains which
463064562Sgshapiro		will not be masqueraded.  Proposed by Arne Wichmann
463164562Sgshapiro		of MPI Saarbruecken, Griff Miller of PGS Tensor,
463264562Sgshapiro		Jayme Cox of Broderbund Software Inc.
463364562Sgshapiro	CONFIG: A list of exceptions for FEATURE(`nocanonify') can be
463464562Sgshapiro		specified by CANONIFY_DOMAIN or CANONIFY_DOMAIN_FILE,
463564562Sgshapiro		i.e., a list of domains which are passed to $[ ... $]
463664562Sgshapiro		for canonification. Based on an idea from Neil Rickert
463764562Sgshapiro		of Northern Illinois University.
463864562Sgshapiro	CONFIG: If `canonify_hosts' is specified as parameter for
463964562Sgshapiro		FEATURE(`nocanonify') then addresses which have only
464064562Sgshapiro		a hostname, e.g., <user@host>, will be canonified.
464164562Sgshapiro	CONFIG: If FEATURE(`nocanonify') is turned on, a trailing dot is
464264562Sgshapiro		nevertheless added to addresses with more than one component
464364562Sgshapiro		in it.
464464562Sgshapiro	CONFIG: Canonification is no longer attempted for any host or domain
464564562Sgshapiro		in class 'P' ($=P).
464664562Sgshapiro	CONFIG: New class for matching virtusertable entries $={VirtHost} that
464764562Sgshapiro		can be populated by VIRTUSER_DOMAIN or VIRTUSER_DOMAIN_FILE.
464864562Sgshapiro		FEATURE(`virtuser_entire_domain') can be used to apply this
464964562Sgshapiro		class also to entire subdomains.  Hosts in this class are
465064562Sgshapiro		treated as canonical in SCanonify2, i.e., a trailing dot
465164562Sgshapiro		is added.
465264562Sgshapiro	CONFIG: If VIRTUSER_DOMAIN() or VIRTUSER_DOMAIN_FILE() are used,
465364562Sgshapiro		include $={VirtHost} in $=R (hosts allowed to relay).
465464562Sgshapiro	CONFIG: FEATURE(`generics_entire_domain') can be used to apply the
465564562Sgshapiro		genericstable also to subdomains of $=G.
465664562Sgshapiro	CONFIG: Pass "+detail" as %2 for virtusertable lookups.
465764562Sgshapiro		Patch from Noam Freedman from University of Chicago.
465864562Sgshapiro	CONFIG: Pass "+detail" as %1 for genericstable lookups.  Suggested
465964562Sgshapiro		by Raymond S Brand of rsbx.net.
466064562Sgshapiro	CONFIG: Allow @domain in genericstable to override masquerading.
466164562Sgshapiro		Suggested by Owen Duffy from Owen Duffy & Associates.
466264562Sgshapiro	CONFIG: LOCAL_DOMAIN() adds entries to class w.  Suggested by Steve
466364562Sgshapiro		Hubert of University of Washington.
466464562Sgshapiro	CONFIG: OSTYPE(`gnuhurd') has been replaced by OSTYPE(`gnu') as
466564562Sgshapiro		GNU is now the canonical system name.  From Mark
466664562Sgshapiro		Kettenis of the University of Amsterdam.
466764562Sgshapiro	CONFIG: OSTYPE(`unixware7') updates from Larry Rosenman.
466864562Sgshapiro	CONFIG: Do not include '=' in option expansion if there is no value
466964562Sgshapiro		associated with the option.  From Andrew Brown of
467064562Sgshapiro		Graffiti World Wide, Inc.
467164562Sgshapiro	CONFIG: Add MAILER(`qpage') to define a new pager mailer.  Contributed
467264562Sgshapiro		by Philip A. Prindeville of Enteka Enterprise Technology
467364562Sgshapiro		Services.
467464562Sgshapiro	CONFIG: MAILER(`cyrus') was not preserving case for mail folder
467564562Sgshapiro		names.  Problem noted by Randall Winchester of Swales
467664562Sgshapiro		Aerospace.
467764562Sgshapiro	CONFIG: RELAY_MAILER_FLAGS can be used to define additional flags
467864562Sgshapiro		for the relay mailer.  Suggested by Doug Hughes of Auburn
467964562Sgshapiro		University and Brian Candler.
468064562Sgshapiro	CONFIG: LOCAL_MAILER_FLAGS now includes 'P' (Add Return-Path:
468164562Sgshapiro		header) by default.  Suggested by Per Hedeland of Ericsson.
468264562Sgshapiro	CONFIG: Use SMART_HOST for bracketed addresses, e.g., user@[host].
468364562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
468464562Sgshapiro		Institute.
468564562Sgshapiro	CONFIG: New macro MODIFY_MAILER_FLAGS to tweak *_MAILER_FLAGS;
468664562Sgshapiro		i.e., to set, add, or delete flags.
468764562Sgshapiro	CONFIG: If SMTP AUTH is used then relaying is allowed for any user
468864562Sgshapiro		who authenticated via a "trusted" mechanism, i.e., one that
468964562Sgshapiro		is defined via TRUST_AUTH_MECH(`list of mechanisms').
469064562Sgshapiro	CONFIG: FEATURE(`delay_checks') delays check_mail and check_relay
469164562Sgshapiro		after check_rcpt and allows for exceptions from the checks.
469264562Sgshapiro	CONFIG: Map declarations have been moved into their associated
469364562Sgshapiro		feature files to allow greater flexibility in use of
469464562Sgshapiro		sequence maps.  Suggested by Per Hedeland of Ericsson.
469564562Sgshapiro	CONFIG: New macro LOCAL_MAILER_EOL to override the default end of
469664562Sgshapiro		line string for the local mailer.  Requested by Il Oh of
469764562Sgshapiro		Willamette Industries, Inc.
469864562Sgshapiro	CONFIG: Route addresses are stripped, i.e., <@a,@b,@c:user@d> is
469964562Sgshapiro		converted to <user@d>
470064562Sgshapiro	CONFIG: Reject bogus return address of <@@hostname>, generated by
470164562Sgshapiro		Sun's older, broken configuration files.
470264562Sgshapiro	CONFIG: FEATURE(`nullclient') now provides the full rulesets of a
470364562Sgshapiro		normal configuration, allowing anti-spam checks to be
470464562Sgshapiro		performed.
470564562Sgshapiro	CONFIG: Don't return a permanent error (Relaying denied) if
470664562Sgshapiro		${client_name} can't be resolved just temporarily.
470764562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
470864562Sgshapiro		Institute.
470964562Sgshapiro	CONFIG: Change numbered rulesets into named (which still can
471064562Sgshapiro		be accessed by their numbers).
471164562Sgshapiro	CONFIG: FEATURE(`nouucp') takes one parameter: reject or nospecial
471264562Sgshapiro		which describes whether to disallow "!" in the local part
471364562Sgshapiro		of an address.
471464562Sgshapiro	CONFIG: Call Local_localaddr from localaddr (S5) which can be used
471564562Sgshapiro		to rewrite an address from a mailer which has the F=5 flag
471664562Sgshapiro		set.  If the ruleset returns a mailer, the appropriate
471764562Sgshapiro		action is taken, otherwise the returned tokens are ignored.
471864562Sgshapiro	CONFIG: cf/ostype/solaris.m4 has been renamed to solaris2.pre5.m4
471964562Sgshapiro		and cf/ostype/solaris2.m4 is now a copy of solaris2.ml.m4.
472064562Sgshapiro		The latter is kept around for backward compatibility.
472164562Sgshapiro	CONFIG: Allow ":D.S.N:" for mailer/virtusertable "error:" entries,
472264562Sgshapiro		where "D.S.N" is an RFC 1893 compliant error code.
472364562Sgshapiro	CONFIG: Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
472464562Sgshapiro	CONFIG: Remove second space between username and date in UNIX From_
472564562Sgshapiro		line.  Noted by Allan E Johannesen of Worcester Polytechnic
472664562Sgshapiro		Institute.
472764562Sgshapiro	CONFIG: Make sure all of the mailers have complete T= equates.
472864562Sgshapiro	CONFIG: Extend FEATURE(`local_procmail') so it can now take
472964562Sgshapiro		arguments overriding the mailer program, arguments, and
473064562Sgshapiro		mailer definition flags.  This makes it possible to use
473164562Sgshapiro		other programs such as maildrop for local delivery.
473264562Sgshapiro	CONFIG: Emit warning if FEATURE(`local_lmtp') or
473364562Sgshapiro		FEATURE(`local_procmail') is given after MAILER(`local').
473464562Sgshapiro		Patch from Richard A. Nelson of IBM.
473564562Sgshapiro	CONFIG: Add SMTP Authentication information to Received: header
473664562Sgshapiro		default value (confRECEIVED_HEADER).
473764562Sgshapiro	CONFIG: Remove `l' flag from USENET_MAILER_FLAGS as it is not a
473864562Sgshapiro		local mailer.  Problem noted by Per Hedeland of Ericsson.
473964562Sgshapiro	CONTRIB: Added bounce-resender.pl from Brian R. Gaeke of the
474064562Sgshapiro		University of California at Berkeley.
474164562Sgshapiro	CONTRIB: Added domainmap.m4 from Mark D. Roth of the University of
474264562Sgshapiro		Illinois at Urbana-Champaign.
474364562Sgshapiro	CONTRIB: etrn.pl now recognizes bogus host names.  Patch from
474464562Sgshapiro		Bruce Barnett of GE's R&D Lab.
474564562Sgshapiro	CONTRIB: Patches for re-mqueue.pl by Graeme Hewson of Oracle
474664562Sgshapiro		Corporation UK.
474764562Sgshapiro	CONTRIB: Added qtool.pl to assist in managing the queues.
474864562Sgshapiro	DEVTOOLS: Prevent user environment variables from interfering with
474964562Sgshapiro		the Build scripts.  Problem noted by Ezequiel H. Panepucci of
475064562Sgshapiro		Yale University.
475164562Sgshapiro	DEVTOOLS: 'Build -M' will display the obj.* directory which will
475264562Sgshapiro		be used for building.
475364562Sgshapiro	DEVTOOLS: 'Build -A' will display the architecture that would be
475464562Sgshapiro		used for a fresh build.
475564562Sgshapiro	DEVTOOLS: New variable confRANLIB, set automatically by configure.sh.
475664562Sgshapiro	DEVTOOLS: New variable confRANLIBOPTS for the options to send to
475764562Sgshapiro		ranlib.
475864562Sgshapiro	DEVTOOLS: 'Build -O <path>' will have the object files build in
475964562Sgshapiro		<path>/obj.*.  Suggested by Bryan Costales of Exactis.
476064562Sgshapiro	DEVTOOLS: New variable confNO_MAN_BUILD which will prevent the
476164562Sgshapiro		building of the man pages when defined.  Suggested by Bryan
476264562Sgshapiro		Costales.
476364562Sgshapiro	DEVTOOLS: New variables confNO_HELPFILE_INSTALL and
476464562Sgshapiro		confNO_STATISTICS_INSTALL which will prevent the
476564562Sgshapiro		installation of the sendmail helpfile and statistics file
476664562Sgshapiro		respectively.  Suggested by Bryan Costales.
476764562Sgshapiro	DEVTOOLS: Recognize ReliantUNIX as SINIX.  Patch from Gerald Rinske
476864562Sgshapiro		of Siemens Business Services.
476964562Sgshapiro	DEVTOOLS: New variable confSTDIO_TYPE which defines the type of
477064562Sgshapiro		stdio library.  The new buffered file I/O depends on the
477164562Sgshapiro		Torek stdio library.  This option can be either portable or
477264562Sgshapiro		torek.
477364562Sgshapiro	DEVTOOLS: New variables confSRCADD and confSMSRCADD which
477464562Sgshapiro		correspond to confOBJADD and confSMOBJADD respectively.
477564562Sgshapiro		They should contain the C source files for the object files
477664562Sgshapiro		listed in confOBJADD and confSMOBJADD.  These file names
477764562Sgshapiro		will be passed to the 'make depend' stage of compilation.
477864562Sgshapiro	DEVTOOLS: New program specific variables for each of the programs
477964562Sgshapiro		in the sendmail distribution.  Each has the form
478064562Sgshapiro		`conf_prog_ENVDEF', for example, `conf_sendmail_ENVDEF'.
478164562Sgshapiro		The new variables are conf_prog_ENVDEF, conf_prog_LIBS,
478264562Sgshapiro		conf_prog_SRCADD, and conf_prog_OBJADD.
478364562Sgshapiro	DEVTOOLS: Build system redesign.  This should have little affect on
478464562Sgshapiro		building the distribution, but documentation on the changes
478564562Sgshapiro		are in devtools/README.
478664562Sgshapiro	DEVTOOLS: Don't allow 'Build -f file' if an object directory already
478764562Sgshapiro		exists.  Suggested by Valdis Kletnieks of Virginia Tech.
478864562Sgshapiro	DEVTOOLS: Rename confSRCDIR to confSMSRCDIR since it only identifies
478964562Sgshapiro		the path to the sendmail source directory.  confSRCDIR is a
479064562Sgshapiro		new variable which identifies the root of the source
479164562Sgshapiro		directories for all of the programs in the distribution.
479264562Sgshapiro	DEVTOOLS: confSRCDIR and confSMSRCDIR are now determined at Build
479364562Sgshapiro		time.  They can both still be overridden by setting the m4
479464562Sgshapiro		macro.
479564562Sgshapiro	DEVTOOLS: confSBINGRP now defaults to bin instead of kmem.
479664562Sgshapiro	DEVTOOLS: 'Build -Q prefix' uses devtools/Site/prefix.*.m4 for
479764562Sgshapiro		build configurations, and places objects in obj.prefix.*/.
479864562Sgshapiro		Complains as 'Build -f file' does for existing object
479964562Sgshapiro		directories.  Suggested by Tom Smith of Digital Equipment
480064562Sgshapiro		Corporation.
480164562Sgshapiro	DEVTOOLS: Setting confINSTALL_RAWMAN will install unformatted
480264562Sgshapiro		manual pages in the directory tree specified by
480364562Sgshapiro		confMANROOTMAN.
480464562Sgshapiro	DEVTOOLS: If formatting the manual pages fails, copy in the
480564562Sgshapiro		preformatted pages from the distribution.  The new variable
480664562Sgshapiro		confCOPY specifies the copying program.
480764562Sgshapiro	DEVTOOLS: Defining confFORCE_RMAIL will install rmail without
480864562Sgshapiro		question.  Suggested by Terry Lambert of Whistle
480964562Sgshapiro		Communications.
481064562Sgshapiro	DEVTOOLS: confSTFILE and confHFFILE can be used to change the names
481164562Sgshapiro		of the installed statistics and help files, respectively.
481264562Sgshapiro	DEVTOOLS: Remove spaces in `uname -r` output when determining
481364562Sgshapiro		operating system identity.  Problem noted by Erik
481464562Sgshapiro		Wachtenheim of Dartmouth College.
481564562Sgshapiro	DEVTOOLS: New variable confLIBSEARCHPATH to specify the paths that
481664562Sgshapiro		will be search for the libraries specified in confLIBSEARCH.
481764562Sgshapiro		Defaults to "/lib /usr/lib /usr/shlib".
481864562Sgshapiro	DEVTOOLS: New variables confSTRIP and confSTRIPOPTS for specifying
481964562Sgshapiro		how to strip binaries.  These are used by the new
482064562Sgshapiro		install-strip target.
482164562Sgshapiro	DEVTOOLS: New config file site.post.m4 which is included after
482264562Sgshapiro		the others (if it exists).
482364562Sgshapiro	DEVTOOLS: Change order of LIBS: first product specific libraries
482464562Sgshapiro		then the default ones.
482590792Sgshapiro	MAIL.LOCAL: Will not be installed set-user-ID root.  To use mail.local
482664562Sgshapiro		as local delivery agent without LMTP mode, use
482764562Sgshapiro		MODIFY_MAILER_FLAGS(`LOCAL', `+S')
482864562Sgshapiro		to set the S flag.
482964562Sgshapiro	MAIL.LOCAL: Do not reject addresses which would otherwise be
483064562Sgshapiro		accepted by sendmail.  Suggested by Neil Rickert of
483164562Sgshapiro		Northern Illinois University.
483264562Sgshapiro	MAIL.LOCAL: New -7 option which causes LMTP mode not to advertise
483364562Sgshapiro		8BITMIME in the LHLO response.  Suggested by Kari Hurtta of
483464562Sgshapiro		the Finnish Meteorological Institute.
483564562Sgshapiro	MAIL.LOCAL: Add support for the maillock() routines by defining
483664562Sgshapiro		MAILLOCK when compiling.  Also requires linking with
483764562Sgshapiro		-lmail.  Patch from Neil Rickert of Northern Illinois
483864562Sgshapiro		University.
483964562Sgshapiro	MAIL.LOCAL: Create a Content-Length: header if CONTENTLENGTH is
484064562Sgshapiro		defined when compiling.  Automatically set for Solaris 2.3
484164562Sgshapiro		and later.  Patch from Neil Rickert of Northern Illinois
484264562Sgshapiro		University.
484364562Sgshapiro	MAIL.LOCAL: Move the initialization of the 'notifybiff' address
484464562Sgshapiro		structure to the beginning of the program.  This ensures that
484564562Sgshapiro		the getservbyname() is done before any seteuid to a possibly
484664562Sgshapiro		unauthenticated user.  If you are using NIS+ and secure RPC
484764562Sgshapiro		on a Solaris system, this avoids syslog messages such as,
484864562Sgshapiro		"authdes_refresh: keyserv(1m) is unable to encrypt session
484964562Sgshapiro		key."  Patch from Neil Rickert of Northern Illinois
485064562Sgshapiro		University.
485164562Sgshapiro	MAIL.LOCAL: Support group writable mail spool files when MAILGID is
485264562Sgshapiro		set to the gid to use (-DMAILGID=6) when compiling.
485364562Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
485464562Sgshapiro	MAIL.LOCAL: When a mail message included lines longer than 2046
485564562Sgshapiro		characters (in LMTP mode), mail.local split the incoming
485664562Sgshapiro		line up into 2046-character output lines (excluding the
485764562Sgshapiro		newline).  If an input line was 2047 characters long
485864562Sgshapiro		(excluding CR-LF) and the last character was a '.',
485964562Sgshapiro		mail.local saw it as the end of input, transfered it to the
486064562Sgshapiro		user mailbox and tried to write an `ok' back to sendmail.
486164562Sgshapiro		If the message was much longer, both sendmail and
486264562Sgshapiro		mail.local would deadlock waiting for each other to read
486364562Sgshapiro		what they have written.  Problem noted by Peter Jeremy of
486464562Sgshapiro		Alcatel Australia Limited.
486564562Sgshapiro	MAIL.LOCAL: New option -b to return a permanent error instead of a
486664562Sgshapiro		temporary error if a mailbox exceeds quota.  Suggested by
486764562Sgshapiro		Neil Rickert of Northern Illinois University.
486864562Sgshapiro	MAIL.LOCAL: The creation of a lockfile is subject to a global
486964562Sgshapiro		timeout to avoid starvation.
487064562Sgshapiro	MAIL.LOCAL: Properly parse addresses with multiple quoted
487164562Sgshapiro		local-parts.  Problem noted by Ronald F. Guilmette of
487264562Sgshapiro		Infinite Monkeys & Co.
487364562Sgshapiro	MAIL.LOCAL: NCR MP/RAS 3.X portability from Tom J. Moore of NCR.
487464562Sgshapiro	MAILSTATS: New -p option to invoke program mode in which stats are
487564562Sgshapiro		printed in a machine readable fashion and the stats file
487664562Sgshapiro		is reset.  Patch from Kevin Hildebrand of the University
487764562Sgshapiro		of Maryland.
487864562Sgshapiro	MAKEMAP: If running as root, automatically change the ownership of
487964562Sgshapiro		generated maps to the TrustedUser as specified in the
488064562Sgshapiro		sendmail configuration file.
488164562Sgshapiro	MAKEMAP: New -C option to accept an alternate sendmail
488264562Sgshapiro		configuration file to use for finding the TrustedUser
488364562Sgshapiro		option.
488464562Sgshapiro	MAKEMAP: New -u option to dump (unmap) a database.  Based on
488564562Sgshapiro		code contributed by Roy Mongiovi of Georgia Tech.
488664562Sgshapiro	MAKEMAP: New -e option to allow empty values.  Suggested by Philip
488764562Sgshapiro		A. Prindeville of Enteka Enterprise Technology Services.
488864562Sgshapiro	MAKEMAP: Compile cleanly on 64-bit operating systems.  Problem
488964562Sgshapiro		noted by Gerald Rinske of Siemens Business Services.
489064562Sgshapiro	OP.ME: Correctly document interaction between F=S and U= mailer
489164562Sgshapiro		equates.  Problem noted by Bob Halley of Internet Engines.
489264562Sgshapiro	OP.ME: Fixup Timeout documentation.  From Graeme Hewson of Oracle
489364562Sgshapiro		Corporation UK.
489464562Sgshapiro	OP.ME: The Timeout [r] option was incorrectly listed as "safe"
489564562Sgshapiro		(e.g., sendmail would not drop root privileges if the
489664562Sgshapiro		option was specified on the command line).  Problem noted
489764562Sgshapiro		by Todd C. Miller of Courtesan Consulting.
489864562Sgshapiro	PRALIASES: Handle the hash and btree map specifications for
489964562Sgshapiro		Berkeley DB.  Patch from Brian J. Coan of the
490064562Sgshapiro		Institute for Global Communications.
490164562Sgshapiro	PRALIASES: Read the sendmail.cf file for the location(s) of the
490264562Sgshapiro		alias file(s) if the -f option is not used.  Patch from
490364562Sgshapiro		John Beck of Sun Microsystems.
490464562Sgshapiro	PRALIASES: New -C option to specify an alternate sendmail
490564562Sgshapiro		configuration file to use for finding alias file(s).  Patch
490664562Sgshapiro		from John Beck of Sun Microsystems.
490764562Sgshapiro	SMRSH: allow shell commands echo, exec, and exit.  Allow command
490864562Sgshapiro		lists using || and &&.  Based on patch from Brian J. Coan
490964562Sgshapiro		of the Institute for Global Communications.
491064562Sgshapiro	SMRSH: Update README for the new Build system.  From Tim Pierce
491164562Sgshapiro		of RootsWeb Genealogical Data Cooperative.
491264562Sgshapiro	VACATION: Added vacation auto-responder to sendmail distribution.
491364562Sgshapiro	LIBSMDB: Added abstracted database library.  Works with Berkeley
491464562Sgshapiro		DB 1.85, Berkeley DB 2.X, Berkeley DB 3.X, and NDBM.
491564562Sgshapiro	Changed Files:
491664562Sgshapiro		The Build script in the various program subdirectories are
491764562Sgshapiro			no longer symbolic links.  They are now scripts
491864562Sgshapiro			which execute the actual Build script in
491964562Sgshapiro			devtools/bin.
492064562Sgshapiro		All the manual pages are now written against -man and not
492164562Sgshapiro			-mandoc as they were previously.
492264562Sgshapiro		Add a simple Makefile to every directory so make instead
492364562Sgshapiro			of Build will work (unless parameters are
492464562Sgshapiro			required for Build).
492564562Sgshapiro	New Directories:
492664562Sgshapiro		devtools/M4/UNIX
492764562Sgshapiro		include
492864562Sgshapiro		libmilter
492964562Sgshapiro		libsmdb
493064562Sgshapiro		libsmutil
493164562Sgshapiro		vacation
493264562Sgshapiro	Renamed Directories:
493364562Sgshapiro		BuildTools => devtools
493464562Sgshapiro		src => sendmail
493564562Sgshapiro	Deleted Files:
493664562Sgshapiro		cf/m4/nullrelay.m4
493764562Sgshapiro		devtools/OS/Linux.ppc
493864562Sgshapiro		devtools/OS/ReliantUNIX
493964562Sgshapiro		devtools/OS/SINIX
494064562Sgshapiro		sendmail/ldap_map.h
494164562Sgshapiro	New Files:
494264562Sgshapiro		INSTALL
494364562Sgshapiro		PGPKEYS
494464562Sgshapiro		cf/cf/generic-linux.cf
494564562Sgshapiro		cf/cf/generic-linux.mc
494664562Sgshapiro		cf/feature/delay_checks.m4
494764562Sgshapiro		cf/feature/dnsbl.m4
494864562Sgshapiro		cf/feature/generics_entire_domain.m4
494964562Sgshapiro		cf/feature/no_default_msa.m4
495064562Sgshapiro		cf/feature/relay_mail_from.m4
495164562Sgshapiro		cf/feature/virtuser_entire_domain.m4
495264562Sgshapiro		cf/mailer/qpage.m4
495364562Sgshapiro		cf/ostype/bsdi.m4
495464562Sgshapiro		cf/ostype/hpux11.m4
495564562Sgshapiro		cf/ostype/openbsd.m4
495664562Sgshapiro		contrib/bounce-resender.pl
495764562Sgshapiro		contrib/domainmap.m4
495864562Sgshapiro		contrib/qtool.8
495964562Sgshapiro		contrib/qtool.pl
496064562Sgshapiro		devtools/M4/depend/AIX.m4
496164562Sgshapiro		devtools/M4/list.m4
496264562Sgshapiro		devtools/M4/string.m4
496364562Sgshapiro		devtools/M4/subst_ext.m4
496464562Sgshapiro		devtools/M4/switch.m4
496564562Sgshapiro		devtools/OS/Darwin
496664562Sgshapiro		devtools/OS/GNU
496764562Sgshapiro		devtools/OS/SINIX.5.43
496864562Sgshapiro		devtools/OS/SINIX.5.44
496964562Sgshapiro		devtools/OS/m88k
497064562Sgshapiro		devtools/bin/find_in_path.sh
497164562Sgshapiro		mail.local/Makefile
497264562Sgshapiro		mailstats/Makefile
497364562Sgshapiro		makemap/Makefile
497464562Sgshapiro		praliases/Makefile
497564562Sgshapiro		rmail/Makefile
497664562Sgshapiro		sendmail/Makefile
497764562Sgshapiro		sendmail/bf.h
497864562Sgshapiro		sendmail/bf_portable.c
497964562Sgshapiro		sendmail/bf_portable.h
498064562Sgshapiro		sendmail/bf_torek.c
498164562Sgshapiro		sendmail/bf_torek.h
498264562Sgshapiro		sendmail/shmticklib.c
498364562Sgshapiro		sendmail/statusd_shm.h
498464562Sgshapiro		sendmail/timers.c
498564562Sgshapiro		sendmail/timers.h
498664562Sgshapiro		smrsh/Makefile
498764562Sgshapiro		vacation/Makefile
498864562Sgshapiro	Renamed Files:
498964562Sgshapiro		cf/ostype/gnuhurd.m4 => cf/ostype/gnu.m4
499064562Sgshapiro		sendmail/cdefs.h => include/sendmail/cdefs.h
499164562Sgshapiro		sendmail/sendmail.hf => sendmail/helpfile
499264562Sgshapiro		sendmail/mailstats.h => include/sendmail/mailstats.h
499364562Sgshapiro		sendmail/pathnames.h => include/sendmail/pathnames.h
499464562Sgshapiro		sendmail/safefile.c => libsmutil/safefile.c
499564562Sgshapiro		sendmail/snprintf.c => libsmutil/snprintf.c
499664562Sgshapiro		sendmail/useful.h => include/sendmail/useful.h
499764562Sgshapiro		cf/ostype/solaris2.m4 => cf/ostype/solaris2.pre5.m4
499864562Sgshapiro	Copied Files:
499964562Sgshapiro		cf/ostype/solaris2.ml.m4 => cf/ostype/solaris2.m4
500064562Sgshapiro
500164562Sgshapiro8.9.3/8.9.3	1999/02/04
500243730Speter	SECURITY: Limit message headers to a maximum of 32K bytes (total
500343730Speter		of all headers in a single message) to prevent a denial of
500443730Speter		service attack.  This limit will be configurable in 8.10.
500543730Speter		Problem noted by Michal Zalewski of the "Internet for
500643730Speter		Schools" project (IdS).
500743730Speter	Prevent segmentation fault on an LDAP lookup if the LDAP map
500843730Speter		was closed due to an earlier failure.  Problem noted by
500943730Speter		Jeff Wasilko of smoe.org.  Fix from Booker Bense of
501043730Speter		Stanford University and Per Hedeland of Ericsson.
501143730Speter	Preserve the order of the MIME headers in multipart messages
501243730Speter		when performing the MIME header length check.  This
501343730Speter		will allow PGP signatures to function properly.  Problem
501443730Speter		noted by Lars Hecking of University College, Cork, Ireland.
501543730Speter	If ruleset 5 rewrote the local address to an :include: directive,
501643730Speter		the delivery would fail with an "aliasing/forwarding loop
501743730Speter		broken" error.  Problem noted by Eric C Hagberg of Morgan
501843730Speter		Stanley.  Fix from Per Hedeland of Ericsson.
501943730Speter	Allow -T to work for bestmx maps.  Fix from Aaron Schrab of
502043730Speter		ExecPC Internet Systems.
502143730Speter	During the transfer of a message in an SMTP transaction, if a
502243730Speter		TCP timeout occurs, the message would be properly queued
502343730Speter		for later retry but the failure would be logged as
502443730Speter		"Illegal Seek" instead of a timeout.  Problem noted by
502543730Speter		Piotr Kucharski of the Warsaw School of Economics (SGH)
502643730Speter		and Carles Xavier Munyoz Baldo of CTV Internet.
502743730Speter	Prevent multiple deliveries on a self-referencing alias if the
502843730Speter		F=w mailer flag is not set.  Problem noted by Murray S.
502943730Speter		Kucherawy of Concentric Network Corporation and Per
503043730Speter		Hedeland of Ericsson.
503143730Speter	Do not strip empty headers but if there is no value and a
503243730Speter		default is defined in sendmail.cf, use the default.
503343730Speter		Problem noted by Philip Guenther of Gustavus Adolphus
503443730Speter		College and Christopher McCrory of Netus, Inc.
503543730Speter	Don't inherit information about the sender (notably the full name)
503643730Speter		in SMTP (-bs) mode, since this might be called from inetd.
503743730Speter	Accept any 3xx reply code in response to DATA command instead of
503843730Speter		requiring 354.  This change will match the wording to be
503943730Speter		published in the updated SMTP specification from the DRUMS
504043730Speter		group of the IETF.
504143730Speter	Portability:
504264562Sgshapiro		AIX 4.2.0 or 4.2.1 may become updated by the fileset
504364562Sgshapiro			bos.rte.net level 4.2.0.2.  This introduces the
504464562Sgshapiro			softlink /usr/lib/libbind.a which should
504543730Speter			not be used.  It conflicts with the resolver
504643730Speter			built into libc.a.  "bind" has been removed
504743730Speter			from the confLIBSEARCH BuildTools variable.
504843730Speter			Users who have installed BIND 8.X will have
504943730Speter			to add it back in their site.config.m4 file.
505043730Speter			Problem noted by Ole Holm Nielsen of the
505143730Speter			Technical University of Denmark.
505243730Speter		CRAY TS 10.0.x from Sven Nielsen of San Diego
505343730Speter			Supercomputer Center.
505443730Speter		Improved LDAP version 3 integration based on input
505543730Speter			from Kurt D. Zeilenga of the OpenLDAP Foundation,
505643730Speter			John Beck of Sun Microsystems, and Booker Bense
505743730Speter			of Stanford University.
505843730Speter		Linux doesn't have a standard way to get the timezone
505943730Speter			between different releases.  Back out the
506043730Speter			change in 8.9.2 and don't attempt to derive
506143730Speter			a timezone.  Problem reported by Igor S. Livshits
506243730Speter			of the University of Illinois at Urbana-Champaign
506343730Speter			and Michael Dickens of Tetranet Communications.
506443730Speter		Reliant UNIX, the new name for SINIX, from Gert-Jan Looy
506543730Speter			of Siemens/SNI.
506643730Speter		SunOS 5.8 from John Beck of Sun Microsystems.
506743730Speter	CONFIG: SCO UnixWare 2.1 and 7.0 need TZ to get the proper
506843730Speter		timezone.  Problem noted by Petr Lampa of Technical
506943730Speter		University of Brno.
507043730Speter	CONFIG: Handle <@bestmx-host:user@otherhost> addressing properly
507143730Speter		when using FEATURE(bestmx_is_local).  Patch from Neil W.
507243730Speter		Rickert of Northern Illinois University.
507343730Speter	CONFIG: Properly handle source routed and %-hack addresses on
507443730Speter		hosts which the mailertable remaps to local:.  Patch from
507543730Speter		Neil W. Rickert of Northern Illinois University.
507643730Speter	CONFIG: Internal fixup of mailertable local: map value.  Patch from
507743730Speter		Larry Parmelee of Cornell University.
507843730Speter	CONFIG: Only add back +detail from host portion of mailer triplet
507943730Speter		on local mailer triplets if it was originally +detail.
508043730Speter		Patch from Neil W. Rickert of Northern Illinois University.
508143730Speter	CONFIG: The bestmx_is_local checking done in check_rcpt would
508243730Speter		cause later checks to fail.  Patch from Paul J Murphy of
508343730Speter		MIDS Europe.
508464562Sgshapiro	New Files:
508543730Speter		BuildTools/OS/CRAYTS.10.0.x
508643730Speter		BuildTools/OS/ReliantUNIX
508743730Speter		BuildTools/OS/SunOS.5.8
508843730Speter
508964562Sgshapiro8.9.2/8.9.2	1998/12/30
509042575Speter	SECURITY: Remove five second sleep on accepting daemon connections
509142575Speter		due to an accept() failure.  This sleep could be used
509242575Speter		for a denial of service attack.
509342575Speter	Do not silently ignore queue files with names which are too long.
509442575Speter		Patch from Bryan Costales of InfoBeat, Inc.
509542575Speter	Do not store failures closing an SMTP session in persistent
509642575Speter		host status.  Reported by Graeme Hewson of Oracle
509742575Speter		Corporation UK.
509842575Speter	Allow symbolic link forward files if they are in safe directories.
509942575Speter		Problem noted by Andreas Schott of the Max Planck Society.
510042575Speter	Missing columns in a text map could cause a segmentation fault.
510142575Speter		Fix from David Lee of the University of Durham.
510243730Speter	Note that for 8.9.X, PrivacyOptions=goaway also includes the
510342575Speter		noetrn flag.  This is scheduled to change in a future
510442575Speter		version of sendmail.  Problem noted by Theo Van Dinter of
510542575Speter		Chrysalis Symbolic Designa and Alan Brown of Manawatu
510642575Speter		Internet Services.
510742575Speter	When trying to do host canonification in a Wildcard MX
510842575Speter		environment, try an MX lookup of the hostname without the
510942575Speter		default domain appended.  Problem noted by Olaf Seibert of
511042575Speter		Polderland Language & Speech Technology.
511142575Speter	Reject SMTP RCPT To: commands with only comments (i.e.
511242575Speter		'RCPT TO: (comment)'.  Problem noted by Earle Ake of
511342575Speter		Hassler Communication Systems Technology, Inc.
511442575Speter	Handle any number of %s in the LDAP filter spec.  Patch from
511542575Speter		Per Hedeland of Ericsson.
511642575Speter	Clear ldapx open timeouts even if the map open failed to prevent
511742575Speter		a segmentation fault.  Patch from Wayne Knowles of the
511842575Speter		National Institute of Water & Atmospheric Research Ltd.
511942575Speter	Do not syslog envelope clone messages when using address
512042575Speter		verification (-bv).  Problem noted by Kari Hurtta of the
512142575Speter		Finnish Meteorological Institute.
512242575Speter	Continue to perform queue runs while in daemon mode even if the
512342575Speter		daemon is rejecting connections due to a disk full
512442575Speter		condition.  Problem noted by JR Oldroyd of TerraNet
512542575Speter		Internet Services.
512642575Speter	Include full filename on installation of the sendmail.hf file
512742575Speter		in case the $HFDIR directory does not exist.  Problem
512842575Speter		noted by Josef Svitak of Montana State University.
512942575Speter	Close all maps when exiting the process with one exception.
513064562Sgshapiro		Berkeley DB can use internal shared memory locking for
513164562Sgshapiro		its memory pool.  Closing a map opened by another process
513264562Sgshapiro		will interfere with the shared memory and locks of the
513364562Sgshapiro		parent process leaving things in a bad state.  For
513442575Speter		Berkeley DB, only close the map if the current process
513542575Speter		is also the one that opened the map, otherwise only close
513642575Speter		the map file descriptor.  Thanks to Yoseff Francus of
513742575Speter		Collective Technologies for volunteering his system for
513842575Speter		extended testing.
513942575Speter	Avoid null pointer dereference on XDEBUG output for SMTP reply
514042575Speter		failures.  Problem noted by Carlos Canau of EUnet Portugal.
514142575Speter	On mailq and hoststat listings being piped to another program, such
514264562Sgshapiro		as more, if the pipe closes (i.e., the user quits more),
514342575Speter		stop sending output and exit.  Patch from Allan E Johannesen
514442575Speter		of Worcester Polytechnic Institute.
514542575Speter	In accordance with the documentation, LDAP map lookup failures
514642575Speter		are now considered temporary failures instead of permanent
514742575Speter		failures unless the -t flag is used in the map definition.
514842575Speter		Problem noted by Booker Bense of Stanford University and
514942575Speter		Eric C. Hagberg of Morgan Stanley.
515042575Speter	Fix by one error reporting on long alias names.  Problem noted by
515142575Speter		H. Paul Hammann of the Missouri Research and Education
515242575Speter		Network.
515342575Speter	Fix DontBlameSendmail=IncludeFileInUnsafeDirPath behavior.  Problem
515442575Speter		noted by Barry S. Finkel of Argonne National Laboratory.
515542575Speter	When automatically converting from 8 bit to quoted printable MIME,
515642575Speter		be careful not to miss a multi-part boundary if that
515742575Speter		boundary is preceded by a boundary-like line.  Problem
515842575Speter		noted by Andreas Raschle of Ansid Inc.  Fix from
515942575Speter		Kari Hurtta of the Finnish Meteorological Institute.
516042575Speter	Avoid bogus reporting of "LMTP tobuf overflow" when the buffer
516142575Speter		has enough space for the additional address.  Problem
516242575Speter		noted by Steve Cliffe of the University of Wollongong.
516343730Speter	Fix DontBlameSendmail=FileDeliveryToSymlink behavior.  Problem
516442575Speter		noted by Alex Vorobiev of Swarthmore College.
516542575Speter	If the check_compat ruleset resolves to the $#discard mailer,
516642575Speter		discard the current recipient.  Unlike check_relay,
516742575Speter		check_mail, and check_rcpt, the entire envelope is not
516842575Speter		discarded.  Problem noted by RZ D. Rahlfs.  Fix from
516942575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
517043730Speter	Avoid segmentation fault when reading ServiceSwitchFile files with
517142575Speter		bogus formatting.  Patch from Kari Hurtta of the Finnish
517242575Speter		Meteorological Institute.
517342575Speter	Support Berkeley DB 2.6.4 API change.
517442575Speter	OP.ME: Pages weren't properly output on duplexed printers.  Fix
517542575Speter		from Matthew Black of CSU Long Beach.
517642575Speter	Portability:
517742575Speter		Apple Rhapsody from Wilfredo Sanchez of Apple Computer, Inc.
517842575Speter		Avoid a clash with IRIX 6.2 getopt.h and the UserDatabase
517942575Speter			option structure.  Problem noted by Ashley M.
518042575Speter			Kirchner of Photo Craft Laboratories, Inc.
518142575Speter		Break out IP address to hostname translation for
518242575Speter			reading network interface addresses into
518342575Speter			class 'w'.  Patch from John Kennedy of
518442575Speter			Cal State University, Chico.
518542575Speter		AIX 4.x use -qstrict with -O3 to prevent the optimized
518642575Speter			from changing the semantics of the compiled
518742575Speter			program.  From Simon Travaglia of the
518842575Speter			University of Waikato, New Zealand.
518942575Speter		FreeBSD 2.2.2 and later support setusercontext().  From
519042575Speter			Peter Wemm of DIALix.
519142575Speter		FreeBSD 3.x fix from Peter Wemm of DIALix.
519242575Speter		IRIX 5.x has a syslog buffer size of 512 bytes.  From
519342575Speter			Nao NINOMIYA of Utsunomiya University.
519442575Speter		IRIX 6.5 64-bit Build support.
519542575Speter		LDAP Version 3 support from John Beck and Ravi Iyer
519642575Speter			of Sun Microsystems.
519742575Speter		Linux does not implement seteuid() properly.  From
519842575Speter			John Kennedy of Cal State University, Chico.
519942575Speter		Linux timezone type was set improperly.  From Takeshi Itoh
520042575Speter			of Bits Co., Ltd.
520142575Speter		NCR MP-RAS 3.x needs -lresolv for confLIBS.  From
520242575Speter			Tom J. Moore of NCR.
520342575Speter		NeXT 4.x correction to man page path.  From J. P. McCann
520442575Speter			of E I A.
520543730Speter		System V Rel 5.x (a.k.a UnixWare7 w/o BSD-Compatibility Libs)
520642575Speter			from Paul Gampe of the Asia Pacific Network
520742575Speter			Information Center.
520842575Speter		ULTRIX now requires an optimization limit of 970 from
520942575Speter			Allan E Johannesen of Worcester Polytechnic
521042575Speter			Institute.
521142575Speter		Fix extern declaration for sm_dopr().  Fix from Henk
521242575Speter			van Oers of Algemeen Nederlands Persbureau.
521342575Speter	CONFIG: Catch @hostname,user@anotherhost.domain as relaying.
521442575Speter		Problem noted by Mark Rogov of AirMedia, Inc.  Fix from
521542575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
521642575Speter	CONFIG: Do not refer to http://maps.vix.com/ on RBL rejections as
521742575Speter		there are multiple RBL's available and the MAPS RBL may
521842575Speter		not be the one in use.  Suggested by Alan Brown of
521942575Speter		Manawatu Internet Services.
522064562Sgshapiro	CONFIG: Properly strip route addresses (i.e., @host1:user@host2)
522142575Speter		when stripping down a recipient address to check for
522242575Speter		relaying.  Patch from Claus Assmann of
522342575Speter		Christian-Albrechts-University of Kiel and Neil W Rickert
522442575Speter		of Northern Illinois University.
522542575Speter	CONFIG: Allow the access database to override RBL lookups.  Patch
522642575Speter		from Claus Assmann of Christian-Albrechts-University of
522742575Speter		Kiel.
522842575Speter	CONFIG: UnixWare 7 support from Phillip P. Porch of The Porch
522942575Speter		Dot Com.
523042575Speter	CONFIG: Fixed check for deferred delivery mode warning.  Patch
523142575Speter		from Claus Assmann of Christian-Albrechts-University of
523264562Sgshapiro		Kiel and Per Hedeland of Ericsson.
523342575Speter	CONFIG: If a recipient using % addressing is used, e.g.
523442575Speter		user%site@othersite, and othersite's MX records are now
523542575Speter		checked for local hosts if FEATURE(relay_based_on_MX) is
523642575Speter		used.  Problem noted by Alexander Litvin of Lucky Net Ltd.
523742575Speter		Patch from Alexander Litvin of Lucky Net Ltd and
523842575Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
523942575Speter	MAIL.LOCAL: Prevent warning messages from appearing in the LMTP
524042575Speter		stream.  Do not allow more than one response per recipient.
524142575Speter	MAIL.LOCAL: Handle routed addresses properly when using LMTP.  Fix
524242575Speter		from John Beck of Sun Microsystems.
524342575Speter	MAIL.LOCAL: Properly check for CRLF when using LMTP.  Fix from
524442575Speter		John Beck of Sun Microsystems.
524542575Speter	MAIL.LOCAL: Substitute MAILER-DAEMON for the LMTP empty sender in
524642575Speter		the envelope From header.
524742575Speter	MAIL.LOCAL: Accept underscores in hostnames in LMTP mode.
524842575Speter		Problem noted by Glenn A. Malling of Syracuse University.
524942575Speter	MAILSTATS: Document msgsrej and msgsdis fields in the man page.
525042575Speter		Problem noted by Richard Wong of Princeton University.
525142575Speter	MAKEMAP: Build group list so group writable files are allowed with
525242575Speter		the -s flag.  Problem noted by Curt Sampson of Internet
525342575Speter		Portal Services, Inc.
525442575Speter	PRALIASES: Automatically handle alias files created without the
525542575Speter		NULL byte at the end of the key.  Patch from John Beck of
525642575Speter		Sun Microsystems.
525742575Speter	PRALIASES: Support Berkeley DB 2.6.4 API change.
525842575Speter	New Files:
525942575Speter		BuildTools/OS/IRIX64.6.5
526042575Speter		BuildTools/OS/UnixWare.5.i386
526164562Sgshapiro		cf/ostype/unixware7.m4
526242575Speter		contrib/smcontrol.pl
526342575Speter		src/control.c
526442575Speter
526564562Sgshapiro8.9.1/8.9.1	1998/07/02
526638032Speter	If both an OS specific site configuration file and a generic
526738032Speter		site.config.m4 file existed, only the latter was used
526838032Speter		instead of both.  Problem noted by Geir Johannessen of
526938032Speter		the Norwegian University of Science and Technology.
527038032Speter	Fix segmentation fault while converting 8 bit to 7 bit MIME
527138032Speter		multipart messages by trying to write to an unopened
527238032Speter		file descriptor.  Fix from Kari Hurtta of the Finnish
527338032Speter		Meteorological Institute.
527438032Speter	Do not assume Message: and Text: headers indicate the end of
527538032Speter		the header area when parsing MIME headers.  Problem noted
527638032Speter		by Kari Hurtta of the Finnish Meteorological Institute.
527738032Speter	Setting the confMAN#SRC Build variable would only effect the
527838032Speter		installation commands.  The man pages would still be
527938032Speter		built with .0 extensions.  Problem noted by Bryan
528038032Speter		Costales of InfoBeat, Inc.
528138032Speter	Installation of manual pages didn't honor the DESTDIR environment
528238032Speter		variable.  Problem noted by Bryan Costales of InfoBeat, Inc.
528338032Speter	If the check_relay ruleset resolved to the discard mailer, messages
528438032Speter		were still delivered.  Problem noted by Mirek Luc of NASK.
528538032Speter	Mail delivery to files would fail with an Operating System Error
528664562Sgshapiro		if sendmail was not running as root, i.e., RunAsUser was set.
528738032Speter		Problem noted by Leonard N. Zubkoff of Dandelion Digital.
528838032Speter	Prevent MinQueueAge from interfering from queued items created
528964562Sgshapiro		in the future, i.e., if the system clock was set ahead
529038032Speter		and then back.  Problem noted by Michael Miller of the
529138032Speter		University of Natal, Pietermaritzburg.
529238032Speter	Do not advertise ETRN support in ESTMP EHLO reply if noetrn is
529343730Speter		set in the PrivacyOptions option.  Fix from Ted Rule of
529438032Speter		Flextech TV.
529538032Speter	Log invalid persistent host status file lines instead of
529638032Speter		bouncing the message.  Problem noted by David Lindes of
529738032Speter		DaveLtd Enterprises.
529838032Speter	Move creation of empty sendmail.st file from installation to
529938032Speter		compilation.  Installation may be done from a read-only
530038032Speter		mount.  Fix from Bryan Costales of InfoBeat, Inc. and Ric
530138032Speter		Anderson of the Oasis Research Center, Inc.
530238032Speter	Enforce the maximum number of User Database entries limit.  Problem
530338032Speter		noted by Gary Buchanan of Credence Systems Inc.
530438032Speter	Allow dead.letter files in root's home directory.  Problem noted
530538032Speter		by Anna Ullman of Sun Microsystems.
530638032Speter	Program deliveries in forward files could be marked unsafe if
530738032Speter		any directory listed in the ForwardPath option did not
530838032Speter		exist.  Problem noted by Jorg Bielak of Coastal Web Online.
530938032Speter	Do not trust the length of the address structure returned by
531038032Speter		gethostbyname().  Problem noted by Chris Evans of Oxford
531138032Speter		University.
531238032Speter	If the SIZE= MAIL From: ESMTP parameter is too large, use the
531338032Speter		5.3.4 DSN status code instead of 5.2.2.  Similarly, for
531438032Speter		non-local deliveries, if the message is larger than the
531538032Speter		mailer maximum message size, use 5.3.4 instead of 5.2.3.
531638032Speter		Suggested by Antony Bowesman of
531738032Speter		Fujitsu/TeaWARE Mail/MIME System.
531838032Speter	Portability:
531938032Speter		Fix the check for an IP address reverse lookup for
532038032Speter			use in $&{client_name} on 64 bit platforms.
532138032Speter			From Gilles Gallot of Institut for Development
532238032Speter			and Resources in Intensive Scientific computing.
532338032Speter		BSD-OS uses .0 for man page extensions.  From Jeff Polk
532438032Speter			of BSDI.
532538032Speter		DomainOS detection for Build.  Also, version 10.4 and later
532638032Speter			ship a unistd.h.  Fixes from Takanobu Ishimura of
532738032Speter			PICT Inc.
532838032Speter		NeXT 4.x uses /usr/lib/man/cat for its man pages.  From
532938032Speter			J. P. McCann of E I A.
533038032Speter		SCO 4.X and 5.X include NDBM support.  From Vlado Potisk
533138032Speter			of TEMPEST, Ltd.
533238032Speter	CONFIG: Do not pass spoofed PTR results through resolver for
533338032Speter		qualification.  Problem noted by Michiel Boland of
533438032Speter		Digital Valley Internet Professionals; fix from
533538032Speter		Kari Hurtta of the Finnish Meteorological Institute.
533638032Speter	CONFIG: Do not try to resolve non-DNS hostnames such as UUCP,
533738032Speter		BITNET, and DECNET addresses for resolvable senders.
533838032Speter		Problem noted by Alexander Litvin of Lucky Net Ltd.
533938032Speter	CONFIG: Work around Sun's broken configuration which sends bounce
534038032Speter		messages as coming from @@hostname instead of <>.  LMTP
534138032Speter		would not accept @@hostname.
534238032Speter	OP.ME: Corrections to complex sendmail startup script from Rick
534338032Speter		Troxel of the National Institutes of Health.
534438032Speter	RMAIL: Do not install rmail by default, require 'make force-install'
534538032Speter		as this rmail isn't the same as others.  Suggested by
534638032Speter		Kari Hurtta of the Finnish Meteorological Institute.
534742575Speter	New Files:
534842575Speter		BuildTools/OS/DomainOS.10.4
534938032Speter
535064562Sgshapiro8.9.0/8.9.0	1998/05/19
535138032Speter	SECURITY: To prevent users from reading files not normally
535238032Speter		readable, sendmail will no longer open forward, :include:,
535338032Speter		class, ErrorHeader, or HelpFile files located in unsafe
535464562Sgshapiro		(i.e., group or world writable) directory paths.  Sites
535538032Speter		which need the ability to override security can use the
535638032Speter		DontBlameSendmail option.  See the README file for more
535738032Speter		information.
535838032Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
535938032Speter		if maps or alias files are in world writable directories.
536038032Speter		This fixes the change added to 8.8.6 to prevent links in these
536138032Speter		world writable directories.
536238032Speter	SECURITY: Make sure ServiceSwitchFile option file is not a link if
536338032Speter		it is in a world writable directory.
536438032Speter	SECURITY: Never pass a tty to a mailer -- if a mailer can get at the
536538032Speter		tty it may be able to push bytes back to the senders input.
536638032Speter		Unfortunately this breaks -v mode.  Problem noted by
536738032Speter		Wietse Venema of the Global Security Analysis Lab at
536838032Speter		IBM T.J. Watson Research.
536938032Speter	SECURITY: Empty group list if DontInitGroups is set to true to
537038032Speter		prevent program deliveries from picking up extra group
537138032Speter		privileges.  Problem reported by Wolfgang Ley of DFN-CERT.
537238032Speter	SECURITY: The default value for DefaultUser is now set to the uid and
537338032Speter		gid of the first existing user mailnull, sendmail, or daemon
537438032Speter		that has a non-zero uid.  If none of these exist, sendmail
537538032Speter		reverts back to the old behavior of using uid 1 and gid 1.
537638032Speter		This is a security problem for Linux which has chosen that
537738032Speter		uid and gid for user bin instead of daemon.  If DefaultUser
537838032Speter		is set in the configuration file, that value overrides this
537938032Speter		default.
538090792Sgshapiro	SECURITY: Since 8.8.7, the check for non-set-user-ID binaries
538138032Speter		interfered with setting an alternate group id for the
538238032Speter		RunAsUser option.  Problem noted by Randall Winchester of
538338032Speter		the University of Maryland.
538438032Speter	Add support for Berkeley DB 2.X.  Based on patch from John Kennedy
538538032Speter		of Cal State University, Chico.
538638032Speter	Remove support for OLD_NEWDB (pre-1.5 version of Berkeley DB).  Users
538738032Speter		which previously defined OLD_NEWDB=1 must now upgrade to the
538838032Speter		current version of Berkeley DB.
538938032Speter	Added support for regular expressions using the new map class regex.
539038032Speter		From Jan Krueger of Unix-AG of University of Hannover.
539138032Speter	Support for BIND 8.1.1's hesiod for hesiod maps and hesiod
539238032Speter		UserDatabases from Randall Winchester of the University
539338032Speter		of Maryland.
539438032Speter	Allow any shell for user shell on program deliveries on V1
539538032Speter		configurations for backwards compatibility on machines which
539638032Speter		do not have getusershell().  Fix from John Beck of Sun
539738032Speter		Microsystems.
539838032Speter	On operating systems which change the process title by reusing the
539938032Speter		argument vector memory, sendmail could corrupt memory if the
540038032Speter		last argument was either "-q" or "-d".  Problem noted by
540138032Speter		Frank Langbein of the University of Stuttgart.
540238032Speter	Support Local Mail Transfer Protocol (LMTP) between sendmail and
540338032Speter		mail.local on the F=z flag.
540438032Speter	Macro-expand the contents of the ErrMsgFile.  Previously this was
540538032Speter		only done if you had magic characters (0x81) to indicate
540638032Speter		macro expansion.  Now $x will be expanded.  This means that
540738032Speter		real dollar signs have to be backslash escaped.
540864562Sgshapiro	TCP Wrappers expects "unknown" in the hostname argument if the
540938032Speter		reverse DNS lookup for the incoming connection fails.
541038032Speter		Problem noted by Randy Grimshaw of Syracuse University and
541138032Speter		Wietse Venema of the Global Security Analysis Lab at
541238032Speter		IBM T.J. Watson Research.
541338032Speter	DSN success bounces generated from an invocation of sendmail -t
541438032Speter		would be sent to both the sender and MAILER-DAEMON.
541538032Speter		Problem noted by Claus Assmann of
541638032Speter		Christian-Albrechts-University of Kiel.
541738032Speter	Avoid "Error 0" messages on delivery mailers which exit with a
541838032Speter		valid exit value such as EX_NOPERM.  Fix from Andreas Luik
541938032Speter		of ISA Informationssysteme GmbH.
542038032Speter	Tokenize $&x expansions on right hand side of rules.  This eliminates
542138032Speter		the need to use tricks like $(dequote "" $&{client_name} $)
542238032Speter		to cause the ${client_name} macro to be properly tokenized.
542338032Speter	Add the MaxRecipientsPerMessage option: this limits the number of
542438032Speter		recipients that will be accepted in a single SMTP
542538032Speter		transaction.  After this number is reached, sendmail
542638032Speter		starts returning "452 Too many recipients" to all RCPT
542738032Speter		commands.  This can be used to limit the number of recipients
542838032Speter		per envelope (in particular, to discourage use of the server
542938032Speter		for spamming).  Note: a better approach is to restrict
543038032Speter		relaying entirely.
543138032Speter	Fixed pointer initialization for LDAP lmap struct, fixed -s option
543238032Speter		to ldapx map and added timeout for ldap_open call to
543338032Speter		avoid hanging sendmail in the event of hung LDAP servers.
543438032Speter		Patch from Booker Bense of Stanford University.
543538032Speter	Allow multiple -qI, -qR, or -qS queue run limiters.  For example,
543638032Speter		'-qRfoo -qRbar' would deliver mail to recipients with foo or
543738032Speter		bar in their address.  Patch from Allan E Johannesen of
543838032Speter		Worcester Polytechnic Institute.
543938032Speter	The bestmx map will now return a list of the MX servers for a host if
544038032Speter		passed a column delimiter via the -z map flag.  This can be
544138032Speter		used to check if the server is an MX server for the recipient
544238032Speter		of a message.  This can be used to help prevent relaying.
544338032Speter		Patch from Mitchell Blank Jr of Exec-PC.
544438032Speter	Mark failures for the *file* mailer and return bounce messages to the
544538032Speter		sender for those failures.
544638032Speter	Prevent bogus syslog timestamps on errors in sendmail.cf by
544738032Speter		preserving the TZ environment variable until TimeZoneSpec
544838032Speter		has been determined.  Problem noted by Ralf Hildebrandt of
544938032Speter		Technical University of Braunschweig.  Patch from Per Hedeland
545038032Speter		of Ericsson.
545138032Speter	Print test input in address test mode when input is not from the tty
545264562Sgshapiro		when the -v flag is given (i.e., sendmail -bt -v) to make
545338032Speter		output easier to decipher.  Problem noted by Aidan Nichol
545438032Speter		of Procter & Gamble.
545538032Speter	The LDAP map -s flag was not properly parsed and the error message
545664562Sgshapiro		given included the remainder of the arguments instead of
545738032Speter		solely the argument in error.  Problem noted by Aidan Nichol
545838032Speter		of Procter & Gamble.
545938032Speter	New DontBlameSendmail option.  This option allows administrators to
546038032Speter		bypass some of sendmail's file security checks at the expense
546138032Speter		of system security.  This should only be used if you are
546238032Speter		absolutely sure you know the consequences.  The available
546338032Speter		DontBlameSendmail options are:
546438032Speter			Safe
546538032Speter			AssumeSafeChown
546638032Speter			ClassFileInUnsafeDirPath
546738032Speter			ErrorHeaderInUnsafeDirPath
546838032Speter			GroupWritableDirPathSafe
546938032Speter			GroupWritableForwardFileSafe
547038032Speter			GroupWritableIncludeFileSafe
547138032Speter			GroupWritableAliasFile
547238032Speter			HelpFileinUnsafeDirPath
547338032Speter			WorldWritableAliasFile
547438032Speter			ForwardFileInGroupWritableDirPath
547538032Speter			IncludeFileInGroupWritableDirPath
547638032Speter			ForwardFileInUnsafeDirPath
547738032Speter			IncludeFileInUnsafeDirPath
547838032Speter			ForwardFileInUnsafeDirPathSafe
547938032Speter			IncludeFileInUnsafeDirPathSafe
548038032Speter			MapInUnsafeDirPath
548138032Speter			LinkedAliasFileInWritableDir
548238032Speter			LinkedClassFileInWritableDir
548338032Speter			LinkedForwardFileInWritableDir
548438032Speter			LinkedIncludeFileInWritableDir
548538032Speter			LinkedMapInWritableDir
548638032Speter			LinkedServiceSwitchFileInWritableDir
548738032Speter			FileDeliveryToHardLink
548838032Speter			FileDeliveryToSymLink
548938032Speter			WriteMapToHardLink
549038032Speter			WriteMapToSymLink
549138032Speter			WriteStatsToHardLink
549238032Speter			WriteStatsToSymLink
549338032Speter			RunProgramInUnsafeDirPath
549438032Speter			RunWritableProgram
549538032Speter	New DontProbeInterfaces option to turn off the inclusion of all the
549638032Speter		interface names in $=w on startup.  In particular, if you
549738032Speter		have lots of virtual interfaces, this option will speed up
549838032Speter		startup.  However, unless you make other arrangements, mail
549938032Speter		sent to those addresses will be bounced.
550038032Speter	Automatically create alias databases if they don't exist and
550138032Speter		AutoRebuildAliases is set.
550238032Speter	Add PrivacyOptions=noetrn flag to disable the SMTP ETRN command.
550338032Speter		Suggested by Christophe Wolfhugel of the Institut Pasteur.
550438032Speter	Add PrivacyOptions=noverb flag to disable the SMTP VERB command.
550538032Speter	When determining the client host name ($&{client_name} macro), do
550638032Speter		a forward (A) DNS lookup on the result of the PTR lookup
550738032Speter		and compare results.  If they differ or if the PTR lookup
550838032Speter		fails, &{client_name} will contain the IP address
550964562Sgshapiro		surrounded by square brackets (e.g., [127.0.0.1]).
551038032Speter	New map flag: -Tx appends "x" to lookups that return temporary failure
551138032Speter		(i.e, it is like -ax for the temporary failure case, in
551238032Speter		contrast to the success case).
551338032Speter	New syntax to do limited checking of header syntax.  A config line
551438032Speter		of the form:
551538032Speter			HHeader: $>Ruleset
551638032Speter		causes the indicated Ruleset to be invoked on the Header
551738032Speter		when read.  This ruleset works like the check_* rulesets --
551838032Speter		that is, it can reject mail on the basis of the contents.
551938032Speter	Limit the size of the HELO/EHLO parameter to prevent spammers
552038032Speter		from hiding their connection information in Received:
552138032Speter		headers.
552238032Speter	When SingleThreadDelivery is active, deliveries to locked hosts
552338032Speter		are skipped.  This will cause the delivering process to
552438032Speter		try the next MX host or queue the message if no other MX
552538032Speter		hosts are available.  Suggested by Alexander Litvin.
552638032Speter	The [FILE] mailer type now delivers to the file specified in the
552738032Speter		A= equate of the mailer definition instead of $u.  It also
552838032Speter		obeys all of the F= mailer flags such as the MIME
552938032Speter		7/8 bit conversion flags.  This is useful for defining
553038032Speter		a mailer which delivers to the same file regardless of the
553164562Sgshapiro		recipient (e.g., 'A=FILE /dev/null' to discard unwanted mail).
553238032Speter	Do not assume the identity of a remote connection is root@localhost
553338032Speter		if the remote connection closes the socket before the
553438032Speter		remote identity can be queried.
553538032Speter	Change semantics of the F=S mailer flag back to 8.7.5 behavior.
553638032Speter		Some mailers, including procmail, require that the real
553738032Speter		uid is left unchanged by sendmail.  Problem noted by Per
553838032Speter		Hedeland of Ericsson.
553938032Speter	No longer is the src/obj*/Makefile selected from a large list -- it
554038032Speter		is now generated using the information in BuildTools/OS/ --
554138032Speter		some of the details are determined dynamically via
554238032Speter		BuildTools/bin/configure.sh.
554338032Speter	The other programs in the sendmail distribution -- mail.local,
554438032Speter		mailstats, makemap, praliases, rmail, and smrsh -- now use
554538032Speter		the new Build method which creates an operating system
554638032Speter		specific Makefile using the information in BuildTools.
554738032Speter	Make 4xx reply codes to the SMTP MAIL command be non-sticky (i.e.,
554838032Speter		a failure on one message won't affect future messages to the
554938032Speter		same host).  This is necessary if the remote host sends
555038032Speter		a 451 error if the domain of the sender does not resolve
555138032Speter		as is common in anti-spam configurations.  Problem noted
555238032Speter		by Mitchell Blank Jr of Exec-PC.
555338032Speter	New "discard" mailer for check_* rulesets and header checking
555438032Speter		rulesets.  If one of the above rulesets resolves to the
555538032Speter		$#discard mailer, the commands will be accepted but the
555638032Speter		message will be completely discarded after it is accepting.
555738032Speter		This means that even if only one of the recipients
555838032Speter		resolves to the $#discard mailer, none of the recipients
555938032Speter		will receive the mail.  Suggested by Brian Kantor.
556038032Speter	All but the last cloned envelope of a split envelope were queued
556138032Speter		instead of being delivered.  Problem noted by John Caruso
556238032Speter		of CNET: The Computer Network.
556338032Speter	Fix deadlock situation in persistent host status file locking.
556438032Speter	Syslog an error if a user forward file could not be read due to
556538032Speter		an error.  Patch from John Beck of Sun Microsystems.
556638032Speter	Use the first name returned on machine lookups when canonifying a
556738032Speter		hostname via NetInfo.  Patch from Timm Wetzel of GWDG.
556838032Speter	Clear the $&{client_addr}, $&{client_name}, and $&{client_port}
556938032Speter		macros when delivering a bounce message to prevent
557038032Speter		rejection by a check_compat ruleset which uses these macros.
557138032Speter		Problem noted by Jens Hamisch of AgiX Internetservices GmbH.
557238032Speter	If the check_relay ruleset resolves to the the error mailer, the
557338032Speter		error in the $: portion of the resolved triplet is used
557438032Speter		in the rejection message given to the remote machine.
557538032Speter		Suggested by Scott Gifford of The Internet Ramp.
557638032Speter	Set the $&{client_addr}, $&{client_name}, and $&{client_port} macros
557738032Speter		before calling the check_relay ruleset.  Suggested by Scott
557838032Speter		Gifford of The Internet Ramp.
557938032Speter	Sendmail would get a segmentation fault if a mailer exited with an
558038032Speter		exit code of 79.  Problem noted by Aaron Schrab of ExecPC
558138032Speter		Internet.  Fix from Christophe Wolfhugel of the Pasteur
558238032Speter		Institute.
558338032Speter	Separate snprintf/vsnprintf routines into separate file for use by
558438032Speter		mail.local.
558538032Speter	Allow multiple map lookups on right hand side, e.g.,
558638032Speter		R$*	$( host $1 $) $| $( passwd $1 $).  Patch from
558738032Speter		Christophe Wolfhugel of the Pasteur Institute.
558838032Speter	Properly generate success DSN messages if requested for aliases
558938032Speter		which have owner- aliases.  Problem noted by Kari Hurtta
559038032Speter		of the Finnish Meteorological Institute.
559138032Speter	Properly display delayed-expansion macros ($&{macroname}) in
559238032Speter		address test mode (-bt).  Problem noted by Bryan Costales
559338032Speter		of InfoBeat, Inc.
559438032Speter	-qR could sometimes match names incorrectly.  Problem noted by
559538032Speter		Lutz Euler of Lavielle EDV Systemberatung GmbH & Co.
559638032Speter	Include a magic number and version in the StatusFile for the
559738032Speter		mailstats command.
559838032Speter	Record the number of rejected and discarded messages in the
559938032Speter		StatusFile for display by the mailstats command.  Patch
560038032Speter		from Randall Winchester of the University of Maryland.
560138032Speter	IDENT returns where the OSTYPE field equals "OTHER" now list the
560238032Speter		user portion as IDENT:username@site instead of
560338032Speter		username@site to differentiate the two.  Suggested by
560438032Speter		Kari Hurtta of the Finnish Meteorological Institute.
560538032Speter	Enforce timeout for LDAP queries.  Patch from Per Hedeland of
560638032Speter		Ericsson.
560738032Speter	Change persistent host status filename substitution so '/' is
560838032Speter		replaced by ':' instead of '|' to avoid clashes.  Also
560938032Speter		avoid clashes with hostnames with leading dots.  Fix from
561038032Speter		Mitchell Blank Jr. of Exec-PC.
561138032Speter	If the system lock table is full, only attempt to create a new
561238032Speter		queue entry five times before giving up.  Previously, it
561338032Speter		was attempted indefinitely which could cause the partition
561438032Speter		to run out of inodes.  Problem noted by Suzie Weigand of
561538032Speter		Stratus Computer, Inc.
561638032Speter	In verbose mode, warn if the sendmail.cf version is less than the
561738032Speter		currently supported version.
561838032Speter	Sorting for QueueSortOrder=host is now case insensitive.  Patch
561938032Speter		from Randall S. Winchester of the University of Maryland.
562038032Speter	Properly quote a full name passed via the -F command line option,
562138032Speter		the Full-Name: header, or the NAME environment variable if
562238032Speter		it contains characters which must be quoted.  Problem noted
562338032Speter		by Kari Hurtta of the Finnish Meteorological Institute.
562438032Speter	Avoid possible race condition that unlocked a mail job before
562538032Speter		releasing the transcript file on systems that use flock(2).
562638032Speter		In some cases, this might result in a "Transcript Unavailable"
562738032Speter		message in error bounces.
562838032Speter	Accept SMTP replies which contain only a reply code and no
562938032Speter		accompanying text.  Problem noted by Fernando Fraticelli of
563038032Speter		Digital Equipment Corporation.
563138032Speter	Portability:
563238032Speter		AIX 4.1 uses int for SOCKADDR_LEN_T from Motonori Nakamura
563338032Speter			of Kyoto University.
563438032Speter		AIX 4.2 requires <userpw.h> before <usersec.h>.  Patch from
563538032Speter			Randall S. Winchester of the University of
563638032Speter			Maryland.
563738032Speter		AIX 4.3 from Valdis Kletnieks of Virginia Tech CNS.
563838032Speter		CRAY T3E from Manu Mahonen of Center for Scientific Computing
563938032Speter			in Finland.
564038032Speter		Digital UNIX now uses statvfs for determining free
564138032Speter			disk space.  Patch from Randall S. Winchester of
564238032Speter			the University of Maryland.
564338032Speter		HP-UX 11.x from Richard Allen of Opin Kerfi HF and
564438032Speter			Regis McEwen of Progress Software Corporation.
564538032Speter		IRIX 64 bit fixes from Kari Hurtta of the Finnish
564638032Speter			Meteorological Institute.
564738032Speter		IRIX 6.2 configuration fix for mail.local from Michael Kyle
564838032Speter			of CIC/Advanced Computing Laboratory.
564938032Speter		IRIX 6.5 from Thomas H Jones II of SGI.
565038032Speter		IRIX 6.X load average code from Bob Mende of SGI.
565138032Speter		QNX from Glen McCready <glen@qnx.com>.
565238032Speter		SCO 4.2 and 5.x use /usr/bin instead of /usr/ucb for links
565338032Speter			to sendmail.  Install with group bin instead of kmem
565438032Speter			as kmem does not exist.  From Guillermo Freige of
565538032Speter			Gobernacion de la Pcia de Buenos Aires and Paul
565638032Speter			Fischer of BTG, Inc.
565738032Speter		SunOS 4.X does not include memmove().  Patch from
565838032Speter			Per Hedeland of Ericsson.
565938032Speter		SunOS 5.7 includes getloadavg() function for determining
566038032Speter			load average.  Patch from John Beck of Sun
566138032Speter			Microsystems.
566238032Speter	CONFIG: Increment version number of config file.
566338032Speter	CONFIG: add DATABASE_MAP_TYPE to set the default type of database
566438032Speter		map for the various maps.  The default is hash.  Patch from
566538032Speter		Robert Harker of Harker Systems.
566638032Speter	CONFIG: new confEBINDIR m4 variable for defining the executable
566738032Speter		directory for certain programs.
566838032Speter	CONFIG: new FEATURE(local_lmtp) to use the new LMTP support for
566938032Speter		local mail delivery.  By the default, /usr/libexec/mail.local
567038032Speter		is used.  This is expected to be the mail.local shipped
567138032Speter		with 8.9 which is LMTP capable.  The path is based on the
567238032Speter		new confEBINDIR m4 variable.
567338032Speter	CONFIG: Use confEBINDIR in determining path to smrsh for
567438032Speter		FEATURE(smrsh).  Note that this changes the default from
567538032Speter		/usr/local/etc/smrsh to /usr/libexec/smrsh.  To obtain the
567638032Speter		old path for smrsh, use FEATURE(smrsh, /usr/local/etc/smrsh).
567738032Speter	CONFIG: DOMAIN(generic) changes the default confFORWARD_PATH to
567838032Speter		include $z/.forward.$w+$h and $z/.forward+$h which allow
567938032Speter		the user to setup different .forward files for
568038032Speter		user+detail addressing.
568138032Speter	CONFIG: add confMAX_RCPTS_PER_MESSAGE, confDONT_PROBE_INTERFACES,
568238032Speter		and confDONT_BLAME_SENDMAIL to set MaxRecipientsPerMessage,
568338032Speter		DontProbeInterfaces, and DontBlameSendmail options.
568438032Speter	CONFIG: by default do not allow relaying (that is, accepting mail
568538032Speter		from outside your domain and sending it to another host
568638032Speter		outside your domain).
568738032Speter	CONFIG: new FEATURE(promiscuous_relay) to allow mail relaying from
568838032Speter		any site to any site.
568938032Speter	CONFIG: new FEATURE(relay_entire_domain) allows any host in your
569038032Speter		domain as defined by the 'm' class ($=m) to relay.
569138032Speter	CONFIG: new FEATURE(relay_based_on_MX) to allow relaying based on
569238032Speter		the MX records of the host portion of an incoming recipient.
569338032Speter	CONFIG: new FEATURE(access_db) which turns on the access database
569477349Sgshapiro		feature.  This database gives you the ability to allow
569538032Speter		or refuse to accept mail from specified domains for
569638032Speter		administrative reasons.  By default, names that are listed
569738032Speter		as "OK" in the access db are domain names, not host names.
569838032Speter	CONFIG: new confCR_FILE m4 variable for defining the name of the file
569938032Speter		used for class 'R'.  Defaults to /etc/mail/relay-domains.
570038032Speter	CONFIG: new command RELAY_DOMAIN(domain) and RELAY_DOMAIN_FILE(file)
570138032Speter		to add items to class 'R' ($=R) for hosts allowed to relay.
570238032Speter	CONFIG: new FEATURE(relay_hosts_only) to change the behavior
570338032Speter		of FEATURE(access_db) and class 'R' to lookup individual
570438032Speter		host names only.
570538032Speter	CONFIG: new FEATURE(loose_relay_check).  Normally, if a recipient
570638032Speter		using % addressing is used, e.g.  user%site@othersite,
570738032Speter		and othersite is in class 'R', the check_rcpt ruleset
570838032Speter		will strip @othersite and recheck user@site for relaying.
570938032Speter		This feature changes that behavior.  It should not be
571038032Speter		needed for most installations.
571138032Speter	CONFIG: new FEATURE(relay_local_from) to allow relaying if the
571238032Speter		domain portion of the mail sender is a local host.  This
571338032Speter		should only be used if absolutely necessary as it opens
571438032Speter		a window for spammers.  Patch from Randall S. Winchester of
571538032Speter		the University of Maryland.
571638032Speter	CONFIG: new FEATURE(blacklist_recipients) turns on the ability to
571738032Speter		block incoming mail destined for certain recipient
571838032Speter		usernames, hostnames, or addresses.
571938032Speter	CONFIG: By default, MAIL FROM: commands in the SMTP session will be
572038032Speter		refused if the host part of the argument to MAIL FROM: cannot
572138032Speter		be located in the host name service (e.g., DNS).
572238032Speter	CONFIG: new FEATURE(accept_unresolvable_domains) accepts
572338032Speter		unresolvable hostnames in MAIL FROM: SMTP commands.
572438032Speter	CONFIG: new FEATURE(accept_unqualified_senders) accepts
572538032Speter		MAIL FROM: senders which do not include a domain.
572638032Speter	CONFIG: new FEATURE(rbl) Turns on rejection of hosts found in the
572738032Speter		Realtime Blackhole List.  You can specify the RBL name
572838032Speter		server to contact by specifying it as an optional argument.
572938032Speter		The default is rbl.maps.vix.com.  For details, see
573038032Speter		http://maps.vix.com/rbl/.
573138032Speter	CONFIG: Call Local_check_relay, Local_check_mail, and
573238032Speter		Local_check_rcpt from check_relay, check_mail, and
573338032Speter		check_rcpt.  Users with local rulesets should place the
573438032Speter		rules using LOCAL_RULESETS.  If a Local_check_* ruleset
573538032Speter		returns $#OK, the message is accepted.  If the ruleset
573638032Speter		returns a mailer, the appropriate action is taken, else
573738032Speter		the return of the ruleset is ignored.
573838032Speter	CONFIG: CYRUS_MAILER_FLAGS now includes the /:| mailer flags by
573938032Speter		default to support file, :include:, and program deliveries.
574038032Speter	CONFIG: Remove the default for confDEF_USER_ID so the binary can
574138032Speter		pick the proper default value.  See the SECURITY note
574238032Speter		above for more information.
574338032Speter	CONFIG: FEATURE(nodns) now warns the user that the feature is a
574438032Speter		no-op.  Patch from Kari Hurtta of the Finnish
574538032Speter		Meteorological Institute.
574638032Speter	CONFIG: OSTYPE(osf1) now sets DefaultUserID (confDEF_USER_ID) to
574738032Speter		daemon since DEC's /bin/mail will drop the envelope
574838032Speter		sender if run as mailnull.  See the Digital UNIX section
574938032Speter		of src/README for more information.  Problem noted by
575038032Speter		Kari Hurtta of the Finnish Meteorological Institute.
575138032Speter	CONFIG: .cf files are now stored in the same directory with the
575238032Speter		.mc files instead of in the obj directory.
575364562Sgshapiro	CONFIG: New options confSINGLE_LINE_FROM_HEADER,
575438032Speter		confALLOW_BOGUS_HELO, and confMUST_QUOTE_CHARS for
575538032Speter		setting SingleLineFromHeader, AllowBogusHELO, and
575638032Speter		MustQuoteChars respectively.
575738032Speter	MAIL.LOCAL: support -l flag to run LMTP on stdin/stdout.  This
575838032Speter		SMTP-like protocol allows detailed reporting of delivery
575938032Speter		status on a per-user basis.  Code donated by John Myers of
576038032Speter		CMU (now of Netscape).
576138032Speter	MAIL.LOCAL: HP-UX support from Randall S. Winchester of the
576264562Sgshapiro		University of Maryland.  NOTE: mail.local is not
576338032Speter		compatible with the stock HP-UX mail format.  Be sure to
576438032Speter		read mail.local/README.
576538032Speter	MAIL.LOCAL: Prevent other mail delivery agents from stealing a
576638032Speter		mailbox lock.  Patch from Randall S. Winchester of the
576738032Speter		University of Maryland.
576838032Speter	MAIL.LOCAL: glibc portability from John Kennedy of Cal State
576938032Speter		University, Chico.
577038032Speter	MAIL.LOCAL: IRIX portability from Kari Hurtta of the Finnish
577138032Speter		Meteorological Institute.
577238032Speter	MAILSTATS: Display the number of rejected and discarded messages
577338032Speter		in the StatusFile.  Patch from Randall Winchester of the
577438032Speter		University of Maryland.
577538032Speter	MAKEMAP: New -s flag to ignore safety checks on database map files
577638032Speter		such as linked files in world writable directories.
577738032Speter	MAKEMAP: Add support for Berkeley DB 2.X.  Remove OLD_NEWDB support.
577838032Speter	PRALIASES: Add support for Berkeley DB 2.X.
577938032Speter	PRALIASES: Do not automatically include NDBM support.  Problem
578038032Speter		noted by Ralf Hildebrandt of the Technical University of
578138032Speter		Braunschweig.
578238032Speter	RMAIL: Improve portability for other platforms.  Patches from
578338032Speter		Randall S. Winchester of the University of Maryland and
578438032Speter		Kari Hurtta of the Finnish Meteorological Institute.
578538032Speter	Changed Files:
578638032Speter		src/Makefiles/Makefile.* files have been modified to use
578738032Speter			the new build mechanism and are now BuildTools/OS/*.
578838032Speter		src/makesendmail changed to symbolic link to src/Build.
578938032Speter	New Files:
579038032Speter		BuildTools/M4/header.m4
579138032Speter		BuildTools/M4/depend/BSD.m4
579238032Speter		BuildTools/M4/depend/CC-M.m4
579338032Speter		BuildTools/M4/depend/NCR.m4
579438032Speter		BuildTools/M4/depend/Solaris.m4
579538032Speter		BuildTools/M4/depend/X11.m4
579638032Speter		BuildTools/M4/depend/generic.m4
579738032Speter		BuildTools/OS/AIX.4.2
579838032Speter		BuildTools/OS/AIX.4.x
579938032Speter		BuildTools/OS/CRAYT3E.2.0.x
580038032Speter		BuildTools/OS/HP-UX.11.x
580138032Speter		BuildTools/OS/IRIX.6.5
580238032Speter		BuildTools/OS/NEXTSTEP.4.x
580338032Speter		BuildTools/OS/NeXT.4.x
580438032Speter		BuildTools/OS/NetBSD.8.3
580538032Speter		BuildTools/OS/QNX
580638032Speter		BuildTools/OS/SunOS.5.7
580738032Speter		BuildTools/OS/dcosx.1.x.NILE
580838032Speter		BuildTools/README
580938032Speter		BuildTools/Site/README
581038032Speter		BuildTools/bin/Build
581138032Speter		BuildTools/bin/configure.sh
581238032Speter		BuildTools/bin/find_m4.sh
581338032Speter		BuildTools/bin/install.sh
581438032Speter		Makefile
581538032Speter		cf/cf/Build
581638032Speter		cf/cf/generic-hpux10.cf
581738032Speter		cf/feature/accept_unqualified_senders.m4
581838032Speter		cf/feature/accept_unresolvable_domains.m4
581938032Speter		cf/feature/access_db.m4
582038032Speter		cf/feature/blacklist_recipients.m4
582138032Speter		cf/feature/loose_relay_check.m4
582238032Speter		cf/feature/local_lmtp.m4
582338032Speter		cf/feature/promiscuous_relay.m4
582438032Speter		cf/feature/rbl.m4
582538032Speter		cf/feature/relay_based_on_MX.m4
582638032Speter		cf/feature/relay_entire_domain.m4
582738032Speter		cf/feature/relay_hosts_only.m4
582838032Speter		cf/feature/relay_local_from.m4
582938032Speter		cf/ostype/qnx.m4
583038032Speter		contrib/doublebounce.pl
583138032Speter		mail.local/Build
583238032Speter		mail.local/Makefile.m4
583338032Speter		mail.local/README
583438032Speter		mailstats/Build
583538032Speter		mailstats/Makefile.m4
583638032Speter		makemap/Build
583738032Speter		makemap/Makefile.m4
583838032Speter		praliases/Build
583938032Speter		praliases/Makefile.m4
584038032Speter		rmail/Build
584138032Speter		rmail/Makefile.m4
584238032Speter		rmail/rmail.0
584338032Speter		smrsh/Build
584438032Speter		smrsh/Makefile.m4
584538032Speter		src/Build
584638032Speter		src/Makefile.m4
584738032Speter		src/snprintf.c
584838032Speter	Deleted Files:
584938032Speter		cf/cf/Makefile (replaced by Makefile.dist)
585038032Speter		mail.local/Makefile
585138032Speter		mail.local/Makefile.dist
585238032Speter		mailstats/Makefile
585338032Speter		mailstats/Makefile.dist
585438032Speter		makemap/Makefile
585538032Speter		makemap/Makefile.dist
585638032Speter		praliases/Makefile
585738032Speter		praliases/Makefile.dist
585838032Speter		rmail/Makefile
585938032Speter		smrsh/Makefile
586038032Speter		smrsh/Makefile.dist
586138032Speter		src/Makefile
586238032Speter		src/Makefiles/Makefile.AIX.4 (split into AIX.4.x and AIX.4.2)
586338032Speter		src/Makefiles/Makefile.SMP_DC.OSx.NILE
586438032Speter			(renamed BuildTools/OS/dcosx.1.x.NILE)
586538032Speter		src/Makefiles/Makefile.Utah (obsolete platform)
586638032Speter	Renamed Files:
586738032Speter		READ_ME => README
586838032Speter		cf/cf/Makefile.dist => Makefile
586938032Speter		cf/cf/obj/* => cf/cf/*
587038032Speter		src/READ_ME => src/README
587138032Speter
587264562Sgshapiro8.8.8/8.8.8	1997/10/24
587338032Speter	If the check_relay ruleset failed, the relay= field was logged
587438032Speter		incorrectly.  Problem noted by Kari Hurtta of the Finnish
587538032Speter		Meteorological Institute.
587638032Speter	If /usr/tmp/dead.letter already existed, sendmail could not
587738032Speter		add additional bounces to it.  Problem noted by Thomas J.
587838032Speter		Arseneault of SRI International.
587938032Speter	If an SMTP mailer used a non-standard port number for the outgoing
588038032Speter		connection, it would be displayed incorrectly in verbose mode.
588138032Speter		Problem noted by John Kennedy of Cal State University, Chico.
588238032Speter	Log the ETRN parameter specified by the client before altering them
588338032Speter		to internal form.  Suggested by Bob Kupiec of GES-Verio.
588438032Speter	EXPN and VRFY SMTP commands on malformed addresses were logging as
588538032Speter		User unknown with bogus delay= values.  Change them to log
588638032Speter		the same as compliant addresses.  Problem noted by Kari E.
588738032Speter		Hurtta of the Finnish Meteorological Institute.
588838032Speter	Ignore the debug resolver option unless using sendmail debug trace
588938032Speter		option for resolver.  Problem noted by Greg Nichols of Wind
589038032Speter		River Systems.
589138032Speter	If SingleThreadDelivery was enabled and the remote server returned a
589238032Speter		protocol error on the DATA command, the connection would be
589338032Speter		closed but the persistent host status file would not be
589438032Speter		unlocked so other sendmail processes could not deliver to
589538032Speter		that host.  Problem noted by Peter Wemm of DIALix.
589638032Speter	If queueing up a message due to an expensive mailer, don't increment
589738032Speter		the number of delivery attempts or set the last delivery
589838032Speter		attempt time so the message will be delivered on the next
589938032Speter		queue run regardless of MinQueueAge.  Problem noted by
590038032Speter		Brian J. Coan of the Institute for Global Communications.
590138032Speter	Authentication warnings of "Processed from queue _directory_" and
590238032Speter		"Processed by _username_ with -C _filename_" would be logged
590338032Speter		with the incorrect timestamp.  Problem noted by Kari E. Hurtta
590438032Speter		of the Finnish Meteorological Institute.
590538032Speter	Use a better heuristic for detecting GDBM.
590638032Speter	Log null connections on dropped connections.  Problem noted by
590738032Speter		Jon Lewis of Florida Digital Turnpike.
590838032Speter	If class dbm maps are rebuilt, sendmail will now detect this and
590938032Speter		reopen the map.  Previously, they could give stale
591038032Speter		results during a single message processing (but would
591138032Speter		recover when the next message was received).  Fix from
591238032Speter		Joe Pruett of Q7 Enterprises.
591338032Speter	Do not log failures such as "User unknown" on -bv or SMTP VRFY
591438032Speter		requests.  Problem noted by Kari E. Hurtta of the
591538032Speter		Finnish Meteorological Institute.
591638032Speter	Do not send a bounce message back to the sender regarding bad
591738032Speter		recipients if the SMTP connection is dropped before the
591838032Speter		message is accepted.  Problem noted by Kari E. Hurtta of the
591938032Speter		Finnish Meteorological Institute.
592038032Speter	Use "localhost" instead of "[UNIX: localhost]" when connecting to
592138032Speter		sendmail via a UNIX pipe.  This will allow rulesets using
592238032Speter		$&{client_name} to process without sending the string through
592338032Speter		dequote.  Problem noted by Alan Barrett of Internet Africa.
592438032Speter	A combination of deferred delivery mode, a double bounce situation,
592538032Speter		and the inability to save a bounce message to
592638032Speter		/var/tmp/dead.letter would cause sendmail to send a bounce
592738032Speter		to postmaster but not remove the offending envelope from the
592838032Speter		queue causing it to create a new bounce message each time the
592938032Speter		queue was run.  Problem noted by Brad Doctor of Net Daemons
593038032Speter		Associates.
593138032Speter	Remove newlines from hostname information returned via DNS.  There are
593238032Speter		no known security implications of newlines in hostnames as
593338032Speter		sendmail filters newlines in all vital areas; however, this
593438032Speter		could cause confusing error messages.
593538032Speter	Starting with sendmail 8.8.6, mail sent with the '-t' option would be
593638032Speter		rejected if any of the specified addresses were bad.  This
593738032Speter		behavior was modified to only reject the bad addresses and not
593838032Speter		the entire message.  Problem noted by Jozsef Hollosi of
593938032Speter		SuperNet, Inc.
594038032Speter	Use Timeout.fileopen when delivering mail to a file.  Suggested by
594138032Speter		Bryan Costales of InfoBeat, Inc.
594238032Speter	Display the proper Final-Recipient on DSN messages for non-SMTP
594338032Speter		mailers.  Problem noted by Kari E. Hurtta of the
594438032Speter		Finnish Meteorological Institute.
594538032Speter	An error in calculating the available space in the list of addresses
594638032Speter		for logging deliveries could cause an address to be silently
594738032Speter		dropped.
594838032Speter	Include the initial user environment if sendmail is restarted via
594938032Speter		a HUP signal.  This will give room for the process title.
595038032Speter		Problem noted by Jon Lewis of Florida Digital Turnpike.
595138032Speter	Mail could be delivered without a body if the machine does not
595238032Speter		support flock locking and runs out of processes during
595338032Speter		delivery.  Fix from Chuck Lever of the University of Michigan.
595438032Speter	Drop recipient address from 251 and 551 SMTP responses per RFC 821.
595538032Speter		Problem noted by Kari E. Hurtta of the Finnish Meteorological
595638032Speter		Institute.
595738032Speter	Make sure non-rebuildable database maps are opened before the
595864562Sgshapiro		rebuildable maps (i.e., alias files) in case the database maps
595938032Speter		are needed for verifying the left hand side of the aliases.
596038032Speter		Problem noted by Lloyd Parkes of Victoria University.
596138032Speter	Make sure sender RFC822 source route addresses are alias expanded for
596238032Speter		bounce messages.  Problem noted by Juergen Georgi of
596338032Speter		RUS University of Stuttgart.
596438032Speter	Minor lint fixes.
596538032Speter	Return a temporary error instead of a permanent error if an LDAP map
596638032Speter		search returns an error.  This will allow sequenced maps which
596738032Speter		use other LDAP servers to be checked.  Fix from Booker Bense
596838032Speter		of Stanford University.
596938032Speter	When automatically converting from quoted printable to 8bit text do
597038032Speter		not pad bare linefeeds with a space.  Problem noted by Theo
597138032Speter		Nolte of the University of Technology Aachen, Germany.
597238032Speter	Portability:
597338032Speter		Non-standard C compilers may have had a problem compiling
597438032Speter			conf.c due to a standard C external declaration of
597538032Speter			setproctitle().  Problem noted by Ted Roberts of
597638032Speter			Electronic Data Systems.
597738032Speter		AUX: has a broken O_EXCL implementation.  Reported by Jim
597838032Speter			Jagielski of jaguNET Access Services.
597938032Speter		BSD/OS: didn't compile if HASSETUSERCONTEXT was defined.
598038032Speter		Digital UNIX: Digital UNIX (and possibly others) moves
598138032Speter			loader environment variables into the loader memory
598238032Speter			area.  If one of these environment variables (such as
598338032Speter			LD_LIBRARY_PATH) was the last environment variable,
598438032Speter			an invalid memory address would be used by the process
598538032Speter			title routine causing memory corruption.  Problem
598638032Speter			noted by Sam Hartman of Mesa Internet Systems.
598738032Speter		GNU libc: uses an enum for _PC_CHOWN_RESTRICTED which caused
598838032Speter			chownsafe() to always return 0 even if the OS does
598938032Speter			not permit file giveaways.  Problem noted by
599038032Speter			Yasutaka Sumi of The University of Tokyo.
599164562Sgshapiro		IRIX6: Syslog buffer size set to 512 bytes.  Reported by
599238032Speter			Gerald Rinske of Siemens Business Services VAS.
599338032Speter		Linux: Pad process title with NULLs.  Problem noted by
599438032Speter			Jon Lewis of Florida Digital Turnpike.
599538032Speter		SCO OpenServer 5.0: SIOCGIFCONF ioctl call returns an
599638032Speter			incorrect value for the number of interfaces.
599738032Speter			Problem noted by Chris Loelke of JetStream Internet
599838032Speter			Services.
599938032Speter		SINIX: Update for Makefile and syslog buffer size from Gerald
600038032Speter			Rinske of Siemens Business Services VAS.
600138032Speter		Solaris: Make sure HASGETUSERSHELL setting for SunOS is not
600238032Speter			used on a Solaris machine.  Problem noted by
600338032Speter			Stephen Ma of Jtec Pty Limited.
600438032Speter		CONFIG: SINIX: Update from Gerald Rinske of Siemens Business
600538032Speter			Services VAS.
600638032Speter	MAKEMAP: Use a better heuristic for detecting GDBM.
600738032Speter	CONTRIB: expn.pl: Updated version from the author, David Muir Sharnoff.
600838032Speter	OP.ME: Document the F=i mailer flag.  Problem noted by Per Hedeland of
600938032Speter			Ericsson.
601038032Speter
601164562Sgshapiro8.8.7/8.8.7	1997/08/03
601238032Speter	If using Berkeley DB on systems without O_EXLOCK (open a file with
601338032Speter		an exclusive lock already set -- i.e., almost all systems
601438032Speter		except 4.4-BSD derived systems), the initial attempt at
601538032Speter		rebuilding aliases file if the database didn't already
601638032Speter		exist would fail.  Patch from Raymund Will of LST Software
601738032Speter		GmbH.
601838032Speter	Bogus incoming SMTP commands would reset the SMTP conversation.
601938032Speter		Problem noted by Fredrik J�nsson of the Royal Institute
602038032Speter		of Technology, Stockholm.
602138032Speter	Since TCP Wrappers includes setenv(), unsetenv(), and putenv(),
602238032Speter		some environments could give "multiple definitions" for these
602338032Speter		routines during compilation.  If using TCP Wrappers, assume
602438032Speter		that these routines are included as though they were in the
602538032Speter		C library.  Patch from Robert La Ferla.
602638032Speter	When a NEWDB database map was rebuilt at the same time it was being
602738032Speter		used by a queue run, the maps could be left locked for the
602838032Speter		duration of the queue run, causing other processes to hang.
602938032Speter		Problem noted by Kendall Libby of Shore.NET.
603038032Speter	In some cases, NoRecipientAction=add-bcc was being ignored, so the
603138032Speter		mail was passed on without any recipient header.  This could
603238032Speter		cause problems downstream.  Problem noted by Xander Jansen
603338032Speter		of SURFnet ExpertiseCentrum.
603438032Speter	Give error when GDBM is used with sendmail.  GDBM's locking and
603538032Speter		linking of the .dir and .pag files interferes with sendmail's
603638032Speter		locking and security checks.  Problems noted by Fyodor
603738032Speter		Yarochkin of the Kyrgyz Republic FreeNet.
603838032Speter	Don't fsync qf files if SuperSafe option is not set.
603938032Speter	Avoid extra calls to gethostbyname for addresses for which a
604038032Speter		gethostbyaddr found no value.  Also, ignore any returns
604138032Speter		from gethostbyaddr that look like a dotted quad.
604238032Speter	If PTR lookup fails when looking up an SMTP peer, don't tag it as
604338032Speter		"may be forged", since at the network level we pretty much
604438032Speter		have to assume that the information is good.
604538032Speter	In some cases, errors during an SMTP session could leave files
604638032Speter		open or locked.
604738032Speter	Better handling of missing file descriptors (0, 1, 2) on startup.
604890792Sgshapiro	Better handling of non-set-user-ID binaries -- avoids certain obnoxious
604938032Speter		errors during testing.
605038032Speter	Errors in file locking of NEWDB maps had the incorrect file name
605138032Speter		printed in the error message.
605238032Speter	If the AllowBogusHELO option were set and an EHLO with a bad or
605338032Speter		missing parameter were issued, the EHLO behaved like a HELO.
605438032Speter	Load limiting never kicked in for incoming SMTP transactions if the
605543730Speter		DeliveryMode=background and any recipient was an alias or
605638032Speter		had a .forward file.  From Nik Conwell of Boston University.
605738032Speter	On some non-Posix systems, the decision of whether chown(2) permits
605838032Speter		file giveaway was undefined.  From Tetsu Ushijima of the
605938032Speter		Tokyo Institute of Technology.
606038032Speter	Fix race condition that could cause the body of a message to be
606138032Speter		lost (so only the header was delivered).  This only occurs
606238032Speter		on systems that do not use flock(2), and only when a queue
606338032Speter		runner runs during a critical section in another message
606438032Speter		delivery.  Based on a patch from Steve Schweinhart of
606538032Speter		Results Computing.
606638032Speter	If a qf file was found in a mail queue directory that had a problem
606738032Speter		(wrong ownership, bad format, etc.) and the file name was
606838032Speter		exactly MAXQFNAME bytes long, then instead of being tried
606938032Speter		once, it would be tried on every queue run.  Problem noted
607038032Speter		by Bryan Costales of Mercury Mail.
607138032Speter	If the system supports an st_gen field in the status structure,
607238032Speter		include it when reporting that a file has changed after open.
607338032Speter		This adds a new compile flag, HAS_ST_GEN (0/1 option).
607438032Speter		This out to be checked as well as reported, since it is
607538032Speter		theoretically possible for an attacker to remove a file after
607638032Speter		it is opened and replace it with another file that has the
607738032Speter		same i-number, but some filesystems (notably AFS) return
607838032Speter		garbage in this field, and hence always look like the file
607938032Speter		has changed.  As a practical matter this is not a security
608038032Speter		problem, since the files can be neither hard nor soft links,
608138032Speter		and on no filesystem (that I am aware of) is it possible to
608238032Speter		have two files on the same filesystem with the same i-number
608338032Speter		simultaneously.
608438032Speter	Delete the root Makefile from the distribution -- it is only for
608538032Speter		use internally, and does not work at customer sites.
608638032Speter	Fix botch that caused the second MAIL FROM: command in a single
608738032Speter		transaction to clear the entire transaction.  Problem
608838032Speter		noted by John Kennedy of Cal State University, Chico.
608938032Speter	Work properly on machines that have _PATH_VARTMP defined without
609038032Speter		a trailing slash.  (And a pox on vendors that decide to
609138032Speter		ignore the established conventions!)  Problem noted by
609238032Speter		Gregory Neil Shapiro of WPI.
609338032Speter	Internal changes to make it easier to add another protocol family
609438032Speter		(intended for IPv6).  Patches are from John Kennedy of
609538032Speter		CSU Chico.
609638032Speter	In certain cases, 7->8 bit MIME decoding of Base64 text could leave
609738032Speter		an extra space at the beginning of some lines.  Problem
609838032Speter		noted by Charles Karney of Princeton University; fix based
609938032Speter		on a patch from Christophe Wolfhugel.
610038032Speter	Portability:
610138032Speter		Allow _PATH_VENDOR_CF to be set in Makefile for consistency
610238032Speter			with the _Sendmail_ book, 2nd edition.  Note that
610338032Speter			the book is actually wrong: _PATH_SENDMAILCF should
610438032Speter			be used instead.
610538032Speter		AIX 3.x: Include <sys/select.h>.  Patch from Gene Rackow
610638032Speter			of Argonne National Laboratory.
610738032Speter		OpenBSD from from Paul DuBois of the University of Wisconsin.
610838032Speter		RISC/os 4.0 from Paul DuBois of the University of Wisconsin.
610938032Speter		SunOS: Include <memory.h> to fix warning from util.c.  From
611038032Speter			James Aldridge of EUnet Ltd.
611138032Speter		Solaris: Change STDIR (location of status file) to /etc/mail
611238032Speter			in Makefiles.
611338032Speter		Linux, Dynix, UNICOS: Remove -DNDBM and -lgdbm from
611438032Speter			Makefiles.  Use NEWDB on Linux instead.
611538032Speter		NCR MP-RAS 3.x with STREAMware TCP/IP: SIOCGIFNUM ioctl
611638032Speter			exists but behaves differently than other OSes.
611738032Speter			Add SIOCGIFNUM_IS_BROKEN compile flag to get
611838032Speter			around the problem.  Problem noted by Tom Moore of
611938032Speter			NCR Corp.
612038032Speter		HP-UX 9.x: fix compile warnings for old select API.  Problem
612138032Speter			noted by Tom Smith of Digital Equipment Corp.
612238032Speter		UnixWare 2.x: compile warnings on offsetof macro.  Problem
612338032Speter			noted by Tom Good of the Community Access Information
612438032Speter			Resource Network
612538032Speter		SCO 4.2: compile problems caused by a change in the type of
612638032Speter			the "length" parameters passed to accept, getpeername,
612738032Speter			getsockname, and getsockopt.  Adds new compile flags
612838032Speter			SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.  Problem reported
612938032Speter			by Tom Good of St. Vincent's North Richmond Community
613038032Speter			Mental Health Center Residential Services.
613138032Speter		AIX 4: Use size_t for SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.
613238032Speter			Suggested by Brett Hogden of Rochester Gas & Electric
613338032Speter			Corp.
613438032Speter		Linux: avoid compile problem for versions of <setjmp.h> that
613538032Speter			#define both setjmp and longjmp.  Problem pointed out
613638032Speter			by J.R. Oldroyd of TerraNet.
613738032Speter		CONFIG: SCO UnixWare 2.1: Support for OSTYPE(sco-uw-2.1)
613838032Speter			from Christopher Durham of SCO.
613938032Speter		CONFIG: NEXTSTEP: define confCW_FILE to
614038032Speter			/etc/sendmail/sendmail.cw to match the usual
614138032Speter			configuration.  Patch from Dennis Glatting of
614238032Speter			PlainTalk.
614338032Speter	CONFIG: MAILER(fax) called a program that hasn't existed for a long
614438032Speter		time.  Convert to use the HylaFAX 4.0 conventions.  Suggested
614538032Speter		by Harry Styron.
614638032Speter	CONFIG: Improve sample anti-spam rulesets in cf/cf/knecht.mc.  These
614738032Speter		are the rulesets in use on sendmail.org.
614838032Speter	MAKEMAP: give error on GDBM files.
614938032Speter	MAIL.LOCAL: Make error messages a bit more explicit, for example,
615038032Speter		telling more details on what actually changed when "file
615138032Speter		changed after open".
615238032Speter	CONTRIB: etrn.pl: Ignore comments in Fw files.  Support multiple Fw
615338032Speter		files.
615438032Speter	CONTRIB: passwd-to-alias.pl: Handle 8 bit characters and '-'.
615538032Speter	NEW FILES:
615638032Speter		src/Makefiles/Makefile.OpenBSD
615738032Speter		src/Makefiles/Makefile.RISCos.4_0
615838032Speter		test/t_exclopen.c
615938032Speter		cf/ostype/sco-uw-2.1.m4
616038032Speter	DELETED FILES:
616138032Speter		Makefile
616238032Speter
616364562Sgshapiro8.8.6/8.8.6	1997/06/14
616438032Speter	    *************************************************************
616538032Speter	    * The extensive assistance of Gregory Neil Shapiro of WPI	*
616638032Speter	    * in preparing this release is gratefully appreciated.	*
616738032Speter	    * Sun Microsystems has also provided resources toward	*
616838032Speter	    * continued sendmail development.				*
616938032Speter	    *************************************************************
617038032Speter	SECURITY: A few systems allow an open with the O_EXCL|O_CREAT open
617138032Speter		mode bits set to create a file that is a symbolic link that
617238032Speter		points nowhere.  This makes it possible to create a root
617338032Speter		owned file in an arbitrary directory by inserting the symlink
617438032Speter		into a writable directory after the initial lstat(2) check
617538032Speter		determined that the file did not exist.  The only verified
617638032Speter		example of a system having these odd semantics for O_EXCL
617738032Speter		and symbolic links was HP-UX prior to version 9.07.  Most
617838032Speter		systems do not have the problem, since a exclusive create
617938032Speter		of a file disallows symbolic links.  Systems that have been
618038032Speter		verified to NOT have the problem include AIX 3.x, *BSD,
618138032Speter		DEC OSF/1, HP-UX 9.07 and higher, Linux, SunOS, Solaris,
618238032Speter		and Ultrix.  This is a potential exposure on systems that
618338032Speter		have this bug and which do not have a MAILER-DAEMON alias
618438032Speter		pointing at a legitimate account, since this will cause old
618538032Speter		mail to be dropped in /var/tmp/dead.letter.
618638032Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
618738032Speter		if maps or alias files are in world writable directories.
618838032Speter		If your system has alias maps in writable directories, it
618938032Speter		is potentially possible for an attacker to replace the .db
619038032Speter		(or .dir and .pag) files by symbolic links pointing at
619138032Speter		another database; this can be used either to expose
619238032Speter		information (e.g., by pointing an alias file at /etc/spwd.db
619338032Speter		and probing for accounts), or as a denial-of-service attack
619438032Speter		(by trashing the password database).  The fix disallows
619538032Speter		symbolic links entirely when rebuilding alias files or on
619638032Speter		maps that are in writable directories, and always warns on
619738032Speter		writable directories; 8.9 will probably consider writable
619838032Speter		directories to be fatal errors.  This does not represent an
619938032Speter		exposure on systems that have alias files in unwritable
620038032Speter		system directories.
620138032Speter	SECURITY: disallow .forward or :include: files that are links (hard
620238032Speter		or soft) if the parent directory (or any directory in the
620338032Speter		path) is writable by anyone other than the owner.  This is
620438032Speter		similar to the previous case for user files.  This change
620538032Speter		should not affect most systems, but is necessary to prevent
620638032Speter		an attacker who can write the directory from pointing such
620738032Speter		files at other files that are readable only by the owner.
620838032Speter	SECURITY: Tighten safechown rules: many systems will say that they
620938032Speter		have a safe (restricted to root) chown even on files that
621038032Speter		are mounted from another system that allows owners to give
621138032Speter		away files.  The new rules are very strict, trusting file
621238032Speter		ownership only in those few cases where the system has
621338032Speter		been verified to be at least as paranoid as necessary.
621438032Speter		However, it is possible to relax the rules to partially
621538032Speter		trust the ownership if the directory path is not world or
621638032Speter		group writable.  This might allow someone who has a legitimate
621738032Speter		:include: file (referenced directly from /etc/aliases) to
621838032Speter		become another non-root user if the :include: file is in a
621938032Speter		non-writable directory on an NFS-mounted filesystem where
622038032Speter		the local system says that giveaway is denied but it is
622138032Speter		actually permitted.  I believe this to be a very small set
622238032Speter		of cases.  If in doubt, do not point :include: aliases at
622338032Speter		NFS-mounted filesystems.
622438032Speter	SECURITY: When setting a numeric group id using the RunAsUser option
622538032Speter		(e.g., "O RunAsUser=10:20", the group id would not be set.
622638032Speter		Implicit group ids (e.g., "O RunAsUser=mailnull") or alpha
622738032Speter		group ids (e.g., "O RunAsUser=mailuser:mailgrp") worked fine.
622838032Speter		The user id was still set properly.  Problem noted by Uli
622938032Speter		Pralle of the Technical University of Berlin.
623038032Speter	Save the initial gid set for use when checking for if the
623138032Speter		PrivacyOptions=restrictmailq option is set.  Problem reported
623238032Speter		by Wolfgang Ley of DFN-CERT.
623338032Speter	Make 55x reply codes to the SMTP DATA-"." be non-sticky (i.e., a
623438032Speter		failure on one message won't affect future messages to the
623538032Speter		same host).
623638032Speter	IP source route printing had an "off by one" error that would
623738032Speter		affect any options that came after the route option.  Patch
623838032Speter		from Theo de Raadt.
623938032Speter	The "Message is too large" error didn't successfully bounce the error
624038032Speter		back to the sender.  Problem reported by Stephen More of
624138032Speter		PSI; patch from Gregory Neil Shapiro of WPI.
624238032Speter	Change SMTP status code 553 to map into Extended code 5.1.0 (instead
624338032Speter		of 5.1.3); it apparently gets used in multiple ways.
624438032Speter		Suggested by John Myers of Portola Communications.
624538032Speter	Fix possible extra null byte generated during collection if errors
624638032Speter		occur at the beginning of the stream.  Patch contributed by
624738032Speter		Andrey A. Chernov and Gregory Neil Shapiro.
624838032Speter	Code changes to avoid possible reentrant call of malloc/free within
624938032Speter		a signal handler.  Problem noted by John Beck of Sun
625038032Speter		Microsystems.
625138032Speter	Move map initialization to be earlier so that check_relay ruleset
625238032Speter		will have the latest version of the map data.  Problem noted
625338032Speter		by Paul Forgey of Metainfo; patch from Gregory Neil Shapiro.
625438032Speter	If there are fatal errors during the collection phase (e.g., message
625538032Speter		too large) don't send the bogus message.
625638032Speter	Avoid "cannot open xfAAA00000" messages when sending to aliases that
625738032Speter		have errors and have owner- aliases.  Problem noted by Michael
625838032Speter		Barber of MTU; fix from Gregory Neil Shapiro of WPI.
625938032Speter	Avoid null pointer dereference on illegal Boundary= parameters in
626038032Speter		multipart/mixed Content-Type: header.  Problem noted by
626138032Speter		Richard Muirden of RMIT University.
626238032Speter	Always print error messages during newaliases (-bi) even if the
626338032Speter		ErrorMode is not set to "print".  Fix from Gregory Neil
626438032Speter		Shapiro.
626538032Speter	Test mode could core dump if you did a /map lookup in an optional map
626638032Speter		that could not be opened.  Based on a fix from John Beck of
626738032Speter		Sun Microsystems.
626838032Speter	If DNS is misconfigured so that the last MX record tried points to
626938032Speter		a host that does not have an A record, but other MX records
627038032Speter		pointed to something reasonable, don't bounce the message
627138032Speter		with a "host unknown" error.  Note that this should really
627238032Speter		be fixed in the zone file for the domain.  Problem noted by
627338032Speter		Joe Rhett of Navigist, Inc.
627438032Speter	If a map fails (e.g., DNS times out) on all recipient addresses, mark
627538032Speter		the message as having been tried; otherwise the next queue
627638032Speter		run will not realize that this is a second attempt and will
627738032Speter		retry immediately.  Problem noted by Bryan Costales of
627838032Speter		Mercury Mail.
627938032Speter	If the clock is set backwards, and a MinQueueAge is set, no jobs
628038032Speter		will be run until the later setting of the clock is reached.
628138032Speter		"Problem" (I use the term loosely) noted by Eric Hagberg of
628238032Speter		Morgan Stanley.
628338032Speter	If the load average rises above the cutoff threshold (above which
628438032Speter		sendmail will not process the queue at all) during a queue
628538032Speter		run, abort the queue run immediately.  Problem noted by
628638032Speter		Bryan Costales of Mercury Mail.
628738032Speter	The variable queue processing algorithm (based on the message size,
628838032Speter		number of recipients, message precedence, and job age) was
628938032Speter		non-functional -- either the entire queue was processed or
629038032Speter		none of the queue was processed.  The updated algorithm
629138032Speter		does no queue run if a single recipient zero size job will
629238032Speter		not be run.
629338032Speter	If there is a fatal ("panic") message that will cause sendmail to
629438032Speter		die immediately, never hold the error message for future
629538032Speter		printing.
629638032Speter	Force ErrorMode=print in -bt mode so that all errors are printed
629738032Speter		regardless of the setting of the ErrorMode option in the
629838032Speter		configuration file.  Patch from Gregory Neil Shapiro.
629938032Speter	New compile flag HASSTRERROR says that this OS has the strerror(3)
630038032Speter		routine available in one of the libraries.  Use it in conf.h.
630138032Speter	The -m (match only) flag now works on host class maps.
630238032Speter	If class hash or btree maps are rebuilt, sendmail will now detect
630338032Speter		this and reopen the map.  Previously, they could give
630438032Speter		erroneous results during a single message processing
630538032Speter		(but would recover when the next message was received).
630638032Speter	Don't delete zero length queue files when doing queue runs until the
630738032Speter		files are at least ten minutes old.  This avoids a potential
630838032Speter		race condition: the creator creates the qf file, getting back
630938032Speter		a file descriptor.  The queue runner locks it and deletes it
631038032Speter		because it is zero length.  The creator then writes the
631138032Speter		descriptor that is now for a disconnected file, and the
631238032Speter		job goes away.  Based on a suggestion by Bryan Costales.
631338032Speter	When determining the "validated" host name ($_ macro), do a forward
631438032Speter		(A) DNS lookup on the result of the PTR lookup and compare
631538032Speter		results.  If they differ or if the PTR lookup fails, tag the
631638032Speter		address as "may be forged".
631738032Speter	Log null connections (i.e., hosts that connect but do not do any
631838032Speter		substantive activity on the connection before disconnecting;
631938032Speter		"substantive" is defined to be MAIL, EXPN, VRFY, or ETRN.
632038032Speter	Always permit "writes" to /dev/null regardless of the link count.
632138032Speter		This is safe because /dev/null is special cased, and no open
632238032Speter		or write is ever actually attempted.  Patch from Villy Kruse
632338032Speter		of TwinCom.
632438032Speter	If a message cannot be sent because of a 552 (exceeded storage
632538032Speter		allocation) response to the MAIL FROM:<>, and a SIZE= parameter
632638032Speter		was given, don't return the body in the bounce, since there
632738032Speter		is a very good chance that the message will double-bounce.
632838032Speter	Fix possible line truncation if a quoted-printable had an =00 escape
632938032Speter		in the body.  Problem noted by Charles Karney of the Princeton
633038032Speter		Plasma Physics Laboratory.
633138032Speter	Notify flags (e.g., -NSUCCESS) were lost on user+detail addresses.
633238032Speter		Problem noted by Kari Hurtta of the Finnish Meteorological
633338032Speter		Institute.
633438032Speter	The MaxDaemonChildren option wasn't applying to queue runs as
633538032Speter		documented.  Note that this increases the potential denial
633638032Speter		of service problems with this option: an attacker can
633738032Speter		connect many times, and thereby lock out queue runs as well
633838032Speter		as incoming connections.  If you use this option, you should
633938032Speter		run the "sendmail -bd" and "sendmail -q30m" jobs separately
634038032Speter		to avoid this attack.  Failure to limit noted by Matthew
634138032Speter		Dillon of BEST Internet Communications.
634238032Speter	Always give a message in newaliases if alias files cannot be
634338032Speter		opened instead of failing silently.  Suggested by Gregory
634438032Speter		Neil Shapiro.  This change makes the code match the O'Reilly
634538032Speter		book (2nd edition).
634638032Speter	Some older versions of the resolver could return with h_errno == -1
634738032Speter		if no name server could be reached, causing mail to bounce
634838032Speter		instead of queueing.  Treat this like TRY_AGAIN.  Fix from
634938032Speter		John Beck of SunSoft.
635038032Speter	If a :include: file is owned by a user that does not have an entry
635138032Speter		in the passwd file, sendmail could dereference a null pointer.
635238032Speter		Problem noted by Satish Mynam of Sun Microsystems.
635338032Speter	Take precautions to make sure that the SMTP protocol cannot get out
635438032Speter		of sync if (for example) an alias file cannot be opened.
635538032Speter	Fix a possible race condition that can cause a SIGALRM to come in
635638032Speter		immediately after a SIGHUP, causing the new sendmail to die.
635738032Speter	Avoid possible hang on SVr3 systems when doing child reaping.  Patch
635838032Speter		from Villy Kruse of TwinCom.
635938032Speter	Ignore improperly formatted SMTP reply codes.  Previously these were
636038032Speter		partially processed, which could cause confusing error
636138032Speter		returns.
636238032Speter	Fix possible bogus pointer dereference when doing ldapx map lookups
636338032Speter		on some architectures.
636438032Speter	Portability:
636538032Speter		A/UX: from Jim Jagielski of NASA/GSFC.
636638032Speter		glibc: SOCK_STREAM was changed from a #define to an enum,
636738032Speter			thus breaking #ifdef SOCK_STREAM.  Only option seems
636838032Speter			to be to assume SOCK_STREAM if __GNU_LIBRARY__ is
636938032Speter			defined.  Problem reported by A Sun of the University
637038032Speter			of Washington.
637138032Speter		Solaris: use SIOCGIFNUM to get the number of interfaces on
637238032Speter			the system rather than guessing at compile time.
637338032Speter			Patch contributed by John Beck of Sun Microsystems.
637438032Speter		Intel Paragon: from Wendy Lin of Purdue University.
637538032Speter		GNU Hurd: from Miles Bader of the GNU project.
637638032Speter		RISC/os 4.50 from Harlan Stenn of PFCS Corporation.
637738032Speter		ISC Unix: wait never returns if SIGCLD signals are blocked.
637838032Speter			Unfortunately releasing them opens a race condition,
637938032Speter			but there appears to be no fix for this.  Patch from
638038032Speter			Gregory Neil Shapiro.
638138032Speter		BIND 8.1 for IPv6 compatibility from John Kennedy.
638238032Speter		Solaris: a bug in strcasecmp caused characters with the
638338032Speter			high order bit set to apparently randomly match
638438032Speter			letters -- for example, $| (0233) matches "i" and "I".
638538032Speter			Problem noted by John Gregson of the University of
638638032Speter			Cambridge.
638738032Speter		IRIX 6.x: make Makefile.IRIX.6.2 apply to all 6.x.  From
638838032Speter			Kari Hurtta.
638938032Speter		IRIX 6.x: Create Makefiles for systems that claim to be
639038032Speter			IRIX64 but are 6.2 or higher (so use the regular
639138032Speter			IRIX Makefile).
639238032Speter		IRIX 6.x: Fix load average computation on 64 bit kernels.
639338032Speter			Problem noted by Eric Hagberg of Morgan Stanley.
639438032Speter	CONFIG: Some canonification was still done for UUCP-like addresses
639538032Speter		even if FEATURE(nocanonify) was set.  Problem pointed out by
639638032Speter		Brian Candler.
639738032Speter	CONFIG: In some cases UUCP mailers wouldn't properly recognize all
639838032Speter		local names as local.  Problem noted by Jeff Polk of BSDI;
639938032Speter		fix provided by Gregory Neil Shapiro.
640038032Speter	CONFIG: The "local:user" syntax entries in mailertables and other
640138032Speter		"mailer:user" syntax locations returned an incorrect value
640238032Speter		for the $h macro.  Problem noted by Gregory Neil Shapiro.
640338032Speter	CONFIG: Retain "+detail" information when forwarding mail to a
640438032Speter		MAIL_HUB, LUSER_RELAY, or LOCAL_RELAY.  Patch from Philip
640538032Speter		Guenther of Gustavus Adolphus College.
640638032Speter	CONFIG: Make sure user+detail works for FEATURE(virtusertable);
640738032Speter		rules are the same as for aliasing.  Based on a patch from
640838032Speter		Gregory Neil Shapiro.
640938032Speter	CONFIG: Break up parsing rules into several pieces; this should
641038032Speter		have no functional change in this release, but makes it
641138032Speter		possible to have better anti-spam rulesets in the future.
641238032Speter	CONFIG: Disallow double dots in host names to avoid having the
641338032Speter		HostStatusDirectory store status under the wrong name.
641438032Speter		In some cases this can be used as a denial-of-service attack.
641538032Speter		Problem noted by Ron Jarrell of Virginia Tech, patch from
641638032Speter		Gregory Neil Shapiro.
641738032Speter	CONFIG: Don't use F=m (multiple recipients per invocation) for
641838032Speter		MAILER(procmail), but do pass F=Pn9 (include Return-Path:,
641938032Speter		don't include From_, and convert to 8-bit).  Suggestions
642038032Speter		from Kimmo Suominen and Roderick Schertler.
642164562Sgshapiro	CONFIG: Domains under $=M (specified with MASQUERADE_DOMAIN) were
642238032Speter		being masqueraded as though FEATURE(masquerade_entire_domain)
642338032Speter		was specified, even when it wasn't.
642438032Speter	MAIL.LOCAL: Solaris 2.6 has snprintf.  From John Beck of SunSoft.
642538032Speter	MAIL.LOCAL: SECURITY: check to make sure that an attacker doesn't
642638032Speter		"slip in" a symbolic link between the lstat(2) call and the
642738032Speter		exclusive open.  This is only a problem on System V derived
642838032Speter		systems that allow an exclusive create on files that are
642938032Speter		symbolic links pointing nowhere.
643038032Speter	MAIL.LOCAL: If the final mailbox close() failed, the user id was
643138032Speter		not reset back to root, which on some systems would cause
643238032Speter		later mailboxes to fail.  Also, any partial message would
643338032Speter		not be truncated, which could result in repeated deliveries.
643438032Speter		Problem noted by Bruce Evans via Peter Wemm (FreeBSD
643538032Speter		developers).
643638032Speter	MAKEMAP: Handle cases where O_EXLOCK is #defined to be 0.  A similar
643738032Speter		change to the sendmail map code was made in 8.8.3.  Problem
643838032Speter		noted by Gregory Neil Shapiro.
643938032Speter	MAKEMAP: Give warnings on file problems such as map files that are
644090792Sgshapiro		symbolic links; although makemap is not set-user-ID root, it is
644138032Speter		often run as root and hence has the potential for the same
644238032Speter		sorts of problems as alias rebuilds.
644338032Speter	MAKEMAP: Change compilation so that it will link properly on
644438032Speter		NEXTSTEP.
644538032Speter	CONTRIB: etrn.pl: search for Cw as well as Fw lines in sendmail.cf.
644638032Speter		Accept an optional list of arguments following the server
644738032Speter		name for the ETRN arguments to use (instead of $=w).  Other
644838032Speter		miscellaneous bug fixes.  From Christian von Roques via
644938032Speter		John Beck of Sun Microsystems.
645038032Speter	CONTRIB: Add passwd-to-alias.pl, contributed by Kari Hurtta.  This
645138032Speter		Perl script converts GECOS information in the /etc/passwd
645238032Speter		file into aliases, allowing for faster access to full name
645338032Speter		lookups; it is also clever about adding aliases (to root)
645438032Speter		for system accounts.
645538032Speter	NEW FILES:
645638032Speter		src/safefile.c
645738032Speter		cf/ostype/gnuhurd.m4
645838032Speter		cf/ostype/irix6.m4
645938032Speter		contrib/passwd-to-alias.pl
646038032Speter		src/Makefiles/Makefile.IRIX64.6.1
646138032Speter		src/Makefiles/Makefile.IRIX64.6.x
646238032Speter	RENAMED FILES:
646338032Speter		src/Makefiles/Makefile.IRIX.6.2 =>	Makefile.IRIX.6.x
646438032Speter		src/Makefiles/Makefile.IRIX64 =>	Makefile.IRIX64.6.0
646538032Speter
646664562Sgshapiro8.8.5/8.8.5	1997/01/21
646738032Speter	SECURITY: Clear out group list during startup.  Without this, sendmail
646838032Speter		will continue to run with the group permissions of the caller,
646938032Speter		even if RunAsUser is specified.
647038032Speter	SECURITY: Make purgestat (-bH) be root-only.  This is not in response
647138032Speter		to any known attack, but it's best to be conservative.
647238032Speter		Suggested by Peter Wemm of DIALix.
647338032Speter	SECURITY: Fix buffer overrun problem in MIME code that has possible
647438032Speter		security implications.  Patch from Alex Garthwaite of the
647538032Speter		University of Pennsylvania.
647638032Speter	Use of a -f flag with a phrase attached (e.g., "-f 'Full Name <addr>'")
647738032Speter		would truncate the address after "Full".  Although the -f
647838032Speter		syntax is incorrect (since it is in the envelope, it
647938032Speter		shouldn't have comments and full names), the failure mode
648038032Speter		was unnecessarily awful.
648138032Speter	Fix a possible null pointer dereference when converting 8-bit data
648238032Speter		to a 7-bit format.  Problem noted by Jim Hutchins of
648338032Speter		Sandia National Labs and David James of British Telecom.
648438032Speter	Clear out stale state that affected F=9 on SMTP mailers in queue
648538032Speter		runs.  Although this really shouldn't be used (F=9 is for
648638032Speter		final delivery only, and using it on an SMTP mailer makes
648738032Speter		it possible for a message to be converted from 8->7->8->7
648838032Speter		bits several times), it shouldn't have failed with a syserr.
648938032Speter		Problem noted by Eric Hagberg of Morgan Stanley.
649038032Speter	_Really_ fix the multiple :maildrop code in the user database
649138032Speter		module.  Patch from Roy Mongiovi of Georgia Tech.
649238032Speter	Let F lines in the configuration file actually read root-only
649338032Speter		files if the configuration file is safe.  Based on a
649438032Speter		patch from Keith Reynolds of SCO.
649538032Speter	ETRN followed by QUIT would hold the connection open until the queue
649638032Speter		run completed.  Problem noted by Truck Lewis of TDK
649738032Speter		Semiconductor Corp.
649838032Speter	It turns out that despite the documentation, the TCP wrappers library
649938032Speter		does _not_ log rejected connections.  Do the logging ourselves.
650038032Speter		Problem noted by Fletcher Mattox of the University of Texas
650138032Speter		at Austin.
650238032Speter	If sendmail finds a qf file in its queue directory that is an unknown
650338032Speter		version (e.g., when backing out to an old version), the
650438032Speter		error is reported on every queue run.  Change it to only
650538032Speter		give the error once (and rename the qf => Qf).  Patch from
650638032Speter		William A. Gianopoulos of Raytheon Company.
650738032Speter	Start a new session when doing background delivery; currently it
650838032Speter		ignored signals but didn't start a new signal, that caused
650938032Speter		some problems if a background process tried to send mail
651038032Speter		under certain circumstances.  Problem noted by Eric Hagberg
651138032Speter		of Morgan Stanley; fix from Kari Hurtta.
651238032Speter	Simplify test for skipping a queue run to just check if the current
651338032Speter		load average is >= the queueing load average.  Previously
651438032Speter		the check factored in some other parameters that caused it
651538032Speter		to essentially never skip the queue run.  Patch from Bryan
651638032Speter		Costales.
651738032Speter	If the SMTP server is running in "nullserver" mode (that is, it is
651838032Speter		rejecting all commands), start sleeping after MAXBADCOMMAND
651938032Speter		(25) commands; this helps prevent a bad guy from putting
652038032Speter		you into a tight loop as a denial-of-service attack.  Based
652138032Speter		on an e-mail conversation with Brad Knowles of AOL.
652238032Speter	Slow down when too many "light weight" commands have been issued;
652338032Speter		this helps prevent a class of denial-of-service attacks.
652438032Speter		The current values and defaults are:
652538032Speter		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
652638032Speter		    MAXHELOCOMMANDS	3	HELO, EHLO
652738032Speter		    MAXVRFYCOMMANDS	6	VRFY, EXPN
652838032Speter		    MAXETRNCOMMANDS	8	ETRN
652938032Speter		These will probably be configurable in a future release.
653038032Speter	On systems that have uid_t typedefed to be an unsigned short, programs
653138032Speter		that had the F=S flag and no U= equate would be invoked with
653238032Speter		the real uid set to 65535 rather than being left unchanged.
653338032Speter	In some cases, NOTIFY=NEVER was not being honored.  Problem noted
653438032Speter		by Steve Hubert of the University of Washington, Seattle.
653538032Speter	Mail that was Quoted-Printable encoded and had a soft line break on
653638032Speter		the last line (i.e., an incomplete continuation) had the last
653738032Speter		line dropped.  Since this appears to be illegal it isn't
653838032Speter		clear what to do with it, but flushing the last line seems
653938032Speter		to be a better "fail soft" approach.  Based on a patch from
654038032Speter		Eric Hagberg.
654138032Speter	If AllowBogusHELO and PrivacyOptions=needmailhelo are both set, a
654238032Speter		bogus HELO command still causes the "Polite people say HELO
654338032Speter		first" error message.  Problem pointed out by Chris Thomas
654438032Speter		of UCLA; patch from John Beck of SunSoft.
654538032Speter	Handle "sendmail -bp -qSfoobar" properly if restrictqrun is set
654671345Sgshapiro		in PrivacyOptions.  The -q shouldn't turn this command off.
654771345Sgshapiro		Problem noted by Murray Kucherawy of Pacific Bell Internet;
654871345Sgshapiro		based on a patch from Gregory Neil Shapiro of WPI.
654938032Speter	Don't consider SMTP reply codes 452 or 552 (exceeded storage allocation)
655038032Speter		in a DATA transaction to be sticky; these can occur because
655138032Speter		a message is too large, and smaller messages should still go
655238032Speter		through.  Problem noted by Matt Dillon of Best Internet
655338032Speter		Communications.
655438032Speter	In some cases bounces were saved in /var/tmp/dead.letter even if they
655538032Speter		had been successfully delivered to the envelope sender.
655638032Speter		Problem noted Eric Hagberg of Morgan Stanley; solution from
655738032Speter		Gregory Neil Shapiro of WPI.
655838032Speter	Give better diagnostics on long alias lines.  Based on code contributed
655938032Speter		by Patrick Gosling of the University of Cambridge.
656038032Speter	Increase the number of virtual interfaces that will be probed for
656138032Speter		alternate names.  Problem noted by Amy Rich of Shore.Net.
656238032Speter	PORTABILITY:
656338032Speter		UXP/DS V20L10 for Fujitsu DS/90: Makefile patches from
656438032Speter			Toshiaki Nomura of Fujitsu Limited.
656538032Speter		SunOS with LDAP support: compile problems with struct timeval.
656638032Speter			Patch from Nick Cuccia of TCSI Corporation.
656738032Speter		SCO: from Keith Reynolds of SCO.
656838032Speter		Solaris: kstat load average computation wasn't being used.
656938032Speter			Fixes from Michael Ju. Tokarev of Telecom Service, JSC
657038032Speter			(Moscow).
657138032Speter		OpenBSD: from Jason Downs of teeny.org.
657238032Speter		Altos System V: from Tim Rice.
657338032Speter		Solaris 2.5: from Alan Perry of SunSoft.
657438032Speter		Solaris 2.6: from John Beck of SunSoft.
657538032Speter		Harris Nighthawk PowerUX (mh6000 box): from Bob Miorelli
657638032Speter			of Pratt & Whitney <miorelli@pweh.com>.
657738032Speter	CONFIG: It seems that I hadn't gotten the Received: line syntax
657838032Speter		_just_right_ yet.  Tweak it again.  I'll omit the names
657938032Speter		of the "contributors" (quantity two) in this one case.
658038032Speter		As of now, NO MORE DISCUSSION about the syntax of the
658138032Speter		Received: line.
658238032Speter	CONFIG: Although FEATURE(nullclient) uses EXPOSED_USER (class $=E),
658338032Speter		it never inserts that class into the output file.  Fix it
658438032Speter		so it will honor EXPOSED_USER but will _not_ include root
658538032Speter		automatically in this class.  Problem noted by Ronan KERYELL
658638032Speter		of Centre de Recherche en Informatique de l'�cole Nationale
658738032Speter		Sup�rieure des Mines de Paris (CRI-ENSMP).
658838032Speter	CONFIG: Clean up handling of "local:" syntax in relay specifications
658938032Speter		such as LUSER_RELAY.  This change permits the following
659038032Speter		syntaxes:  ``local:'' will send to the same user on the
659138032Speter		local machine (e.g., in a mailertable entry for "host",
659238032Speter		``local:'' will cause an address addressed to user@host to
659338032Speter		go to user on the local machone).  ``local:user'' will send
659438032Speter		to the named user on the local machine.  ``local:user@host''
659538032Speter		is equivalent to ``local:user'' (the host is ignored).  In
659638032Speter		all cases, the original user@host is passed in $@ (i.e., the
659738032Speter		detail information).  Inspired by a report from Michael Fuhr.
659838032Speter	CONFIG: Strip quotes from the first word of an "error:" host
659938032Speter		indication.  This lets you set (for example) the LUSER_RELAY
660038032Speter		to be ``error:\"5.1.1\" Your Message Here''.  Note the use
660138032Speter		of the \" so that the resulting string is properly quoted.
660238032Speter		Problem noted by Gregory Neil Shapiro of WPI.
660338032Speter	OP.ME: documentation was inconsistent about whether sendmail did a
660438032Speter		NOOP or a RSET to probe the connection (it does a RSET).
660538032Speter		Inconsistency noted by Deeran Peethamparam.
660638032Speter	OP.ME: insert additional blank pages so it will print properly on
660738032Speter		a duplex printer.  From Matthew Black of Cal State University,
660838032Speter		Long Beach.
660938032Speter
661064562Sgshapiro8.8.4/8.8.4	1996/12/02
661138032Speter	SECURITY: under some circumstances, an attacker could get additional
661238032Speter		permissions by hard linking to files that were group
661338032Speter		writable by the attacker.  The solution is to disallow any
661438032Speter		files that have hard links -- this will affect .forward,
661538032Speter		:include:, and output files.  Problem noted by Terry
661638032Speter		Kyriacopoulos of Interlog Internet Services.  As a
661738032Speter		workaround, set UnsafeGroupWrites -- always a good idea.
661838032Speter	SECURITY: the TryNullMXList (w) option should not be safe -- if it
661938032Speter		is, it is possible to do a denial-of-service attack on
662038032Speter		MX hosts that rely on the use of the null MX list.  There
662138032Speter		is no danger if you have this option turned off (the default).
662238032Speter		Problem noted by Dan Bernstein.  Also, make the DontInitGroups
662338032Speter		unsafe.  I know of no specific attack against this, although
662438032Speter		a denial-of-service attack is probably possible, but in theory
662538032Speter		you should not be able to safely tweak anything that affects
662638032Speter		the permissions that are used when mail is delivered.
662738032Speter	Purgestat could go into an infinite loop if one of the host status
662838032Speter		directories somehow became empty.  Problem noted by Roy
662938032Speter		Mongiovi of Georgia Tech.
663038032Speter	Processes got "lost" when counting children due to a race condition.
663138032Speter		This caused "proc_list_probe: lost pid" messages to be logged.
663238032Speter		Problem noted by several people.
663338032Speter	On systems with System V SIGCLD child signal semantics (notably AIX
663438032Speter		and HP-UX), mail transactions would print the message "451
663538032Speter		SMTP-MAIL: lost child: No child processes".  Problem noted
663638032Speter		by several people.
663738032Speter	Miscellaneous compiler warnings on picky compilers (or when setting
663838032Speter		gcc to high warning levels).  From Tom Moore of NCR Corp.
663938032Speter	SMTP protocol errors, and most errors on MAIL FROM: lines should
664038032Speter		not be persistent between runs, since they are based on the
664138032Speter		message rather than the host.  Problem noted by Matt Dillon
664238032Speter		of Best Internet Communications.
664338032Speter	The F=7 flag was ignored on SMTP mailers.  Problem noted by Tom Moore
664438032Speter		of NCR (a.k.a., AT&T Global Information Solutions).
664538032Speter	Avoid the possibility of having a child daemon run to completion
664638032Speter		(including closing the SMTP socket) before the parent has
664738032Speter		had a chance to close the socket; this can cause the parent
664838032Speter		to hang for a long time waiting for the socket to drain.
664938032Speter		Patch from Don Lewis of TDK Semiconductor.
665038032Speter	If the fork() failed in a queue run, the queue runners would not be
665138032Speter		rescheduled (so queue runs would stop).  Patch from Don Lewis.
665238032Speter	Some error conditions in ETRN could cause output without an SMTP
665338032Speter		status code.  Problem noted by Don Lewis.
665438032Speter	Multiple :maildrop addresses in the user database didn't work properly.
665538032Speter		Patch from Roy Mongiovi of Georgia Tech.
665638032Speter	Add ".db" automatically onto any user database spec that does not
665738032Speter		already have it; this is for consistency with makemap, the
665838032Speter		K line, and the documentation.  Inconsistency pointed out
665938032Speter		by Roy Mongiovi.
666038032Speter	Allow sendmail to be properly called in nohup mode.  Patch from
666138032Speter		Kyle Jones of UUNET.
666238032Speter	Change ETRN to ignore but still update host status files; previously
666338032Speter		it would ignore them and not save the updated status, which
666438032Speter		caused stale information to be maintained.  Based on a patch
666538032Speter		from Christopher Davis of Kapor Enterprises Inc.  Also, have
666638032Speter		ETRN ignore the MinQueueAge option.
666738032Speter	Patch long term host status to recover more gracefully from an empty
666838032Speter		host status file condition.  Patch from NAKAMURA Motonori
666938032Speter		of Kyoto University.
667038032Speter	Several patches to signal handling code to fix potential race
667138032Speter		conditions from Don Lewis.
667238032Speter	Make it possible to compile with -DDAEMON=0 (previously it had some
667338032Speter		compile errors).  This turns DAEMON, QUEUE, and SMTP into
667438032Speter		0/1 compilation flags.  Note that DAEMON is an obsolete
667538032Speter		compile flag; use NETINET instead.  Solution based on a
667638032Speter		patch from Bryan Costales.
667738032Speter	PORTABILITY FIXES:
667838032Speter		AIX4: getpwnam() and getpwuid() do a sequential scan of the
667938032Speter			/etc/security/passwd file when called as root.  This
668038032Speter			is very slow on some systems.  To speed it up, use the
668138032Speter			(undocumented) _getpw{nam,uid}_shadow() routines.
668238032Speter			Patch from Chris Thomas of UCLA/OAC Systems Group.
668338032Speter		SCO 5.x: include -lprot in the Makefile.  Patch from Bill
668438032Speter			Glicker of Burrelle's Information Service.
668538032Speter		NEWS-OS 4.x: need a definition for MODE_T to compile.  Patch
668638032Speter			from Makoto MATSUSHITA of Osaka University.
668738032Speter		SunOS 4.0.3: compile problems.  Patches from Andrew Cole of
668838032Speter			Leeds University and SASABE Tetsuro of the University
668938032Speter			of Tokyo.
669038032Speter		DG/UX 5.4.4.11 from Brian J. Murrell of InterLinx Support
669138032Speter			Services, Inc.
669238032Speter		Domain/OS from Don (Truck) Lewis of TDK Semiconductor Corp.
669338032Speter			I believe this to have only been a problem if you
669438032Speter			compiled with -DUSE_VENDOR_CF_PATH -- another reason
669538032Speter			to stick with /etc/sendmail.cf as your One True Path.
669638032Speter		Digital UNIX (OSF/1 on Alpha) load average computation from
669738032Speter			Martin Laubach of the Technischen Universit�t Wien.
669838032Speter	CONFIG: change default Received: line to be multiple lines rather
669938032Speter		than one long one.  By popular demand.
670038032Speter	MAIL.LOCAL: warnings weren't being logged on some systems.  Patch
670138032Speter		from Jerome Berkman of U.C. Berkeley.
670238032Speter	MAKEMAP: be sure to zero hinfo to avoid cruft that can cause runs
670338032Speter		to take a very long time.  Problem noted by Yoshiro YONEYA
670438032Speter		of NTT Software Corporation.
670538032Speter	CONTRIB: add etrn.pl, contributed by John Beck.
670638032Speter	NEW FILES:
670738032Speter		contrib/etrn.pl
670838032Speter
670964562Sgshapiro8.8.3/8.8.3	1996/11/17
671038032Speter	SECURITY: it was possible to get a root shell by lying to sendmail
671138032Speter		about argv[0] and then sending it a signal.  Problem noted
671238032Speter		by Leshka Zakharoff <leshka@leshka.chuvashia.su> on the
671338032Speter		best-of-security list.
671438032Speter	Log sendmail binary version number in "Warning: .cf version level
671538032Speter		(%d) exceeds program functionality (%d) message" -- this
671638032Speter		should make it clearer to people that they are running
671738032Speter		the wrong binary.
671838032Speter	Fix a problem that occurs when you open an SMTP connection and then
671938032Speter		do one or more ETRN commands followed by a MAIL command; at
672038032Speter		the end of the DATA phase sendmail would incorrectly report
672138032Speter		"451 SMTP-MAIL: lost child: No child processes".  Problem
672238032Speter		noted by Eric Bishop of Virginia Tech.
672338032Speter	When doing text-based host canonification (typically /etc/hosts
672438032Speter		lookup), a null host name would match any /etc/hosts entry
672538032Speter		with space at the end of the line.  Problem noted by Steve
672638032Speter		Hubert of the University of Washington, Seattle.
672738032Speter	7 to 8 bit BASE64 MIME conversions could duplicate bits of text.
672838032Speter		Problem reported by Tom Smith of Digital Equipment Corp.
672938032Speter	Increase the size of the DNS answer buffer -- the standard UDP packet
673038032Speter		size PACKETSZ (512) is not sufficient for some nameserver
673138032Speter		answers containing very many resource records.  The resolver
673238032Speter		may also switch to TCP and retry if it detects UDP packet
673338032Speter		overflow.  Also, allow for the fact that the resolver
673438032Speter		routines res_query and res_search return the size of the
673538032Speter		*un*truncated answer in case the supplied answer buffer it
673638032Speter		not big enough to accommodate the entire answer.  Patch from
673738032Speter		Eric Wassenaar.
673838032Speter	Improvements to MaxDaemonChildren code.  If you think you have too
673938032Speter		many children, probe the ones you have to verify that they
674038032Speter		are still around.  Suggested by Jared Mauch of CICnet, Inc.
674138032Speter		Also, do this probe before growing the vector of children
674238032Speter		pids; this previously caused the vector to grow indefinitely
674338032Speter		due to a race condition.  Problem reported by Kyle Jones of
674438032Speter		UUNET.
674538032Speter	On some architectures, <db.h> (from the Berkeley DB library) defines
674638032Speter		O_EXLOCK to zero; this fools the map compilation code into
674738032Speter		thinking that it can avoid race conditions by locking on open.
674838032Speter		Change it to check for O_EXLOCK non-zero.  Problem noted by
674938032Speter		Leif Erlingsson of Data Lege.
675038032Speter	Always call res_init() on startup (if compiled in, of course) to
675138032Speter		allow the sendmail.cf file to tweak resolver flags; without
675238032Speter		it, flag tweaks in ResolverOptions are ignored.  Patch from
675338032Speter		Andrew Sun of Merrill Lynch.
675438032Speter	Improvements to host status printing code.  Suggested by Steve Hubert
675538032Speter		of the University of Washington, Seattle.
675638032Speter	Change MinQueueAge option processing to do the check for the job age
675738032Speter		when reading the queue file, rather than at the end; this
675838032Speter		avoids parsing the addresses, which can do DNS lookups.
675938032Speter		Problem noted by John Beck of InReference, Inc.
676038032Speter	When MIME was being 7->8 bit decoded, "From " lines weren't being
676138032Speter		properly escaped.  Problem noted by Peter Nilsson of the
676238032Speter		University of Linkoping.
676338032Speter	In some cases, sendmail would retain root permissions during queue
676438032Speter		runs even if RunAsUser was set.  Problem noted by Mark
676538032Speter		Thomas of Mark G. Thomas Consulting.
676638032Speter	If the F=l flag was set on an SMTP mailer to indicate that it is
676738032Speter		actually local delivery, and NOTIFY=SUCCESS is specified in
676838032Speter		the envelope, and the receiving SMTP server speaks DSN, then
676938032Speter		the DSN would be both generated locally and propagated to the
677038032Speter		other end.
677138032Speter	The U= mailer field didn't correctly extract the group id if the
677238032Speter		user id was numeric.  Problem noted by Kenneth Herron of
677338032Speter		MCI Telecommunications Communications.
677438032Speter	If a message exceeded the fixed maximum size on input, the body of
677538032Speter		the message was included in the bounce.  Note that this did
677638032Speter		not occur if it exceeded the maximum _output_ size.  Problem
677738032Speter		reported by Kyle Jones of UUNET.
677838032Speter	PORTABILITY FIXES:
677938032Speter		AIX4: 4.1 doesn't have a working setreuid(2); change the
678038032Speter			AIX4 defines to use seteuid(2) instead, which
678138032Speter			works on 4.1 as well as 4.2.  Problem noted by
678238032Speter			H�kan Lindholm of interAF, Sweden.
678338032Speter		AIX4: use tzname[] vector to determine time zone name.
678438032Speter			Patch from NAKAMURA Motonori of Kyoto University.
678538032Speter		MkLinux: add Makefile.Linux.ppc and OSTYPE(mklinux) support.
678638032Speter			Contributed by Paul DuBois <dubois@primate.wisc.edu>.
678738032Speter		Solaris: kstat(3k) support for retrieving the load average.
678838032Speter			This adds the LA_KSTAT definition for LA_TYPE.
678938032Speter			The outline of the implementation was contributed
679038032Speter			by Michael Tokarev of Telecom Service, JSC, Moscow.
679138032Speter		HP-UX 10.0 gripes about the (perfectly legal!) forward
679238032Speter			declaration of struct rusage at the top of conf.h;
679338032Speter			change it to only be included if you are using gcc,
679438032Speter			which is apparently the only compiler that requires
679538032Speter			it in the first place.  Problem noted by Jeff
679638032Speter			Earickson of Colby College.
679738032Speter		IRIX: don't default to using gcc.  IRIX is a civilized
679838032Speter			operating system that comes with a decent compiler
679938032Speter			by default.  Problem noted by Barry Bouwsma and
680038032Speter			Kari Hurtta.
680138032Speter	CONFIG: specify F=9 as default in FEATURE(local_procmail) for
680238032Speter		consistency with other local mailers.  Inconsistency
680338032Speter		pointed out by Teddy Hogeborn <teddy@fukt.hk-r.se>.
680438032Speter	CONFIG: if the "limited best mx" feature is used (to reduce DNS
680538032Speter		overhead) as part of the bestmx_is_local feature, the
680638032Speter		domain part was dropped from the name.  Patch from Steve
680738032Speter		Hubert of the University of Washington, Seattle.
680838032Speter	CONFIG: catch addresses of the form "user@.dom.ain"; these could
680938032Speter		end up being translated to the null host name, which would
681038032Speter		return any entry in /etc/hosts that had a space at the end
681138032Speter		of the line.  Problem noted by Steve Hubert of the
681238032Speter		University of Washington, Seattle.
681338032Speter	CONFIG: add OSTYPE(aix4).  From Michael Sofka of Rensselaer
681438032Speter		Polytechnic Institute.
681538032Speter	MAKEMAP: tweak hash and btree parameters for better performance.
681638032Speter		Patch from Matt Dillon of Best Internet Communications.
681738032Speter	NEW FILES:
681838032Speter		src/Makefiles/Makefile.Linux.ppc
681938032Speter		cf/ostype/aix4.m4
682038032Speter		cf/ostype/mklinux.m4
682138032Speter
682264562Sgshapiro8.8.2/8.8.2	1996/10/18
682338032Speter	SECURITY: fix a botch in the 7-bit MIME patch; the previous patch
682438032Speter		changed the code but didn't fix the problem.
682538032Speter	PORTABILITY FIXES:
682638032Speter		Solaris: Don't use the system getusershell(3); it can
682738032Speter			apparently corrupt the heap in some circumstances.
682838032Speter			Problem found by Ken Pizzini of Spry, Inc.
682938032Speter	OP.ME: document several mailer flags that were accidentally omitted
683038032Speter		from this document.  These flags were F=d, F=j, F=R, and F=9.
683138032Speter	CONFIG: no changes.
683238032Speter
683364562Sgshapiro8.8.1/8.8.1	1996/10/17
683438032Speter	SECURITY: unset all environment variables that the resolver will
683538032Speter		examine during queue runs and daemon mode.  Problem noted
683638032Speter		by Dan Bernstein of the University of Illinois at Chicago.
683738032Speter	SECURITY: in some cases an illegal 7-bit MIME-encoded text/plain
683838032Speter		message could overflow a buffer if it was converted back
683938032Speter		to 8 bits.  This caused core dumps and has the potential
684038032Speter		for a remote attack.  Problem first noted by Gregory Shapiro
684138032Speter		of WPI.
684238032Speter	Avoid duplicate deliveries of error messages on systems that don't
684338032Speter		have flock(2) support.  Patch from Motonori Nakamura of
684438032Speter		Kyoto University.
684538032Speter	Ignore null FallBackMX (V) options.  If this option is null (as
684638032Speter		opposed to undefined) it can cause "null signature" syserrs
684738032Speter		on illegal host names.
684838032Speter	If a Base64 encoded text/plain message has no trailing newline in
684938032Speter		the encoded text, conversion back to 8 bits will drop the
685038032Speter		final line.  Problem noted by Pierre David.
685138032Speter	If running with a RunAsUser, sendmail would give bogus "cannot
685238032Speter		setuid" (or seteuid, or setreuid) messages on some systems.
685338032Speter		Problem pointed out by Jordan Mendelson of Web Services, Inc.
685438032Speter	Always print error messages in -bv mode -- previously, -bv would
685538032Speter		be absolutely silent on errors if the error mode was sent
685638032Speter		to (say) mail-back.  Problem noted by Kyle Jones of UUNET.
685738032Speter	If -qI/R/S is set (or the ETRN command is used), ignore all long
685838032Speter		term host status.  This is necessary because it is common
685938032Speter		to do this when you know a host has just come back up.
686038032Speter	Disallow duplicate HELO/EHLO commands as required by RFC 1651 section
686138032Speter		4.2.  Excessive permissiveness noted by Lee Flight of the
686238032Speter		University of Leicester.
686338032Speter	If a service (such as NIS) is specified as the last entry in the
686438032Speter		service switch, but that service is not compiled in, sendmail
686538032Speter		would return a temporary failure when an entry was not found
686638032Speter		in the map.  This caused the message to be queued instead of
686738032Speter		bouncing immediately.  Problem noted by Harry Edmon of the
686838032Speter		University of Washington.
686938032Speter	PORTABILITY FIXES:
687038032Speter		Solaris 2.3 had compilation problems in conf.c.  Several
687138032Speter			people pointed this out.
687238032Speter		NetBSD from Charles Hannum of MIT.
687338032Speter		AIX4 improvements based on info from Steve Bauer of South
687438032Speter			Dakota School of Mines & Technology.
687538032Speter	CONFIG: ``error:code message'' syntax was broken in virtusertable.
687638032Speter		Patch from Gil Kloepfer Jr.
687738032Speter	CONFIG: if FEATURE(nocanonify) was specified, hosts in $=M (set
687838032Speter		using MASQUERADE_DOMAIN) were not masqueraded unless they
687938032Speter		were also in $=w.  Problem noted by Zoltan Basti of
688038032Speter		Softec.
688138032Speter	MAIL.LOCAL: patches to compile and link cleanly on AIX.  Based
688238032Speter		on a patch from Eric Hagberg of Morgan Stanley.
688338032Speter	MAIL.LOCAL: patches to compile on NEXTSTEP.  From Patrick Nolan
688438032Speter		of Stanford via Robert La Ferla.
688538032Speter
688664562Sgshapiro8.8.0/8.8.0	1996/09/26
688738032Speter	Under some circumstances, Bcc: headers would not be properly
688838032Speter		deleted.  Pointed out by Jonathan Kamens of OpenVision.
688938032Speter	Log a warning if the sendmail daemon is invoked without a full
689038032Speter		pathname, which prevents "kill -1" from working.  I was
689138032Speter		urged to put this in by Andrey A. Chernov of DEMOS (Russia).
689238032Speter	Fix small buffer overflow.  Since the data in this buffer was not
689338032Speter		read externally, there was no security problem (and in fact
689438032Speter		probably wouldn't really overflow on most compilers).  Pointed
689538032Speter		out by KIZU takashi of Osaka University.
689638032Speter	Fix problem causing domain literals such as [1.2.3.4] to be ignored
689738032Speter		if a FallbackMXHost was specified in the configuration file
689838032Speter		-- all mail would be sent to the fallback even if the original
689938032Speter		host was accessible.  Pointed out by Munenari Hirayama of
690038032Speter		NSC (Japan).
690138032Speter	A message that didn't terminate with a newline would (sometimes) not
690238032Speter		have the trailing "." added properly in the SMTP dialogue,
690338032Speter		causing SMTP to hang.  Patch from Per Hedeland of Ericsson.
690438032Speter	The DaemonPortOptions suboption to bind to a particular address was
690538032Speter		incorrect and nonfunctional due to a misunderstanding of the
690638032Speter		semantics of binding on a passive socket.  Patch from
690738032Speter		NIIBE Yutaka of Mitsubishi Research Institute.
690838032Speter	Increase the number of MX hosts for a single name to 100 to better
690938032Speter		handle the truly huge service providers such as AOL, which
691038032Speter		has 13 at the moment (and climbing).  In order to avoid
691138032Speter		trashing memory, the buffer for all names has only been
691238032Speter		slightly increased in size, to 12.8K from 10.2K -- this means
691338032Speter		that if a single name had 100 MX records, the average size
691438032Speter		of those records could not exceed 128 bytes.  Requested by
691538032Speter		Brad Knowles of America On Line.
691638032Speter	Restore use of IDENT returns where the OSTYPE field equals "OTHER".
691738032Speter		Urged by Dan Bernstein of U.C. Berkeley.
691838032Speter	Print q_statdate and q_specificity in address structure debugging
691938032Speter		printout.
692038032Speter	Expand MCI structure flag bits for debugging output.
692138032Speter	Support IPv6-style domain literals, which can have colons between
692238032Speter		square braces.
692338032Speter	Log open file descriptors for the "cannot dup" messages in deliver();
692438032Speter		this is an attempt to track down a bug that one person seems
692538032Speter		to be having (it may be a Solaris bug!).
692638032Speter	DSN NOTIFY parameters were not properly propagated across queue runs;
692738032Speter		this caused the NOTIFY info to sometimes be lost.  Problem
692838032Speter		pointed out by Claus Assmann of the
692938032Speter		Christian-Albrechts-University of Kiel.
693038032Speter	The statistics gathered in the sendmail.st file were too high; in
693138032Speter		some cases failures (e.g., user unknown or temporary failure)
693238032Speter		would count as a delivery as far as the statistics were
693338032Speter		concerned.  Problem noted by Tom Moore of AT&T GIS.
693438032Speter	Systems that don't have flock() would not send split envelopes in
693538032Speter		the initial run.  Problem pointed out by Leonard Zubkoff of
693638032Speter		Dandelion Digital.
693738032Speter	Move buffer overflow checking -- these primarily involve distrusting
693838032Speter		results that may come from NIS and DNS.
693938032Speter	4.4-BSD-derived systems, including FreeBSD, NetBSD, and BSD/OS didn't
694038032Speter		include <paths.h> and hence had the wrong pathnames for a few
694138032Speter		things like /var/tmp.  Reported by Matthew Green.
694238032Speter	Conditions were reversed for the Priority: header, resulting in all
694338032Speter		values being interpreted as non-urgent except for non-urgent,
694438032Speter		which was interpreted as normal.  Patch from Bryan Costales.
694538032Speter	The -o (optional) flag was being ignored on hash and btree maps
694638032Speter		since 8.7.2.  Fix from Bryan Costales.
694738032Speter	Content-Types listed in class "q" will always be encoded as
694838032Speter		Quoted-Printable (or more accurately, will never be encoded
694938032Speter		as base64).  The class can have primary types (e.g., "text")
695038032Speter		or full types (e.g., "text/plain").  Based on a suggestion by
695138032Speter		Marius Olafsson of the University of Iceland.
695238032Speter	Define ${envid} to be the original envelope id (from the ESMTP DSN
695338032Speter		dialogue) so it can be passed to programs in mailers.
695438032Speter	Define ${bodytype} to be the body type (from the -B flag or the
695538032Speter		BODY= ESMTP parameter) so it can be passed to programs in
695638032Speter		mailers.
695738032Speter	Cause the VRFY command to return 252 instead of 250 unless the F=q
695838032Speter		flag is set in the mailer descriptor.  Suggested by John
695938032Speter		Myers of CMU.
696038032Speter	Implement ESMTP ETRN command to flush the queue for a specific host.
696138032Speter		The command takes a host name; data for that host is
696238032Speter		immediately (and asynchronously) flushed.  Because this shares
696338032Speter		the -qR implementation, other hosts may be attempted, but
696438032Speter		there should be no security implications.  Implementation
696538032Speter		from John Beck of InReference, Inc.  See RFC 1985 for details.
696638032Speter	Add three new command line flags to pass in DSN parameters: -V envid
696738032Speter		(equivalent to ENVID=envid on the MAIL command), -R ret
696838032Speter		(equivalent to RET=ret on the MAIL command), and -Nnotify
696938032Speter		(equivalent to NOTIFY=notify on the RCPT command).  Note
697038032Speter		that the -N flag applies to all recipients; there is no way
697138032Speter		to specify per-address notifications on the command line,
697238032Speter		nor is there an equivalent for the ORCPT= per-address
697338032Speter		parameter.
697438032Speter	Restore LogLevel option to be safe (it can only be increased);
697538032Speter		apparently I went into paranoid mode between 8.6 and 8.7
697638032Speter		and made it unsafe.  Pointed out by Dabe Murphy of the
697738032Speter		University of Maryland.
697838032Speter	New logging on log level 15:  all SMTP traffic.  Patches from
697938032Speter		Andrew Gross of San Diego Supercomputer Center.
698038032Speter	NetInfo property value searching code wasn't stopping when it found
698138032Speter		a match.  This was causing the wrong values to be found (and
698238032Speter		had a memory leak).  Found by Bastian Schleuter of TU-Berlin.
698338032Speter	Add new F=0 (zero) mailer flag to turn off MX lookups.  It was pointed
698438032Speter		out by Bill Wisner of Electronics for Imaging that you can't
698538032Speter		use the bracket address form for the MAIL_HUB macro, since
698638032Speter		that causes the brackets to remain in the envelope recipient
698738032Speter		address used for delivery.  The simple fix (stripping off the
698838032Speter		brackets in the config file) breaks the use of IP literal
698938032Speter		addresses.  This flag will solve that problem.
699038032Speter	Add MustQuoteChars option.  This is a list of characters that must
699138032Speter		be quoted if they are found in the phrase part of an address
699238032Speter		(that is, the full name part).  The characters @,;:\()[] are
699338032Speter		always in this list and cannot be removed.  The default is
699438032Speter		this list plus . and ' to match RFC 822.
699538032Speter	Add AllowBogusHELO option; if set, sendmail will allow HELO commands
699638032Speter		that do not include a host name for back compatibility with
699738032Speter		some stupid SMTP clients.  Setting this violates RFC 1123
699838032Speter		section 5.2.5.
699938032Speter	Add MaxDaemonChildren option; if this is set, sendmail will start
700038032Speter		rejecting connections if it has more than this many
700138032Speter		outstanding children accepting mail.  Note that you may
700238032Speter		see more processes than this because of outgoing mail; this
700338032Speter		is for incoming connections only.
700438032Speter	Add ConnectionRateThrottle option.  If set to a positive value, the
700538032Speter		number of incoming SMTP connections that will be permitted
700638032Speter		in a single second is limited to this number.  Connections are
700738032Speter		not refused during this time, just deferred.  The intent is to
700838032Speter		flatten out demand so that load average limiting can kick in.
700938032Speter		It is less radical than MaxDaemonChildren, which will stop
701038032Speter		accepting connections even if all the connections are idle
701138032Speter		(e.g., due to connection caching).
701238032Speter	Add Timeout.hoststatus option.  This interval (defaulting to 30m)
701338032Speter		specifies how long cached information about the state of a
701438032Speter		host will be kept before they are considered stale and the
701538032Speter		host is retried.  If you are using persistent host status
701638032Speter		(i.e., the HostStatusDirectory option is set) this will apply
701738032Speter		between runs; otherwise, it applies only within a single queue
701838032Speter		run and hence is useful only for hosts that have large queues
701938032Speter		that take a very long time to run.
702038032Speter	Add SingleLineFromHeader option.  If set, From: headers are coerced
702138032Speter		into being a single line even if they had newlines in them
702238032Speter		when read.  This is to get around a botch in Lotus Notes.
702338032Speter	Text class maps were totally broken -- if you ever retrieved the last
702438032Speter		item in a table it would be truncated.  Problem noted by
702538032Speter		Gregory Neil Shapiro of WPI.
702638032Speter	Extend the lines printed by the mailq command (== the -bp flag) when
702738032Speter		-v is given to 120 characters; this allows more information
702838032Speter		to be displayed.  Suggested by Gregory Neil Shapiro of WPI.
702938032Speter	Allow macro definitions (`D' lines) with unquoted commas; previously
703038032Speter		this was treated as end-of-input.  Problem noted by Bryan
703138032Speter		Costales.
703238032Speter	The RET= envelope parameter (used for DSNs) wasn't properly written
703338032Speter		to the queue file.  Fix from John Hughes of Atlantic
703438032Speter		Technologies, Inc.
703538032Speter	Close /var/tmp/dead.letter after a successful write -- otherwise
703638032Speter		if this happens in a queue run it can cause nasty delays.
703738032Speter		Problem noted by Mark Horton of AT&T.
703838032Speter	If userdb entries pointed to userdb entries, and there were multiple
703938032Speter		values for a given key, the database cursor would get
704038032Speter		trashed by the recursive call.  Problem noted by Roy Mongiovi
704138032Speter		of Georgia Tech.  Fixed by reading all the values and creating
704238032Speter		a comma-separated list; thus, the -v output will be somewhat
704338032Speter		different for this case.
704438032Speter	Fix buffer allocation problem with Hesiod-based userdb maps when
704538032Speter		HES_GETMAILHOST is defined.  Based on a patch by Betty Lee
704638032Speter		of Stanford University.
704738032Speter	When envelopes were split due to aliases with owner- aliases, and
704838032Speter		there was some error on one of the lists, more than one of
704938032Speter		the owners would get the message.  Problem pointed out by
705038032Speter		Roy Mongiovi of Georgia Tech.
705138032Speter	Detect excessive recursion in macro expansions, e.g., $X defined
705238032Speter		in terms of $Y which is defined in terms of $X.  Problem
705338032Speter		noted by Bryan Costales; patch from Eric Wassenaar.
705438032Speter	When using F=U to get "ugly UUCP" From_ lines, a buffer could in
705538032Speter		some cases get trashed causing bogus From_ lines.  Fix from
705638032Speter		Kyle Jones of UUNET.
705738032Speter	When doing load average initialization, if the nlist call for avenrun
705838032Speter		failed, the second and subsequent lookups wouldn't notice
705938032Speter		that fact causing bogus load averages to be returned.  Noted
706038032Speter		by Casper Dik of Sun Holland.
706138032Speter	Fix problem with incompatibility with some versions of inet_aton that
706238032Speter		have changed the return value to unsigned, so a check for an
706338032Speter		error return of -1 doesn't work.  Use INADDR_NONE instead.
706438032Speter		This could cause mail to addresses such as [foo.com] to bounce
706538032Speter		or get dropped.  Problem noted by Christophe Wolfhugel of the
706638032Speter		Pasteur Institute.
706738032Speter	DSNs were inconsistent if a failure occurred during the DATA phase
706838032Speter		rather than the RCPT phase: the Action: would be correct, but
706938032Speter		the detailed status information would be wrong.  Problem noted
707038032Speter		by Bob Snyder of General Electric Company.
707138032Speter	Add -U command line flag and the XUSR ESMTP extension, both indicating
707238032Speter		that this is the initial MUA->MTA submission.  The flag current
707338032Speter		does nothing, but in future releases (when MUAs start using
707438032Speter		these flags) it will probably turn on things like DNS
707538032Speter		canonification.
707638032Speter	Default end-of-line string (E= specification on mailer [M] lines)
707738032Speter		to \r\n on SMTP mailers.  Default remains \n on non-SMTP
707838032Speter		mailers.
707938032Speter	Change the internal definition for the *file* and *include* mailers
708038032Speter		to have $u in the argument vectors so that they aren't
708138032Speter		misinterpreted as SMTP mailers and thus use \r\n line
708238032Speter		termination.  This will affect anyone who has redefined
708338032Speter		either of these in their configuration file.
708438032Speter	Don't assume that IDENT servers close the connection after a query;
708538032Speter		responses can be newline terminated.  From Terry Kennedy of
708638032Speter		St. Peter's College.
708738032Speter	Avoid core dumps on erroneous configuration files that have
708838032Speter		$#mailer with nothing following.  From Bryan Costales.
708938032Speter	Avoid null pointer dereference with high debug values in unlockqueue.
709038032Speter		Fix from Randy Martin of Clemson University.
709138032Speter	Fix possible buffer overrun when expanding very large macros.  Fix
709238032Speter		from Kyle Jones of UUNET.
709338032Speter	After 25 EXPN or VRFY commands, start pausing for a second before
709438032Speter		processing each one.  This avoids a certain form of denial
709538032Speter		of service attack.  Potential attack pointed out by Bryan
709638032Speter		Costales.
709738032Speter	Allow new named (not numbered!) config file rules to do validity
709838032Speter		checking on SMTP arguments: check_mail for MAIL commands and
709938032Speter		check_rcpt for RCPT commands.  These rulesets can do anything
710038032Speter		they want; their result is ignored unless they resolve to the
710138032Speter		$#error mailer, in which case the indicated message is printed
710238032Speter		and the command is rejected.  Similarly, the check_compat
710338032Speter		ruleset is called before delivery with "from_addr $| to_addr"
710438032Speter		(the $| is a meta-symbol used to separate the two addresses);
710538032Speter		it can give a "this sender can't send to this recipient"
710638032Speter		notification.  Note that this patch allows $| to stand alone
710738032Speter		in rulesets.
710838032Speter	Define new macros ${client_name}, ${client_addr}, and ${client_port}
710938032Speter		that have the name, IP address, and port number (respectively)
711038032Speter		of the SMTP client (that is, the entity at the other end of
711138032Speter		the connection.  These can be used in (e.g.) check_rcpt to
711238032Speter		verify that someone isn't trying to relay mail through your
711338032Speter		host inappropriately.  Be sure to use the deferred evaluation
711438032Speter		form, for example $&{client_name}, to avoid having these bound
711538032Speter		when sendmail reads the configuration file.
711638032Speter	Add new config file rule check_relay to check the incoming connection
711738032Speter		information.  Like check_compat, it is passed the host name
711838032Speter		and host address separated by $| and can reject connections
711938032Speter		on that basis.
712038032Speter	Allow IDA-style recursive function calls.  Code contributed by Mark
712138032Speter		Lovell and Paul Vixie.
712238032Speter	Eliminate the "No ! in UUCP From address!" message" -- instead, create
712338032Speter		a virtual UUCP address using either a domain address or the $k
712438032Speter		macro.  Based on code contributed by Mark Lovell and Paul
712538032Speter		Vixie.
712638032Speter	Add Stanford LDAP map.  Requires special libraries that are not
712738032Speter		included with sendmail.  Contributed by Booker C. Bense
712838032Speter		<bbense@networking.stanford.edu>; contact him for support.
712938032Speter		See also the src/READ_ME file.
713038032Speter	Allow -dANSI to turn on ANSI escape sequences in debug output; this
713138032Speter		puts metasymbols (e.g., $+) in reverse video.  Really useful
713238032Speter		only for debugging deep bits of code where it is important to
713338032Speter		distinguish between the single-character metasymbol $+ and the
713438032Speter		two characters $, +.
713538032Speter	Changed ruleset 89 (executed in dumpstate()) to a named ruleset,
713638032Speter		debug_dumpstate.
713738032Speter	Add new UnsafeGroupWrites option; if set, .forward and :include:
713838032Speter		files that are group writable are considered "unsafe" -- that
713938032Speter		is, programs and files referenced from such files are not
714038032Speter		valid recipients.
714138032Speter	Delete bogosity test for FallBackMX host; this prevented it to be a
714238032Speter		name that was not in DNS or was a domain-literal.  Problem
714338032Speter		noted by Tom May.
714438032Speter	Change the introduction to error messages to more clearly delineate
714538032Speter		permanent from temporary failures; if both existed in a
714638032Speter		single message it could be confusing.  Suggested by John
714738032Speter		Beck of InReference, Inc.
714838032Speter	The IngoreDot (i) option didn't work for lines that were terminated
714938032Speter		with CRLF.  Problem noted by Ted Stockwell of Secure
715038032Speter		Computing Corporation.
715138032Speter	Add a heuristic to improve the handling of unbalanced `<' signs in
715238032Speter		message headers.  Problem reported by Matt Dillon of Best
715338032Speter		Internet Communications.
715438032Speter	Check for bogus characters in the 0200-0237 range; since these are
715538032Speter		used internally, very strange errors can occur if those
715638032Speter		characters appear in headers.  Problem noted by Anders Gertz
715738032Speter		of Lysator.
715838032Speter	Implement 7 -> 8 bit MIME conversions.  This only takes place if the
715938032Speter		recipient mailer has the F=9 flag set, and only works on
716038032Speter		text/plain body types.  Code contributed by Marius Olafsson
716138032Speter		of the University of Iceland.
716238032Speter	Special case "postmaster" name so that it is always treated as lower
716338032Speter		case in alias files regardless of configuration settings;
716438032Speter		this prevents some potential problems where "Postmaster" or
716538032Speter		"POSTMASTER" might not match "postmaster".  In most cases
716638032Speter		this change is a no-op.
716738032Speter	The -o map flag was ignored for text maps.  Problem noted by Bryan
716838032Speter		Costales.
716938032Speter	The -a map flag was ignored for dequote maps.  Problem noted by
717038032Speter		Bryan Costales.
717138032Speter	Fix core dump when a lookup of a class "prog" map returns no
717238032Speter		response.  Patch from Bryan Costales.
717338032Speter	Log instances where sendmail is deferring or rejecting connections
717438032Speter		on LogLevel 14.  Suggested by Kyle Jones of UUNET.
717538032Speter	Include port number in process title for network daemons.  Suggested
717638032Speter		by Kyle Jones of UUNET.
717738032Speter	Send ``double bounces'' (errors that occur when sending an error
717838032Speter		message) to the address indicated in the DoubleBounceAddress
717938032Speter		option (default: postmaster).  Previously they were always
718038032Speter		sent to postmaster.  Suggested by Kyle Jones of UUNET.
718138032Speter	Add new mode, -bD, that acts like -bd in all respects except that
718238032Speter		it runs in foreground.  This is useful for using with a
718338032Speter		wrapper that "watches" system services.  Suggested by Kyle
718438032Speter		Jones of UUNET.
718538032Speter	Fix botch in spacing around (parenthesized) comments in addresses
718638032Speter		when the comment comes before the address.  Patch from
718738032Speter		Motonori Nakamura of Kyoto University.
718838032Speter	Use the prefix "Postmaster notify" on the Subject: lines of messages
718938032Speter		that are being bounced to postmaster, rather than "Returned
719038032Speter		mail".  This permits the person who is postmaster more
719138032Speter		easily determine what messages are to their role as
719238032Speter		postmaster versus bounces to mail they actually sent.  Based
719338032Speter		on a suggestion by Motonori Nakamura.
719438032Speter	Add new value "time" for QueueSortOrder option; this causes the queue
719538032Speter		to be sorted strictly by the time of submission.  Note that
719643730Speter		this can cause very bad behavior over slow lines (because
719738032Speter		large jobs will tend to delay small jobs) and on nodes with
719838032Speter		heavy traffic (because old things in the queue for hosts that
719938032Speter		are down delay processing of new jobs).  Also, this does not
720038032Speter		guarantee that jobs will be delivered in submission order
720138032Speter		unless you also set DeliveryMode=queue.  In general, it should
720238032Speter		probably only be used on the command line, and only in
720338032Speter		conjunction with -qRhost.domain.  In fact, there are very few
720438032Speter		cases where it should be used at all.  Based on an
720538032Speter		implementation by Motonori Nakamura.
720638032Speter	If a map lookup in ruleset 5 returns tempfail, queue the message in
720738032Speter		the same manner as other rulesets.  Previously a temporary
720838032Speter		failure in ruleset 5 was ignored.  Patch from Booker Bense
720938032Speter		of Stanford University.
721038032Speter	Don't proceed to the next MX host if an SMTP MAIL command returns a
721138032Speter		5yz (permanent failure) code.  The next MX host will still be
721238032Speter		tried if the connection cannot be opened in the first place
721338032Speter		or if the MAIL command returns a 4yz (temporary failure) code.
721438032Speter		(It's hard to know what to do here, since neither RFC 974 nor
721538032Speter		RFC 1123 specify when to proceed to the next MX host.)
721638032Speter		Suggested by Jonathan Kamens of OpenVision, Inc.
721738032Speter	Add new "-t" flag for map definitions (the "K" line in the .cf file).
721838032Speter		This causes map lookups that get a temporary failure (e.g.,
721938032Speter		name server failure) to _not_ defer the delivery of the
722038032Speter		message.  This should only be used if your configuration file
722138032Speter		is prepared to do something sensible in this case.  Based on
722238032Speter		an idea by Gregory Shapiro of WPI.
722338032Speter	Fix problem finding network interface addresses.  Patch from
722438032Speter		Motonori Nakamura.
722538032Speter	Don't reject qf entries that are not owned by your effective uid if
722690792Sgshapiro		you are not running set-user-ID; this makes management of
722780785Sgshapiro		certain kinds of firewall setups difficult.  Patch
722880785Sgshapiro		suggested by Eamonn Coleman of Qualcomm.
722938032Speter	Add persistent host status.  This keeps the information normally
723038032Speter		maintained within a single queue run in disk files that are
723138032Speter		shared between sendmail instances.  The HostStatusDirectory
723238032Speter		is the directory in which the information is maintained.  If
723338032Speter		not set, persistent host status is turned off.  If not a full
723438032Speter		pathname, it is relative to the queue directory.  A common
723538032Speter		value is ".hoststat".
723638032Speter		There are also two new operation modes:
723738032Speter		  * -bh prints the status of hosts that have had recent
723838032Speter		    connections.
723938032Speter		  * -bH purges the host statuses.  No attempt is made to save
724038032Speter		    recent status information.
724138032Speter		This feature was originally written by Paul Vixie of Vixie
724238032Speter		Enterprises for KJS and adapted for V8 by Mark Lovell of
724338032Speter		Bigrock Consulting.  Paul's funding of Mark and Mark's patience
724438032Speter		with my insistence that things fit cleanly into the V8
724538032Speter		framework is gratefully appreciated.
724638032Speter	New SingleThreadDelivery option (requires HostStatusDirectory to
724738032Speter		operate).  Avoids letting two sendmails on the local machine
724864562Sgshapiro		open connections to the same remote host at the same time.
724938032Speter		This reduces load on the other machine, but can cause mail to
725038032Speter		be delayed (for example, if one sendmail is delivering a huge
725138032Speter		message, other sendmails won't be able to send even small
725238032Speter		messages).  Also, it requires another file descriptor (for the
725338032Speter		lock file) per connection, so you may have to reduce
725438032Speter		ConnectionCacheSize to avoid running out of per-process
725538032Speter		file descriptors.  Based on the persistent host status code
725638032Speter		contributed by Paul Vixie and Mark Lovell.
725738032Speter	Allow sending to non-simple files (e.g., /dev/null) even if the
725838032Speter		SafeFileEnvironment option is set.  Problem noted by Bryan
725938032Speter		Costales.
726038032Speter	The -qR flag mistakenly matched flags in the "R" line of the queue
726138032Speter		file.  Problem noted by Bryan Costales.
726238032Speter	If a job was aborted using the interrupt signal (e.g., control-C from
726338032Speter		the keyboard), on some occasions an empty df file would be
726438032Speter		left around; these would collect in the queue directory.
726538032Speter		Problem noted by Bryan Costales.
726638032Speter	Change the makesendmail script to enhance the search for Makefiles
726738032Speter		based on release number.  For example, on SunOS 5.5.1, it will
726838032Speter		search for Makefile.SunOS.5.5.1, Makefile.SunOS.5.5, and then
726938032Speter		Makefile.SunOS.5.x (in addition to the other rules, e.g.,
727038032Speter		adding $arch).  Problem noted by Jason Mastaler of Atlanta
727138032Speter		Webmasters.
727238032Speter	When creating maps using "newaliases", always map the keys to lower
727338032Speter		case when creating the map unless the -f flag is specified on
727438032Speter		the map itself.  Previously this was done based on the F=u
727538032Speter		flag in the local mailer, which meant you could create aliases
727638032Speter		that you could never access.  Problem noted by Bob Wu of DEC.
727738032Speter	When a job was read from the queue, the bits causing notification on
727838032Speter		failure or delay were always set.  This caused those
727938032Speter		notifications to be sent even if NOTIFY=NEVER had been
728038032Speter		specified.  Problem noted by Steve Hubert of the University
728138032Speter		of Washington, Seattle.
728238032Speter	Add new configurable routine validate_connection (in conf.c).  This
728338032Speter		lets you decide if you are willing to accept traffic from
728438032Speter		this host.  If it returns FALSE, all SMTP commands will return
728538032Speter		"550 Access denied".  -DTCPWRAPPERS will include support for
728638032Speter		TCP wrappers; you will need to add -lwrap to the link line.
728738032Speter		(See src/READ_ME for details.)
728838032Speter	Don't include the "THIS IS A WARNING MESSAGE ONLY" banner on postmaster
728938032Speter		bounces.  Some people seemed to think that this could be
729038032Speter		confusing (even though it is true).  Suggested by Motonori
729138032Speter		Nakamura.
729238032Speter	Add new RunAsUser option; this causes sendmail to do a setuid to that
729338032Speter		user early in processing to avoid potential security problems.
729438032Speter		However, this means that all .forward and :include: files must
729538032Speter		be readable by that user, and all files to be written must be
729638032Speter		writable by that user and all programs will be executed by that
729738032Speter		user.  It is also incompatible with the SafeFileEnvironment
729838032Speter		option.  In other words, it may not actually add much to
729938032Speter		security.  However, it should be useful on firewalls and other
730038032Speter		places where users don't have accounts and the aliases file is
730138032Speter		well constrained.
730238032Speter	Add Timeout.iconnect.  This is like Timeout.connect except it is used
730338032Speter		only on the first attempt to delivery to an address.  It could
730438032Speter		be set to be lower than Timeout.connect on the principle that
730538032Speter		the mail should go through quickly to responsive hosts; less
730638032Speter		responsive hosts get to wait for the next queue run.
730738032Speter	Fix a problem on Solaris that occasionally causes programs
730838032Speter		(such as vacation) to hang with their standard input connected
730938032Speter		to a UDP port.  It also created some signal handling problems.
731038032Speter		The problems turned out to be an interaction between vfork(2)
731138032Speter		and some of the libraries, particularly NIS/NIS+.  I am
731238032Speter		indebted to Tor Egge <tegge@idt.ntnu.no> for this fix.
731338032Speter	Change user class map to do the same matching that actual delivery
731438032Speter		will do instead of just a /etc/passwd lookup.  This adds
731538032Speter		fuzzy matching to the user map.  Patch from Dan Oscarsson.
731638032Speter	The Timeout.* options are not safe -- they can be used to create a
731738032Speter		denial-of-service attack.  Problem noted by Christophe
731838032Speter		Wolfhugel.
731943730Speter	Don't send PostmasterCopy messages in the event of a "delayed"
732038032Speter		notification.  Suggested by Barry Bouwsma.
732138032Speter	Don't advertise "VERB" ESMTP extension if the "noexpn" privacy
732238032Speter		option is set, since this disables VERB mode.  Suggested
732338032Speter		by John Hawkinson of MIT.
732438032Speter	Complain if the QueueDirectory (Q) option is not set.  Problem noted
732538032Speter		by Motonori Nakamura of Kyoto University.
732638032Speter	Only queue messages on transient .forward open failures if there
732743730Speter		were no successful opens.  The previous behavior caused it
732838032Speter		to queue even if a "fall back" .forward was found.  Problem
732938032Speter		noted by Ann-Kian Yeo of the Dept. of Information Systems
733038032Speter		and Computer Science (DISCS), NUS, Singapore.
733138032Speter	Don't do 8->7 bit conversions when bouncing a MIME message that
733238032Speter		is bouncing because of a MIME error during 8->7 bit conversion;
733338032Speter		the encapsulated message will bounce again, causing a loop.
733438032Speter		Problem noted by Steve Hubert of the University of Washington.
733538032Speter	Create xf (transcript) files using the TempFileMode option value
733638032Speter		instead of 0644.  Suggested by Ann-Kian Yeo of the
733738032Speter		National University of Singapore.
733838032Speter	Print errors if setgid/setuid/etc. fail during delivery.  This helps
733938032Speter		detect cases where DefaultUid is set to something that the
734038032Speter		system can't cope with.
734138032Speter	PORTABILITY FIXES:
734238032Speter		Support for AIX/RS 2.2.1 from Mark Whetzel of Western
734338032Speter			Atlas International.
734438032Speter		Patches for Intel Paragon OSF/1 1.3 from Leo Bicknell
734538032Speter			<bicknell@ufp.org>.
734638032Speter		On DEC OSF/1 3.2 and earlier, the MatchGECOS code would only
734738032Speter			work on the first recipient of a message due to a
734838032Speter			bug in the getpwent family.  If this is something you
734938032Speter			use, you can define DEC_OSF_BROKEN_GETPWENT=1 for a
735038032Speter			workaround.  From Maximum Entropy of Sanford C.
735138032Speter			Bernstein and Associates.
735238032Speter		FreeBSD 1.1.5.1 uname -r returns a string containing
735338032Speter			parentheses, which breaks makesendmail.  Reported
735438032Speter			by Piero Serini <piero@strider.ibenet.it>.
735538032Speter		Sequent DYNIX/ptx 4.0.2 patches from Jack Woolley of
735638032Speter			Systems and Computer Technology Corporation.
735738032Speter		Solaris 2.x: omit the UUCP grade parameter (-g flag) because
735838032Speter			it is system-dependent.  Problem noted by J.J. Bailey
735938032Speter			of Bailey Computer Consulting.
736038032Speter		Pyramid NILE running DC/OSx support from Earle F. Ake of
736138032Speter			Hassler Communication Systems Technology, Inc.
736238032Speter		HP-UX 10.x compile glitches, reported by Anne Brink of the
736338032Speter			U.S. Army and James Byrne of Harte & Lyne Limited.
736438032Speter		NetBSD from Matthew Green of the NetBSD crew.
736538032Speter		SCO 5.x from Keith Reynolds of SCO.
736638032Speter		IRIX 6.2 from Robert Tarrall of the University of
736738032Speter			Colorado and Kari Hurtta of the Finnish Meteorological
736838032Speter			Institute.
736938032Speter		UXP/DS (Fujitsu/ICL DS/90 series) support from Diego R.
737038032Speter			Lopez, CICA (Seville).
737138032Speter		NCR SVR4 MP-RAS 3.x support from Tom Moore of NCR.
737238032Speter		PTX 3.2.0 from Kenneth Stailey of the US Department of Labor
737338032Speter			Employment Standards Administration.
737438032Speter		Altos System V (5.3.1) from Tim Rice of Multitalents.
737538032Speter		Concurrent Systems Corporation Maxion from Donald R. Laster
737638032Speter			Jr.
737738032Speter		NetInfo maps (improved debugging and multi-valued aliases)
737838032Speter			from Adrian Steinmann of Steinmann Consulting.
737938032Speter		ConvexOS 11.5 (including SecureWare C2 and the Share Scheduler)
738038032Speter			from Eric Schnoebelen of Convex.
738138032Speter		Linux 2.0 mail.local patches from Horst von Brand.
738238032Speter		NEXTSTEP 3.x compilation from Robert La Ferla.
738338032Speter		NEXTSTEP 3.x code changes from Allan J. Nathanson of NeXT.
738438032Speter		Solaris 2.5 configuration fixes for mail.local by Jim Davis
738538032Speter			of the University of Arizona.
738638032Speter		Solaris 2.5 has a working setreuid.  Noted by David Linn of
738738032Speter			Vanderbilt University.
738838032Speter		Solaris changes for praliases, makemap, mailstats, and smrsh.
738938032Speter			Previously you had to add -DSOLARIS in Makefile.dist;
739038032Speter			this auto-detects.  Based on a patch from Randall
739138032Speter			Winchester of the University of Maryland.
739238032Speter	CONFIG: add generic-nextstep3.3.mc file.  Contributed by
739338032Speter		Robert La Ferla of Hot Software.
739438032Speter	CONFIG: allow mailertables to resolve to ``error:code message''
739538032Speter		(where "code" is an exit status) on domains (previously
739638032Speter		worked only on hosts).  Patch from Cor Bosman of Xs4all
739738032Speter		Foundation.
739838032Speter	CONFIG: hooks for IPv6-style domain literals.
739938032Speter	CONFIG: predefine ALIAS_FILE and change the prototype file so that
740038032Speter		if it is undefined the AliasFile option is never set; this
740138032Speter		should be transparent for most everyone.  Suggested by John
740238032Speter		Myers of CMU.
740338032Speter	CONFIG: add FEATURE(limited_masquerade).  Without this feature, any
740438032Speter		domain listed in $=w is masqueraded.  With it, only those
740538032Speter		domains listed in a MASQUERADE_DOMAIN macro are masqueraded.
740638032Speter	CONFIG: add FEATURE(masquerade_entire_domain).  This causes
740738032Speter		masquerading specified by MASQUERADE_DOMAIN to apply to all
740838032Speter		hosts under those domains as well as the domain headers
740938032Speter		themselves.  For example, if a configuration had
741038032Speter		MASQUERADE_DOMAIN(foo.com), then without this feature only
741138032Speter		foo.com would be masqueraded; with it, *.foo.com would be
741238032Speter		masqueraded as well.  Based on an implementation by Richard
741338032Speter		(Pug) Bainter of U. Texas.
741438032Speter	CONFIG: add FEATURE(genericstable) to do a more general rewriting of
741538032Speter		outgoing addresses.  Defaults to ``hash -o /etc/genericstable''.
741638032Speter		Keys are user names; values are outgoing mail addresses.  Yes,
741738032Speter		this does overlap with the user database, and figuring out
741838032Speter		just when to use which one may be tricky.  Based on code
741938032Speter		contributed by Richard (Pug) Bainter of U. Texas with updates
742038032Speter		from Per Hedeland of Ericsson.
742138032Speter	CONFIG: add FEATURE(virtusertable) to do generalized rewriting of
742238032Speter		incoming addresses.  Defaults to ``hash -o /etc/virtusertable''.
742338032Speter		Keys are either fully qualified addresses or just the host
742438032Speter		part (with the @ sign).  For example, a table containing:
742538032Speter			info@foo.com	foo-info
742638032Speter			info@bar.com	bar-info
742738032Speter			@baz.org	jane@elsewhere.net
742838032Speter		would send all mail destined for info@foo.com to foo-info
742938032Speter		(which is presumably an alias), mail addressed to info@bar.com
743038032Speter		to bar-info, and anything addressed to anyone at baz.org will
743138032Speter		be sent to jane@elsewhere.net.  The names foo.com, bar.com,
743238032Speter		and baz.org must all be in $=w.  Based on discussions with
743338032Speter		a great many people.
743438032Speter	CONFIG: add nullclient configurations to define SMTP_MAILER_FLAGS.
743538032Speter		Suggested by Richard Bainter.
743638032Speter	CONFIG: add FAX_MAILER_ARGS to tweak the arguments passed to the
743738032Speter		"fax" mailer.
743838032Speter	CONFIG: allow mailertable entries to resolve to local:user; this
743938032Speter		passes the original user@host in to procmail-style local
744038032Speter		mailers as the "detail" information to allow them to do
744138032Speter		additional clever processing.  From Joe Pruett of
744238032Speter		Teleport Corporation.  Delivery to the original user can
744338032Speter		be done by specifying "local:" (with nothing after the colon).
744438032Speter	CONFIG: allow any context that takes "mailer:domain" to also take
744538032Speter		"mailer:user@domain" to force mailing to the given user;
744638032Speter		"local:user" can also be used to do local delivery.  This
744738032Speter		applies on *_RELAY and in the mailertable entries.  Based
744838032Speter		on a suggestion by Ribert Kiessling of Easynet.
744938032Speter	CONFIG: Allow FEATURE(bestmx_is_local) to take an argument that
745038032Speter		limits the possible domains; this reduces the number of DNS
745138032Speter		lookups required to support this feature.  For example,
745238032Speter		FEATURE(bestmx_is_local, my.site.com) limits the lookups
745338032Speter		to domains under my.site.com.  Code contributed by Anthony
745438032Speter		Thyssen <anthony@cit.gu.edu.au>.
745538032Speter	CONFIG: LOCAL_RULESETS introduces any locally defined rulesets,
745638032Speter		such as the check_rcpt ruleset.  Suggested by Gregory Shapiro
745738032Speter		of WPI.
745838032Speter	CONFIG: MAILER_DEFINITIONS introduces any mailer definitions, in the
745938032Speter		event you have to define local mailers.  Suggested by
746038032Speter		Gregory Shapiro of WPI.
746138032Speter	CONFIG: fix cases where a three- (or more-) stage route-addr could
746238032Speter		be misinterpreted as a list:...; syntax.  Based on a patch by
746338032Speter		Vlado Potisk <Vlado_Potisk@tempest.sk>.
746438032Speter	CONFIG: Fix masquerading of UUCP addresses when the UUCP relay is
746538032Speter		remotely connected.  The address host!user was being
746638032Speter		converted to host!user@thishost instead of host!user@uurelay.
746738032Speter		Problem noted by William Gianopoulos of Raytheon Company.
746838032Speter	CONFIG: add confTO_ICONNECT to set Timeout.iconnect.
746938032Speter	CONFIG: change FEATURE(redirect) message from "User not local" to
747038032Speter		"User has moved"; the former wording was confusing if the
747138032Speter		new address is still on the local host.  Based on a suggestion
747238032Speter		by Andreas Luik.
747338032Speter	CONFIG: add support in FEATURE(nullclient) for $=E (exposed users).
747438032Speter		However, the class is not pre-initialized to contain root.
747538032Speter		Suggested by Gregory Neil Shapiro.
747638032Speter	CONTRIB: Remove XLA code at the request of the author, Christophe
747738032Speter		Wolfhugel.
747838032Speter	CONTRIB: Add re-mqueue.pl, contributed by Paul Pomes of Qualcomm.
747938032Speter	MAIL.LOCAL: make it possible to compile mail.local on Solaris.  Note
748038032Speter		well: this produces a slightly different mailbox format (no
748138032Speter		Content-Length: headers), file ownerships and modes are
748238032Speter		different (not owned by group mail; mode 600 instead of 660),
748338032Speter		and the local mailer flags will have to be tweaked (make them
748438032Speter		match bsd4.4) in order to use this mailer.  Patches from Paul
748538032Speter		Hammann of the Missouri Research and Education Network.
748638032Speter	MAIL.LOCAL: in some cases it could return EX_OK even though there
748738032Speter		was a delivery error, such as if the ownership on the file
748838032Speter		was wrong or the mode changed between the initial stat and
748938032Speter		the open.  Problem reported by William Colburn of the New
749038032Speter		Mexico Institute of Mining and Technology.
749138032Speter	MAILSTATS: handle zero length files more reliably.  Patch from Bryan
749238032Speter		Costales.
749338032Speter	MAILSTATS: add man page contributed by Keith Bostic of BSDI.
749438032Speter	MAKEMAP: The -d flag (to allow duplicate keys) to a btree map wasn't
749538032Speter		honored.  Fix from Michael Scott Shappe.
749638032Speter	PRALIASES: add man page contributed by Keith Bostic of BSDI.
749738032Speter	NEW FILES:
749838032Speter		src/Makefiles/Makefile.AIX.2
749938032Speter		src/Makefiles/Makefile.IRIX.6.2
750038032Speter		src/Makefiles/Makefile.maxion
750138032Speter		src/Makefiles/Makefile.NCR.MP-RAS.3.x
750238032Speter		src/Makefiles/Makefile.SCO.5.x
750338032Speter		src/Makefiles/Makefile.UXPDSV20
750438032Speter		mailstats/mailstats.8
750538032Speter		praliases/praliases.8
750638032Speter		cf/cf/generic-nextstep3.3.mc
750738032Speter		cf/feature/genericstable.m4
750838032Speter		cf/feature/limited_masquerade.m4
750938032Speter		cf/feature/masquerade_entire_domain.m4
751038032Speter		cf/feature/virtusertable.m4
751138032Speter		cf/ostype/aix2.m4
751238032Speter		cf/ostype/altos.m4
751338032Speter		cf/ostype/maxion.m4
751438032Speter		cf/ostype/solaris2.ml.m4
751538032Speter		cf/ostype/uxpds.m4
751638032Speter		contrib/re-mqueue.pl
751738032Speter	DELETED FILES:
751838032Speter		src/Makefiles/Makefile.Solaris
751938032Speter		contrib/xla/README
752038032Speter		contrib/xla/xla.c
752138032Speter	RENAMED FILES:
752238032Speter		src/Makefiles/Makefile.NCR3000 =>	Makefile.NCR.MP-RAS.2.x
752338032Speter		src/Makefiles/Makefile.SCO.3.2v4.2 =>	Makefile.SCO.4.2
752438032Speter		src/Makefiles/Makefile.UXPDS =>		Makefile.UXPDSV10
752538032Speter		src/Makefiles/Makefile.NeXT =>		Makefile.NeXT.2.x
752638032Speter		src/Makefiles/Makefile.NEXTSTEP =>	Makefile.NeXT.3.x
752738032Speter
752864562Sgshapiro8.7.6/8.7.3	1996/09/17
752938032Speter	SECURITY: It is possible to force getpwuid to fail when writing the
753038032Speter		queue file, causing sendmail to fall back to running programs
753138032Speter		as the default user.  This is not exploitable from off-site.
753238032Speter		Workarounds include using a unique user for the DefaultUser
753338032Speter		(old u & g options) and using smrsh as the local shell.
753438032Speter	SECURITY: fix some buffer overruns; in at least one case this allows
753538032Speter		a local user to get root.  This is not known to be exploitable
753638032Speter		from off-site.  The workaround is to disable chfn(1) commands.
753738032Speter
753864562Sgshapiro8.7.5/8.7.3	1996/03/04
753938032Speter	Fix glitch in 8.7.4 when putting certain internal lines; this can
754038032Speter		in some case cause connections to hang or messages to have
754138032Speter		extra spaces in odd places.  Patch from Eric Wassenaar;
754238032Speter		reports from Eric Hall of Chiron Corporation, Stephen
754338032Speter		Hansen of Stanford University, Dean Gaudet of HotWired,
754438032Speter		and others.
754538032Speter
754664562Sgshapiro8.7.4/8.7.3	1996/02/18
754738032Speter	SECURITY: In some cases it was still possible for an attacker to
754838032Speter		insert newlines into a queue file, thus allowing access to
754938032Speter		any user (except root).
755038032Speter	CONFIG: no changes -- it is not a bug that the configuration
755138032Speter		version number is unchanged.
755238032Speter
755364562Sgshapiro8.7.3/8.7.3	1995/12/03
755438032Speter	Fix botch in name server timeout in RCPT code; this problem caused
755538032Speter		two responses in SMTP, which breaks things horribly.  Fix
755638032Speter		from Gregory Neil Shapiro of WPI.
755738032Speter	Verify that L= value on M lines cannot be negative, which could cause
755838032Speter		negative array subscripting.  Not a security problem since
755938032Speter		this has to be in the config file, but it could have caused
756038032Speter		core dumps.  Pointed out by Bryan Costales.
756138032Speter	Fix -d21 debug output for long macro names.  Pointed out by Bryan
756238032Speter		Costales.
756338032Speter	PORTABILITY FIXES:
756438032Speter		SCO doesn't have ftruncate.  From Bill Aten of Computerizers.
756538032Speter		IBM's version of arpa/nameser.h defaults to the wrong byte
756638032Speter			order.  Tweak it to work properly.  Based on fixes
756738032Speter			from Fletcher Mattox of UTexas and Betty Lee of
756838032Speter			Stanford University.
756938032Speter	CONFIG: add confHOSTS_FILE m4 variable to set HostsFile option.
757038032Speter		Deficiency pointed out by Bryan Costales of ICSI.
757138032Speter
757264562Sgshapiro8.7.2/8.7.2	1995/11/19
757338032Speter	REALLY fix the backslash escapes in SmtpGreetingMessage,
757438032Speter		OperatorChars, and UnixFromLine options.  They were not
757538032Speter		properly repaired in 8.7.1.
757638032Speter	Completely delete the Bcc: header if and only if there are other
757738032Speter		valid recipient headers (To:, Cc: or Apparently-To:, the
757838032Speter		last being a historic botch, of course).  If Bcc: is the
757938032Speter		only recipient header in the message, its value is tossed,
758043730Speter		but the header name is kept.  The old behavior (always keep
758138032Speter		the header name and toss the value) allowed primary recipients
758238032Speter		to see that a Bcc: went to _someone_.
758338032Speter	Include queue id on ``Authentication-Warning: <host>: <user> set
758438032Speter		sender to <address> using -f'' syslog messages.  Suggested
758538032Speter		by Kari Hurtta.
758638032Speter	If a sequence or switch map lookup entry gets a tempfail but then
758738032Speter		continues on to another map type, but the name is not found,
758838032Speter		return a temporary failure from the sequence or switch map.
758938032Speter		For example, if hosts search ``dns files'' and DNS fails
759038032Speter		with a tempfail, the hosts map will go on and search files,
759138032Speter		but if it fails the whole thing should be a tempfail, not
759238032Speter		a permanent (host unknown) failure, even though that is the
759338032Speter		failure in the hosts.files map.  This error caused hard
759438032Speter		bounces when it should have requeued.
759538032Speter	Aliases to files such as /users/bar/foo/inbox, with /users/bar/foo
759690792Sgshapiro		owned by bar mode 700 and inbox being set-user-ID bar stopped
759738032Speter		working properly due to excessive paranoia.  Pointed out by
759838032Speter		John Hawkinson of Panix.
759938032Speter	An SMTP RCPT command referencing a host that gave a nameserver
760038032Speter		timeout would return a 451 command (8.6 accepted it and
760143730Speter		queued it locally).  Revert to the 8.6 behavior in order
760238032Speter		to simplify queue management for clustered systems.  Suggested
760338032Speter		by Gregory Neil Shapiro of WPI.  The same problem could break
760438032Speter		MH, which assumes that the SMTP session will succeed (tsk, tsk
760538032Speter		-- mail gets lost!); this was pointed out by Stuart Pook of
760638032Speter		Infobiogen.
760738032Speter	Fix possible buffer overflow in munchstring().  This was not a security
760838032Speter		problem because you couldn't specify any argument to this
760938032Speter		without first giving up root privileges, but it is still a
761038032Speter		good idea to avoid future problems.  Problem noted by John
761138032Speter		Hawkinson and Sam Hartman of MIT.
761238032Speter	``452 Out of disk space for temp file'' messages weren't being
761338032Speter		printed.  Fix from David Perlin of Nanosoft.
761443730Speter	Don't advertise the ESMTP DSN extension if the SendMimeErrors option
761538032Speter		is not set, since this is required to get the actual DSNs
761638032Speter		created.  Problem pointed out by John Gardiner Myers of CMU.
761738032Speter	Log permission problems that cause .forward and :include: files to
761838032Speter		be untrusted or ignored on log level 12 and higher.  Suggested
761938032Speter		by Randy Martin of Clemson University.
762038032Speter	Allow user ids in U= clauses of M lines to have hyphens and
762138032Speter		underscores.
762238032Speter	Fix overcounting of recipients -- only happened when sending to an
762338032Speter		alias.  Pointed out by Mark Andrews of SGI and Jack Woolley
762438032Speter		of Systems and Computer Technology Corporation.
762538032Speter	If a message is sent to an address that fails, the error message that
762638032Speter		is returned could show some extraneous "success" information
762738032Speter		included even if the user did not request success notification,
762838032Speter		which was confusing.  Pointed out by Allan Johannesen of WPI.
762938032Speter	Config files that had no AliasFile definition were defaulting to
763038032Speter		using /etc/aliases; this caused problems with nullclient
763138032Speter		configurations.  Change it back to the 8.6 semantics of
763238032Speter		having no local alias file unless it is declared.  Problem
763338032Speter		noted by Charles Karney of Princeton University.
763438032Speter	Fix compile problem if NOTUNIX is defined.  Pointed out by Bryan
763538032Speter		Costales of ICSI.
763638032Speter	Map lookups of class "userdb" maps were always case sensitive; they
763738032Speter		should be controlled by the -f flag like other maps.  Pointed
763838032Speter		out by Bjart Kvarme <bjart.kvarme@usit.uio.no>.
763938032Speter	Fix problem that caused some addresses to be passed through ruleset 5
764038032Speter		even when they were tagged as "sticky" by prefixing the
764138032Speter		address with an "@".  Patch from Thomas Dwyer III of Michigan
764238032Speter		Technological University.
764338032Speter	When converting a message to Quoted-Printable, prevent any lines with
764438032Speter		dots alone on a line by themselves.  This is because of the
764538032Speter		preponderance of broken mailers that still get this wrong.
764638032Speter		Code contributed by Per Hedeland of Ericsson.
764738032Speter	Fix F{macro}/file construct -- it previously did nothing.  Pointed
764838032Speter		out by Bjart Kvarme of USIT/UiO (Norway).
764938032Speter	Announce whether a cached connection is SMTP or ESMTP (in -v mode).
765038032Speter		Requested by Allan Johannesen.
765138032Speter	Delete check for text format of alias files -- it should be legal
765238032Speter		to have the database format of the alias files without the
765338032Speter		text version.  Problem pointed out by Joe Rhett of Navigist,
765438032Speter		Inc.
765538032Speter	If "Ot" was specified with no value, the TZ variable was not properly
765638032Speter		imported from the environment.  Pointed out by Frank Crawford
765738032Speter		<frank@ansto.gov.au>.
765838032Speter	Some architectures core dumped on "program" maps that didn't have
765938032Speter		extra arguments.  Patch from Booker C. Bense of Stanford
766038032Speter		University.
766138032Speter	Queue run processes would re-spawn daemons when given a SIGHUP; only
766238032Speter		the parent should do this.  Fix from Brian Coan of the
766338032Speter		Association for Progressive Communications.
766438032Speter	If MinQueueAge was set and a message was considered but not run
766538032Speter		during a queue run and the Timeout.queuereturn interval was
766638032Speter		reached, a "timed out" error message would be returned that
766738032Speter		didn't include the failed address (and claimed to be a warning
766838032Speter		even though it was fatal).  The fix is to not return such
766938032Speter		messages until they are actually tried, i.e., in the next
767038032Speter		MinQueueAge interval.  Problem noted by Rein Tollevik of
767138032Speter		SINTEF RUNIT, Oslo.
767238032Speter	Add HES_GETMAILHOST compile flag to support MIT Hesiod distributions
767338032Speter		that have the hes_getmailhost() routine.  DEC Hesiod
767438032Speter		distributions do not have this routine.  Based on a patch
767538032Speter		from Betty Lee of Stanford University.
767638032Speter	Extensive cleanups to map open code to handle a locking race condition
767738032Speter		in ndbm, hash, and btree format database files on some (most
767838032Speter		non-4.4-BSD based) OS architectures.  This should solve the
767938032Speter		occasional "user unknown" problem during alias rebuilds that
768038032Speter		has plagued me for quite some time.  Based on a patch from
768138032Speter		Thomas Dwyer III of Michigan Technological University.
768238032Speter	PORTABILITY FIXES:
768338032Speter		Solaris: Change location of newaliases and mailq from
768438032Speter			/usr/ucb to /usr/bin to match Sun settings.  From
768538032Speter			James B. Davis of TCI.
768638032Speter		DomainOS: Makefile.DomainOS doesn't require -ldbm.  From
768738032Speter			Don Lewis of Silicon Systems.
768838032Speter		HP-UX 10: rename Makefile.HP-UX.10 => Makefile.HP-UX.10.x
768938032Speter			so that the makesendmail script will find it.  Pointed
769038032Speter			out by Richard Allen of the University of Iceland.
769138032Speter			Also, use -Aa -D_HPUX_SOURCE instead of -Ae, which
769238032Speter			isn't supported on all compilers.
769338032Speter		UXPDS: compilation fixes from Diego R. Lopez.
769438032Speter	CONFIG: FAX mailer wasn't setting .FAX as a pseudo-domain unless
769538032Speter		you also had a FAX_RELAY.  From Thomas.Tornblom@Hax.SE.
769638032Speter	CONFIG: Minor glitch in S21 -- attachment of local domain name
769738032Speter		didn't have trailing dot.  From Jim Hickstein of Teradyne.
769838032Speter	CONFIG: Fix best_mx_is_local feature to allow nested addresses such as
769938032Speter		user%host@thishost.  From Claude Scarpelli of Infobiogen
770038032Speter		(France).
770138032Speter	CONFIG: OSTYPE(hpux10) failed to define the location of the help file.
770238032Speter		Pointed out by Hannu Martikka of Nokia Telecommunications.
770338032Speter	CONFIG: Diagnose some inappropriate ordering in configuration files,
770438032Speter		such as FEATURE(smrsh) listed after MAILER(local).  Based on
770538032Speter		a bug report submitted by Paul Hoffman of Proper Publishing.
770638032Speter	CONFIG: Make OSTYPE files consistently not override settings that
770738032Speter		have already been set.  Previously it worked differently
770838032Speter		for different files.
770938032Speter	CONFIG: Change relay mailer to do masquerading like 8.6 did.  My take
771038032Speter		is that this is wrong, but the change was causing problems
771138032Speter		for some people.  From Per Hedeland of Ericsson.
771238032Speter	CONTRIB: bitdomain.c patch from John Gardiner Myers <jgm+@CMU.EDU>;
771338032Speter		portability changes for Posix environments (no functional
771438032Speter		changes).
771538032Speter
771664562Sgshapiro8.7.1/8.7.1	1995/10/01
771738032Speter	Old macros that have become options (SmtpGreetingMessage,
771838032Speter		OperatorChars, and UnixFromLine) didn't allow backslash
771938032Speter		escapes in the options, where they previously had.  Bug
772038032Speter		pointed out by John Hawkinson of MIT.
772138032Speter	Fix strange case of an executable called by a program map that
772238032Speter		returns a value but also a non-zero exit status; this
772338032Speter		would give contradictory results in the higher level; in
772438032Speter		particular, the default clause in the map lookup would be
772538032Speter		ignored.  Change to ignore the value if the program returns
772638032Speter		non-zero exit status.  From Tom Moore of AT&T GIS.
772738032Speter	Shorten parameters passed to syslog() in some contexts to avoid a
772838032Speter		bug in many vendors' implementations of that routine.  Although
772938032Speter		this isn't really a bug in sendmail per se, and my solution
773038032Speter		has to assume that syslog() has at least a 1K buffer size
773138032Speter		internally (I know some vendors have shortened this
773238032Speter		dramatically -- they're on their own), sendmail is a popular
773338032Speter		target.  Also, limit the size of %s arguments in sprintf.
773438032Speter		These both have possible security implications.  Solutions
773538032Speter		suggested by Casper Dik of Sun's Network Security Group
773638032Speter		(Holland), Mark Seiden, and others.
773738032Speter	Fix a problem that might cause a non-standard -B (body type)
773838032Speter		parameter to be passed to the next server with undefined
773938032Speter		results.  This could have security implications.
774038032Speter	If a filesystem was at > 100% utilization, the freediskspace()
774138032Speter		routine incorrectly returned an error rather than zero.
774238032Speter		Problem noted by G. Paul Ziemba of Alantec.
774338032Speter	Change MX sort order so that local hostnames (those in $=w) always
774438032Speter		sort first within a given preference.  This forces the bestmx
774538032Speter		map to always return the local host first, if it is included
774638032Speter		in the list of highest priority MX records.  From K. Robert
774738032Speter		Elz.
774838032Speter	Avoid some possible null pointer dereferences.  Fixes from Randy
774938032Speter		Martin <WOLF@CLEMSON.EDU>
775038032Speter	When sendmail starts up on systems that have no fully qualified
775138032Speter		domain name (FQDN) anywhere in the first matching host map
775238032Speter		(e.g., /etc/hosts if the hosts service searches "files dns"),
775338032Speter		sendmail would sleep to try to find a FQDN, which it really
775438032Speter		really needs.  This has been changed to fall through to the
775538032Speter		next map type if it can't find a FQDN -- i.e., if the hosts
775638032Speter		file doesn't have a FQDN, it will try dns even though the
775738032Speter		short name was found in /etc/hosts.  This is probably a crock,
775838032Speter		but many people have hosts files without FQDNs.  Remember:
775938032Speter		domain names are your friends.
776038032Speter	Log a high-priority message if you can't find your FQDN during startup.
776138032Speter		Suggested by Simon Barnes of Schlumberger Limited.
776238032Speter	When using Hesiod, initialize it early to improve error reporting.
776338032Speter		Patch from Don Lewis of Silicon Systems, Inc.
776438032Speter	Apparently at least some versions of Linux have a 90 !minute! TCP
776538032Speter		connection timeout in the kernel.  Add a new "connect" timeout
776638032Speter		to limit this time.  Defaults to zero (use whatever the
776738032Speter		kernel provides).  Based on code contributed by J.R. Oldroyd
776838032Speter		of TerraNet.
776938032Speter	Under some circumstances, a failed message would not be properly
777038032Speter		removed from the queue, causing tons of bogus error messages.
777138032Speter		(This fix eliminates the problematic EF_KEEPQUEUE flag.)
777238032Speter		Problem noted by Allan E Johannesen and Gregory Neil Shapiro
777338032Speter		of WPI.
777438032Speter	PORTABILITY FIXES:
777538032Speter		On IRIX 5.x, there was an inconsistency in the setting
777638032Speter			of sendmail.st location.  Change the Makefile to
777738032Speter			install it in /var/sendmail.st to match the OSTYPE
777838032Speter			file and SGI standards.  From Andre
777938032Speter			<andre@curry.zfe.siemens.de>.
778038032Speter		Support for Fujitsu/ICL UXP/DS (For the DS/90 Series)
778138032Speter			from Diego R. Lopez <drlopez@cica.es>.
778238032Speter		Linux compilation patches from J.R. Oldroyd of TerraNet, Inc.
778338032Speter		LUNA 2 Mach patches from Motonori Nakamura.
778438032Speter		SunOS Makefile was including -ldbm, which is for the old
778538032Speter			dbm library.  The ndbm library is part of libc.
778638032Speter	CONFIG: avoid bouncing ``user@host.'' (note trailing dot) with
778738032Speter		``local configuration error'' in nullclient configuration.
778838032Speter		Patch from Gregory Neil Shapiro of WPI.
778938032Speter	CONFIG: don't allow an alias file in nullclient configurations --
779038032Speter		since all addresses are relayed, they give errors during
779138032Speter		rebuild.  Suggested by Per Hedeland of Ericsson.
779238032Speter	CONFIG: local mailer on Solaris 2 should always get a -f flag because
779338032Speter		otherwise the F=S causes the From_ line to imply that root is
779438032Speter		the sender.  Problem pointed out by Claude Scarpelli of
779538032Speter		Infobiogen (France).
779638032Speter	NEW FILES:
779738032Speter		cf/feature/use_ct_file.m4 (omitted from 8.7 by mistake)
779838032Speter		src/Makefiles/Makefile.KSR (omitted from 8.7 by mistake)
779938032Speter		src/Makefiles/Makefile.UXPDS
780038032Speter
780164562Sgshapiro8.7/8.7		1995/09/16
780238032Speter	Fix a problem that could cause sendmail to run out of file
780338032Speter		descriptors due to a trashed data structure after a
780438032Speter		vfork.  Fix from Brian Coan of the Institute for
780538032Speter		Global Communications.
780638032Speter	Change the VRFY response if you have disabled VRFY -- some
780738032Speter		people seemed to think that it was too rude.
780838032Speter	Avoid reference to uninitialized file descriptor if HASFLOCK
780938032Speter		was not defined.  This was used "safely" in the sense
781038032Speter		that it only did a stat, but it would have set the
781138032Speter		map modification time improperly.  Problem pointed out
781238032Speter		by Roy Mongiovi of Georgia Tech.
781338032Speter	Clean up the Subject: line on warning messages and return
781438032Speter		receipts so that they don't say "Returned mail:"; this
781538032Speter		can be confusing.
781638032Speter	Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
781738032Speter		useful enough to make it worthwhile printing on "-d".
781838032Speter	Avoid logging alias statistics every time you read the alias
781938032Speter		file on systems with no database method compiled in.
782038032Speter	If you have a name with a trailing dot, and you try looking it
782138032Speter		up using gethostbyname without the dot (for /etc/hosts
782238032Speter		compatibility), be sure to turn off RES_DEFNAMES and
782338032Speter		RES_DNSRCH to avoid finding the wrong name accidentally.
782438032Speter		Problem noted by Charles Amos of the University of
782538032Speter		Maryland.
782638032Speter	Don't do timeouts in collect if you are not running SMTP.
782738032Speter		There is nothing that says you can't have a long
782838032Speter		running program piped into sendmail (possibly via
782938032Speter		/bin/mail, which just execs sendmail).  Problem reported
783038032Speter		by Don "Truck" Lewis of Silicon Systems.
783138032Speter	Try gethostbyname() even if the DNS lookup fails iff option I
783238032Speter		is not set.  This allows you to have hosts listed in
783338032Speter		NIS or /etc/hosts that are not known to DNS.  It's normally
783438032Speter		a bad idea, but can be useful on firewall machines.  This
783538032Speter		should really be broken out on a separate flag, I suppose.
783638032Speter	Avoid compile warnings against BIND 4.9.3, which uses function
783738032Speter		prototypes.  From Don Lewis of Silicon Systems.
783838032Speter	Avoid possible incorrect diagnosis of DNS-related errors caused
783938032Speter		by things like attempts to resolve uucp names using
784038032Speter		$[ ... $] -- the fix is to clear h_errno at appropriate
784138032Speter		times.  From Kyle Jones of UUNET.
784238032Speter	SECURITY: avoid denial-of-service attacks possible by destroying
784338032Speter		the alias database file by setting resource limits low.
784438032Speter		This involves adding two new compile-time options:
784538032Speter		HASSETRLIMIT (indicating that setrlimit(2) support is
784638032Speter		available) and HASULIMIT (indicating that ulimit(2) support
784738032Speter		is available -- the Release 3 form is used).  The former
784838032Speter		is assumed on BSD-based systems, the latter on System
784938032Speter		V-based systems.  Attack noted by Phil Brandenberger of
785038032Speter		Swarthmore University.
785138032Speter	New syntaxes in test (-bt) mode:
785238032Speter		``.Dmvalue'' will define macro "m" to "value".
785338032Speter		``.Ccvalue'' will add "value" to class "c".
785438032Speter		``=Sruleset'' will dump the contents of the indicated
785538032Speter			ruleset.
785638032Speter		``=M'' will display the known mailers.
785738032Speter		``-ddebug-spec'' is equivalent to the command-line
785838032Speter			-d debug flag.
785938032Speter		``$m'' will print the value of macro $m.
786038032Speter		``$=c'' will print the contents of class $=c.
786138032Speter		``/mx host'' returns the MX records for ``host''.
786238032Speter		``/parse address'' will parse address, returning the value of
786338032Speter			crackaddr (essentially, the comment information)
786438032Speter			and the parsed address.
786538032Speter		``/try mailer address'' will rewrite address into the form
786638032Speter			it will have when presented to the indicated mailer.
786738032Speter		``/tryflags flags'' will set flags used by parsing.  The
786838032Speter			flags can be `H' for header or `E' for envelope,
786938032Speter			and `S' for sender or `R' for recipient.  These
787038032Speter			can be combined, so `HR' sets flags for header
787138032Speter			recipients.
787238032Speter		``/canon hostname'' will try to canonify hostname and
787338032Speter			return the result.
787438032Speter		``/map mapname key'' will look up `key' in the indicated
787538032Speter			`mapname' and return the result.
787638032Speter	Somewhat better handling of UNIX-domain socket addresses -- it
787738032Speter		should show the pathname rather than hex bytes.
787838032Speter	Restore ``-ba'' mode -- this reads a file from stdin and parses
787938032Speter		the header for envelope sender information and uses
788038032Speter		CR-LF as message terminators.  It was thought to be
788138032Speter		obsolete (used only for Arpanet NCP protocols), but it
788238032Speter		turns out that the UK ``Grey Book'' protocols require
788338032Speter		that functionality.
788438032Speter	Fix a fix in previous release -- if gethostname and gethostbyname
788538032Speter		return a name without dots, and if an attempt to canonify
788638032Speter		that name fails, wait one minute and try again.  This can
788738032Speter		result in an extra 60 second delay on startup if your system
788838032Speter		hostname (as returned by hostname(1)) has no dot and no names
788938032Speter		listed in /etc/hosts or your NIS map have a dot.
789038032Speter	Check for proper domain name on HELO and EHLO commands per
789138032Speter		RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
789238032Speter		of Michigan Technological University.
789338032Speter	Relax chownsafe rules slightly -- old version said that if you
789438032Speter		can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
789538032Speter		if fpathconf returned EINVAL or ENOSYS), assume that
789638032Speter		chown is not safe.  The new version falls back to whether
789738032Speter		you are on a BSD system or not.  This is important for
789838032Speter		SunOS, which apparently always returns one of those
789938032Speter		error codes.  This impacts whether you can mail to files
790038032Speter		or not.
790138032Speter	Syntax errors such as unbalanced parentheses in the configuration
790238032Speter		file could be omitted if you had "Oem" prior to the
790338032Speter		syntax error in the config file.  Change to always print
790438032Speter		the error message.  It was especially weird because it
790538032Speter		would cause a "warning" message to be sent to the Postmaster
790638032Speter		for every message sent (but with no transcript).  Problem
790738032Speter		noted by Gregory Paris of Motorola.
790838032Speter	Rewrite collect and putbody to handle full 8-bit data, including
790938032Speter		zero bytes.  These changes are internally extensive, but
791038032Speter		should have minimal impact on external function.
791138032Speter	Allow full words for option names -- if the option letter is
791238032Speter		(apparently) a space, then take the word following -- e.g.,
791338032Speter			O MatchGECOS=TRUE
791438032Speter		The full list of old and new names is as follows:
791538032Speter			7	SevenBitInput
791638032Speter			8	EightBitMode
791738032Speter			A	AliasFile
791838032Speter			a	AliasWait
791938032Speter			B	BlankSub
792038032Speter			b	MinFreeBlocks/MaxMessageSize
792138032Speter			C	CheckpointInterval
792238032Speter			c	HoldExpensive
792338032Speter			D	AutoRebuildAliases
792438032Speter			d	DeliveryMode
792538032Speter			E	ErrorHeader
792638032Speter			e	ErrorMode
792738032Speter			f	SaveFromLine
792838032Speter			F	TempFileMode
792938032Speter			G	MatchGECOS
793038032Speter			H	HelpFile
793138032Speter			h	MaxHopCount
793238032Speter			i	IgnoreDots
793338032Speter			I	ResolverOptions
793438032Speter			J	ForwardPath
793538032Speter			j	SendMimeErrors
793638032Speter			k	ConnectionCacheSize
793738032Speter			K	ConnectionCacheTimeout
793838032Speter			L	LogLevel
793938032Speter			l	UseErrorsTo
794038032Speter			m	MeToo
794138032Speter			n	CheckAliases
794238032Speter			O	DaemonPortOptions
794338032Speter			o	OldStyleHeaders
794438032Speter			P	PostmasterCopy
794538032Speter			p	PrivacyOptions
794638032Speter			Q	QueueDirectory
794738032Speter			q	QueueFactor
794838032Speter			R	DontPruneRoutes
794938032Speter			r, T	Timeout
795038032Speter			S	StatusFile
795138032Speter			s	SuperSafe
795238032Speter			t	TimeZoneSpec
795338032Speter			u	DefaultUser
795438032Speter			U	UserDatabaseSpec
795543730Speter			V	FallbackMXHost
795638032Speter			v	Verbose
795738032Speter			w	TryNullMXList
795838032Speter			x	QueueLA
795938032Speter			X	RefuseLA
796038032Speter			Y	ForkEachJob
796138032Speter			y	RecipientFactor
796238032Speter			z	ClassFactor
796338032Speter			Z	RetryFactor
796438032Speter		The old macros that passed information into sendmail have
796538032Speter		been changed to options; those correspondences are:
796638032Speter			$e	SmtpGreetingMessage
796738032Speter			$l	UnixFromLine
796838032Speter			$o	OperatorChars
796938032Speter			$q	(deleted -- not necessary)
797038032Speter		To avoid possible problems with an older sendmail,
797138032Speter		configuration level 6 is accepted by this version of
797238032Speter		sendmail; any config file using the new names should
797338032Speter		specify "V6" in the configuration.
797438032Speter	Change address parsing to properly note that a phrase before a
797538032Speter		colon and a trailing semicolon are essentially the same
797638032Speter		as text outside of angle brackets (i.e., sendmail should
797738032Speter		treat them as comments).  This is to handle the
797838032Speter		``group name: addr1, addr2, ..., addrN;'' syntax (it will
797938032Speter		assume that ``group name:'' is a comment on the first
798038032Speter		address and the ``;'' is a comment on the last address).
798138032Speter		This requires config file support to get right.  It does
798238032Speter		understand that :: is NOT this syntax, and can be turned
798338032Speter		off completely by setting the ColonOkInAddresses option.
798438032Speter	Level 6 config files added with new mailer flags:
798538032Speter		    A	Addresses are aliasable.
798638032Speter		    i	Do udb rewriting on envelope as well as header
798738032Speter			sender lines.  Applies to the from address mailer
798838032Speter			flags rather than the recipient mailer flags.
798938032Speter		    j	Do udb rewriting on header recipient addresses.
799038032Speter			Applies to the sender mailer flags rather than the
799138032Speter			recipient mailer flags.
799238032Speter		    k	Disable check for loops when doing HELO command.
799338032Speter		    o	Always run as the mail recipient, even on local
799438032Speter			delivery.
799538032Speter		    w	Check for an /etc/passwd entry for this user.
799638032Speter		    5	Pass addresses through ruleset 5.
799738032Speter		    :	Check for :include: on this address.
799838032Speter		    |	Check for |program on this address.
799938032Speter		    /	Check for /file on this address.
800038032Speter		    @	Look up sender header addresses in the user
800138032Speter			database.  Applies to the mailer flags for the
800238032Speter			mailer corresponding to the envelope sender
800338032Speter			address, rather than to recipient mailer flags.
800438032Speter		Pre-level 6 configuration files set A, w, 5, :, |, /, and @
800538032Speter		on the "local" mailer, the o flag on the "prog" and "*file*"
800638032Speter		mailers, and the ColonOkInAddresses option.
800738032Speter	Eight-to-seven bit MIME conversions.  This borrows ideas from
800838032Speter		John Beck of Hewlett-Packard, who generously contributed
800938032Speter		their implementation to me, which I then didn't use (see
801038032Speter		mime.c for an explanation of why).  This adds the
801138032Speter		EightBitMode option (a.k.a. `8') and an F=8 mailer flag
801238032Speter		to control handling of 8-bit data.  These have to cope with
801338032Speter		two types of 8-bit data: unlabelled 8-bit data (that is,
801438032Speter		8-bit data that is entered without declaring it as 8-bit
801538032Speter		MIME -- technically this is illegal according to the
801638032Speter		specs) and labelled 8-bit data (that is, it was declared
801738032Speter		as 8BITMIME in the ESMTP session or by using the
801838032Speter		-B8BITMIME command line flag).  If the F=8 mailer flag is
801938032Speter		set then 8-bit data is sent to non-8BITMIME machines
802038032Speter		instead of converting to 7 bit (essentially using
802138032Speter		just-send-8 semantics).  The values for EightBitMode are:
802238032Speter		    m	convert unlabelled 8-bit input to 8BITMIME, and do
802338032Speter			any necessary conversion of 8BITMIME to 7BIT
802438032Speter			(essentially, the full MIME option).
802538032Speter		    p	pass unlabelled 8-bit input, but convert labelled
802638032Speter			8BITMIME input to 7BIT as required (default).
802738032Speter		    s	strict adherence: reject unlabelled 8-bit input,
802838032Speter			convert 8BITMIME to 7BIT as required.  The F=8
802938032Speter			flag is ignored.
803038032Speter		Unlabelled 8-bit data is rejected in mode `s' regardless of
803138032Speter			the setting of F=8.
803238032Speter	Add new internal class 'n', which is the set of MIME Content-Types
803338032Speter		which can not be 8 to 7 bit encoded because of other
803438032Speter		considerations.  Types "multipart/*" and "message/*" are
803538032Speter		never directly encoded (although their components can be).
803638032Speter	Add new internal class 's', which is the set of subtypes of the
803738032Speter		MIME message/* content type that can be treated as though
803838032Speter		they are an RFC822 message.  It is predefined to have
803938032Speter		"rfc822".  Suggested By Kari Hurtta.
804038032Speter	Add new internal class 'e'.  This is the set of MIME
804138032Speter		Content-Transfer-Encodings that can be converted to
804238032Speter		a seven bit format (Quoted-Printable or Base64).  It is
804338032Speter		preinitialized to contain "7bit", "8bit", and "binary".
804438032Speter	Add C=charset mailer parameter and the the DefaultCharSet option (no
804538032Speter		short name) to set the default character set to use in the
804638032Speter		Content-Type: header when doing encoding of an 8-bit message
804738032Speter		which isn't marked as MIME into MIME format.  If the C=
804838032Speter		parameter is set on the Envelope From address, use that as
804938032Speter		the default encoding; else use the DefaultCharSet option.
805038032Speter		If neither is set, it defaults to "unknown-8bit" as
805138032Speter		suggested by RFC 1428 section 3.
805238032Speter	Allow ``U=user:group'' field in mailer definition to set a default
805338032Speter		user and group that a mailer will be executed as.  This
805438032Speter		overrides the 'u' and 'g' options, and if the `F=S' flag is
805538032Speter		also set, it is the uid/gid that will always be used (that
805638032Speter		is, the controlling address is ignored).  The values may be
805738032Speter		numeric or symbolic; if only a symbolic user is given (no
805838032Speter		group) that user's default group in the passwd file is used
805938032Speter		as the group.  Based on code donated by Chip Rosenthal of
806038032Speter		Unicom.
806138032Speter	Allow `u' option to also accept user:group as a value, in the same
806238032Speter		fashion as the U= mailer option.
806338032Speter	Add the symbolic time zone name in the Arpanet format dates (as
806438032Speter		a comment).  This adds a new compile-time configuration
806538032Speter		flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
806638032Speter		of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
806738032Speter		of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
806838032Speter		*tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
806938032Speter		timezone()), or TZ_NONE (don't include the comment).  Code
807038032Speter		from Chip Rosenthal.
807138032Speter	The "Timeout" option (formerly "r") is extended to allow suboptions.
807238032Speter		For example,
807338032Speter		    O Timeout.helo = 2m
807438032Speter		There are also two new suboptions "queuereturn" and
807538032Speter		"queuewarn"; these subsume the old T option.  Thus, to
807638032Speter		set them both the preferred new syntax is
807738032Speter		    O Timeout.queuereturn = 5d
807838032Speter		    O Timeout.queuewarn = 4h
807938032Speter	Sort queue by host name instead of by message priority if the
808038032Speter		QueueSortOrder option (no short name) is set is set to
808138032Speter		``host''.  This makes better use of the connection cache,
808238032Speter		but may delay more ``interactive'' messages behind large
808338032Speter		backlogs under some circumstances.  This is probably a
808438032Speter		good option if you have high speed links or don't do lots
808538032Speter		of ``batch'' messages, but less good if you are using
808638032Speter		something like PPP on a 14.4 modem.  Based on code
808738032Speter		contributed by Roy Mongiovi of Georgia Tech (my main
808838032Speter		contribution was to make it configurable).
808938032Speter	Save i-number of df file in qf file to simplify rebuilding of queue
809038032Speter		after disastrous disk crash.  Suggested by Kyle Jones of
809138032Speter		UUNET; closely based on code from KJS DECWRL code written
809238032Speter		by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
809338032Speter		are NOT back compatible with 8.6 -- that is, you can convert
809438032Speter		from 8.6 to 8.7, but not the other direction.
809538032Speter	Add ``F=d'' mailer flag to disable all use of angle brackets in
809638032Speter		route-addrs in envelopes; this is because in some cases
809738032Speter		they can be sent to the shell, which interprets them as
809838032Speter		I/O redirection.
809938032Speter	Don't include error file (option E) with return-receipts; this
810038032Speter		can be confusing.
810138032Speter	Don't send "Warning: cannot send" messages to owner-* or
810238032Speter		*-request addresses.  Suggested by Christophe Wolfhugel
810338032Speter		of the Institut Pasteur, Paris.
810438032Speter	Allow -O command line flag to set long form options.
810538032Speter	Add "MinQueueAge" option to set the minimum time between attempts
810638032Speter		to run the queue.  For example, if the queue interval
810738032Speter		(-q value) is five minutes, but the minimum queue age
810838032Speter		is fifteen minutes, jobs won't be tried more often than
810938032Speter		once every fifteen minutes.  This can be used to give
811038032Speter		you more responsiveness if your delivery mode is set to
811138032Speter		queue-only.
811238032Speter	Allow "fileopen" timeout (default: 60 seconds) for opening
811338032Speter		:include: and .forward files.
811438032Speter	Add "-k", "-v", and "-z" flags to map definitions; these set the
811538032Speter		key field name, the value field name, and the field
811638032Speter		delimiter.  The field delimiter can be a single character
811738032Speter		or the sequence "\t" or "\n" for tab or newline.
811838032Speter		These are for use by NIS+ and similar access methods.
811938032Speter	Change maps to always strip quotes before lookups; the -q flag
812043730Speter		turns off this behavior.  Suggested by Motonori Nakamura.
812138032Speter	Add "nisplus" map class.  Takes -k and -v flags to choose the
812238032Speter		key and value field names respectively.  Code donated by
812338032Speter		Sun Microsystems.
812438032Speter	Add "hesiod" map class.  The "file name" is used as the
812538032Speter		"HesiodNameType" parameter to hes_resolve(3).  Returns the
812638032Speter		first value found for the match.  Code donated by Scott
812738032Speter		Hutton of Indiana University.
812838032Speter	Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
812938032Speter		specify the name of the property that is searched as the
813038032Speter		key and a -v flag to specify the name of the property that
813138032Speter		is returned as the value (defaults to "members").  The
813238032Speter		default map is "/aliases".  Some code based on code
813338032Speter		contributed by Robert La Ferla of Hot Software.
813438032Speter	Add "text" map class.  This does slow, linear searches through
813538032Speter		text files.  The -z flag specifies a column delimiter
813638032Speter		(defaults to any sequence of white space), the -k flag
813738032Speter		sets the key column number, and the -v flag sets the
813838032Speter		value column number.  Lines beginning with `#' are treated
813938032Speter		as comments.
814038032Speter	Add "program" map class to execute arbitrary programs.  The search
814138032Speter		key is presented as the last argument; the output is one
814238032Speter		line read from the programs standard output.  Exit statuses
814338032Speter		are from sysexits.h.
814438032Speter	Add "sequence" map class -- searches maps in sequence until it
814538032Speter		finds a match.  For example, the declarations:
814638032Speter		    Kmap1 ...
814738032Speter		    Kmap2 ...
814838032Speter		    Kmapseq sequence map1 map2
814938032Speter		defines a map "mapseq" that first searches map1; if the
815038032Speter		value is found it is returned immediately, otherwise
815138032Speter		map2 is searched and the value returned.
815238032Speter	Add "switch" map class.  This is much like "sequence" except that
815338032Speter		the ordering is fetched from an external file, usually
815438032Speter		the system service switch.  The parameter is the name of
815538032Speter		the service to switch on, and the maps that it will use
815638032Speter		are the name of the switch map followed by ".service_type".
815738032Speter		For example, if the declaration of the map is
815838032Speter		    Ksample switch hosts
815938032Speter		and the system service switch specifies that hosts are
816038032Speter		looked up using dns and nis in that order, then this is
816138032Speter		equivalent to
816238032Speter		    Ksample sequence sample.dns sample.nis
816338032Speter		The subordinate maps (sample.*) must already be defined.
816438032Speter	Add "user" map class -- looks up users using getpwnam.  Takes a
816538032Speter		"-v field" flag on the definition that tells what passwd
816638032Speter		entry to return -- legal values are name, passwd, uid, gid,
816738032Speter		gecos, dir, and shell.  Generally expected to be used with
816838032Speter		the -m (matchonly) flag.
816938032Speter	Add "bestmx" map class -- returns the best MX value for the host
817038032Speter		listed as the value.  If there are several "best" MX records
817138032Speter		for this host, one will be chosen at random.
817238032Speter	Add "userdb" map class -- looks up entries in the user database.
817338032Speter		The "file name" is actually the tag that will be used,
817438032Speter		typically "mailname".  If there are multiple entries
817538032Speter		matching the name, the one chosen is undefined.
817638032Speter	Add multiple queue timeouts (both return and warning).  These are
817738032Speter		set by the Precedence: or Priority: header fields to one of
817838032Speter		three values.  If a Priority: is set and has value "normal",
817964562Sgshapiro		"urgent", or "non-urgent" the corresponding timeouts are
818038032Speter		used.  If no priority is set, the Precedence: is consulted;
818138032Speter		if negative, non-urgent timeouts are used; if greater than
818238032Speter		zero, urgent timeouts are used.  Otherwise, normal timeouts
818338032Speter		are used.  The timeouts are set by setting the six timeouts
818438032Speter		queue{warn,return}.{urgent,normal,non-urgent}.
818538032Speter	Fix problem when a mail address is resolved to a $#error mailer
818638032Speter		with a temporary failure indication; it works in SMTP,
818738032Speter		but when delivering locally the mail is silently discarded.
818838032Speter		This patch, from Kyle Jones of UUNET, bounces it instead
818938032Speter		of queueing it (queueing is very hard).
819038032Speter	When using /etc/hosts or NIS-style lookups, don't assume that
819138032Speter		the first name in the list is the best one -- instead,
819238032Speter		search for the first one with a dot.  For example, if
819338032Speter		an /etc/hosts entry reads
819438032Speter		    128.32.149.68	mammoth mammoth.CS.Berkeley.EDU
819538032Speter		this change will use the second name as the canonical
819638032Speter		machine name instead of the initial, unqualified name.
819738032Speter	Change dequote map to replace spaces in quoted text with a value
819838032Speter		indicated by the -s flag on the dequote map definition.
819938032Speter		For example, ``Mdequote dequote -s_'' will change
820038032Speter		"Foo Bar" into an unquoted Foo_Bar instead of leaving it
820138032Speter		quoted (because of the space character).  Suggested by Dan
820238032Speter		Oscarsson for use in X.400 addresses.
820338032Speter	Implement long macro names as ${name}; long class names can
820438032Speter		be similarly referenced as $={name} and $~{name}.
820538032Speter		Definitions are (e.g.) ``D{name}value''.  Names that have
820638032Speter		a leading lower case letter or punctuation characters are
820738032Speter		reserved for internal use by sendmail; i.e., config files
820838032Speter		should use names that begin with a capital letter.  Based
820938032Speter		on code contributed by Dan Oscarsson.
821038032Speter	Fix core dump if getgrgid returns a null group list (as opposed
821138032Speter		to an empty group list, that is, a pointer to a list
821238032Speter		with no members).  Fix from Andrew Chang of Sun Microsystems.
821338032Speter	Fix possible core dump if malloc fails -- if the malloc in xalloc
821438032Speter		failed, it called syserr which called newstr which called
821538032Speter		xalloc....  The newstr is now avoided for "panic" messages.
821638032Speter		Reported by Stuart Kemp of James Cook University.
821738032Speter	Improve connection cache timeouts; previously, they were not even
821838032Speter		checked if you were delivering to anything other than an
821938032Speter		IPC-connected host, so a series of (say) local mail
822038032Speter		deliveries could cause cached connections to be open
822138032Speter		much longer than the specified timeout.
822238032Speter	If an incoming message exceeds the maximum message size, stop
822338032Speter		writing the incoming bytes to the queue data file, since
822438032Speter		this can fill your mqueue partition -- this is a possible
822538032Speter		denial-of-service attack.
822638032Speter	Don't reject all numeric local user names unless HESIOD is
822738032Speter		defined.  It turns out that Posix allows all-numeric
822838032Speter		user names.  Fix from Tony Sanders of BSDI.
822938032Speter	Add service switch support.  If the local OS has a service
823038032Speter		switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
823138032Speter		on DEC systems) that will be used; otherwise, it falls back
823238032Speter		to using a local mechanism based on the ServiceSwitchFile
823338032Speter		option (default: /etc/service.switch).  For example, if the
823438032Speter		service switch lists "files" and "nis" for the aliases
823538032Speter		service, that will be the default lookup order.  the "files"
823638032Speter		("local" on DEC) service type expands to any alias files
823738032Speter		you listed in the configuration file, even if they aren't
823838032Speter		actually file lookups.
823938032Speter	Option I (NameServerOptions) no longer sets the "UseNameServer"
824038032Speter		variable which tells whether or not DNS should be considered
824138032Speter		canonical.  This is now determined based on whether or not
824238032Speter		"dns" is in the service list for "hosts".
824338032Speter	Add preliminary support for the ESMTP "DSN" extension (Delivery
824438032Speter		Status Notifications).  DSN notifications override
824538032Speter		Return-Receipt-To: headers, which are bogus anyhow --
824638032Speter		support for them has been removed.
824738032Speter	Add T=mts-name-type/address-type/diagnostic-type keyletter to mailer
824838032Speter		definitions to define the types used in DSN returns for
824938032Speter		MTA names, addresses, and diagnostics respectively.
825038032Speter	Extend heuristic to force running in ESMTP mode to look for the
825138032Speter		five-character string "ESMTP" anywhere in the 220 greeting
825238032Speter		message (not just the second line).  This is to provide
825338032Speter		better compatibility with other ESMTP servers.
825438032Speter	Print sequence number of job when running the queue so you can
825538032Speter		easily see how much progress you have made.  Suggested
825638032Speter		by Peter Wemm of DIALix.
825738032Speter	Map newlines to spaces in logged message-ids; some versions of
825838032Speter		syslog truncate the rest of the line after newlines.
825938032Speter		Suggested by Fletcher Mattox of U. Texas.
826038032Speter	Move up forking for job runs so that if a message is split into
826138032Speter		multiple envelopes you don't get "fork storms" -- this
826238032Speter		also improves the connection cache utilization.
826338032Speter	Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
826438032Speter		the purposes of refusing to send error returns.  Suggested
826538032Speter		by Motonori Nakamura of Ritsumeikan University.
826638032Speter	Relax rules on when a file can be written when referenced from
826738032Speter		the aliases file: use the default uid/gid instead of the
826838032Speter		real uid/gid.  This allows you to create a file owned by
826938032Speter		and writable only by the default uid/gid that will work
827090792Sgshapiro		all the time (without having the set-user-ID bit set).  Change
827138032Speter		suggested by Shau-Ping Lo and Andrew Cheng of Sun
827238032Speter		Microsystems.
827338032Speter	Add "DialDelay" option (no short name) to provide an "extra"
827438032Speter		delay for dial on demand systems.  If this is non-zero
827538032Speter		and a connect fails, sendmail will wait this long and
827638032Speter		then try again.  If it takes longer than the kernel
827738032Speter		timeout interval to establish the connection, this
827838032Speter		option can give the network software time to establish
827938032Speter		the link.  The default units are seconds.
828038032Speter	Move logging of sender information to be as early as possible;
828138032Speter		previously, it could be delayed a while for SMTP mail
828238032Speter		sent to aliases.  Suggested by Brad Knowles of the
828338032Speter		Defense Information Systems Agency.
828438032Speter	Call res_init() before setting RES_DEBUG; this is required by
828538032Speter		BIND 4.9.3, or so I'm told.  From Douglas Anderson of
828638032Speter		the National Computer Security Center.
828738032Speter	Add xdelay= field in logs -- this is a transaction delay, telling
828838032Speter		you how long it took to deliver to this address on the
828938032Speter		last try.  It is intended to be used for sorting mailing
829038032Speter		lists to favor "quick" addresses.  Provided for use by
829138032Speter		the mailprio scripts (see below).
829238032Speter	If a map cannot be opened, and that map is non-optional, and
829338032Speter		an address requires that map for resolution, queue the
829438032Speter		map instead of bouncing it.  This involves creating a
829538032Speter		pseudo-class of maps called "bogus-map" -- if a required
829638032Speter		map cannot be opened, the class is changed to bogus-map;
829738032Speter		all queries against bogus-map return "tempfail".  The
829838032Speter		bogus-map class is not directly accessible.  A sample
829938032Speter		implementation was donated by Jem Taylor of Glasgow
830038032Speter		University Computing Service.
830138032Speter	Fix a possible core dump when mailing to a program that talks
830238032Speter		SMTP on its standard input.  Fix from Keith Moore of
830338032Speter		the University of Kentucky.
830438032Speter	Make it possible to resolve filenames to $#local $: @ /filename;
830538032Speter		previously, the "@" would cause it to not be recognized
830638032Speter		as a file.  Problem noted by Brian Hill of U.C. Davis.
830738032Speter	Accept a -1 signal to re-exec the daemon.  This only works if
830838032Speter		argv[0] is a full path to sendmail.
830938032Speter	Fix bug in "addr=..." field in O option on little-endian machines
831038032Speter		-- the network number wasn't being converted to network
831138032Speter		byte order.  Patch from Kurt Lidl of Pix Technologies
831238032Speter		Corporation.
831338032Speter	Pre-initialize the resolver early on; this is to avoid a bug with
831438032Speter		BIND 4.9.3 that can cause the _res.retry field to get
831538032Speter		reset to zero, causing all name server lookups to time
831638032Speter		out.  Fix from Matt Day of Artisoft.
831738032Speter	Restore T line (trusted users) in config file -- but instead of
831838032Speter		locking out the -f flag, they just tell whether or not
831938032Speter		an X-Authentication-Warning: will be added.  This really
832038032Speter		just creates new entries in class 't', so "Ft/file/name"
832138032Speter		can be used to read trusted user names from a file.
832238032Speter		Trusted users are also allowed to execute programs even
832338032Speter		if they have a shell that isn't in /etc/shells.
832438032Speter	Improve NEWDB alias file rebuilding so it will create them
832538032Speter		properly if they do not already exist.  This had been
832638032Speter		a MAYBENEXTRELEASE feature in 8.6.9.
832738032Speter	Check for @:@ entry in NIS maps before starting up to avoid
832838032Speter		(but not prevent, sigh) race conditions.  This ought to
832938032Speter		be handled properly in ypserv, but isn't.  Suggested by
833038032Speter		Michael Beirne of Motorola.
833138032Speter	Refuse connections if there isn't enough space on the filesystem
833238032Speter		holding the queue.  Contributed by Robert Dana of Wolf
833338032Speter		Communications.
833438032Speter	Skip checking for directory permissions in the path to a file
833538032Speter		when checking for file permissions iff setreuid()
833638032Speter		succeeded -- it is unnecessary in that case.  This avoids
833738032Speter		significant performance problems when looking for .forward
833838032Speter		files.  Based on a suggestion by Win Bent of USC.
833938032Speter	Allow symbolic ruleset names.  Syntax can be "Sname" to get an
834038032Speter		arbitrary ruleset number assigned or "Sname = integer"
834138032Speter		to assign a specific ruleset number.  Reference is
834238032Speter		$>name_or_number.  Names can be composed of alphas, digits,
834338032Speter		underscore, or hyphen (first character must be non-numeric).
834438032Speter	Allow -o flag on AliasFile lines to make the alias file optional.
834538032Speter		From Bryan Costales of ICSI.
834638032Speter	Add NoRecipientAction option to handle the case where there is
834738032Speter		no legal recipient header in the message.  It can take
834838032Speter		on values:
834938032Speter		  None			Leave the message as is.  The
835038032Speter					message will be passed on even
835138032Speter					though it is in technically
835238032Speter					illegal syntax.
835338032Speter		  Add-To		Add a To: header with any
835438032Speter					recipients that it can find from
835538032Speter					the envelope.  This risks exposing
835638032Speter					Bcc: recipients.
835738032Speter		  Add-Apparently-To	Add an Apparently-To: header.  This
835838032Speter					has almost no redeeming social value,
835938032Speter					and is provided only for back
836038032Speter					compatibility.
836138032Speter		  Add-To-Undisclosed	Add a header reading
836238032Speter					To: undisclosed-recipients:;
836338032Speter					which will have the effect of
836438032Speter					making the message legal without
836538032Speter					exposing Bcc: recipients.
836638032Speter		  Add-Bcc		To add an empty Bcc: header.
836738032Speter					There is a chance that mailers down
836838032Speter					the line will delete this header,
836938032Speter					which could cause exposure of Bcc:
837038032Speter					recipients.
837138032Speter		The default is NoRecipientAction=None.
837238032Speter	Truncate (rather than delete) Bcc: lines in the header.  This
837338032Speter		should prevent later sendmails (at least, those that don't
837438032Speter		themselves delete Bcc:) from considering this message to
837538032Speter		be non-conforming -- although it does imply that non-blind
837638032Speter		recipients can see that a Bcc: was sent, albeit not to whom.
837738032Speter	Add SafeFileEnvironment option.  If declared, files named as delivery
837838032Speter		targets must be regular files in addition to the regular
837938032Speter		checks.  Also, if the option is non-null then it is used as
838038032Speter		the name of a directory that is used as a chroot(2)
838138032Speter		environment for the delivery; the file names listed in an
838238032Speter		alias or forward should include the name of this root.
838338032Speter		For example, if you run with
838438032Speter			O SafeFileEnvironment=/arch
838538032Speter		then aliases should reference "/arch/rest/of/path".  If a
838638032Speter		value is given, sendmail also won't try to save to
838738032Speter		/usr/tmp/dead.letter (instead it just leaves the job in the
838838032Speter		queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
838938032Speter	Support -A flag for alias files; this will comma concatenate like
839038032Speter		entries.  For example, given the aliases:
839138032Speter			list: member1
839238032Speter			list: member2
839338032Speter		and an alias file declared as:
839438032Speter			OAhash:-A /etc/aliases
839538032Speter		the final alias inserted will be "list: member1,member2";
839638032Speter		without -A you will get an error on the second and subsequent
839738032Speter		alias for "list".  Contributed by Bryan Costales of ICSI.
839838032Speter	Line-buffer transcript file.  Suggested by Liudvikas Bukys.
839938032Speter	Fix a problem that could cause very long addresses to core dump in
840038032Speter		some special circumstances.  Problem pointed out by Allan
840138032Speter		Johannesen.
840238032Speter	(Internal change.)  Change interface to expand() (macro expansion)
840338032Speter		to be simpler and more consistent.
840438032Speter	Delete check for funny qf file names.  This didn't really give
840538032Speter		any extra security and caused some people some problems.
840638032Speter		(If you -really- want this, define PICKY_QF_NAME_CHECK
840738032Speter		at compile time.)  Suggested by Kyle Jones of UUNET.
840838032Speter	(Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
840938032Speter		merge with DSN code; this is simpler and more consistent.
841038032Speter		This may affect some people who have written their own
841138032Speter		checkcompat() routine.
841238032Speter	(Internal change.)  Eliminate `D' line in qf file.  The df file
841338032Speter		is now assumed to be the same name as the qf file (with
841438032Speter		the `q' changed to a `d', of course).
841538032Speter	Avoid forking for delivery if all recipient mailers are marked as
841638032Speter		"expensive" -- this can be a major cost on some systems.
841738032Speter		Essentially, this forces sendmail into "queue only" mode
841838032Speter		if all it is going to do is queue anyway.
841938032Speter	Avoid sending a null message in some rather unusual circumstances
842038032Speter		(specifically, the RCPT command returns a temporary
842138032Speter		failure but the connection is lost before the DATA
842238032Speter		command).  Fix from Scott Hammond of Secure Computing
842338032Speter		Corporation.
842438032Speter	Change makesendmail to use a somewhat more rational naming scheme:
842538032Speter		Makefiles and obj directories are named $os.$rel.$arch,
842638032Speter		where $os is the operating system (e.g., SunOS), $rel is
842738032Speter		the release number (e.g., 5.3), and $arch is the machine
842838032Speter		architecture (e.g., sun4).  Any of these can be omitted,
842938032Speter		and anything after the first dot in a release number can
843038032Speter		be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
843138032Speter		version used $os.$arch.$rel and was rather less general.
843238032Speter	Change makesendmail to do a "make depend" in the target directory
843338032Speter		when it is being created.  This involves adding an empty
843438032Speter		"depend:" entry in most Makefiles.
843538032Speter	Ignore IDENT return value if the OSTYPE field returns "OTHER",
843638032Speter		as indicated by RFC 1413.  Pointed out by Kari Hurtta
843738032Speter		of the Finnish Meteorological Institute.
843838032Speter	Fix problem that could cause multiple responses to DATA command
843938032Speter		on header syntax errors (e.g., lines beginning with colons).
844038032Speter		Problem noted by Jens Thomassen of the University of Oslo.
844138032Speter	Don't let null bytes in headers cause truncation of the rest of
844238032Speter		the header.
844338032Speter	Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
844438032Speter	Increase timeouts on message data puts to allow time for receivers
844538032Speter		to canonify addresses in headers on the fly.  This is still
844638032Speter		a rather ugly heuristic.  From Motonori Nakamura.
844738032Speter	Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
844838032Speter		records are not used when canonifying names, and when MX
844938032Speter		lookups are done for addressing they must be fully
845038032Speter		qualified.  This is useful if you have a wildcard MX record,
845138032Speter		although it may cause other problems.  In general, don't use
845238032Speter		wildcard MX records.  Patch from Motonori Nakamura.
845338032Speter	Eliminate default two-line SMTP greeting message.  Instead of
845438032Speter		adding an extra "ESMTP spoken here" line, the word "ESMTP"
845538032Speter		is added between the first and second word of the first
845638032Speter		line of the greeting message (i.e., immediately after the
845738032Speter		host name).  This eliminates the need for the BROKEN_SMTP_PEERS
845838032Speter		compile flag.  Old sendmails won't see the ESMTP, but that's
845938032Speter		acceptable because SIZE was the only useful extension that
846038032Speter		old sendmails understand.
846138032Speter	Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
846238032Speter		invoked state dumps.  From Masaharu Onishi.
846338032Speter	Allow on-line comments in .forward and :include: files; they are
846438032Speter		introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
846538032Speter		is a space or a tab.  This is intended for native
846638032Speter		representation of non-ASCII sets such as Japanese, where
846738032Speter		existing encodings would be unreadable or would lose
846838032Speter		data -- for example,
846938032Speter		 <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
847038032Speter					(romanized/less information)
847138032Speter		 <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
847238032Speter					      =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
847338032Speter					(with MIME encoding, not human readable)
847438032Speter		 <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
847538032Speter					(native encoding with ISO-2022-JP)
847638032Speter		The last form is human readable in the Japanese environment.
847738032Speter		Based on a fix from (surprise!) Motonori Nakamura.
847838032Speter	Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
847938032Speter		messages to that host; these are most frequently associated
848038032Speter		with addresses rather than the host, with the exception of
848138032Speter		421 (service shutting down).  The effect was to cause queues
848238032Speter		to sometimes take an excessive time to flush.  Reported by
848338032Speter		Robert Sargent of Southern Geographics Technologies and
848438032Speter		Eric Prestemon of American University.
848538032Speter	Add Nice=N mailer option to set the niceness at which a mailer will
848638032Speter		run.  This is actually a relative niceness (that is, an
848738032Speter		increment on the background value).
848838032Speter	Log queue runs that are skipped due to high loads.  They are logged
848938032Speter		at LOG_INFO priority iff the log level is > 8.  Contributed
849038032Speter		by Bruce Nagel of Data General.
849138032Speter	Allow the error mailer to accept a DSN-style error status code
849238032Speter		instead of an sysexits status code in the host part.
849338032Speter		Anything with a dot will be interpreted as a DSN-style code.
849438032Speter	Add new mailer flag: F=3 will tell translations to Quoted-Printable
849538032Speter		to encode characters that might be munged by an EBCDIC system
849638032Speter		in addition to the set required by RFC 1521.  The additional
849738032Speter		characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
849838032Speter		(Think of "IBM 360" as the mnemonic for this flag.)
849938032Speter	Change check for mailing to files to look for a pathname of [FILE]
850038032Speter		rather than looking for the mailer named *file*.  The mapping
850138032Speter		of leading slashes still goes to the *file* mailer.  This
850238032Speter		allows you to implement the *file* mailer as a separate
850338032Speter		program, for example, to insert a Content-Length: header
850438032Speter		or do special security policy.  However, note that the usual
850538032Speter		initial checking for the file permissions is still done, and
850638032Speter		the program in question needs to be very careful about how
850738032Speter		it does the file write to avoid security problems.
850838032Speter	Be able to read ~root/.forward even if the path isn't accessible to
850938032Speter		regular users.  This is disrecommended because sendmail
851038032Speter		sometimes does not run as root (e.g., when an unsafe option
851138032Speter		is specified on the command line), but should otherwise be
851238032Speter		safe because .forward files must be owned by the user for
851338032Speter		whom mail is being forwarded, and cannot be a symbolic link.
851438032Speter		Suggested by Forrest Aldrich of Wang Laboratories.
851538032Speter	Add new "HostsFile" option that is the pathname to the /etc/hosts
851638032Speter		file.  This is used for canonifying hostnames when the
851738032Speter		service type is "files".
851838032Speter	Implement programs on F (read class from file) line.  The syntax is
851938032Speter		Fc|/path/to/program to read the output from the program
852038032Speter		into class "c".
852138032Speter	Probe the network interfaces to find alternate names for this
852238032Speter		host.  Requires the SIOCGIFCONF ioctl call.  Code
852338032Speter		contributed by SunSoft.
852438032Speter	Add "E" configuration line to set or propagate environment
852538032Speter		variables into children.  "E<envar>" will propagate
852638032Speter		the named variable from the environment when sendmail
852738032Speter		was invoked into any children it calls; "E<envar>=<value>"
852838032Speter		sets the named variable to the indicated value.  Any
852938032Speter		variables not explicitly named will not be in the child
853038032Speter		environment.  However, sendmail still forces an
853138032Speter		"AGENT=sendmail" environment variable, in part to enforce
853238032Speter		at least one environment variable, since many programs and
853338032Speter		libraries die horribly if this is not guaranteed.
853438032Speter	Change heuristic for rebuilding both NEWDB and NDBM versions of
853538032Speter		alias databases -- new algorithm looks for the substring
853638032Speter		"/yp/" in the file name.  This is more portable and involves
853738032Speter		less overhead.  Suggested by Motonori Nakamura.
853838032Speter	Dynamically allocate the queue work list so that you don't lose
853938032Speter		jobs in large queue runs.  The old QUEUESIZE compile parameter
854038032Speter		is replaced by QUEUESEGSIZE (the unit of allocation, which
854138032Speter		should not need to be changed) and the MaxQueueRunSize option,
854238032Speter		which is the absolute maximum number of jobs that will ever
854338032Speter		be handled in a single queue run.  Based on code contributed
854438032Speter		by Brian Coan of the Institute for Global Communications.
854538032Speter	Log message when a message is dropped because it exceeds the maximum
854638032Speter		message size.  Suggested by Leo Bicknell of Virginia Tech.
854738032Speter	Allow trusted users (those on a T line or in $=t) to use -bs without
854838032Speter		an X-Authentication-Warning: added.  Suggested by Mark Thomas
854938032Speter		of Mark G. Thomas Consulting.
855038032Speter	Announce state of compile flags on -d0.1 (-d0.10 throws in the
855138032Speter		OS-dependent defines).  The old semantic of -d0.1 to not
855238032Speter		run the daemon in background has been moved to -d99.100,
855338032Speter		and the old 52.5 flag (to avoid disconnect() from closing
855438032Speter		all output files) has been moved to 52.100.  This makes
855538032Speter		things more consistent (flags below .100 don't change
855638032Speter		semantics) and separates out the backgrounding so that
855738032Speter		it doesn't happen automatically on other unrelated debugging
855838032Speter		flags.
855938032Speter	If -t is used but no addresses are found in the header, give an
856038032Speter		error message rather than just doing nothing.  Fix from
856138032Speter		Motonori Nakamura.
856238032Speter	On systems (like SunOS) where the effective gid is not necessarily
856338032Speter		included in the group list returned by getgroups(), the
856438032Speter		`restrictmailq' option could sometimes cause an authorized
856538032Speter		user to not be able to use `mailq'.  Fix from Charles Hannum
856638032Speter		of MIT.
856738032Speter	Allow symbolic service names for [IPC] mailers.  Suggested by
856838032Speter		Gerry Magennis of Logica International.
856938032Speter	Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
857038032Speter		when running DNS.  For example, if the name FTP.Foo.ORG is
857138032Speter		a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
857238032Speter		the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
857338032Speter		if this option is not set, or "FTP.Foo.ORG" if it is set.
857438032Speter		This is technically illegal under RFC 822 and 1123, but the
857538032Speter		IETF is moving toward legalizing it.  Note that turning on
857638032Speter		this option is not sufficient to guarantee that a downstream
857738032Speter		neighbor won't rewrite the address for you.
857838032Speter	Add "-m" flag to makesendmail script -- this tells you what object
857938032Speter		directory and Makefile it will use, but doesn't actually do
858038032Speter		the make.
858138032Speter	Do some additional checking on the contents of the qf file to try
858238032Speter		to detect attacks against the qf file.  In particular,
858338032Speter		abort on any line beginning "From ", and add an "end of
858438032Speter		file" line -- any data after that line is prohibited.
858538032Speter	Always use /etc/sendmail.cf, regardless of the arbitrary vendor
858638032Speter		choices.  This can be overridden in the Makefile by using
858738032Speter		either -DUSE_VENDOR_CF_PATH to get the vendor location
858838032Speter		(to the extent that we know it) or by defining
858938032Speter		_PATH_SENDMAILCF (which is a "hard override").  This allows
859038032Speter		sendmail 8 to have more consistent installation instructions.
859138032Speter	Allow macros on `K' line in config file.  Suggested by Andrew Chang
859238032Speter		of Sun Microsystems.
859338032Speter	Improved symbol table hash function from Eric Wassenaar.  This one
859438032Speter		is at least 50% faster.
859538032Speter	Fix problem that didn't notice that timeout on file open was a
859638032Speter		transient error.  Fix from Larry Parmelee of Cornell
859738032Speter		University.
859838032Speter	Allow comments (lines beginning with a `#') in files read for
859938032Speter		classes.  Suggested by Motonori Nakamura.
860038032Speter	Make SIGINT (usually ^C) in test mode return to the prompt instead
860138032Speter		of dropping out entirely.  This makes testing some of the
860238032Speter		name server lookups easier to deal with when there are
860338032Speter		hung servers.  From Motonori Nakamura.
860438032Speter	Add new ${opMode} macro that is set to the current operation mode
860538032Speter		(e.g., `s' for -bs, `t' for -bt, etc.).  Suggested by
860638032Speter		Claude Marinier <MARINIER@emp.ewd.dreo.dnd.ca>.
860738032Speter	Add new delivery mode (Odd) that defers all map lookups to queue runs.
860838032Speter		Kind of like queue-only mode (Odq) except it tries to avoid
860938032Speter		any external service requests; for dial-on-demand hosts that
861038032Speter		want to minimize DNS lookups when mail is being queued.  For
861138032Speter		this to work you will also have to make sure that gethostbyname
861238032Speter		of your local host name does not do a DNS lookup.
861338032Speter	Improved handling of "out of space" conditions from John Myers of
861438032Speter		Carnegie Mellon.
861538032Speter	Improved security for mailing to files on systems that have fchmod(2)
861638032Speter		support.
861738032Speter	Improve "cannot send message for N days" message -- now says "could
861838032Speter		not send for past N days".  Suggested by Tom Moore of AT&T
861938032Speter		Global Information Solutions.
862038032Speter	Less misleading Subject: line on messages sent to postmaster only.
862138032Speter		From Motonori Nakamura.
862238032Speter	Avoid duplicate error messages on bad command line flags.  From
862338032Speter		Motonori Nakamura.
862438032Speter	Better error message for case where ruleset 0 falls off the end
862538032Speter		or otherwise does not resolve to a canonical triple.
862638032Speter	Fix a problem that could cause multiple bounce messages if a bad
862738032Speter		address was sent along with a good address to an SMTP
862838032Speter		site where that SMTP site returned a 4yz code in response
862938032Speter		to the final dot of the data.  Problem reported by David
863038032Speter		James of British Telecom.
863138032Speter	Add "volatile" declarations so that gcc -O2 will work.  Patches
863238032Speter		from Alexander Dupuy of System Management ARTS.
863338032Speter	Delete duplicates in MX lists -- believe it or not, there are sites
863438032Speter		that list the same host twice in an MX list.  This deletion
863538032Speter		only works on adjacent preferences, so an MX list that
863638032Speter		had A=5, B=10, A=15 would leave both As, but one that had
863738032Speter		A=5, A=10, B=15 would reduce to A, B.  This is intentional,
863838032Speter		just in case there is something weird I haven't thought of.
863938032Speter		Suggested by Barry Shein of Software Tool & Die.
864038032Speter	SECURITY: .forward files cannot be symbolic links.  If they are,
864138032Speter		a bad guy can read your private files.
864238032Speter	PORTABILITY FIXES:
864338032Speter		Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
864438032Speter		System V Release 4 from Motonori Nakamura of Ritsumeikan
864538032Speter			University.  This expands the disk size
864638032Speter			checking to include all (?) SVR4 configurations.
864738032Speter		System V Release 4 from Kimmo Suominen -- initgroups(3)
864838032Speter			and setrlimit(2) are both available.
864938032Speter		System V Release 4 from sob@sculley.ffg.com -- some versions
865038032Speter			apparently "have EX_OK defined in other headerfiles."
865138032Speter		Linux Makefile typo.
865238032Speter		Linux getusershell(3) is broken in Slackware 2.0 --
865338032Speter			from Andrew Pam of Xanadu Australia.
865438032Speter		More Linux tweaking from John Kennedy of California State
865538032Speter			University, Chico.
865638032Speter		Cray changes from Eric Wassenaar:  ``On Cray, shorts,
865738032Speter			ints, and longs are all 64 bits, and all structs
865838032Speter			are multiples of 64 bits.  This means that the
865938032Speter			sizeof operator returns only multiples of 8.
866038032Speter			This requires adaptation of code that really
866138032Speter			deals with 32 bit or 16 bit fields, such as IP
866238032Speter			addresses or nameserver fields.''
866338032Speter		DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
866443730Speter			get the old behavior, use -DDGUX_5_4_2.
866538032Speter		DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
866643730Speter			variable to fix bogus /bin/mail behavior.
866738032Speter		Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
866838032Speter			This also cleans up some System V Release 4 compile
866938032Speter			problems.
867038032Speter		Solaris 2: sendmail.cw file should be in /etc/mail to
867138032Speter			match all the other configuration files.  Fix
867238032Speter			from Glenn Barry of Emory University.
867338032Speter		Solaris 2.3: compile problem in conf.c.  Fix from Alain
867438032Speter			Nissen of the University of Liege, Belgium.
867538032Speter		Ultrix: freespace calculation was incorrect.  Fix from
867638032Speter			Takashi Kizu of Osaka University.
867738032Speter		SVR4: running in background gets a SIGTTOU because the
867838032Speter			emulation code doesn't realize that "getpeername"
867938032Speter			doesn't require reading the file.  Fix from Peter
868038032Speter			Wemm of DIALix.
868138032Speter		Solaris 2.3: due to an apparent bug in the socket emulation
868238032Speter			library, sockets can get into a "wedged" state where
868338032Speter			they just return EPROTO; closing and re-opening the
868438032Speter			socket clears the problem.  Fix from Bob Manson
868538032Speter			of Ohio State University.
868638032Speter		Hitachi 3050R & 3050RX running HI-UX/WE2: portability
868738032Speter			fixes from Akihiro Hashimoto ("Hash") of Chiba
868838032Speter			University.
868938032Speter		AIX changes to allow setproctitle to work from Rainer Sch�pf
869038032Speter			of Zentrum f�r Datenverarbeitung der Universit�t
869138032Speter			Mainz.
869238032Speter		AIX changes for load average from Ed Ravin of NASA/Goddard.
869338032Speter		SCO Unix from Chip Rosenthal of Unicom (code was using the
869438032Speter			wrong statfs call).
869538032Speter		ANSI C fixes from Adam Glass (NetBSD project).
869638032Speter		Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
869738032Speter			University.
869838032Speter		DG-UX fixes from Bruce Nagel of Data General.
869938032Speter		IRIX64 updates from Mark Levinson of the University of
870038032Speter			Rochester Medical Center.
870138032Speter		Altos System V (``the first UNIX/XENIX merge the Altos
870238032Speter			did for their Series 1000 & Series 2000 line;
870338032Speter			their merged code was licensed back to AT&T and
870438032Speter			Microsoft and became System V release 3.2'') from
870538032Speter			Tim Rice <timr@crl.com>.
870638032Speter		OSF/1 running on Intel Paragon from Jeff A. Earickson
870738032Speter			<jeff@ssd.intel.com> of Intel Scalable Systems
870838032Speter			Division.
870938032Speter		Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
871038032Speter			<janet@dialix.oz.au>.
871138032Speter		System V Release 4 (statvfs semantic fix) from Alain
871238032Speter			Durand of I.M.A.G.
871338032Speter		HP-UX 10.x multiprocessor load average changes from
871438032Speter			Scott Hutton and Jeff Sumler of Indiana University.
871538032Speter		Cray CSOS from Scott Bolte of Cray Computer Corporation.
871638032Speter		Unicos 8.0 from Douglas K. Rand of the University of North
871738032Speter			Dakota, Scientific Computing Center.
871838032Speter		Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
871938032Speter		ConvexOS 11.0 from Christophe Wolfhugel.
872038032Speter		IRIX 4.0.5 from David Ashton-Reader of CADcentre.
872138032Speter		ISC UNIX from J. J. Bailey.
872238032Speter		HP-UX 9.xx on the 8xx series machines from Remy Giraud
872338032Speter			of Meteo France.
872438032Speter		HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
872538032Speter		IRIX 5.2 and 5.3 from Kari E. Hurtta.
872638032Speter		FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
872738032Speter		Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
872838032Speter		Omron LUNA unios-b, mach from Motonori Nakamura.
872938032Speter		NEC EWS-UX/V 4.2 from Motonori Nakamura.
873038032Speter		NeXT 2.1 from Bryan Costales.
873138032Speter		AUX patch thanks to Mike Erwin of Apple Computer.
873238032Speter		HP-UX 10.0 from John Beck of Hewlett-Packard.
873338032Speter		Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
873438032Speter			non-DEC resolver.  Suggested by Allan Johannesen.
873538032Speter		UnixWare 2.0 fixes from Petr Lampa of the Technical
873638032Speter			University of Brno (Czech Republic).
873738032Speter		KSR OS 1.2.2 support from Todd Miller of the University
873838032Speter			of Colorado.
873938032Speter		UX4800 support from Kazuhisa Shimizu of NEC.
874038032Speter	MAKEMAP: allow -d flag to allow insertion of duplicate aliases
874138032Speter		in type ``btree'' maps.  The semantics of this are undefined
874238032Speter		for regular maps, but it can be useful for the user database.
874338032Speter	MAKEMAP: lock database file while rebuilding to avoid sendmail
874438032Speter		lookups while the rebuild is going on.  There is a race
874538032Speter		condition between the open(... O_TRUNC ...) and the lock
874638032Speter		on the file, but it should be quite small.
874738032Speter	SMRSH: sendmail restricted shell added to the release.  This can
874838032Speter		be used as an alternative to /bin/sh for the "prog" mailer,
874938032Speter		giving the local administrator more control over what
875038032Speter		programs can be run from sendmail.
875138032Speter	MAIL.LOCAL: add this local mailer to the tape.  It is not really
875238032Speter		part of the release proper, and isn't fully supported; in
875338032Speter		particular, it does not run on System V based systems and
875438032Speter		never will.
875538032Speter	CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
875638032Speter		to allow rmail to compile on systems that don't have
875738032Speter		function prototypes and systems that don't have snprintf.
875838032Speter	CONTRIB: add the "mailprio" scripts that will help you sort mailing
875938032Speter		lists by transaction delay times so that addresses that
876038032Speter		respond quickly get sent first.  This is to prevent very
876138032Speter		sluggish servers from delaying other peoples' mail.
876238032Speter		Contributed by Tony Sanders of BSDI.
876338032Speter	CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
876438032Speter		of BSDI.  This has a lot of comments to help people out.
876538032Speter	CONFIG: Don't have .mc files include(../m4/cf.m4) -- instead,
876638032Speter		put this on the m4 command line.  On GNU m4 (which
876738032Speter		supports the __file__ primitive) you can run m4 in an
876838032Speter		arbitrary directory -- use either:
876938032Speter			m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
877038032Speter		or
877138032Speter			m4 -I${CFDIR} m4/cf.m4 config.mc > config.cf
877238032Speter		On other versions of m4 that don't support __file__, you
877338032Speter		can use:
877438032Speter			m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ...
877538032Speter		(Note the trailing slash on the _CF_DIR_ definition.)
877638032Speter		Old versions of m4 will default to _CF_DIR_=.. for back
877738032Speter		compatibility.
877838032Speter	CONFIG: fix mail from <> so it will properly convert to
877938032Speter		MAILER-DAEMON on local addresses.
878038032Speter	CONFIG: fix code that was supposed to catch colons in host
878138032Speter		names.  Problem noted by John Gardiner Myers of CMU.
878238032Speter	CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
878338032Speter		From Paul Riddle of the University of Maryland, Baltimore
878438032Speter		County.
878538032Speter	CONFIG: Catch and reject "." as a host address.
878638032Speter	CONFIG: Generalize domaintable to look up all domains, not
878738032Speter		just unqualified ones.
878838032Speter	CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
878938032Speter		was never used and didn't work anyway.
879038032Speter	CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
879138032Speter		and d on all mailers in the UUCP class.
879238032Speter	CONFIG: Allow "user+detail" to be aliased specially: it will first
879338032Speter		look for an alias for "user+detail", then for "user+*", and
879438032Speter		finally for "user".  This is intended for forwarding mail
879538032Speter		for system aliases such as root and postmaster to a
879638032Speter		centralized hub.
879738032Speter	CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
879838032Speter	CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
879938032Speter		The F=8 flag is also set on the "relay" mailer, since
880038032Speter		this is expected to be another sendmail.
880138032Speter	CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
880238032Speter		the name of the UUCP_RELAY -- in some cases, this is the
880338032Speter		wrong value (e.g., when we have local UUCP connections),
880438032Speter		and this can create unreplyable addresses.  From Chip
880538032Speter		Rosenthal of Unicom.
880638032Speter	CONFIG: add confRECEIVED_HEADER to change the format of the
880764562Sgshapiro		Received: header inserted into all messages.  Suggested by
880838032Speter		Gary Mills of the University of Manitoba.
880938032Speter	CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
881043730Speter		to get the old behavior.  I did this upon observing
881138032Speter		that almost everyone needed this feature, and that the
881238032Speter		concept I was trying to make happen didn't work with
881338032Speter		some user agents anyway.  FEATURE(notsticky) still works,
881438032Speter		but it is a no-op.
881538032Speter	CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
881638032Speter		names are sent, rather than immediately diagnosing them
881738032Speter		as User Unknown.
881838032Speter	CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
881938032Speter		and RELAY_MAILER_ARGS to set the arguments for the
882038032Speter		indicated mailers.  All default to "IPC $h".  Patch from
882138032Speter		Larry Parmelee of Cornell University.
882238032Speter	CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
882338032Speter		on the client side" and F=P to get an appropriate
882438032Speter		return-path.  From Kimmo Suominen.
882538032Speter	CONFIG: add FEATURE(local_procmail) to use the procmail program
882638032Speter		as the local mailer.  For addresses of the form "user+detail"
882738032Speter		the "detail" part is passed to procmail via the -a flag.
882838032Speter		Contributed by Kimmo Suominen.
882938032Speter	CONFIG: add MAILER(procmail) to add an interface to procmail for
883038032Speter		use from mailertables.  This lets you execute arbitrary
883138032Speter		procmail scripts.  Contributed by Kimmo Suominen.
883238032Speter	CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
883338032Speter	CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
883438032Speter		Paul Southworth of CICNet Systems Support.
883538032Speter	CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
883638032Speter		This causes the null return path to be rewritten as
883738032Speter		MAILER-DAEMON; otherwise UUCP gets horribly confused.
883838032Speter		From Michael Hohmuth of Technische Universitat Dresden.
883938032Speter	CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
884038032Speter		list us as the best possible MX record to be treated as
884138032Speter		though they were local (essentially, assume that they
884238032Speter		are included in $=w).  This can cause additional DNS
884338032Speter		traffic, but is easier to administer if this fits your
884438032Speter		local model.  It does not work reliably if there are
884538032Speter		multiple hosts that share the best MX preference.
884638032Speter		Code contributed by John Oleynick of Rutgers.
884738032Speter	CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
884838032Speter		SHell) instead of /bin/sh as the program used for delivery
884938032Speter		to programs.  If an argument is included, it is used as
885038032Speter		the path to smrsh; otherwise, /usr/local/etc/smrsh is
885138032Speter		assumed.
885238032Speter	CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
885338032Speter		size of messages to the local and procmail mailers
885438032Speter		respectively.  Contributed by Brad Knowles of the Defense
885538032Speter		Information Systems Agency.
885638032Speter	CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
885738032Speter		(just like text outside of angle brackets) in order to
885838032Speter		properly deal with ``group: addr1, ... addrN;'' syntax.
885938032Speter	CONFIG: Require OSTYPE macro (the defaults really don't apply to
886038032Speter		any real systems any more) and tweak the DOMAIN macro
886138032Speter		so that it is less likely that users will accidentally use
886238032Speter		the Berkeley defaults.  Also, create some generic files
886338032Speter		that really can be used in the real world.
886438032Speter	CONFIG: Add new configuration macros to set character sets for
886538032Speter		messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
886638032Speter		SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
886738032Speter	CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
886838032Speter		The old name will still be accepted for a while at least.
886938032Speter	CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
887038032Speter		mail (.DECNET pseudo-domain or node::user) will be sent.
887138032Speter		As with all relays, it can be ``mailer:hostname''.  Suggested
887238032Speter		by Scott Hutton.
887338032Speter	CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
887438032Speter		by Barb Dijker of Labyrinth Computer Services.
887538032Speter	CONFIG: change confCHECK_ALIASES to default to False -- it has poor
887638032Speter		performance for large alias files, and this confused many
887738032Speter		people.
887838032Speter	CONFIG: Add confCF_VERSION to append local information to the
887938032Speter		configuration version number displayed during SMTP startup.
888038032Speter	CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
888138032Speter		would only work when locally addressed.  Fix from
888238032Speter		Edvard Tuinder of Cistron Internet Services.
888338032Speter	CONFIG: use ${opMode} to avoid error on .REDIRECT addresses if option
888443730Speter		"n" (CheckAliases) is set when rebuilding alias database.
888538032Speter		Based on code contributed by Claude Marinier.
888638032Speter	CONFIG: Allow mailertable to have values of the form
888738032Speter		``error:code message''.  The ``code'' is a status code
888838032Speter		derived from the sysexits codes -- e.g., NOHOST or UNAVAILABLE.
888938032Speter		Contributed by David James <dwj@agw.bt.co.uk>.
889038032Speter	CONFIG: add MASQUERADE_DOMAIN(domain list) to extend the list of
889138032Speter		sender domains that will be replaced with the masquerade name.
889238032Speter		These domains will not be treated as local, but if mail passes
889338032Speter		through with sender addresses in those domains they will be
889438032Speter		replaced by the masquerade name.  These can also be specified
889538032Speter		in a file using MASQUERADE_DOMAIN_FILE(filename).
889638032Speter	CONFIG: add FEATURE(masquerade_envelope) to masquerade the envelope
889738032Speter		as well as the header.  Substantial improvements to this
889838032Speter		code were contributed by Per Hedeland.
889938032Speter	CONFIG: add MAILER(phquery) to define a new "ph" mailer; this can be
890038032Speter		accessed from a mailertable to do CCSO ph lookups.  Contributed
890138032Speter		by Kimmo Suominen.
890238032Speter	CONFIG: add MAILER(cyrus) to define a new Cyrus mailer; this can be
890338032Speter		used to define cyrus and cyrusbb mailers (for IMAP support).
890438032Speter		Contributed by John Gardiner Myers of Carnegie Mellon.
890538032Speter	CONFIG: add confUUCP_MAILER to select default mailer to use for
890638032Speter		UUCP addressing.  Suggested by Tom Moore of AT&T GIS.
890738032Speter	NEW FILES:
890838032Speter		cf/cf/cs-hpux10.mc
890938032Speter		cf/cf/cs-solaris2.mc
891038032Speter		cf/cf/cyrusproto.mc
891138032Speter		cf/cf/generic-bsd4.4.mc
891238032Speter		cf/cf/generic-hpux10.mc
891338032Speter		cf/cf/generic-hpux9.mc
891438032Speter		cf/cf/generic-osf1.mc
891538032Speter		cf/cf/generic-solaris2.mc
891638032Speter		cf/cf/generic-sunos4.1.mc
891738032Speter		cf/cf/generic-ultrix4.mc
891838032Speter		cf/cf/huginn.cs.mc
891938032Speter		cf/domain/berkeley-only.m4
892038032Speter		cf/domain/generic.m4
892138032Speter		cf/feature/bestmx_is_local.m4
892238032Speter		cf/feature/local_procmail.m4
892338032Speter		cf/feature/masquerade_envelope.m4
892438032Speter		cf/feature/smrsh.m4
892538032Speter		cf/feature/stickyhost.m4
892638032Speter		cf/feature/use_ct_file.m4
892738032Speter		cf/m4/cfhead.m4
892838032Speter		cf/mailer/cyrus.m4
892938032Speter		cf/mailer/mail11.m4
893038032Speter		cf/mailer/phquery.m4
893138032Speter		cf/mailer/procmail.m4
893238032Speter		cf/ostype/amdahl-uts.m4
893338032Speter		cf/ostype/bsdi2.0.m4
893438032Speter		cf/ostype/hpux10.m4
893538032Speter		cf/ostype/irix5.m4
893638032Speter		cf/ostype/isc4.1.m4
893738032Speter		cf/ostype/ptx2.m4
893838032Speter		cf/ostype/unknown.m4
893938032Speter		contrib/bsdi.mc
894038032Speter		contrib/mailprio
894138032Speter		contrib/rmail.oldsys.patch
894238032Speter		mail.local/mail.local.0
894338032Speter		makemap/makemap.0
894438032Speter		smrsh/README
894538032Speter		smrsh/smrsh.0
894638032Speter		smrsh/smrsh.8
894738032Speter		smrsh/smrsh.c
894838032Speter		src/Makefiles/Makefile.CSOS
894938032Speter		src/Makefiles/Makefile.EWS-UX_V
895038032Speter		src/Makefiles/Makefile.HP-UX.10
895138032Speter		src/Makefiles/Makefile.IRIX.5.x
895238032Speter		src/Makefiles/Makefile.IRIX64
895338032Speter		src/Makefiles/Makefile.ISC
895438032Speter		src/Makefiles/Makefile.KSR
895538032Speter		src/Makefiles/Makefile.NEWS-OS.4.x
895638032Speter		src/Makefiles/Makefile.NEWS-OS.6.x
895738032Speter		src/Makefiles/Makefile.NEXTSTEP
895838032Speter		src/Makefiles/Makefile.NonStop-UX
895938032Speter		src/Makefiles/Makefile.Paragon
896038032Speter		src/Makefiles/Makefile.SCO.3.2v4.2
896138032Speter		src/Makefiles/Makefile.SunOS.5.3
896238032Speter		src/Makefiles/Makefile.SunOS.5.4
896338032Speter		src/Makefiles/Makefile.SunOS.5.5
896438032Speter		src/Makefiles/Makefile.UNIX_SV.4.x.i386
896538032Speter		src/Makefiles/Makefile.uts.systemV
896638032Speter		src/Makefiles/Makefile.UX4800
896738032Speter		src/aliases.0
896838032Speter		src/mailq.0
896938032Speter		src/mime.c
897038032Speter		src/newaliases.0
897138032Speter		src/sendmail.0
897238032Speter		test/t_seteuid.c
897338032Speter	RENAMED FILES:
897438032Speter		cf/cf/alpha.mc =>		cf/cf/s2k-osf1.mc
897538032Speter		cf/cf/chez.mc =>		cf/cf/chez.cs.mc
897638032Speter		cf/cf/hpux-cs-exposed.mc =>	cf/cf/cs-hpux9.mc
897738032Speter		cf/cf/osf1-cs-exposed.mc =>	cf/cf/cs-osf1.mc
897838032Speter		cf/cf/s2k.mc =>			cf/cf/s2k-ultrix4.mc
897938032Speter		cf/cf/sunos4.1-cs-exposed.mc =>	cf/cf/cs-sunos4.1.mc
898038032Speter		cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
898138032Speter		cf/cf/vangogh.mc =>		cf/cf/vangogh.cs.mc
898238032Speter		cf/domain/Berkeley.m4 =>	cf/domain/Berkeley.EDU.m4
898338032Speter		cf/domain/cs-exposed.m4 =>	cf/domain/CS.Berkeley.EDU.m4
898438032Speter		cf/domain/eecs-hidden.m4 =>	cf/domain/EECS.Berkeley.EDU.m4
898538032Speter		cf/domain/s2k.m4 =>		cf/domain/S2K.Berkeley.EDU.m4
898638032Speter		cf/ostype/hpux.m4 =>		cf/ostype/hpux9.m4
898738032Speter		cf/ostype/irix.m4 =>		cf/ostype/irix4.m4
898838032Speter		cf/ostype/ultrix4.1.m4 =>	cf/ostype/ultrix4.m4
898938032Speter		src/Makefile.* =>		src/Makefiles/Makefile.*
899038032Speter		src/Makefile.AUX =>		src/Makefiles/Makefile.A-UX
899138032Speter		src/Makefile.BSDI =>		src/Makefiles/Makefile.BSD-OS
899238032Speter		src/Makefile.DGUX =>		src/Makefiles/Makefile.dgux
899338032Speter		src/Makefile.RISCos =>		src/Makefiles/Makefile.UMIPS
899438032Speter		src/Makefile.SunOS.4.0.3 =>	src/Makefiles/Makefile.SunOS.4.0
899538032Speter	OBSOLETED FILES:
899638032Speter		cf/cf/cogsci.mc
899738032Speter		cf/cf/cs-exposed.mc
899838032Speter		cf/cf/cs-hidden.mc
899938032Speter		cf/cf/hpux-cs-hidden.mc
900038032Speter		cf/cf/knecht.mc
900138032Speter		cf/cf/osf1-cs-hidden.mc
900238032Speter		cf/cf/sunos3.5-cs-exposed.mc
900338032Speter		cf/cf/sunos3.5-cs-hidden.mc
900438032Speter		cf/cf/sunos4.1-cs-hidden.mc
900538032Speter		cf/cf/ultrix4.1-cs-hidden.mc
900638032Speter		cf/domain/cs-hidden.m4
900738032Speter		contrib/rcpt-streaming
900838032Speter		src/Makefiles/Makefile.SunOS.5.x
900938032Speter
901064562Sgshapiro8.6.13/8.6.12	1996/01/25
901138032Speter	SECURITY: In some cases it was still possible for an attacker to
901238032Speter		insert newlines into a queue file, thus allowing access to
901338032Speter		any user (except root).
901438032Speter	CONFIG: no changes -- it is not a bug that the configuration
901538032Speter		version number is unchanged.
901638032Speter
901764562Sgshapiro8.6.12/8.6.12	1995/03/28
901838032Speter	Fix to IDENT code (it was getting the size of the reply buffer
901938032Speter		too small, so nothing was ever accepted).  Fix from several
902038032Speter		people, including Allan Johannesen, Shane Castle of the
902138032Speter		Boulder County Information Services, and Jeff Smith of
902238032Speter		Warwick University (all arrived within a few hours of
902338032Speter		each other!).
902438032Speter	Fix a problem that could cause large jobs to run out of
902538032Speter		file descriptors on systems that use vfork() rather
902638032Speter		than fork().
902738032Speter
902864562Sgshapiro8.6.11/8.6.11	1995/03/08
902938032Speter	The ``possible attack'' message would be logged more often
903038032Speter		than necessary if you are using Pine as a user agent.
903138032Speter	The wrong host would be reported in the ``possible attack''
903238032Speter		message when attempted from IDENT.
903338032Speter	In some cases the syslog buffer could be overflowed when
903438032Speter		reporting the ``possible attack'' message.  This can
903538032Speter		cause denial of service attacks.  Truncate the message
903638032Speter		to 80 characters to prevent this problem.
903738032Speter	When reading the IDENT response a loop is needed around the
903838032Speter		read from the network to ensure that you don't get
903938032Speter		partial lines.
904038032Speter	Password entries without any shell listed (that is, a null
904138032Speter		shell) wouldn't match as "ok".  Problem noted by
904238032Speter		Rob McMahon.
904338032Speter	When running BIND 4.9.x a problem could occur because the
904438032Speter		_res.options field is initialized differently than it
904538032Speter		was historically -- this requires that sendmail call
904638032Speter		res_init before it tweaks any bits.
904738032Speter	Fix an incompatibility in openxscript() between the file open mode
904838032Speter		and the stdio mode passed to fdopen.  This caused UnixWare
904938032Speter		2.0 to have conniptions.  Fix from Martin Sohnius of
905038032Speter		Novell Labs Europe.
905138032Speter	Fix problem with static linking of local getopt routine when
905238032Speter		using GNU's ld command.  Fix from John Kennedy of
905338032Speter		Cal State Chico.
905438032Speter	It was possible to turn off privacy flags.  Problem noted by
905538032Speter		*Hobbit*.
905638032Speter	Be more paranoid about writing files.  Suggestions by *Hobbit*
905738032Speter		and Liudvikas Bukys.
905838032Speter	MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
905938032Speter		from Spider Boardman.
906038032Speter	CONFIG: No changes (version number only, to keep it in sync
906138032Speter		with the binaries).
906238032Speter
906364562Sgshapiro8.6.10/8.6.10	1995/02/10
906438032Speter	SECURITY: Diagnose bogus values to some command line flags that
906538032Speter		could allow trash to get into headers and qf files.
906638032Speter	Validate the name of the user returned by the IDENT protocol.
906738032Speter		Some systems that really dislike IDENT send intentionally
906838032Speter		bogus information.  Problem pointed out by Michael Bushnell
906938032Speter		of the Free Software Foundation.  Has some security
907038032Speter		implications.
907138032Speter	Fix a problem causing error messages about DNS problems when
907238032Speter		the host name contained a percent sign to act oddly
907338032Speter		because it was passed as a printf-style format string.
907438032Speter		In some cases this could cause core dumps.
907538032Speter	Avoid possible buffer overrun in returntosender() if error
907638032Speter		message is quite long.  From Fletcher Mattox of the
907738032Speter		University of Texas.
907838032Speter	Fix a problem that would silently drop "too many hops" error
907938032Speter		messages if and only if you were sending to an alias.
908038032Speter		From Jon Giltner of the University of Colorado and
908138032Speter		Dan Harton of Oak Ridge National Laboratory.
908238032Speter	Fix a bug that caused core dumps on some systems if -d11.2 was
908338032Speter		set and e->e_message was null.  Fix from Bruce Nagel of
908438032Speter		Data General.
908538032Speter	Fix problem that can still cause df files to be left around
908638032Speter		after "hop count exceeded" messages.  Fix from Andrew
908738032Speter		Chang and Shau-Ping Lo of SunSoft.
908838032Speter	Fix a problem that can cause buffer overflows on very long
908938032Speter		user names (as might occur if you piped to a program
909038032Speter		with a lot of arguments).
909138032Speter	Avoid returning an error and re-queueing if the host signature
909238032Speter		is null; this can occur on addresses like ``user@.''.
909338032Speter		Problem noted by Wesley Craig and the University of
909438032Speter		Michigan.
909538032Speter	Avoid possible calls to malloc(0) if MCI caching is turned
909638032Speter		off.  Bug fix from Pierre David of the Laboratoire
909738032Speter		Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
909838032Speter		Universite de Versailles - St Quentin, and Jacky
909938032Speter		Thibault.
910038032Speter	Make a local copy of the line being sent via senttolist() -- in
910138032Speter		some cases, buffers could get trashed by map lookups
910238032Speter		causing it to do unexpected things.  This also simplifies
910338032Speter		some of the map code.
910438032Speter	CONFIG: No changes (version number only, to keep it in sync
910538032Speter		with the binaries).
910638032Speter
910764562Sgshapiro8.6.9/8.6.9	1994/04/19
910838032Speter	Do all mail delivery completely disconnected from any terminal.
910938032Speter		This provides consistency with daemon delivery and
911038032Speter		may have some security implications.
911138032Speter	Make sure that malloc doesn't get called with zero size,
911238032Speter		since that fails on some systems.  Reported by Ed
911338032Speter		Hill of the University of Iowa.
911438032Speter	Fix multi-line values for $e (SMTP greeting message).  Reported
911538032Speter		by Mike O'Connor of Ford Motor Company.
911638032Speter	Avoid syserr if no NIS domain name is defined, but the map it
911738032Speter		is trying to open is optional.  From Win Bent of USC.
911838032Speter	Changes for picky compilers from Ed Gould of Digital Equipment.
911938032Speter	Hesiod support for UDB from Todd Miller of the University of
912038032Speter		Colorado.  Use "hesiod" as the service name in the U
912138032Speter		option.
912238032Speter	Fix a problem that failed to set the "authentic" host name (that
912338032Speter		is, the one derived from the socket info) if you called
912438032Speter		sendmail -bs from inetd.  Based on code contributed by
912538032Speter		Todd Miller (this problem was also reported by Guy Helmer
912638032Speter		of Dakota State University).  This also fixes a related
912738032Speter		problem reported by Liudvikas Bukys of the University of
912838032Speter		Rochester.
912938032Speter	Parameterize "nroff -h" in all the Makefiles so people with
913038032Speter		variant versions can use them easily.  Suggested by
913138032Speter		Peter Collinson of Hillside Systems.
913238032Speter	SMTP "MAIL" commands with multiple ESMTP parameters required two
913338032Speter		spaces between parameters instead of one.  Reported by
913438032Speter		Valdis Kletnieks of Virginia Tech.
913538032Speter	Reduce the number of system calls during message collection by
913638032Speter		using global timeouts around the collect() loop.  This
913738032Speter		code was contributed by Eric Wassenaar.
913838032Speter	If the initial hostname name gathering results in a name
913938032Speter		without a dot (usually caused by NIS misconfiguration)
914038032Speter		and BIND is compiled in, directly access DNS to get
914138032Speter		the canonical name.  This should make life easier for
914238032Speter		Solaris systems.  If it still can't be resolved, and
914338032Speter		if the name server is listed as "required", try again
914438032Speter		in 30 seconds.  If that also fails, exit immediately to
914538032Speter		avoid bogus "config error: mail loops back to myself"
914638032Speter		messages.
914738032Speter	Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
914838032Speter		message to explain how much space was available and
914938032Speter		sound a bit less threatening.  Suggested by Stan Janet
915038032Speter		of the National Institute of Standards and Technology.
915138032Speter	If mail is delivered to an alias that has an owner, deliver any
915238032Speter		requested return-receipt immediately, and strip the
915338032Speter		Return-Receipt-To: header from the subsequent message.
915438032Speter		This prevents a certain class of denial of service
915538032Speter		attack, arguably gives more reasonable semantics, and
915638032Speter		moves things more towards what will probably become a
915738032Speter		network standard.  Suggested by Christopher Davis of
915838032Speter		Kapor Enterprises.
915938032Speter	Add a "noreceipts" privacy flag to turn off all return receipts
916038032Speter		without recompiling.
916138032Speter	Avoid printing ESMTP parameters as part of the error message
916238032Speter		if there are errors during parsing.  This change is
916338032Speter		purely cosmetic.
916438032Speter	Avoid sending out error messages during the collect phase of
916538032Speter		SMTP; there is an MVS mailer from UCLA that gets
916638032Speter		confused by this.  Of course, I think it's their bug....
916738032Speter	Check for the $j macro getting undefined, losing a dot, or getting
916838032Speter		lost from $=w in the daemon before accepting a connection;
916938032Speter		if it is, it dumps state, prints a LOG_ALERT message,
917038032Speter		and drops core for debugging.  This is an attempt to
917138032Speter		track down a bug that I thought was long since gone.
917238032Speter		If you see this, please forward the log fragment to
917338032Speter		sendmail@sendmail.ORG.
917438032Speter	Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
917538032Speter		with -DOLD_NEWDB=0 on the command line.  From Christophe
917638032Speter		Wolfhugel.
917738032Speter	Instead of trying to truncate the listen queue for the server
917838032Speter		SMTP port when the load average is too high, just close
917938032Speter		the port completely and reopen it later as needed.
918038032Speter		This ensures that the other end gets a quick "connection
918138032Speter		refused" response, and that the connection can be
918238032Speter		recovered later.  In particular, some socket emulations
918338032Speter		seem to get confused if you tweak the listen queue
918438032Speter		size around and can never start listening to connections
918538032Speter		again.  The down side is that someone could start up
918638032Speter		another daemon process in the interim, so you could
918738032Speter		have multiple daemons all not listening to connections;
918838032Speter		this could in turn cause the sendmail.pid file to be
918938032Speter		incorrect.  A better approach might be to accept the
919038032Speter		connection and give a 421 code, but that could break
919143730Speter		other mailers in mysterious ways and have paging behavior
919238032Speter		implications.
919338032Speter	Fix a glitch in TCP-level debugging that caused flag 16.101 to
919438032Speter		set debugging on the wrong socket.  From Eric Wassenaar.
919538032Speter	When creating a df* temporary file, be sure you truncate any
919638032Speter		existing data in the file -- otherwise system crashes
919738032Speter		and the like could result in extra data being sent.
919838032Speter	DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
919938032Speter		doc directory.  This includes some additional
920038032Speter		information.
920138032Speter	CONFIG: change UUCP rules to never add $U! or $k! on the front
920238032Speter		of recipient envelope addresses.  This should have been
920338032Speter		handled by the $&h trick, but broke if people were
920438032Speter		mixing domainized and UUCP addresses.  They should
920538032Speter		probably have converted all the way over to uucp-uudom
920638032Speter		instead of uucp-{new,old}, but the failure mode was to
920738032Speter		loop the mail, which was bad news.
920838032Speter	Portability fixes:
920938032Speter		Newer BSDI systems (several people).
921038032Speter		Older BSDI systems from Christophe Wolfhugel.
921138032Speter		Intergraph CLIX, from Paul Southworth of CICNet.
921238032Speter		UnixWare, from Evan Champion.
921338032Speter		NetBSD from Adam Glass.
921438032Speter		Solaris from Quentin Campbell of the University of
921538032Speter			Newcastle upon Tyne.
921638032Speter		IRIX from Dean Cookson and Bill Driscoll of Mitre
921738032Speter			Corporation.
921838032Speter		NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
921938032Speter		SunOS (it has setsid() and setvbuf() calls) from
922038032Speter			Jonathan Kamens of OpenVision Technologies.
922138032Speter		HP-UX from Tor Lillqvist.
922238032Speter	New Files:
922338032Speter		src/Makefile.CLIX
922438032Speter		src/Makefile.NCR3000
922538032Speter		doc/changes/Makefile
922638032Speter		doc/changes/changes.me
922738032Speter		doc/changes/changes.ps
922838032Speter
922964562Sgshapiro8.6.8/8.6.6	1994/03/21
923038032Speter	SECURITY: it was possible to read any file as root using the
923138032Speter		E (error message) option.  Reported by Richard Jones;
923238032Speter		fixed by Michael Corrigan and Christophe Wolfhugel.
923338032Speter
923464562Sgshapiro8.6.7/8.6.6	1994/03/14
923538032Speter	SECURITY: it was possible to get root access by using weird
923638032Speter		values to the -d flag.  Thanks to Alain Durand of
923738032Speter		INRIA for forwarding me the notice from the bugtraq
923838032Speter		list.
923938032Speter
924064562Sgshapiro8.6.6/8.6.6	1994/03/13
924138032Speter	SECURITY: the ability to give files away on System V-based
924238032Speter		systems proved dangerous -- don't run as the owner
924338032Speter		of a :include: file on a system that allows giveaways.
924438032Speter		Unfortunately, this also applies to determining a
924538032Speter		valid shell.
924638032Speter	IMPORTANT: Previous versions weren't expiring old connections
924738032Speter		in the connection cache for a long time under some
924838032Speter		circumstances.  This could result in resource exhaustion,
924938032Speter		both at your end and at the other end.  This checks the
925038032Speter		connections for timeouts much more frequently.  From
925138032Speter		Doug Anderson of NCSC.
925238032Speter	Fix a glitch that snuck in that caused programs to be run as
925338032Speter		the sender instead of the recipient if the mail was
925438032Speter		from a local user to another local user.  From
925538032Speter		Motonori Nakamura of Kyoto University.
925638032Speter	Fix "wildcard" on /etc/shells matching -- instead of looking
925738032Speter		for "*", look for "/SENDMAIL/ANY/SHELL/".  From
925838032Speter		Bryan Costales of ICSI.
925938032Speter	Change the method used to declare the "statfs" availability;
926038032Speter		instead of HASSTATFS and/or HASUSTAT with a ton of
926138032Speter		tweaking in conf.c, there is a single #define called
926238032Speter		SFS_TYPE which takes on one of six values (SFS_NONE
926338032Speter		for no statfs availability, SFS_USTAT for the ustat(2)
926438032Speter		syscall, SFS_4ARGS for a four argument statfs(2) call,
926538032Speter		and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
926638032Speter		statfs(2) call with the declarations in <sys/vfs.h>,
926738032Speter		<sys/mount.h>, or <sys/statfs.h> respectively).
926838032Speter	Fix glitch in NetInfo support that could return garbage if
926938032Speter		there was no "/locations/sendmail" property.  From
927038032Speter		David Meyer of the University of Virginia.
927138032Speter	Change HASFLOCK from defined/not-defined to a 0/1 definition
927238032Speter		to allow Linux to turn it off even though it is a
927338032Speter		BSD-like system.
927438032Speter	Allow setting of "ident" timeout to zero to turn off the ident
927538032Speter		protocol entirely.
927638032Speter	Make 7-bit stripping local to a connection (instead of to a
927738032Speter		mailer); this allows you to specify that SMTP is a
927838032Speter		7-bit channel, but revert to 8-bit should it advertise
927938032Speter		that it supports 8BITMIME.  You still have to specify
928038032Speter		mailer flag 7 to get this stripping at all.
928138032Speter	Improve makesendmail script so it handles more cases automatically.
928238032Speter	Tighten up restrictions on taking ownership of :include: files
928338032Speter		to avoid problems on systems that allow you to give away
928438032Speter		files.
928538032Speter	Fix a problem that made it impossible to rebuild the alias
928638032Speter		file if it was on a read-only file system.  From
928738032Speter		Harry Edmon of the University of Washington.
928838032Speter	Improve MX randomization function.  From John Gardiner Myers
928938032Speter		of CMU.
929038032Speter	Fix a minor glitch causing a bogus message to be printed (used
929138032Speter		%s instead of %d in a printf string for the line number)
929238032Speter		when a bad queue file was read.  From Harry Edmon.
929338032Speter	Allow $s to remain NULL on locally generated mail.  I'm not
929438032Speter		sure this is necessary, but a lot of people have complained
929538032Speter		about it, and there is a legitimate question as to whether
929638032Speter		"localhost" is legal as an 822-style domain.
929738032Speter	Fix a problem with very short line lengths (mailer L= flag) in
929838032Speter		headers.  This causes a leading space to be added onto
929938032Speter		continuation lines (including in the body!), and also
930038032Speter		tries to wrap headers containing addresses (From:, To:,
930138032Speter		etc) intelligently at the shorter line lengths.  Problem
930238032Speter		Reported by Lars-Johan Liman of SUNET Operations Center.
930338032Speter	Log the real user name when logging syserrs, since these can have
930438032Speter		security implications.  Suggested by several people.
930538032Speter	Fix address logging of cached connections -- it used to always
930638032Speter		log the numeric address as zero.  This is a somewhat
930738032Speter		bogus implementation in that it does an extra system
930838032Speter		call, but it should be an inexpensive one.  Fix from
930938032Speter		Motonori Nakamura.
931038032Speter	Tighten up handling of short syslog buffers even more -- there
931138032Speter		were cases where the outgoing relay= name was too long
931238032Speter		to share a line with delay= and mailer= logging.
931338032Speter	Limit the overhead on split envelopes to one open file descriptor
931438032Speter		per envelope -- previously the overhead was three
931538032Speter		descriptors.  This was in response to a problem reported
931638032Speter		by P{r (Pell) Emanuelsson.
931738032Speter	Fixes to better handle the case of unexpected connection closes;
931838032Speter		this redirects the output to the transcript so the info
931938032Speter		is not lost.  From Eric Wassenaar.
932038032Speter	Fix potential string overrun if you macro evaluate a string that
932138032Speter		has a naked $ at the end.  Problem noted by James Matheson
932238032Speter		<jmrm@eng.cam.ac.uk>.
932338032Speter	Make default error number on $#error messages 553 (``Requested
932438032Speter		action not taken: mailbox name not allowed'') instead of
932538032Speter		501 (``Syntax error in parameters or arguments'') to
932638032Speter		avoid bogus "protocol error" messages.
932738032Speter	Strip off any existing trailing dot on names during $[ ... $]
932838032Speter		lookup.  This prevents it from ending up with two dots
932938032Speter		on the end of dot terminated names.  From Wesley Craig
933038032Speter		of the University of Michigan and Bryan Costales of ICSI.
933138032Speter	Clean up file class reading so that the debugging information is
933238032Speter		more informative.  It hadn't been using setclass, so you
933338032Speter		didn't see the class items being added.
933438032Speter	Avoid core dump if you are running a version of sendmail where
933538032Speter		NIS is compiled in, and you specify an NIS map, but
933638032Speter		NIS is not running.  Fix from John Oleynick of
933738032Speter		Rutgers.
933838032Speter	Diagnose bizarre case where res_search returns a failure value,
933938032Speter		but sets h_errno to a success value.
934038032Speter	Make sure that "too many hops" messages are considered important
934138032Speter		enough to send an error to the Postmaster (that is, the
934238032Speter		address specified in the P option).  This fix should
934338032Speter		help problems that cause the df file to be left around
934438032Speter		sometimes -- unfortunately, I can't seem to reproduce
934538032Speter		the problem myself.
934638032Speter	Avoid core dump (null pointer reference) on EXPN command; this
934738032Speter		only occurred if your log level was set to 10 or higher
934838032Speter		and the target account was an alias or had a .forward file.
934938032Speter		Problem noted by Janne Himanka.
935038032Speter	Avoid "denial of service" attacks by someone who is flooding your
935138032Speter		SMTP port with bad commands by shutting the connection
935238032Speter		after 25 bad commands are issued.  From Kyle Jones of
935338032Speter		UUNET.
935438032Speter	Fix core dump on error messages with very long "to" buffers;
935538032Speter		fmtmsg overflows the message buffer.  Fixed by trimming
935638032Speter		the to address to 203 characters.  Problem reported by
935738032Speter		John Oleynick.
935838032Speter	Fix configuration for HASFLOCK -- there were some spots where
935938032Speter		a #ifndef was incorrectly #ifdef.  Pointed out by
936038032Speter		George Baltz of the University of Maryland.
936138032Speter	Fix a typo in savemail() that could cause the error message To:
936238032Speter		lists to be incorrect in some places.  From Motonori
936338032Speter		Nakamura.
936438032Speter	Fix a glitch that can cause duplicate error messages on split
936538032Speter		envelopes where an address on one of the lists has a
936638032Speter		name server failure.  Fix from Voradesh Yenbut of the
936738032Speter		University of Washington.
936838032Speter	Fix possible bogus pointer reference on ESMTP parameters that
936938032Speter		don't have an ``=value'' part.
937038032Speter	CNAME loops caused an error message to be generated, but also
937138032Speter		re-queued the message.  Changed to just re-queue the
937238032Speter		message (it's really hard to just bounce it because
937338032Speter		of the weird way the name server works in the presence
937438032Speter		of CNAME loops).  Problem noted by James M.R.Matheson
937538032Speter		of Cambridge University.
937638032Speter	Avoid giving ``warning: foo owned process doing -bs'' messages
937738032Speter		if they use ``MAIL FROM:<foo>'' where foo is their true
937838032Speter		user name.  Suggested by Andreas Stolcke of ICSI.
937938032Speter	Change the NAMED_BIND compile flag to be a 0/1 flag so you can
938038032Speter		override it easily in the Makefile -- that is, you can
938138032Speter		turn it off using -DNAMED_BIND=0.
938238032Speter	If a gethostbyname(...) of an address with a trailing dot fails,
938338032Speter		try it without the trailing dot.  This is because if
938438032Speter		you have a version of gethostbyname() that falls back
938538032Speter		to NIS or the /etc/hosts file it will fail to find
938638032Speter		perfectly reasonable names that just don't happen to
938738032Speter		be dot terminated in the hosts file.  You don't want to
938838032Speter		strip the dot first though because we're trying to ensure
938938032Speter		that country names that match one of your subdomains get
939038032Speter		a chance.
939138032Speter	PRALIASES: fix bogus output on non-null-terminated strings.
939238032Speter		From Bill Gianopoulos of Raytheon.
939338032Speter	CONFIG: Avoid rewriting anything that matches $w to be $j.
939438032Speter		This was in code intended to only catch the self-literal
939538032Speter		address (that is, [1.2.3.4], where 1.2.3.4 is your
939638032Speter		IP address), but the code was broken.  However, it will
939738032Speter		still do this if $M is defined; this is necessary to
939838032Speter		get client configurations to work (sigh).  Note that this
939938032Speter		means that $M overrides :mailname entries in the user
940038032Speter		database!  Problem noted by Paul Southworth.
940138032Speter	CONFIG: Fix definition of Solaris help file location.  From
940238032Speter		Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
940338032Speter	CONFIG: Fix bug that broke news.group.USENET mappings.
940438032Speter	CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
940538032Speter		and USENET_MAILER_MAX to tweak the maximum message
940638032Speter		size for various mailers.
940738032Speter	CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
940838032Speter		instead of assuming that it is "inews" for consistency
940938032Speter		with other mailers.  From Michael Corrigan of UC San Diego.
941038032Speter	CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
941138032Speter		qualify the address in the SMTP envelope as user@{relay|hub}
941238032Speter		instead of user@$j.  From Bill Wisner of The Well.
941338032Speter	CONFIG: Fix route-addr syntax in nullrelay configuration set.
941438032Speter	CONFIG: Don't turn off case mapping of user names in the local
941538032Speter		mailer for IRIX.  This was different than most every other
941638032Speter		system.
941738032Speter	CONFIG: Avoid infinite loops on certainly list:; syntaxes in
941838032Speter		envelope.  Noted by Thierry Besancon
941938032Speter		<besancon@excalibur.ens.fr>.
942038032Speter	CONFIG: Don't include -z by default on uux line -- most systems
942138032Speter		don't want it set by default.  Pointed out by Philippe
942238032Speter		Michel of Thomson CSF.
942338032Speter	CONFIG: Fix some bugs with mailertables -- for example, if your
942438032Speter		host name was foo.bar.ray.com and you matched against
942538032Speter		".ray.com", the old implementation bound %1 to "bar"
942638032Speter		instead of "foo.bar".  Also, allow "." in the mailertable
942738032Speter		to match anything -- essentially, take over SMART_HOST.
942838032Speter		This also moves matching of explicit local host names
942938032Speter		before the mailertable so they don't have to be special
943038032Speter		cased in the mailertable data.  Reported by Bill
943138032Speter		Gianopoulos of Raytheon; the fix for the %1 binding
943238032Speter		problem was contributed by Nicholas Comanos of the
943338032Speter		University of Sydney.
943438032Speter	CONFIG: Don't include "root" in class $=L (users to deliver
943538032Speter		locally, even if a hub or relay exists) by default.
943638032Speter		This is because of the known bug where definition of
943738032Speter		both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
943838032Speter		both and deliver into the local mailbox.
943938032Speter	CONFIG: Move up bitdomain and uudomain handling so that they
944038032Speter		are done before .UUCP class matching; uudomain was
944138032Speter		reported as ineffective before.  This also frees up
944238032Speter		diversion 8 for future use.  Problem reported by Kimmo
944338032Speter		Suominen.
944438032Speter	CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
944538032Speter		into host names.  As pointed out by Jonathan Kamens,
944638032Speter		these are often used because either the forward or reverse
944738032Speter		mapping is broken; this translation makes it broken again.
944838032Speter	DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
944938032Speter		Suominen.
945038032Speter	Portability fixes:
945138032Speter		Unicos from David L. Kensiski of Sterling Software.
945238032Speter		DomainOS from Don Lewis of Silicon Systems.
945338032Speter		GNU m4 1.0.3 from Karst Koymans of Utrecht University.
945438032Speter		Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
945538032Speter		NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
945638032Speter		BSD/386 from Tony Sanders of BSDI.
945738032Speter		Apollo from Eric Wassenaar.
945838032Speter		DGUX from Doug Anderson.
945938032Speter		Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
946038032Speter	NEW FILES:
946138032Speter		src/Makefile.DomainOS
946238032Speter		src/Makefile.PTX
946338032Speter		src/Makefile.SunOS.5.1
946438032Speter		src/Makefile.SunOS.5.2
946538032Speter		src/Makefile.SunOS.5.x
946638032Speter		src/mailq.1
946738032Speter		cf/ostype/domainos.m4
946838032Speter		doc/op/Makefile
946938032Speter		doc/intro/Makefile
947038032Speter		doc/usenix/Makefile
947138032Speter
947264562Sgshapiro8.6.5/8.6.5	1994/01/13
947338032Speter	Security fix:  /.forward could be owned by anyone (the test
947438032Speter		to allow root to own any file was backwards).  From
947538032Speter		Bob Campbell at U.C. Berkeley.
947638032Speter	Security fix: group ids were not completely set when programs
947738032Speter		were invoked.  This caused programs to have group
947838032Speter		permissions they should not have had (usually group
947938032Speter		daemon instead of their own group).  In particular,
948038032Speter		Perl scripts would refuse to run.
948138032Speter	Security: check to make sure files that are written are not
948238032Speter		symbolic links (at least under some circumstances).
948338032Speter		Although this does not respond to a specific known
948438032Speter		attack, it's just a good idea.  Suggested by
948538032Speter		Christian Wettergren.
948638032Speter	Security fix: if a user had an NFS mounted home directory on
948738032Speter		a system with a restricted shell listed in their
948838032Speter		/etc/passwd entry, they could still execute any
948938032Speter		program by putting that in their .forward file.
949038032Speter		This fix prevents that by insisting that their shell
949138032Speter		appear in /etc/shells before allowing a .forward to
949238032Speter		execute a program or write a file.  You can disable
949338032Speter		this by putting "*" in /etc/shells.  It also won't
949438032Speter		permit world-writable :include: files to reference
949538032Speter		programs or files (there's no way to disable this).
949643730Speter		These behaviors are only one level deep -- for
949738032Speter		example, it is legal for a world-writable :include:
949838032Speter		file to reference an alias that writes a file, on
949938032Speter		the assumption that the alias file is well controlled.
950038032Speter	Security fix: root was not treated suspiciously enough when
950138032Speter		looking into subdirectories.  This would potentially
950238032Speter		allow a cracker to examine files that were publicly
950338032Speter		readable but in a non-publicly searchable directory.
950438032Speter	Fix a problem that causes an error on QUIT on a cached
950538032Speter		connection to create problems on the current job.
950638032Speter		These are typically unrelated, so errors occur in
950738032Speter		the wrong place.
950838032Speter	Reset CurrentLA in sendall() -- this makes sendmail queue
950938032Speter		runs more responsive to load average, and fixes a
951038032Speter		problem that ignored the load average in locally
951138032Speter		generated mail.  From Eric Wassenaar.
951238032Speter	Fix possible core dump on aliases with null LHS.  From
951338032Speter		John Orthoefer of BB&N.
951438032Speter	Revert to using flock() whenever possible -- there are just
951538032Speter		too many bugs in fcntl() locking, particularly over
951638032Speter		NFS, that cause sendmail to fail in perverse ways.
951738032Speter	Fix a bug that causes the connection cache to get confused
951838032Speter		when sending error messages.  This resulted in
951938032Speter		"unexpected close" messages.  It should fix itself
952038032Speter		on the following queue run.  Problem noted by
952138032Speter		Liudvikas Bukys of the University of Rochester.
952238032Speter	Include $k in $=k as documented in the Install & Op Guide.
952338032Speter		This seems odd, but it was documented....  From
952438032Speter		Michael Corrigan of UCSD.
952538032Speter	Fix problem that caused :include:s from alias files to be
952638032Speter		forced to be owned by root instead of daemon
952738032Speter		(actually DefUid).  From Tim Irvin.
952838032Speter	Diagnose unrecognized I option values -- from Mortin Forssen
952938032Speter		of the Chalmers University of Technology.
953038032Speter	Make "error" mailer work consistently when there is no error
953138032Speter		code associated with it -- previously it returned OK
953238032Speter		even though there was a real problem.  Now it assumes
953338032Speter		EX_UNAVAILABLE.
953438032Speter	Fix bug that caused the last header line of messages that had
953538032Speter		no body and which were terminated with EOF instead of
953638032Speter		"." to be discarded.  Problem noted by Liudvikas Bukys.
953738032Speter	Fix core dump on SMTP mail to programs that failed -- it tried
953838032Speter		to go to a "next MX host" when none existed, causing
953938032Speter		a core dump.  From der Mouse at McGill University.
954038032Speter	Change IDENTPROTO from a defined/not defined to a 0/1 switch;
954138032Speter		this makes it easier to turn it off (using
954238032Speter		-DIDENTPROTO=0 in the Makefile).  From der Mouse.
954338032Speter	Fix YP_MASTER_NAME store to use the unupdated result of
954438032Speter		gethostname() (instead of myhostname(), which tries
954538032Speter		to fully qualify the name) to be consistent with
954638032Speter		SunOS.  If your hostname is unqualified, this fixes
954738032Speter		transfers to slave servers.  Bug noted by Keith
954838032Speter		McMillan of Ameritech Services, Inc.
954938032Speter	Fix Ultrix problem: gethostbyname() can return a very large
955038032Speter		(> 500) h_length field, which causes the sockaddr
955138032Speter		to be trashed.  Use the size of the sockaddr instead.
955238032Speter		Fix from Bob Manson of Ohio State.
955338032Speter	Don't assume "-a." on host lookups if NAMED_BIND is not
955438032Speter		defined -- this confuses gethostbyname on hosts
955538032Speter		file lookups, which doesn't understand the trailing
955638032Speter		dot convention.
955738032Speter	Log SMTP server subprocesses that die with a signal instead
955838032Speter		of from a clean exit.
955938032Speter	If you don't have option "I" set, don't assume that a DNS
956038032Speter		"host unknown" message is authoritative -- it
956138032Speter		might still be found in /etc/hosts.
956238032Speter	Fix a problem that would cause Deferred: messages to be sent
956338032Speter		as the subject of an error message, even though the
956438032Speter		actual cause of a message was more severe than that.
956538032Speter		Problem noted by Chris Seabrook of OSSI.
956638032Speter	Fix race condition in DBM alias file locking.  From Kyle
956738032Speter		Jones of UUNET.
956838032Speter	Limit delivery syslog line length to avoid bugs in some
956938032Speter		versions of syslog(3).  This adds a new compile time
957038032Speter		variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
957138032Speter		University, which is in turn derived from IDA.
957238032Speter	Fix quotes inside of comments in addresses -- previously
957338032Speter		it insisted that they be balanced, but the 822 spec
957438032Speter		says that they should be ignored.
957538032Speter	Dump open file state to syslog upon receiving SIGUSR1 (for
957638032Speter		debugging).  This also evaluates ruleset 89, if set
957738032Speter		(with the null input), and logs the result.  This
957838032Speter		should be used sparingly, since the rewrite process
957938032Speter		is not reentrant.
958038032Speter	Change -qI, -qR, and -qS flags to be case-insensitive as
958138032Speter		documented in the Bat Book.
958238032Speter	If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
958338032Speter		return an error message and did not requeue the message.
958438032Speter		Fix based on code from Roland Dirlewanger of
958538032Speter		Reseau Regional Aquarel, Bordeaux, France.
958638032Speter	Fix a problem that caused a seg fault if you got a 421 error
958738032Speter		code during some parts of connection initialization.
958838032Speter		I've only seen this when talking to buggy mailers on
958938032Speter		the other end, but it shouldn't give a seg fault in
959038032Speter		any case.  From Amir Plivatsky.
959138032Speter	Fix core dump caused by a ruleset call that returns null.
959238032Speter		Fix from Bryan Costales of ICSI.
959338032Speter	Full-Name: field was being ignored.  Fix from Motonori Nakamura
959438032Speter		of Kyoto University.
959538032Speter	Fix a possible problem with very long input lines in setproctitle.
959638032Speter		From P{r Emanuelsson.
959738032Speter	Avoid putting "This is a warning message" out on return receipts.
959838032Speter		Suggested by Douglas Anderson.
959938032Speter	Detect loops caused by recursive ruleset calls.  Suggested by
960038032Speter		Bryan Costales.
960138032Speter	Initialize non-alias maps during alias rebuilds -- they may be
960238032Speter		needed for parsing.  Problem noted by Douglas Anderson.
960338032Speter	Log sender address even if no message was collected in SMTP
960438032Speter		(e.g., if all RCPTs failed).  Suggested by Motonori
960538032Speter		Nakamura.
960638032Speter	Don't reflect the owner-list contents into the envelope sender
960738032Speter		address if the value contains ", :, /, or | (to avoid
960838032Speter		illegal addresses appearing there).
960938032Speter	Efficiency hack for toktype macro -- from Craig Partridge of
961038032Speter		BB&N.
961138032Speter	Clean up DNS error printing so that a host name is always
961238032Speter		included.
961338032Speter	Remember to set $i during queue runs.  Reported by Stephen
961438032Speter		Campbell of Dartmouth University.
961538032Speter	If the environment variable HOSTALIASES is set, use it during
961638032Speter		canonification as the name of a file with per-user host
961738032Speter		translations so that headers are properly mapped.  Reported
961838032Speter		by Anne Bennett of Concordia University.
961938032Speter	Avoid printing misleading error message if SMTP mailer (not
962038032Speter		using [IPC]) should die on a core dump.
962138032Speter	Avoid incorrect diagnosis of "file 1 closed" when it is caused
962238032Speter		by the other end closing the connection.  From
962338032Speter		Dave Morrison of Oracle.
962438032Speter	Improve several of the error messages printed by "mailq"
962538032Speter		to include a host name or other useful information.
962638032Speter	Add NetInfo preliminary support for NeXT systems.  From Vince
962738032Speter		DeMarco.
962838032Speter	Fix a glitch that sometimes caused :include:s that pointed to
962938032Speter		NFS filesystems that were down to give an "aliasing/
963038032Speter		forwarding loop broken" message instead of queueing
963138032Speter		the message for retry.  Noted by William C Fenner of
963238032Speter		the NRL Connection Machine Facility.
963338032Speter	Fix a problem that could cause a core dump if the input sequence
963438032Speter		had (or somehow acquired) a \231 character.
963538032Speter	Make sure that route-addrs always have <angle brackets> around
963638032Speter		them in non-SMTP envelopes (SMTP envelopes already do
963738032Speter		this properly).
963838032Speter	Avoid weird headers on unbalanced punctuation of the form:
963938032Speter		``Joe User <user)'' -- this caused reference to the
964038032Speter		null macro.  Fix from Rick McCarty of IO.COM.
964138032Speter	Fix a problem that caused an alias "user: user@local.host" to
964238032Speter		not have the QNOTREMOTE bit set; this caused configs
964338032Speter		to act as if FEATURE(notsticky) was defined even when
964438032Speter		it was not.  The effect of the problem was to make it
964538032Speter		very hard to to set up satellite sites that had a few
964638032Speter		local accounts, with everything else forwarded to a
964738032Speter		corporate hub.  Reported by Detlef Drewanz of the
964838032Speter		University of Rostock and Mark Frost of NCD.
964938032Speter	Change queuing to not call rulesets 3, {1 or 2}, 4 on header
965038032Speter		addresses.  This is more efficient (fewer name server
965138032Speter		calls) and fixes certain unusual configurations, such
965238032Speter		as those that have ruleset 4 do something that is
965338032Speter		non-idempotent unless a mailer-specific ruleset did
965438032Speter		something else.  Problem reported by Brian J. Coan
965538032Speter		of the Institute for Global Communications.
965638032Speter	Fix the "obsolete argument" routine in main to better understand
965738032Speter		new arguments.  For example, if you used ``sendmail
965838032Speter		-C config -v -q'' it would choke on the -q because
965938032Speter		the -C would stop looking for old-format arguments.
966038032Speter	Fix the code that was intended to allow two users to forward their
966138032Speter		mail to the same program and have them appear unique.
966238032Speter	Portability fixes for:
966338032Speter		SCO UNIX from Murray Kucherawy.
966438032Speter		SCO Open Server 3.2v4 from Philippe Brand.
966538032Speter		System V Release 4 from Rick Ellis and others.
966638032Speter		OSF/1 from Steve Campbell.
966738032Speter		DG/UX from Ben Mesander of the USGS and Bryan Curnutt
966838032Speter			of Stoner Associates.
966938032Speter		Motorola SysV88 from Kevin Johnson of Motorola.
967038032Speter		Solaris 2.3 from Casper H.S. Dik of the University
967138032Speter			of Amsterdam and John Caruso of University
967238032Speter			of Maryland.
967338032Speter		FreeBSD from Ollivier Robert.
967438032Speter		NetBSD from Adam Glass.
967538032Speter		TitanOS from Kate Hedstrom of Rutgers University.
967638032Speter		Irix from Bryan Curnutt.
967738032Speter		Dynix from Jim Davis of the University of Arizona.
967838032Speter		RISC/os.
967938032Speter		Linux from John Kennedy of California State University
968038032Speter			at Chico.
968138032Speter		Solaris 2.x from Tony Boner of the U.S. Air Force.
968238032Speter		NEXTSTEP 3.x from Vince DeMarco.
968338032Speter		HP-UX from various people.  NOTA BENE:  the location
968438032Speter			of the config file has moved to /usr/lib
968538032Speter			to match the HP-UX version of sendmail.
968638032Speter	CONFIG: Don't do any recipient rewriting on relay mailer;
968738032Speter		since this is intended only for internal use, the
968838032Speter		usual RFC 821/822/1123 rules can be relaxed.  The
968938032Speter		main point of this is to avoid munging (ugh) UUCP
969038032Speter		addresses when relaying internally.
969138032Speter	CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
969238032Speter		syntax addresses delivered via UUCP.  Solution
969338032Speter		provided by Peter Wemm.
969438032Speter	CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
969538032Speter		zero; it caused double @ signs in addresses.  From
969638032Speter		Irving Reid of the University of Toronto.
969738032Speter	CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
969838032Speter		from Markku Toijala of ICL Personal Systems Oy.
969938032Speter	CONFIG: Add trailing "." on pseudo-domains for consistency;
970038032Speter		this fixes a problem (noted by Al Whaley of Sunnyside)
970138032Speter		that made it hard to recognize your own pseudodomain
970238032Speter		names.
970338032Speter	CONFIG: catch "@host" syntax errors (i.e., null local-parts)
970438032Speter		rather than letting them get "local configuration
970538032Speter		error"s.  Problem noted by John Gardiner Myers.
970638032Speter	CONFIG: add uucp-uudom mailer variant, based on code posted
970738032Speter		by Spider Boardman <spider@Orb.Nashua.NH.US>; this
970838032Speter		has uucp-dom semantics but old UUCP syntax.  This
970938032Speter		also permits "uucp-old" as an alias for "uucp" and
971038032Speter		"uucp-new" as a synonym for "suucp" for consistency.
971138032Speter	CONFIG: add POP mailer support (from Kimmo Suominen
971238032Speter		<kim@grendel.lut.fi>).
971338032Speter	CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
971438032Speter	CONFIG: fix bug caused with domain literal addresses (e.g.,
971538032Speter		``[128.32.131.12]'') when FEATURE(allmasquerade)
971638032Speter		was set; it would get an additional @masquerade.host
971738032Speter		added to the address.  Problem noted by Peter Wan
971838032Speter		of Georgia Tech.
971938032Speter	CONFIG: make sure that the local UUCP name is in $=w.  From
972038032Speter		Jim Murray of Stratus.
972138032Speter	CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
972238032Speter		mailer flag.  Briefly, if you are sending to host
972338032Speter		"foo", then it rewrites "foo!...!baz" to "...!baz",
972438032Speter		"foo!baz" remains "foo!baz", and anything else has
972538032Speter		the local name prepended.
972638032Speter	CONFIG: portability fixes for HP-UX.
972738032Speter	DOC: several minor problems fixed in the Install & Op Guide.
972838032Speter	MAKEMAP: fix core dump problem on lines that are too long or
972938032Speter		which lack newline.  From Mark Delany.
973038032Speter	MAILSTATS: print sums of columns (total messages & kbytes
973138032Speter		in and out of the system).  From Tom Ferrin of UC
973238032Speter		San Francisco Computer Graphics Lab.
973338032Speter	SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
973438032Speter		On HP-UX, /etc/sendmail.cf has been moved to
973538032Speter			/usr/lib/sendmail.cf to match HP sendmail.
973638032Speter		Permissions have been tightened up on world-writable
973738032Speter			:include: files and accounts that have shells
973838032Speter			that are not listed in /etc/shells.  This may
973938032Speter			cause some .forward files that have worked
974038032Speter			before to start failing.
974138032Speter		SIGUSR1 dumps some state to the log.
974238032Speter	NEW FILES:
974338032Speter		src/Makefile.DGUX
974438032Speter		src/Makefile.Dynix
974538032Speter		src/Makefile.FreeBSD
974638032Speter		src/Makefile.Mach386
974738032Speter		src/Makefile.NetBSD
974838032Speter		src/Makefile.RISCos
974938032Speter		src/Makefile.SCO
975038032Speter		src/Makefile.SVR4
975138032Speter		src/Makefile.Titan
975238032Speter		cf/mailer/pop.m4
975338032Speter		cf/ostype/bsdi1.0.m4
975438032Speter		cf/ostype/dgux.m4
975538032Speter		cf/ostype/dynix3.2.m4
975638032Speter		cf/ostype/sco3.2.m4
975738032Speter		makemap/Makefile.dist
975838032Speter		praliases/Makefile.dist
975938032Speter
976064562Sgshapiro8.6.4/8.6.4	1993/10/31
976138032Speter	Repair core-dump problem (write to read-only memory segment)
976238032Speter		if you fall back to the return-to-Postmaster case in
976338032Speter		savemail.  Problem reported by Richard Liu.
976438032Speter	Immediately diagnose bogus sender addresses in SMTP.  This
976538032Speter		makes quite certain that crackers can't use this
976638032Speter		class of attack.
976738032Speter	Reliability Fix:  check return value from fclose() and fsync()
976838032Speter		in a few critical places.
976938032Speter	Minor problem in initsys() that reversed a condition for
977038032Speter		redirecting the output channel on queue runs.  It's
977138032Speter		not clear this code even does anything.  From Eric
977238032Speter		Wassenaar of the Dutch National Institute for Nuclear
977338032Speter		and High-Energy Physics.
977438032Speter	Fix some problems that caused queue runs to do "too much work",
977538032Speter		such as double-reading the Errors-To: header.  From
977638032Speter		Eric Wassenaar.
977738032Speter	Error messages on writing the temporary file (including the
977838032Speter		data file) were getting suppressed in SMTP -- this
977938032Speter		fix causes them to be properly reported.  From Eric
978038032Speter		Wassenaar.
978138032Speter	Some changes to support AF_UNIX sockets -- this will only
978238032Speter		really become relevant in the next release, but some
978338032Speter		people need it for local patches.  From Michael
978438032Speter		Corrigan of UC San Diego.
978538032Speter	Use dynamically allocated memory (instead of static buffers)
978638032Speter		for macros defined in initsys() and settime(); since
978738032Speter		these can have different values depending on which
978838032Speter		envelope they are in.  From Eric Wassenaar.
978938032Speter	Improve logging to show ctladdr on to= logging; this tells you
979038032Speter		what uid/gid processes ran as.
979138032Speter	Fix a problem that caused error messages to be discarded if
979238032Speter		the sender address was unparseable for some reason;
979338032Speter		this was supposed to fall back to the "return to
979438032Speter		postmaster" case.
979538032Speter	Improve aliaswait backoff algorithm.
979638032Speter	Portability patches for Linux (8.6.3 required another header
979738032Speter		file) (from Karl London) and SCO UNIX.
979838032Speter	CONFIG: patch prog mailer to not strip host name off of envelope
979938032Speter		addresses (so that it matches local again).  From
980038032Speter		Christopher Davis.
980138032Speter	CONFIG: change uucp-dom mailer so that "<>" translates to $n;
980238032Speter		this prevents uux from seeing lines with null names like
980338032Speter		``From   Sat Oct 30 14:55:31 1993''.  From Motonori
980438032Speter		Nakamura of Kyoto University.
980538032Speter	CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
980638032Speter		it shouldn't fail miserably.  From Motonori Nakamura.
980738032Speter
980864562Sgshapiro8.6.2/8.6.2	1993/10/15
980938032Speter	Put a "successful delivery" message in the transcript for
981038032Speter		addresses that get return-receipts.
981138032Speter	Put a prominent "this is only a warning" message in warning
981238032Speter		messages -- some people don't read carefully enough
981338032Speter		and end up sending the message several times.
981438032Speter	Include reason for temporary failure in the "warning" return
981538032Speter		message.  Currently, it just says "cannot send for
981638032Speter		four hours".
981738032Speter	Fix the "Original message received" time generated for
981838032Speter		returntosender messages.  It was previously listed as
981938032Speter		the current time.  Bug reported by Eric Hagberg of
982038032Speter		Cornell University Medical College.
982138032Speter	If there is an error when writing the body of a message,
982238032Speter		don't send the trailing dot and wait for a response
982338032Speter		in sender SMTP, as this could cause the connection to
982438032Speter		hang up under some bizarre circumstances.  From Eric
982538032Speter		Wassenaar.
982638032Speter	Fix some server SMTP synchronization problems caused when
982738032Speter		connections fail during message collection.  From
982838032Speter		Eric Wassenaar.
982938032Speter	Fix a problem that can cause srvrsmtp to reject mail if the
983038032Speter		name server is down -- it accepts the RCPT but rejects
983138032Speter		the DATA command.  Problem reported by Jim Murray of
983238032Speter		Stratus.
983338032Speter	Fix a problem that can cause core dumps if the config file
983438032Speter		incorrectly resolves to a null hostname.  Reported by
983538032Speter		Allan Johannesen of WPI.
983638032Speter	Non-root use of -C flag, dangerous -f flags, and use of -oQ
983738032Speter		by non-root users were not put into
983838032Speter		X-Authentication-Warning:s as intended because the
983943730Speter		config file hadn't set the PrivacyOptions yet.  Fix
984038032Speter		from Sven-Ove Westberg of the University of Lulea.
984138032Speter	Under very odd circumstances, the alias file rebuild code
984238032Speter		could get confused as to whether a database was
984338032Speter		open or not.
984438032Speter	Check "vendor code" on the end of V lines -- this is
984538032Speter		intended to provide a hook for vendor-specific
984638032Speter		configuration syntax.  (This is a "new feature",
984738032Speter		but I've made an exception to my rule in a belief
984838032Speter		that this is a highly exceptional case.)
984938032Speter	Portability fixes for DG/UX (from Douglas Anderson of NCSC),
985038032Speter		SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
985138032Speter		(from Jon Forrest of UC Berkeley)
985238032Speter	CONFIG: fix ``mailer:host'' form of UUCP relay naming.
985338032Speter
985464562Sgshapiro8.6.1/8.6	1993/10/08
985538032Speter	Portability fixes for A/UX and Encore UMAX V.
985638032Speter	Fix error message handling -- if you had a name server down
985738032Speter		causing an error during parsing, that message was never
985838032Speter		propagated to the queue file.
985938032Speter
986064562Sgshapiro8.6/8.6		1993/10/05
986138032Speter	Configuration cleanup: make it easier to undo IDENTPROTO in
986238032Speter		conf.h (other systems have the same bug).
986338032Speter	If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
986438032Speter		getdtablesize() instead of sysconf(); a disturbingly
986538032Speter		large number of systems defined _SC_OPEN_MAX in the
986638032Speter		header files but don't have the syscall.
986738032Speter	Another patch to really truly ignore MX records in getcanonname
986838032Speter		if trymx == FALSE.
986938032Speter	Fix problem that caused the "250 IAA25499 Message accepted for
987038032Speter		delivery" message to be omitted if there was an error
987138032Speter		in the header of the message (e.g., a bad Errors-To:
987238032Speter		line).  Pointed out by Michael Corrigan of UCSD.
987338032Speter	Announce name of host we are chatting when we get errors; this
987438032Speter		is an IDA-ism suggested by Christophe Wolfhugel.
987538032Speter	Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
987638032Speter		Australian Artificial Intelligence Institute), SCO Unix
987738032Speter		(from Murray Kucherawy of Hookup Communication Corp.),
987838032Speter		NeXT (from Vince DeMarco and myself), Linux (from
987938032Speter		Karl London <karl@borg.demon.co.uk>), BSDI (from
988038032Speter		Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
988138032Speter		Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
988238032Speter	Some changes to get around gcc optimizer bugs.  From Takahiro
988338032Speter		Kanbe.
988438032Speter	Fix error recovery in queueup if another tf file of the same
988538032Speter		name already exists.  Problem stumbled over by Bill
988638032Speter		Wisner of The Well.
988738032Speter	Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
988838032Speter		Problem noted by Keith McMillan of Ameritech Services.
988938032Speter	Deal with group permissions properly when opening .forward and
989038032Speter		:include: files.  This relaxes the 8.1C restrictions
989138032Speter		slightly more.  This includes proper setting of groups
989238032Speter		when reading :include: files, allowing you to read some
989338032Speter		files that you should be able to read but have previously
989438032Speter		been denied unless you owned them or they had "other"
989538032Speter		read permission.
989638032Speter	Make certain that $j is in $=w (after the .cf is read) so that
989738032Speter		if the user is forced to override some silly system,
989838032Speter		MX suppression will still work.
989938032Speter	Fix a couple of efficiency problems where newstr was double-
990038032Speter		calling expensive routines.  In at least one case, it
990138032Speter		wasn't guaranteed that they would always return the
990238032Speter		same result.  Problem noted by Christophe Wolfhugel.
990338032Speter	Fix null pointer dereference in putoutmsg -- only on an error
990438032Speter		condition from a non-SMTP mailer.  From Motonori
990538032Speter		Nakamura.
990638032Speter	Macro expand "C" line class definitions before scanning so that
990738032Speter		"CX $Z" works.
990838032Speter	Fix problem that caused error message to be sent while still
990938032Speter		trying to send the original message if the connection
991038032Speter		is closed during a DATA command after getting an error
991138032Speter		on an RCPT command (pretty obscure).  Problem reported
991238032Speter		by John Myers of CMU.
991338032Speter	Fix reply to NOOP to be 250 instead of 200 -- this is a long
991438032Speter		term bug.
991538032Speter	Fix a nasty bug causing core dumps when returning the "warning:
991638032Speter		cannot deliver for N hours -- will keep trying" message;
991743730Speter		it only occurred if you had PostmasterCopy set and
991838032Speter		only on some architectures.  Although sendmail would
991938032Speter		keep trying, it would send error messages on each
992038032Speter		queue interval.  This is an important fix.
992138032Speter	Allow u and g options to take user and group names respectively.
992238032Speter	Don't do a chdir into the queue directory in -bt mode to make
992338032Speter		ruleset testing a bit easier.
992438032Speter	Don't allow users to turn off logging (using -oL) on the command
992538032Speter		line -- command line can only raise, not lower, logging
992638032Speter		level.
992738032Speter	Set $u to the original recipient on the SMTP transaction or on
992838032Speter		the command line.  This is only done if there is exactly
992938032Speter		one recipient.  Technically, this does not meet the
993038032Speter		specs, because it does not guarantee a domain on the
993138032Speter		address.
993238032Speter	Fix a problem that dumped error messages on bad addresses if
993338032Speter		you used the -t flag.  Problem noted by Josh Smith of
993438032Speter		Harvey Mudd College.
993538032Speter	Given an address such as ``<foo> <bar>'', auto-quote the first
993638032Speter		``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
993738032Speter		avoid the problem of people who use angle brackets in
993838032Speter		their full name information.
993938032Speter	Fix a null pointer dereference if you set option "l", have
994038032Speter		an Errors-To: header in the message, and have Errors-To:
994138032Speter		defined in the config file H lines.  From J.R. Oldroyd.
994238032Speter	Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
994338032Speter		wrong when compiling.  Suggested by Rick McCarty of TI.
994438032Speter	Fix a problem that could pass negative SIZE parameter if the
994538032Speter		df file got lost; this would cause servers to always
994638032Speter		give a temporary failure, making the problem even worse.
994738032Speter		Problem noted by Allan Johannesen of WPI.
994838032Speter	Add "ident" timeout (one of the "r" option selectors) for IDENT
994938032Speter		protocol timeouts (30s default).  Requested by Murray
995038032Speter		Kucherawy of HookUp Communication Corp. to handle bogus
995138032Speter		PC TCP/IP implementations.
995238032Speter	Change $w default definition to be just the first component of
995338032Speter		the domain name on config level 5.  The $j macro defaults
995438032Speter		to the FQDN; $m remains as before.  This lets well-behaved
995538032Speter		config files use any of the short, long, or subdomain
995638032Speter		names.
995738032Speter	Add makesendmail script in src to try to automate multi-architecture
995838032Speter		builds.  I know, this is sub-optimal, but it is still
995938032Speter		helpful.
996038032Speter	Fix very obscure race condition that can cause a queue run to
996138032Speter		get a queue file for an already completed job.  This
996238032Speter		problem has existed for years.  Problem noted by the
996338032Speter		long suffering Allan Johannesen of WPI.
996438032Speter	Fix a problem that caused the raw sender name to be passed to
996538032Speter		udbsender instead of the canonified name -- this caused
996638032Speter		it to sometimes miss records that it should have found.
996738032Speter	Relax check of name on HELO packet so that a program using -bs
996838032Speter		that claims to be itself works properly.
996938032Speter	Restore rewriting of $: part of address through 2, R, 4 in
997038032Speter		buildaddr -- this requires passing a lot of flags to get
997138032Speter		it right.  Unlike old versions, this ONLY rewrites
997238032Speter		recipient addresses, not sender addresses.
997338032Speter	Fix a bug that caused core dumps in config files that cannot
997438032Speter		resolve /file/name style addresses.  Fix from Jonathan
997538032Speter		Kamens of OpenVision Technologies.
997638032Speter	Fix problem with fcntl locking that can cause error returns to
997738032Speter		be lost if the lock is lost; this required fully
997838032Speter		queueing everything, dropping the envelope (so errors
997938032Speter		would get returned), and then re-reading the queue from
998038032Speter		scratch.
998138032Speter	Fix a problem that caused aliases that redefine an otherwise
998238032Speter		true address to still send to the original address
998338032Speter		if and only if the alias failed in certain bizarre
998438032Speter		ways (e.g, if they pointed at a list:; syntax address).
998538032Speter		Problem pointed out by Jonathan Kamens.
998638032Speter	Remove support for frozen configuration files.  They caused
998738032Speter		more trouble than it was worth.
998838032Speter	Fix problem that can cause error messages to get ignored when
998938032Speter		using both -odb and -t flags.  Problem noted by Rob
999038032Speter		McNicholas at U.C. Berkeley.
999138032Speter	Include all "normal" variations on hostname in $=w.  For example,
999238032Speter		if the host name is vangogh.cs.berkeley.edu, $=w will
999338032Speter		contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
999438032Speter	Add "restrictqrun" privacy flag -- without this, anyone can run
999538032Speter		the queue.
999638032Speter	Reset SmtpPhase global on initial connection creation so that
999738032Speter		messages don't come out with stale information.
999838032Speter	Pass an "ext" argument to lockfile so that error/log messages
999938032Speter		will properly reflect the true filename being locked.
1000038032Speter	Put all [...] address forms into $=w -- this eliminates the need
1000138032Speter		for MAXIPADDR in conf.h.  Suggested by John Gardiner
1000238032Speter		Myers of CMU.
1000338032Speter	Fix a bug that can cause qf files to be left around even after
1000438032Speter		an SMTP RSET command.  Problem and fix from Michael
1000538032Speter		Corrigan.
1000643730Speter	Don't send a PostmasterCopy to errors when the Precedence: is
1000738032Speter		negative.  Error reports still go to the envelope
1000838032Speter		sender address.
1000938032Speter	Add LA_SHORT for load averages.
1001038032Speter	Lock sendmail.st file when posting statistics.
1001138032Speter	Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
1001238032Speter		set the size of the TCP send and receive buffers; if you
1001338032Speter		run over a slow slip line you may need to set these down
1001438032Speter		(although it would be better to fix the SLIP implementation
1001538032Speter		so that it's not necessary to recompile every program
1001638032Speter		that does bulk data transfer).
1001738032Speter	Allow null defaults on $( ... $) lookups.  Problem reported by
1001838032Speter		Amir Plivatsky.
1001938032Speter	Diagnose crufty S and V config lines.  This resulted from an
1002038032Speter		observation that some people were using the SITE macro
1002138032Speter		without the SITECONFIG macro first, which was causing
1002238032Speter		bogus config files that were not caught.
1002338032Speter	Fix makemap -f flag to turn off case folding (it was turning it
1002438032Speter		on instead).  THIS IS A USER VISIBLE CHANGE!!!
1002538032Speter	Fix a problem that caused multiple error messages to be sent if
1002638032Speter		you used "sendmail -t -oem -odb", your system uses fcntl
1002738032Speter		locking, and one of the recipient addresses is unknown.
1002838032Speter	Reset uid earlier in include() so that recursive .forwards or
1002938032Speter		:include:s don't use the wrong uid.
1003038032Speter	If file descriptor 0, 1, or 2 was closed when sendmail was
1003138032Speter		called, the code to recover the descriptor was broken.
1003238032Speter		This sometimes (only sometimes) caused problems with the
1003338032Speter		alias file.  Fix from Motonori Nakamura.
1003438032Speter	Fix a problem that caused aliaswait to go into infinite recursion
1003538032Speter		if the @:@ metasymbol wasn't found in the alias file.
1003638032Speter	Improve error message on newaliases if database files cannot be
1003738032Speter		opened or if running with no database format defined.
1003838032Speter	Do a better estimation of the size of error messages when NoReturn
1003938032Speter		is set.  Problem noted by P{r (Pell) Emanuelsson.
1004038032Speter	Fix a problem causing the "c" option (don't connect to expensive
1004138032Speter		mailers) to be ignored in SMTP.  Problem noted and the
1004238032Speter		solution suggested by Robert Elz of The University of
1004338032Speter		Melbourne.
1004438032Speter	Improve connection caching algorithm by passing "[host]" to
1004538032Speter		hostsignature, which strips the square brackets and
1004638032Speter		returns the real name.  This allows mailertable entries
1004738032Speter		to match regular entries.
1004838032Speter	Re-enable Return-Receipt-To: -- people seem to want this stupid
1004938032Speter		feature, even if it doesn't work right.
1005038032Speter	Catch and log attempts to try the "wiz" command in server SMTP.
1005138032Speter		This also ups the log level from LOG_NOTICE to LOG_CRIT.
1005238032Speter	Be more generous at assigning $z to the home directory -- do this
1005338032Speter		for programs that are specified through a .forward file.
1005438032Speter		Fix from Andrew Chang of Sun Microsystems.
1005538032Speter	Always save a fatal error message in preference to a non-fatal
1005638032Speter		error message so that the "subject" line of return
1005738032Speter		messages is the best possible.
1005838032Speter	CONFIG: reduce the number of quotes needed to quote configuration
1005938032Speter		parameters with commas: two quotes should work now, e.g.,
1006038032Speter		define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
1006138032Speter	CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
1006238032Speter		connections (domain-ized UUCP).
1006338032Speter	CONFIG: fix bug in default maps (-o must be before database file
1006464562Sgshapiro		name).  Pointed out by Christophe Wolfhugel.
1006538032Speter	CONFIG: add FEATURE(nodns) to state that we are not relying on
1006638032Speter		DNS.  This would presumably be used in UUCP islands.
1006738032Speter	CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
1006838032Speter	CONFIG: log $u in Received: line.  This is in technical violation
1006938032Speter		of the standards, since it doesn't guarantee a domain
1007038032Speter		on the address.
1007138032Speter	CONFIG: don't assume "m" in local mailer flags -- this means that
1007238032Speter		if you redefine LOCAL_MAILER_FLAGS you will have to include
1007338032Speter		the "m" flag should you want it.  Apparently some Solaris 2.2
1007438032Speter		installations can't handle multiple local recipients.
1007538032Speter		Problem noted by Josh Smith.
1007638032Speter	CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
1007738032Speter	CONFIG: change default version level from 4 to 5.
1007838032Speter	CONFIG: add FEATURE(nullclient) to create a config file that
1007938032Speter		forwards all mail to a hub without ever looking at the
1008038032Speter		addresses in any detail.
1008138032Speter	CONFIG: properly strip mailer: information off of relays when
1008238032Speter		used to change .BITNET form into %-hack form.
1008338032Speter	CONFIG: fix a problem that caused infinite loops if presented
1008438032Speter		with an address such as "!foo".
1008538032Speter	CONFIG: check for self literal (e.g., [128.32.131.12]) even if
1008638032Speter		the reverse "PTR" mapping is broken.  There's a better
1008738032Speter		way to do this, but the change is fairly major and I
1008838032Speter		want to hold it for another release.  Problem noted by
1008938032Speter		Bret Marquis.
1009038032Speter
1009164562Sgshapiro8.5/8.5		1993/07/23
1009238032Speter	Serious bug: if you used a command line recipient that was unknown
1009338032Speter		sendmail would not send a return message (it was treating
1009438032Speter		everything as though it had an SMTP-style client that
1009538032Speter		would do the return itself).  Problem noted by Josh Smith.
1009638032Speter	Change "trymx" option in getcanonname() to ignore all MX data,
1009738032Speter		even during a T_ANY query.  This actually didn't break
1009838032Speter		anything, because the only time you called getcanonname
1009938032Speter		with !trymx was if you already knew there were no MX
1010038032Speter		records, but it is somewhat cleaner.  From Motonori
1010138032Speter		Nakamura.
1010238032Speter	Don't call getcanonname from getmxrr if you already know there
1010338032Speter		are no DNS records matching the name.
1010438032Speter	Fix a problem causing error messages to always include "The
1010538032Speter		original message was received ... from localhost".
1010638032Speter		The correct original host information is now included.
1010738032Speter	Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
1010838032Speter		version of "test" doesn't have the -x flag).  Change it
1010938032Speter		to use -f instead.  From John Myers.
1011038032Speter	CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
1011138032Speter		esmtp -- it should be smtp.
1011238032Speter	CONFIG: send all relayed mail using confRELAY_MAILER (defaults
1011338032Speter		to "relay" (a variant of "smtp") if MAILER(smtp) is used,
1011438032Speter		else "suucp" if MAILER(uucp) is used, else "unknown");
1011538032Speter		this cleans up the configs somewhat.  This fixes a serious
1011638032Speter		problem that caused route-addrs to get mistaken as relays,
1011738032Speter		pointed out by John Myers.  WARNING: this also causes
1011838032Speter		the default on SMART_HOST to change from "suucp" to
1011938032Speter		"relay" if you have MAILER(smtp) specified.
1012038032Speter
1012164562Sgshapiro8.4/8.4		1993/07/22
1012238032Speter	Add option `w'.  If you receive a message that comes to you because
1012338032Speter		you are the best (lowest preference) target of an MX, and
1012438032Speter		you haven't explicitly recognized the source MX host in
1012538032Speter		your .cf file, this option will cause you to try the target
1012638032Speter		host directly (as if there were no MX for it at all).  If
1012738032Speter		`w' is not set, this case is a configuration error.
1012838032Speter		Beware: if `w' is set, senders may get bogus errors like
1012938032Speter		"message timed out" or "host unknown" for problems that
1013038032Speter		are really configuration errors.  This option is
1013138032Speter		disrecommended, provided only for compatibility with
1013238032Speter		UIUC sendmail.
1013338032Speter	Fix a problem that caused the incoming socket to be left open
1013438032Speter		when sendmail forks after the DATA command.  This caused
1013538032Speter		calling systems to wait in FIN_WAIT_2 state until the
1013638032Speter		entire list was processed and the child closed -- a
1013738032Speter		potentially prodigious amount of time.  Problem noted
1013838032Speter		by Neil Rickert.
1013938032Speter	Fix problem (created in 6.64) that caused mail sent to multiple
1014038032Speter		addresses, one of which was a bad address, to completely
1014138032Speter		suppress the sending of the message.  This changes
1014238032Speter		handling of EF_FATALERRS somewhat, and adds an
1014338032Speter		EF_GLOBALERRS flag.  This also fixes a potential problem
1014438032Speter		with duplicate error messages if there is a syntax error
1014538032Speter		in the header of a message that isn't noticed until late
1014638032Speter		in processing.  Original problem pointed out by Josh Smith
1014738032Speter		of Harvey Mudd College.  This release includes quite a bit
1014838032Speter		of dickering with error handling (see below).
1014938032Speter	Back out SMTP transaction if MAIL gets nested 501 error.  This
1015038032Speter		will only hurt already-broken software and should help
1015138032Speter		humans.
1015238032Speter	Fix a problem that broke aliases when neither NDBM nor NEWDB were
1015338032Speter		compiled in.  It would never read the alias file.
1015438032Speter	Repair unbalanced `)' and `>' (the "open" versions are already
1015538032Speter		repaired).
1015638032Speter	Logging of "done" in dropenvelope() was incorrect: it would
1015738032Speter		log this even when the queue file still existed.  Change
1015838032Speter		this to only log "done" (at log level 11) when the
1015938032Speter		queue file is actually removed.  From John Myers.
1016038032Speter	Log "lost connection" in server SMTP at log level 20 if there
1016138032Speter		is no pending transaction.  Some senders just close the
1016238032Speter		connection rather than sending QUIT.
1016338032Speter	Fix a bug causing getmxrr to add a dot to the end of unqualified
1016438032Speter		domains that do not have MX records -- this would cause
1016538032Speter		the subsequent host name lookup to fail.  The problem
1016638032Speter		only occurred if you had FEATURE(nocanonify) set.
1016738032Speter		Problem noted by Rick McCarty of Texas Instruments.
1016838032Speter	Fix invocation of setvbuf when passed a -X flag -- I had
1016938032Speter		unwittingly used an ANSI C extension, and this caused
1017038032Speter		core dumps on some machines.
1017138032Speter	Diagnose self-destructive alias loops on RCPT as well as EXPN.
1017238032Speter		Previously it just gave an empty send queue, which
1017338032Speter		then gave either "Need RCPT (recipient)" at the DATA
1017438032Speter		(confusing, since you had given an RCPT command which
1017538032Speter		returned 250) or just dropped the email, depending on
1017638032Speter		whether you were running VERBose mode.  Now it usually
1017738032Speter		diagnoses this case as "aliasing/forwarding loop broken".
1017838032Speter		Unfortunately, it still doesn't adequately diagnose
1017938032Speter		some true error conditions.
1018038032Speter	Add internal concept of "warning messages" using 6xx codes.
1018138032Speter		These are not reported only to Postmaster.  Unbalanced
1018238032Speter		parens, brackets, and quotes are printed as 653 codes.
1018338032Speter		They are always mapped to 5xx codes before use in SMTP.
1018438032Speter	Clean up error messages to tell both the actual address that
1018538032Speter		failed and the alias they arose from.  This makes it
1018638032Speter		somewhat easier to diagnose problems.  Difficulty noted
1018738032Speter		by Motonori Nakamura.
1018838032Speter	Fix a problem that inappropriately added a ctladdr to addresses
1018938032Speter		that shouldn't have had one during a queue run.  This
1019038032Speter		caused error messages to be handled differently during
1019138032Speter		a queue run than a direct run.
1019238032Speter	Don't print the qf name and line number if you get errors during
1019338032Speter		the direct run of the queue from srvrsmtp -- this was
1019438032Speter		just extra stuff for users to crawl through.
1019538032Speter	Put command line flags on second line of pid file so you can
1019638032Speter		auto-restart the daemon with all appropriate arguments.
1019738032Speter		Use "kill `head -1 /etc/sendmail.pid`" to stop the
1019838032Speter		daemon, and "eval `tail -1 /etc/sendmail.pid`" to
1019938032Speter		restart it.
1020038032Speter	Remove the ``setuid(getuid())'' in main -- this caused the
1020138032Speter		IDENT daemon to screw up.  This required that I change
1020238032Speter		HASSETEUID to HASSETREUID and complicate the mode
1020338032Speter		changing somewhat because both Ultrix and SunOS seem
1020438032Speter		to have a bug causing seteuid() to set the saved uid
1020538032Speter		as well as the effective.  The program test/t_setreuid.c
1020638032Speter		will test to see if your implementation of setreuid(2)
1020738032Speter		is appropriately functional.
1020838032Speter	The FallBackMX (option V) handling failed to properly identify
1020938032Speter		fallback to yourself -- most of the code was there,
1021038032Speter		but it wasn't being enabled.  Problem noted by Murray
1021138032Speter		Kucherawy of the University of Waterloo.
1021238032Speter	Change :include: open timeout from ETIMEDOUT to an internal
1021338032Speter		code EOPENTIMEOUT; this avoids adding "during SmtpPhase
1021438032Speter		with CurHostName" in error messages, which can be
1021538032Speter		confusing.  Reported by Jonathan Kamens of OpenVision
1021638032Speter		Technologies.
1021738032Speter	Back out setpgrp (setpgid on POSIX systems) call to reset the
1021838032Speter		process group id.  The original fix was to get around
1021938032Speter		some problems with recalcitrant MUAs, but it breaks
1022038032Speter		any call from a shell that creates a process group id
1022138032Speter		different from the process id.  I could try to fix
1022238032Speter		this by diddling the tty owner (using tcsetpgrp or
1022338032Speter		equivalent) but this is too likely to break other
1022438032Speter		things.
1022538032Speter	Portability changes:
1022638032Speter		Support -M as equivalent to -oM on Ultrix -- apparently
1022738032Speter			DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
1022838032Speter			instead of using standard flags.  Oh joy.  This
1022943730Speter			behavior reported by Jon Giltner of University
1023038032Speter			of Colorado.
1023138032Speter		SGI IRIX  -- this includes several changes that should
1023238032Speter			help other strict ANSI compilers.
1023338032Speter		SCO Unix -- from Murray Kucherawy of HookUp Communication
1023438032Speter			Corporation.
1023538032Speter		Solaris running the Sun C compiler (which despite the
1023638032Speter			documentation apparently doesn't define
1023738032Speter			__STDC__ by default).
1023838032Speter		ConvexOS from Eric Schnoebelen of Convex.
1023938032Speter		Sony NEWS workstations and Omron LUNA workstations from
1024038032Speter			Motonori Nakamura.
1024138032Speter	CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
1024238032Speter	CONFIG: delete `C' and `e' from default SMTP mailers flags;
1024338032Speter		several people have made a good argument that this
1024438032Speter		creates more problems than it solves (although this
1024538032Speter		may prove painful in the short run).
1024638032Speter	CONFIG: generalize all the relays to accept a "mailer:host"
1024738032Speter		format.
1024838032Speter	CONFIG: move local processing in ruleset 0 into a new ruleset
1024938032Speter		98 (8 on old sendmail).  Domain literal [a.b.c.d]
1025038032Speter		addresses are also passed through this ruleset.
1025138032Speter	CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
1025238032Speter		internet-style addresses would "fall off the end" of
1025338032Speter		ruleset zero and be interpreted as local -- however,
1025438032Speter		the angle brackets confused the recursive call.
1025538032Speter		These are now diagnosed as "Unrecognized host name".
1025638032Speter	CONFIG: USENET rules weren't included in S0 because of a mistaken
1025738032Speter		ifdef(`_MAILER_USENET_') instead of
1025838032Speter		ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
1025938032Speter		of SINTEF RUNIT, Oslo.
1026038032Speter	CONFIG: move up LOCAL_RULE_0 processing so that it happens very
1026138032Speter		early in ruleset 0; this allows .mc authors to bypass
1026238032Speter		things like the "short circuit" code for local addresses.
1026338032Speter		Prompted by a comment by Bill Wisner of The Well.
1026438032Speter	CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
1026538032Speter		esmtp) to send SMTP mail.  This allows you to default
1026638032Speter		to esmtp but use a mailertable or other override to
1026738032Speter		deal with broken servers.  This logic was pointed out
1026838032Speter		to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
1026938032Speter	Changes to cf/sh/makeinfo.sh to make it portable to SVR4
1027038032Speter		environments.  Ugly as sin.
1027138032Speter
1027264562Sgshapiro8.3/8.3		1993/07/13
1027338032Speter	Fix setuid problems introduced in 8.2 that caused messages
1027438032Speter		like "Cannot create qfXXXXXX: Invalid argument"
1027538032Speter		or "Cannot reopen dfXXXXXX: Permission denied".  This
1027638032Speter		involved a new compile flag "HASSETEUID" that takes
1027738032Speter		the place of the old _POSIX_SAVED_IDS -- it turns out
1027838032Speter		that the POSIX interface is broken enough to break
1027938032Speter		some systems badly.  This includes some fixes for
1028038032Speter		HP-UX.  Also fixes problems where the real uid is
1028138032Speter		not reset properly on startup (from Neil Rickert).
1028238032Speter	Fix a problem that caused timed out messages to not report the
1028338032Speter		addresses that timed out.  Error messages are also more
1028438032Speter		"user friendly".
1028538032Speter	Drop required bandwidth on connections from 64 bytes/sec to
1028638032Speter		16 bytes/sec.
1028738032Speter	Further Solaris portability changes -- doesn't require the BSD
1028838032Speter		compatibility library.  This also adds a new
1028938032Speter		"HASGETDTABLESIZE" compile flag which can be used if
1029038032Speter		you want to use getdtablesize(2) instead of sysconf(2).
1029138032Speter		These are loosely based on changes from David Meyer at
1029238032Speter		University of Oregon.  This now seems to work, at least
1029338032Speter		for quick test cases.
1029438032Speter	Fix a problem that can cause duplicate error messages to be
1029538032Speter		sent if you are in SMTP, you send to multiple addresses,
1029638032Speter		and at least one of those addresses is good and points
1029738032Speter		to an account that has a .forward file (whew!).
1029838032Speter	Fix a problem causing messages to be discarded if checkcompat()
1029938032Speter		returned EX_TEMPFAIL (because it didn't properly mark
1030038032Speter		the "to" address).  Problem noted by John Myers.
1030138032Speter	Fix dfopen to return NULL if the open failed; I was depending
1030238032Speter		on fdopen(-1) returning NULL, which isn't the case.  This
1030338032Speter		isn't serious, but does result in weird error diagnoses.
1030438032Speter		From Michael Corrigan.
1030538032Speter	CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
1030638032Speter		messages sent through UUCP-family mailers.  Suggested
1030738032Speter		by Bill Wisner of The Well.
1030838032Speter	CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
1030938032Speter		include a "uucp-dom" mailer that uses domain-style
1031038032Speter		addressing.  Suggested by Bill Wisner.
1031138032Speter	CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
1031238032Speter		LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
1031338032Speter		Christophe Wolfhugel.
1031438032Speter	CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
1031538032Speter
1031664562Sgshapiro8.2/8.2		1993/07/11
1031738032Speter	Don't drop out on config file parse errors in -bt mode.
1031838032Speter	On older configuration files, assume option "l" (use Errors-To
1031938032Speter		header) for back compatibility.  NOTE:  this DOES NOT
1032038032Speter		imply an endorsement of the Errors-To: header in any way.
1032138032Speter	Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
1032238032Speter	Don't log errors on EHLO -- it isn't a "real" error for an old
1032338032Speter		SMTP server to give an error on this command, and
1032438032Speter		logging it in the transcript can be confusing.  Fix
1032538032Speter		from Bill Wisner.
1032638032Speter	IRIX compatibility changes provided by Dan Rich
1032738032Speter		<drich@sandman.lerc.nasa.gov>.
1032838032Speter	Solaris 2 compatibility changes.  Provided by Bob Cunningham
1032938032Speter		<bob@kahala.soest.hawaii.edu>, John Oleynick
1033038032Speter		<juo@klinzhai.rutgers.edu>
1033138032Speter	Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
1033238032Speter		move usersmtp (smtpinit and smtpmailfrom) to -d18 to
1033338032Speter		match the other flags in that file.
1033438032Speter	Flush transcript before fork in mailfile().  From Eric Wassenaar.
1033538032Speter	Save h_errno in mci struct and improve error message display.
1033638032Speter		Changes from Eric Wassenaar.
1033738032Speter	Open /dev/null for the transcript if the create of the xf file
1033838032Speter		failed; this avoids at least one possible null pointer
1033938032Speter		reference in very weird cases.  From Eric Wassenaar.
1034038032Speter	Clean up statistics gathering; it was over-reporting because of
1034138032Speter		forks.  From Eric Wassenaar.
1034238032Speter	Fix problem that causes old Return-Path: line to override new
1034338032Speter		Return-Path: line (conf.c needs H_FORCE to avoid
1034438032Speter		re-using old value).  From Motonori Nakamura.
1034538032Speter	Fix broken -m flag in K definition -- even if -m (match only)
1034638032Speter		was specified, it would still replace the key with the
1034738032Speter		value.  Noted by Rick McCarty of Texas Instruments.
1034838032Speter	If the name server timed out over several days, no "timed out"
1034938032Speter		message would ever be sent back.  The timeout code
1035038032Speter		has been moved from markfailure() to dropenvelope()
1035138032Speter		so that all such failures should be diagnosed.  Pointed
1035238032Speter		out by Christophe Wolfhugel and others.
1035338032Speter	Relax safefile() constraints: directories in an include or
1035438032Speter		forward path must be readable by self if the controlling
1035538032Speter		user owns the entry, readable by all otherwise (e.g.,
1035638032Speter		when reading your .forward file, you have to own and
1035738032Speter		have X permission in it; everyone needs X permission in
1035838032Speter		the root and directories leading up to your home);
1035938032Speter		include files must be readable by anyone, but need not
1036038032Speter		be owned by you.
1036138032Speter	If _POSIX_SAVED_IDS is defined, setuid to the owner before
1036238032Speter		reading a .forward file; this gets around some problems
1036338032Speter		on NFS mounts if root permission is not exported and
1036438032Speter		the user's home directory isn't x'able.
1036538032Speter	Additional NeXT portability enhancements from Axel Zinser.
1036638032Speter	Additional HP-UX portability enhancements from Brian Bullen.
1036738032Speter	Add a timeout around SMTP message writes; this assumes you can
1036838032Speter		get throughput of at least 64 bytes/second.  Note that
1036938032Speter		this does not impact the "datafinal" default, which
1037038032Speter		is separate; this is just intended to work around
1037138032Speter		network clogs that will occur before the final dot
1037238032Speter		is sent.  From Eric Wassenaar.
1037338032Speter	Change map code to set the "include null" flag adaptively --
1037438032Speter		it initially tries both, but if it finds anything
1037538032Speter		matching without a null it never tries again with a
1037638032Speter		null and vice versa.  If -N is specified, it never
1037738032Speter		tries without the null and creates new maps with a
1037838032Speter		null byte.  If -O is specified, it never tries with
1037938032Speter		the null (for efficiency).  If -N and -O are specified,
1038038032Speter		you get -NO (get it?) lookup at all, so this would
1038138032Speter		be a bad idea.  If you don't specify either -N or -O,
1038238032Speter		it adapts.
1038338032Speter	Fix recognition of "same from address" so that MH submissions
1038438032Speter		will insert the appropriate full name information;
1038538032Speter		this used to work and got broken somewhere along the
1038638032Speter		way.
1038738032Speter	Some changes to eliminate some unnecessary SYSERRs in the
1038838032Speter		log.  For example, if you lost a connection, don't
1038938032Speter		bother reporting that fact on the connection you lost.
1039038032Speter	Add some "extended debugging" flags to try to track down
1039138032Speter		why we get occasional problems with file descriptor
1039238032Speter		one being closed when execing a mailer; it seems to
1039338032Speter		only happen when there has been another error in the
1039438032Speter		same transaction.  This requires XDEBUG, defined
1039538032Speter		by default in conf.h.
1039638032Speter	Add "-X filename" command line flag, which logs both sides of
1039738032Speter		all SMTP transactions.  This is intended ONLY for
1039838032Speter		debugging bad implementations of other mailers; start
1039938032Speter		it up, send a message from a mailer that is failing,
1040038032Speter		and then kill it off and examine the indicated log.
1040138032Speter		This output is not intended to be particularly human
1040238032Speter		readable.  This also adds the HASSETVBUF compile
1040338032Speter		flag, defaulted on if your compiler defines __STDC__.
1040438032Speter	CONFIG: change SMART_HOST to override an SMTP mailer.  If you
1040538032Speter		have a local net that should get direct connects, you
1040638032Speter		will need to use LOCAL_NET_CONFIG to catch these hosts.
1040738032Speter		See cf/README for an example.
1040838032Speter	CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
1040938032Speter		sites that don't use the -d flag.
1041038032Speter	CONFIG: hide recipient addresses as well as sender addresses
1041138032Speter		behind $M if FEATURE(allmasquerade) is specified; this
1041238032Speter		has been requested by several people, but can break
1041338032Speter		local aliases.  For example, if you mail to "localalias"
1041438032Speter		this will be rewritten as "localalias@masqueradehost";
1041538032Speter		although initial delivery will work, replies will be
1041638032Speter		broken.  Use it sparingly.
1041738032Speter	CONFIG: add FEATURE(domaintable).  This maps unqualified domains
1041838032Speter		to qualified domains in headers.  I believe this is
1041938032Speter		largely equivalent to the IDA feature of the same name.
1042038032Speter	CONFIG: use $U as UUCP name instead of $k.  This permits you
1042138032Speter		to override the "system name" as your UUCP name --
1042238032Speter		in particular, to use domain-ized UUCP names.  From
1042338032Speter		Bill Wisner of The Well.
1042438032Speter	CONFIG: create new mailer "esmtp" that always tries EHLO
1042538032Speter		first.  This is currently unused in the config files,
1042638032Speter		but could be used in a mailertable entry.
1042738032Speter
1042864562Sgshapiro8.1C/8.1B	1993/06/27
1042938032Speter	Serious security bug fix: it was possible to read any file on
1043038032Speter		the system, regardless of ownership and permissions.
1043138032Speter	If a subroutine returns a fully qualified address, return it
1043238032Speter		immediately instead of feeding it back into rewriting.
1043338032Speter		This fixes a problem with mailertable lookups.
1043438032Speter	CONFIG: fix some M4 frotz (concat => CONCAT)
1043538032Speter
1043664562Sgshapiro8.1B/8.1A	1993/06/12
1043738032Speter	Serious bug fix: pattern matching backup algorithm stepped by
1043838032Speter		two tokens in classes instead of one.  Found by Claus
1043938032Speter		Assmann at University of Kiel, Germany.
1044038032Speter
1044164562Sgshapiro8.1A/8.1A	1993/06/08
1044238032Speter	Another mailertable fix....
1044338032Speter
1044464562Sgshapiro8.1/8.1		1993/06/07
1044538032Speter	4.4BSD freeze.  No semantic changes.
10446