RELEASE_NOTES revision 141858
138032Speter			SENDMAIL RELEASE NOTES
2157001Sgshapiro      $Id: RELEASE_NOTES,v 8.1709 2005/01/12 04:32:31 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
9157001Sgshapiro8.13.3/8.13.3	2005/01/11
10157001Sgshapiro	Enhance handling of I/O errors, especially EOF, when STARTTLS
11157001Sgshapiro		is active.
12157001Sgshapiro	Make sure a connection is not reused after it has been closed
13157001Sgshapiro		due to a 421 error.  Problem found by Allan E Johannesen
14157001Sgshapiro		of Worcester Polytechnic Institute.
15157001Sgshapiro	Avoid triggering an assertion when sendmail is interrupted while
16157001Sgshapiro		closing a connection.  Problem found by Allan E Johannesen
17157001Sgshapiro		of Worcester Polytechnic Institute.
18157001Sgshapiro	Regression: a change in 8.13.2 caused sendmail not to try the
19157001Sgshapiro		next MX host (or FallbackMXhost if configured) when, at
20157001Sgshapiro		connection open, the current server returns a 4xy or 5xy
21157001Sgshapiro		SMTP reply code.  Problem noted by Mark Tranchant.
22157001Sgshapiro
23157001Sgshapiro8.13.2/8.13.2	2004/12/15
24157001Sgshapiro	Do not split the first header even if it exceeds the internal
25157001Sgshapiro		buffer size.  Previously a part of such a header would
26157001Sgshapiro		end up in the body of the message.  Problem noted by
27157001Sgshapiro		Simple Nomad of BindView.
28157001Sgshapiro	Do not complain about "cataddr: string too long" when checking
29157001Sgshapiro		headers that do not contain RFC 2822 addresses.
30157001Sgshapiro		Problem noted by Rich Graves of Brandeis University.
31157001Sgshapiro	If a server returns a 421 reply to the RSET command between
32157001Sgshapiro		message deliveries, do not attempt to deliver any more
33157001Sgshapiro		messages on that connection.  This prevents bogus "Bad
34157001Sgshapiro		file number" recipient status.  Problem noted by
35157001Sgshapiro		Allan E Johannesen of Worcester Polytechnic Institute.
36157001Sgshapiro	Allow trailing white space in EHLO command as recommended by RFC
37157001Sgshapiro		2821.  Problem noted by Ralph Santagato of SBC Services.
38157001Sgshapiro	Deal with clients which use AUTH but negotiate a smaller buffer size
39157001Sgshapiro		for data exchanges than the value used by sendmail, e.g.,
40157001Sgshapiro		Cyrus IMAP lmtp server.  Based on patch by Jamie Clark.
41157001Sgshapiro	When passing ESMTP arguments for RCPT to a milter, do not cut
42157001Sgshapiro		them off at a comma.  Problem noted by Krzysztof Oledzki.
43157001Sgshapiro	Add more logging to milter change header functions to
44157001Sgshapiro		complement existing logging.  Based on patch from
45157001Sgshapiro		Gurusamy Sarathy of Active State.
46157001Sgshapiro	Include <lber.h> in include/sm/config.h when LDAPMAP is defined.
47157001Sgshapiro		Patch from Edgar Hoch of the University of Stuttgart.
48157001Sgshapiro	Fix DNS lookup if IPv6 is enabled when converting an IP address
49157001Sgshapiro		to a hostname for use with SASL.  Problem noted by Ken Jones;
50157001Sgshapiro		patch from Hajimu UMEMOTO.
51157001Sgshapiro	CONFIG: For consistency enable MODIFY_MAILER_FLAGS for the prog
52157001Sgshapiro		mailer.  Patch from John Beck of Sun Microsystems.
53157001Sgshapiro	LIBMILTER: It was possible that xxfi_abort() was called after
54157001Sgshapiro		xxfi_eom() for a message if some timeouts were triggered.
55157001Sgshapiro		Patch from Alexey Kravchuk.
56157001Sgshapiro	LIBMILTER: Slightly rearrange mutex use in listener.c to allow
57157001Sgshapiro		different threads to call smfi_opensocket() and smfi_main().
58157001Sgshapiro		Patch from Jordan Ritter of Cloudmark.
59157001Sgshapiro	MAIL.LOCAL: Properly terminate MBDB before exiting.  Problem
60157001Sgshapiro		noted by Nelson Fung.
61157001Sgshapiro	MAIL.LOCAL: make strip-mail.local used a wrong path to access
62157001Sgshapiro		mail.local.  Problem noted by William Park.
63157001Sgshapiro	VACATION: Properly terminate MBDB before exiting.  Problem noted
64157001Sgshapiro		by Nelson Fung.
65157001Sgshapiro	Portability:
66157001Sgshapiro		Add support for DragonFly BSD.
67157001Sgshapiro	New Files:
68157001Sgshapiro		cf/ostype/dragonfly.m4
69157001Sgshapiro		devtools/OS/DragonFly
70157001Sgshapiro		include/sm/os/sm_os_dragonfly.h
71157001Sgshapiro	Deleted Files:
72157001Sgshapiro		libsm/vsscanf.c
73157001Sgshapiro
74157001Sgshapiro8.13.1/8.13.1	2004/07/30
75157001Sgshapiro	Using the default AliasFile ldap: specification would cause the
76157001Sgshapiro		objectClasses of the LDAP response to be included in the
77157001Sgshapiro		alias expansion.  Problem noted by Brenden Conte of
78157001Sgshapiro		Rensselaer Polytechnic Institute.
79157001Sgshapiro	Fix support for a fallback smart host for system where DNS is
80157001Sgshapiro		(partially) available. From John Beck of Sun Microsystems.
81157001Sgshapiro	Fix SuperSafe=PostMilter behavior when a milter replaces a body
82157001Sgshapiro		but the data file is not yet stored on disk because it is
83157001Sgshapiro		smaller than the size of the memory buffer.  Problem noted
84157001Sgshapiro		by David Russell.
85157001Sgshapiro	Fix certificate revocation list support; if a CRL was specified
86157001Sgshapiro		but the other side presented a cert that was signed by
87157001Sgshapiro		a different (trusted) CA than the one which issued the CRL,
88157001Sgshapiro		verification would always fail.  Problem noted by Al Smith.
89157001Sgshapiro	Run mailer programs as the RunAsUser when RunAsUser is set and
90157001Sgshapiro		the F=S mailer flag is set without a U= mailer equate.
91157001Sgshapiro		Problem noted by John Gardiner Myers of Proofpoint.
92157001Sgshapiro	${nbadrcpts} was off by one if BadRcptThrottle is zero.
93157001Sgshapiro		Patch from Sung-hoon Choi of DreamWiz Inc.
94157001Sgshapiro	CONFIG: Emit a warning if FEATURE(`access_db') is used after
95157001Sgshapiro		FEATURE(`greet_pause') because then the latter will not
96157001Sgshapiro		use the access map.  Note: if no default value is given
97157001Sgshapiro		for FEATURE(`greet_pause') then it issues an error if
98157001Sgshapiro		FEATURE(`access_db') is not specified before it.
99157001Sgshapiro		Problem noted by Alexander Dalloz of University of
100157001Sgshapiro		Bielefeld.
101157001Sgshapiro	CONFIG: Invoke ruleset Local_greet_pause if FEATURE(`greet_pause')
102157001Sgshapiro		is used to give more flexibility for local changes.
103157001Sgshapiro	Portability:
104157001Sgshapiro		Fix a 64 bit problem in the socket map code.  Problem
105157001Sgshapiro			noted by Geoff Adams.
106157001Sgshapiro		NetBSD 2.0F has closefrom(3).  Patch from Andrew Brown.
107157001Sgshapiro		NetBSD can use sysctl(3) to get the number of CPUs in
108157001Sgshapiro			a system.  Patch from Andrew Brown.
109157001Sgshapiro		Add a README file in doc/op/ to explain potential
110157001Sgshapiro			incompatibilities with various *roff related
111157001Sgshapiro			tools.  Problem tracked down by Per Hedeland.
112157001Sgshapiro	New Files:
113157001Sgshapiro		doc/op/README
114157001Sgshapiro
115157001Sgshapiro8.13.0/8.13.0	2004/06/20
116157001Sgshapiro	Do not include AUTH data in a bounce to avoid leaking confidential
117157001Sgshapiro		information.  See also cf/README about MSP and the section
118147078Sgshapiro		"Providing SMTP AUTH Data when sendmail acts as Client".
119147078Sgshapiro		Problem noted by Neil Rickert of Northern Illinois
120147078Sgshapiro		University.
121147078Sgshapiro	Fix compilation error in libsm/clock.c for -D_FFR_SLEEP_USE_SELECT=n
122147078Sgshapiro		and -DSM_CONF_SETITIMER=0.  Problem noted by Juergen Georgi
123147078Sgshapiro		of RUS University of Stuttgart.
124147078Sgshapiro	Fix bug in conversion from 8bit to quoted-printable. Problem found
125147078Sgshapiro		by Christof Haerens, patch from Per Hedeland.
126147078Sgshapiro	Add support for LDAP recursion based on types given to attribute
127147078Sgshapiro		specifications in an LDAP map definition.  This allows
128147078Sgshapiro		LDAP queries to return a new query, a DN, or an LDAP
129147078Sgshapiro		URL which will in turn be queried.  See the ``LDAP
130147078Sgshapiro		Recursion'' section of doc/op/op.me for more information.
131147078Sgshapiro		Based on patch from Andrew Baucom.
132147078Sgshapiro	Extend the default LDAP specifications for AliasFile
133147078Sgshapiro		(O AliasFile=ldap:) and file classes (F{X}@LDAP) to
134147078Sgshapiro		include support for LDAP recursion via new attributes.
135147078Sgshapiro		See ``USING LDAP FOR ALIASES, MAPS, and CLASSES'' section
136147078Sgshapiro		of cf/README for more information.
137147078Sgshapiro	New option for LDAP maps: the -w option allows you to specify the
138147078Sgshapiro		LDAP API/protocol version to use.  The default depends on
139147078Sgshapiro		the LDAP library.
140147078Sgshapiro	New option for LDAP maps: the -H option allows you to specify an
141147078Sgshapiro		LDAP URI instead of specifying the LDAP server via -h host
142147078Sgshapiro		and -p port.  This also allows for the use of LDAP over
143147078Sgshapiro		SSL and connections via named sockets if your LDAP
144147078Sgshapiro		library supports it.
145147078Sgshapiro	New compile time flag SM_CONF_LDAP_INITIALIZE: set this if
146147078Sgshapiro		ldap_initialize(3) is available (and LDAPMAP is set).
147147078Sgshapiro	If MaxDaemonChildren is set and a command is repeated too often
148147078Sgshapiro		during a SMTP session then terminate it just like it is
149147078Sgshapiro		done for too many bad SMTP commands.
150147078Sgshapiro	Basic connection rate control support has been added: the daemon
151147078Sgshapiro		maintains the number of incoming connections per client
152147078Sgshapiro		IP address and total in the macros {client_rate} and
153147078Sgshapiro		{total_rate}, respectively.  These macros can be used
154147078Sgshapiro		in the cf file to impose connection rate limits.
155147078Sgshapiro		A new option ConnectionRateWindowSize (default: 60s)
156147078Sgshapiro		determines the length of the interval for which the
157147078Sgshapiro		number of connections is stored.  Based on patch from
158147078Sgshapiro		Jose Marcio Martins da Cruz, Ecole des Mines de Paris.
159147078Sgshapiro	Add optional protection from open proxies and SMTP slammers which
160147078Sgshapiro		send SMTP traffic without waiting for the SMTP greeting.
161147078Sgshapiro		If enabled by the new ruleset greet_pause (see
162147078Sgshapiro		FEATURE(`greet_pause')), sendmail will wait the specified
163147078Sgshapiro		amount of time before sending the initial 220 SMTP
164147078Sgshapiro		greeting.  If any traffic is received before then, a 554
165147078Sgshapiro		SMTP response is sent and all SMTP commands are rejected
166147078Sgshapiro		during that connection.
167147078Sgshapiro	If 32 NOOP (or unknown/bad) commands are issued by a client the SMTP
168147078Sgshapiro		server could sleep for a very long time.  Fix based on
169147078Sgshapiro		patch from Tadashi Kobayashi of IIJ.
170147078Sgshapiro	Fix a potential memory leak in persistent queue runners if the
171147078Sgshapiro		number of entries in the queue exceeds the limit of jobs.
172141858Sgshapiro		Problem noted by Steve Hubert of University of Washington.
173141858Sgshapiro	Do not use 4.7.1 as enhanced status code because some broken systems
174141858Sgshapiro		misinterpret it as a permanent error.
175141858Sgshapiro	New value for SuperSafe: PostMilter which will delay fsync() until
176141858Sgshapiro		all milters accepted the mail.  This can increase
177141858Sgshapiro		performance if many mails are rejected by milters due to
178141858Sgshapiro		body scans.  Based on patch from David F. Skoll.
179141858Sgshapiro	New macro {msg_id} which contains the value of the Message-Id:
180141858Sgshapiro		header, whether provided by the client or generated by
181141858Sgshapiro		sendmail.
182141858Sgshapiro	New macro {client_connections} which contains the number of open
183141858Sgshapiro		connections in the SMTP server for the client IP address.
184141858Sgshapiro		Based on patch from Jose Marcio Martins da Cruz, Ecole des
185141858Sgshapiro		Mines de Paris.
186141858Sgshapiro	sendmail will now remove its pidfile when it exits.  This was done
187141858Sgshapiro		to prevent confusion caused by running sendmail stop
188141858Sgshapiro		scripts two or more times, where the second and subsequent
189141858Sgshapiro		runs would report misleading error messages about sendmail's
190141858Sgshapiro		pid no longer existing.  See section 1.3.15 of doc/op/op.me
191141858Sgshapiro		for a discussion of the implications of this, including
192141858Sgshapiro		how to correct broken scripts which may have depended on
193141858Sgshapiro		the old behavior.  From John Beck of Sun Microsystems.
194141858Sgshapiro	Support per-daemon input filter lists which override the default
195141858Sgshapiro		filter list specified in InputMailFilters.  The filters
196141858Sgshapiro		can be listed in the I= equate of DaemonPortOptions.
197141858Sgshapiro	Do not add all domain prefixes of the hostname to class 'w'.  If
198141858Sgshapiro		your configuration relies on this behavior, you have to
199141858Sgshapiro		add those names to class 'w' yourself.  Problem noted
200141858Sgshapiro		by Sander Eerkes.
201141858Sgshapiro	Support message quarantining in the mail queue.  Quarantined
202141858Sgshapiro		messages are not run on normal queue displays or runs
203141858Sgshapiro		unless specifically requested with -qQ.  Quarantined queue
204141858Sgshapiro		files are named with an hf prefix instead of a qf prefix.
205141858Sgshapiro	The -q command line option now can specify which queue to display
206141858Sgshapiro		or run.  -qQ operates on quarantined queue items.  -qL
207141858Sgshapiro		operates on lost queue items.
208141858Sgshapiro	Restricted mail queue runs and displays can be done based on the
209141858Sgshapiro		quarantined reason using -qQtext to run or display
210141858Sgshapiro		quarantined items if the quarantine reason contains the
211141858Sgshapiro		given text.  Similarly, -q!Qtext will run or display
212141858Sgshapiro		quarantined items which do not have the given text in the
213141858Sgshapiro		quarantine reason.
214141858Sgshapiro	Items in the queue can be quarantined or unquarantined using the
215141858Sgshapiro		new -Q option.  See doc/op/op.me for more information.
216141858Sgshapiro	When displaying the quarantine mailq with 'mailq -qQ', the
217141858Sgshapiro		quarantine reason is shown in a new line prefixed by
218141858Sgshapiro		"QUARANTINE:".
219141858Sgshapiro	A new error code for the $#error mailer, $@ quarantine, can be used
220141858Sgshapiro		to quarantine messages in check_* (except check_compat) and
221141858Sgshapiro		header check rulesets.  The $: of the mailer triplet will
222141858Sgshapiro		be used for the quarantine reason.
223141858Sgshapiro	Add a new quarantine count to the mailstats collected.
224141858Sgshapiro	Add a new macro ${quarantine} which is the quarantine reason for a
225141858Sgshapiro		message if it is quarantined.
226141858Sgshapiro	New map type "socket" for a trivial query protocol over UNIX domain
227141858Sgshapiro		or TCP sockets (requires compile time option SOCKETMAP).
228141858Sgshapiro		See sendmail/README and doc/op/op.me for details as well as
229141858Sgshapiro		socketmapServer.pl and socketmapClient.pl in contrib.
230141858Sgshapiro		Code donated by Bastiaan Bakker of LifeLine Networks.
231141858Sgshapiro	Define new macro ${client_ptr} which holds the result of the PTR
232141858Sgshapiro		lookup for the client IP address.  Note: this is the same
233141858Sgshapiro		as ${client_name} if and only if ${client_resolve} is OK.
234141858Sgshapiro	Add a new macro ${nbadrcpts} which contains the number of bad
235141858Sgshapiro		recipients received so far in a transaction.
236141858Sgshapiro	Call check_relay with the value of ${client_name} to deal with bogus
237132943Sgshapiro		DNS entries.  See also FEATURE(`use_client_ptr').  Problem
238132943Sgshapiro		noted by Kai Schlichting.
239132943Sgshapiro	Treat Delivery-Receipt-To: headers the same as Return-Receipt-To:
240132943Sgshapiro		headers (turn them into DSNs).  Delivery-Receipt-To: is
241132943Sgshapiro		apparently used by SIMS (Sun Internet Mail System).
242132943Sgshapiro	Enable connection caching for LPC mailers.  Patch from Christophe
243132943Sgshapiro		Wolfhugel of France Telecom Oleane.
244132943Sgshapiro	Do not silently truncate long strings in address rewriting.
245132943Sgshapiro	Add support for Cyrus SASL version 2.  From Kenneth Murchison of
246132943Sgshapiro		Oceana Matrix Ltd.
247132943Sgshapiro	Add a new AuthOption=m flag to require the use of mechanisms which
248132943Sgshapiro		support mutual authentication.  From Kenneth Murchison of
249132943Sgshapiro		Oceana Matrix Ltd.
250132943Sgshapiro	Fix logging of TLS related problems (introduced in 8.12.11).
251132943Sgshapiro	The macros {auth_author} and {auth_authen} are stored in xtext
252132943Sgshapiro		format just like the STARTTLS related macros to avoid
253132943Sgshapiro		problems with parsing them.  Problem noted by Pierangelo
254132943Sgshapiro		Masarati of SysNet s.n.c.
255132943Sgshapiro	New option AuthRealm to set the authentication realm that is
256132943Sgshapiro		passed to the Cyrus SASL library.  Patch from Gary Mills
257132943Sgshapiro		of the University of Manitoba.
258132943Sgshapiro	Enable AUTH mechanism EXTERNAL if STARTTLS verification was
259132943Sgshapiro		successful, otherwise relaying would be allowed if
260132943Sgshapiro		EXTERNAL is listed in TRUST_AUTH_MECH() and STARTTLS
261132943Sgshapiro		is active.
262132943Sgshapiro	Add basic support for certificate revocation lists.  Note: if a
263132943Sgshapiro		CRLFile is specified but the file is unusable, STARTTLS
264132943Sgshapiro		is disabled.  Based on patch by Ralf Hornik.
265132943Sgshapiro	Enable workaround for inconsistent Cyrus SASLv1 API for mechanisms
266132943Sgshapiro		DIGEST-MD5 and LOGIN.
267132943Sgshapiro	Write pid to file also if sendmail only acts as persistent queue
268132943Sgshapiro		runner.  Proposed by Gary Mills of the University of Manitoba.
269132943Sgshapiro	Keep daemon pid file(s) locked so other daemons don't try to
270132943Sgshapiro		overwrite each other's pid files.
271132943Sgshapiro	Increase maximum length of logfile fields for {cert_subject} and
272132943Sgshapiro		{cert_issuer} from 128 to 256.  Requested by Christophe
273132943Sgshapiro		Wolfhugel of France Telecom.
274132943Sgshapiro	Log the TLS verification message on the STARTTLS= log line at
275132943Sgshapiro		LogLevel 12 or higher.
276132943Sgshapiro	If the MSP is invoked with the verbose option (-v) then it will
277132943Sgshapiro		try to use the SMTP command VERB to propagate this option
278132943Sgshapiro		to the MTA which in turn will show the delivery just like
279132943Sgshapiro		it was done before the default 8.12 separation of MSP and
280132943Sgshapiro		MTA.  Based on patch by Per Hedeland.
281132943Sgshapiro	If a daemon is refusing connections for longer than the time specified
282132943Sgshapiro		by the new option RejectLogInterval (default: 3 hours) due
283132943Sgshapiro		to high load, log this information.  Patch from John Beck
284132943Sgshapiro		of Sun Microsystems.
285132943Sgshapiro	Remove the ability for non-trusted users to raise the value of
286132943Sgshapiro		CheckpointInterval on the command line.
287132943Sgshapiro	New mailer flag 'B' to strip leading backslashes, which is a
288132943Sgshapiro		subset of the functionality of the 's' flag.
289132943Sgshapiro	New mailer flag 'W' to ignore long term host status information.
290132943Sgshapiro		Patch from Juergen Georgi of RUS University of Stuttgart.
291132943Sgshapiro	Enable generic mail filter API (milter) by default.  To turn
292132943Sgshapiro		it off, add -DMILTER=0 to the compile time options.
293132943Sgshapiro	An internal SMTP session discard flag was lost after an RSET/HELO/EHLO
294132943Sgshapiro		causing subsequent messages to be sent instead of being
295132943Sgshapiro		discarded.  This also caused milter callbacks to be called
296132943Sgshapiro		out of order after the SMTP session was reset.
297132943Sgshapiro	New option RequiresDirfsync to turn off the compile time flag
298132943Sgshapiro		REQUIRES_DIR_FSYNC at runtime.  See sendmail/README for
299132943Sgshapiro		further information.
300132943Sgshapiro	New command line option -D logfile to send debug output to
301132943Sgshapiro		the indicated log file instead of stdout.
302132943Sgshapiro	Add Timeout.queuereturn.dsn and Timeout.queuewarn.dsn to control
303132943Sgshapiro		queue return and warning times for delivery status
304132943Sgshapiro		notifications.
305132943Sgshapiro	New queue sort order option: 'n'one for not sorting the queue entries
306132943Sgshapiro		at all.
307132943Sgshapiro	Several more return values for ruleset srv_features have been added
308132943Sgshapiro		to enable/disable certain features in the server per
309132943Sgshapiro		connection.  See doc/op/op.me for details.
310132943Sgshapiro	Support for SMTP over SSL (smtps), activated by Modifier=s
311132943Sgshapiro		for DaemonPortOptions.
312132943Sgshapiro	Continue with DNS lookups on ECONNREFUSED and TRY_AGAIN when
313132943Sgshapiro		trying to canonify hostnames.  Suggested by Neil Rickert
314132943Sgshapiro		of Northern Illinois University.
315132943Sgshapiro	Add support for a fallback smart host (option FallbackSmartHost) to
316132943Sgshapiro		be tried as a last resort after all other fallbacks.  This
317132943Sgshapiro		is designed for sites with partial DNS (e.g., an accurate
318132943Sgshapiro		view of inside the company, but an incomplete view of
319132943Sgshapiro		outside).  From John Beck of Sun Microsystems.
320132943Sgshapiro	Enable timeout for STARTTLS even if client does not start the TLS
321132943Sgshapiro		handshake.  Based on patch by Andrey J. Melnikoff.
322132943Sgshapiro	Remove deprecated -v option for PH map, use -k instead.  Patch from
323132943Sgshapiro		Mark Roth of the University of Illinois at Urbana-Champaign.
324132943Sgshapiro	libphclient is version 1.2.x by default, if version 1.1.x is required
325132943Sgshapiro		then compile with -DNPH_VERSION=10100.  Patch from Mark Roth
326132943Sgshapiro		of the University of Illinois at Urbana-Champaign.
327132943Sgshapiro	Add Milter.macros.eom, allowing macros to be sent to milter
328132943Sgshapiro		applications for use in the xxfi_eom() callback.
329132943Sgshapiro	New macro {time} which contains the output of the time(3) function,
330132943Sgshapiro		i.e., the number of seconds since 0 hours, 0 minutes,
331132943Sgshapiro		0 seconds, January 1, 1970, Coordinated Universal Time (UTC).
332132943Sgshapiro	If check_relay sets the reply code to "421" the SMTP server will
333132943Sgshapiro		terminate the SMTP session with a 421 error message.
334132943Sgshapiro	Get rid of dead code that tried to access the environment variable
335132943Sgshapiro		HOSTALIASES.
336132943Sgshapiro	Deprecate the use of ErrorMode=write.  To enable this in 8.13
337132943Sgshapiro		compile with -DUSE_TTYPATH=1.
338132943Sgshapiro	Header check rulesets using $>+ (do not strip comments) will get
339132943Sgshapiro		the header value passed in without balancing quotes,
340132943Sgshapiro		parentheses, and angle brackets.  Based on patch from
341132943Sgshapiro		Oleg Bulyzhin.
342132943Sgshapiro	Do not complain and fix up unbalanced quotes, parentheses, and
343132943Sgshapiro		angle brackets when reading in rulesets.  This allows
344132943Sgshapiro		rules to be written for header checks to catch strings
345132943Sgshapiro		that contain quotes, parentheses, and/or angle brackets.
346132943Sgshapiro		Based on patch from Oleg Bulyzhin.
347132943Sgshapiro	Do not close socket when accept(2) in the daemon encounters
348132943Sgshapiro		some temporary errors like ECONNABORTED.
349132943Sgshapiro	Added list of CA certificates that are used by members of the
350132943Sgshapiro		sendmail consortium, see CACerts.
351132943Sgshapiro	Portability:
352141858Sgshapiro		Two new compile options have been added:
353132943Sgshapiro			HASCLOSEFROM	System has closefrom(3).
354132943Sgshapiro			HASFDWALK	System has fdwalk(3).
355132943Sgshapiro			Based on patch from John Beck of Sun Microsystems.
356132943Sgshapiro		The Linux kernel version 2.4 series has a broken flock() so
357132943Sgshapiro			change to using fcntl() locking until they can fix
358132943Sgshapiro			it.  Be sure to update other sendmail related
359132943Sgshapiro			programs to match locking techniques.
360132943Sgshapiro		New compile time option NEEDINTERRNO which should be set
361132943Sgshapiro			if <errno.h> does not declare errno itself.
362132943Sgshapiro		Support for UNICOS/mk and UNICOS/mp added, some changes for
363132943Sgshapiro			UNICOS.  Patches contributed by Aaron Davis and
364132943Sgshapiro			Brian Ginsbach, Cray Inc., and Manu Mahonen of
365132943Sgshapiro			Center for Scientific Computing.
366132943Sgshapiro		Add support for Darwin 7.0/Mac OS X 10.3 (a.k.a. Panther).
367132943Sgshapiro		Extend support to Darwin 7.x/Mac OS X 10.3 (a.k.a. Panther).
368132943Sgshapiro		Remove path from compiler definition for Interix because
369132943Sgshapiro			Interix 3.0 and 3.5 put gcc in different locations.
370132943Sgshapiro			Also use <sys/mkdev.h> to get the correct
371132943Sgshapiro			major()/minor() definitions.  Based on feedback
372132943Sgshapiro			from Mark Funkenhauser.
373132943Sgshapiro	CONFIG: Add support for LDAP recursion to the default LDAP searches
374132943Sgshapiro		for maps via new attributes.  See the ``USING LDAP FOR
375132943Sgshapiro		ALIASES, MAPS, and CLASSES'' section of cf/README and
376132943Sgshapiro		cf/sendmail.schema for more information.
377132943Sgshapiro	CONFIG: Make sure confTRUSTED_USER is valid even if confRUN_AS_USER
378132943Sgshapiro		is of the form "user:group" when used for submit.mc.
379132943Sgshapiro		Problem noted by Carsten P. Gehrke, patch from Neil Rickert
380132943Sgshapiro		of Northern Illinois University.
381132943Sgshapiro	CONFIG: Add a new access DB value of QUARANTINE:reason which
382132943Sgshapiro		instructs the check_* (except check_compat) to quarantine
383132943Sgshapiro		the message using the given reason.
384132943Sgshapiro	CONFIG: Use "dns -R A" as map type for dnsbl (just as for enhdnsbl)
385132943Sgshapiro		instead of "host" to avoid problem with looking up other
386132943Sgshapiro		DNS records than just A.
387132943Sgshapiro	CONFIG: New option confCONNECTION_RATE_WINDOW_SIZE to define the
388132943Sgshapiro		length of the interval for which the number of incoming
389132943Sgshapiro		connections is maintained.
390132943Sgshapiro	CONFIG: New FEATURE(`ratecontrol') to set the limits for connection
391132943Sgshapiro		rate control for individual hosts or nets.
392132943Sgshapiro	CONFIG: New FEATURE(`conncontrol') to set the limits for the
393132943Sgshapiro		number of open SMTP connections for individual hosts or nets.
394132943Sgshapiro	CONFIG: New FEATURE(`greet_pause') enables open proxy and SMTP
395132943Sgshapiro		slamming protection described above.  The feature can
396132943Sgshapiro		take an argument specifying the milliseconds to wait and/or
397132943Sgshapiro		use the access database to look the pause time based on
398132943Sgshapiro		client hostname, domain, IP address, or subnet.
399132943Sgshapiro	CONFIG: New FEATURE(`use_client_ptr') to have check_relay use
400132943Sgshapiro		$&{client_ptr} as its first argument.  This is useful for
401132943Sgshapiro		rejections based on the unverified hostname of client,
402132943Sgshapiro		which turns on the same behavior as in earlier sendmail
403132943Sgshapiro		versions when delay_checks was not in use.  See also entry
404132943Sgshapiro		above about check_relay being invoked with ${client_name}.
405132943Sgshapiro	CONFIG: New option confREJECT_LOG_INTERVAL to specify the log
406132943Sgshapiro		interval when refusing connections for this long.
407132943Sgshapiro	CONFIG: Remove quotes around usage of confREJECT_MSG; in some cases
408132943Sgshapiro		this requires a change in a mc file.  Requested by
409132943Sgshapiro		Ted Roberts of Electronic Data Systems.
410132943Sgshapiro	CONFIG: New option confAUTH_REALM to set the authentication realm
411132943Sgshapiro		that is passed to the Cyrus SASL library.  Patch from
412132943Sgshapiro		Gary Mills of the University of Manitoba.
413132943Sgshapiro	CONFIG: Rename the (internal) classes {tls}/{src} to {Tls}/{Src}
414132943Sgshapiro		to follow the naming conventions.
415132943Sgshapiro	CONFIG: Add a third optional argument to local_lmtp to specify
416132943Sgshapiro		the A= argument.
417132943Sgshapiro	CONFIG: Remove the f flag from the default mailer flags of
418132943Sgshapiro		local_lmtp.
419132943Sgshapiro	CONFIG: New option confREQUIRES_DIR_FSYNC to turn off the compile
420132943Sgshapiro		time flag REQUIRES_DIR_FSYNC at runtime.
421132943Sgshapiro	CONFIG: New LOCAL_UUCP macro to insert rules into the generated
422132943Sgshapiro		cf file at the same place where MAILER(`uucp') inserts
423132943Sgshapiro		its rules.
424132943Sgshapiro	CONFIG: New options confTO_QUEUERETURN_DSN and confTO_QUEUEWARN_DSN
425132943Sgshapiro		to control queue return and warning times for delivery
426132943Sgshapiro		status notifications.
427132943Sgshapiro	CONFIG: New option confFALLBACK_SMARTHOST to define FallbackSmartHost.
428132943Sgshapiro	CONFIG: Add the mc file which has been used to create the cf
429132943Sgshapiro		file to the end of the cf file when using make in cf/cf/.
430132943Sgshapiro		Patch from Richard Rognlie.
431132943Sgshapiro	CONFIG: FEATURE(nodns) has been removed, it was a no-op since 8.9.
432132943Sgshapiro		Use ServiceSwitchFile to turn off DNS lookups, see
433132943Sgshapiro		doc/op/op.me.
434132943Sgshapiro	CONFIG: New option confMILTER_MACROS_EOM (sendmail Milter.macros.eom
435132943Sgshapiro		option) defines macros to be sent to milter applications for
436132943Sgshapiro		use in the xxfi_eom() callback.
437132943Sgshapiro	CONFIG: New option confCRL to specify file which contains
438132943Sgshapiro		certificate revocations lists.
439132943Sgshapiro	CONFIG: Add a new value (sendertoo) for the third argument to
440132943Sgshapiro		FEATURE(`ldap_routing') which will reject the SMTP
441132943Sgshapiro		MAIL From: command if the sender address doesn't exist
442132943Sgshapiro		in LDAP.  See cf/README for more information.
443132943Sgshapiro	CONFIG: Add a fifth argument to FEATURE(`ldap_routing') which
444132943Sgshapiro		instructs the rulesets on whether or not to do a domain
445132943Sgshapiro		lookup if a full address lookup doesn't match.  See cf/README
446132943Sgshapiro		for more information.
447132943Sgshapiro	CONFIG: Add a sixth argument to FEATURE(`ldap_routing') which
448132943Sgshapiro		instructs the rulesets on whether or not to queue the mail
449132943Sgshapiro		or give an SMTP temporary error if the LDAP server can't be
450132943Sgshapiro		reached.  See cf/README for more information.  Based on
451132943Sgshapiro		patch from Billy Ray Miller of Caterpillar.
452132943Sgshapiro	CONFIG: Experimental support for MTAMark, see cf/README for details.
453132943Sgshapiro	CONFIG: New option confMESSAGEID_HEADER to define a different
454132943Sgshapiro		Message-Id: header format.  Patch from Bastiaan Bakker
455132943Sgshapiro		of LifeLine Networks.
456132943Sgshapiro	CONTRIB: New version of cidrexpand which uses Net::CIDR.  From
457132943Sgshapiro		Derek J. Balling.
458132943Sgshapiro	CONTRIB: oldbind.compat.c has been removed due to security problems.
459132943Sgshapiro		Found by code inspection done by Reasoning, Inc.
460132943Sgshapiro	DEVTOOLS: Add an example file for devtools/Site/, contributed
461132943Sgshapiro		by Neil Rickert of Northern Illinois University.
462132943Sgshapiro	LIBMILTER: Add new function smfi_quarantine() which allows the
463132943Sgshapiro		filter's EOM routine to quarantine the current message.
464132943Sgshapiro		Filters which use this function must include the
465132943Sgshapiro		SMFIF_QUARANTINE flag in the registered smfiDesc structure.
466132943Sgshapiro	LIBMILTER: If a milter sets the reply code to "421", the SMTP server
467132943Sgshapiro		will terminate the SMTP session with that error.
468132943Sgshapiro	LIBMILTER: Upon filter shutdown, libmilter will not remove a
469132943Sgshapiro		named socket in the file system if it is running as root.
470132943Sgshapiro	LIBMILTER: Add new function smfi_progress() which allows the filter
471132943Sgshapiro		to notify the MTA that an EOM operation is still in progress,
472132943Sgshapiro		resetting the timeout.
473132943Sgshapiro	LIBMILTER: Add new function smfi_opensocket() which allows the filter
474132943Sgshapiro		to attempt to establish the interface socket, and detect
475132943Sgshapiro		failure to do so before calling smfi_main().
476132943Sgshapiro	LIBMILTER: Add new function smfi_setmlreply() which allows the
477132943Sgshapiro		filter to return a multi-line SMTP reply.
478132943Sgshapiro	LIBMILTER: Deal with more temporary errors in accept() by ignoring
479132943Sgshapiro		them instead of stopping after too many occurred.
480132943Sgshapiro		Suggested by James Carlson of Sun Microsystems.
481132943Sgshapiro	LIBMILTER: Fix a descriptor leak in the sample program found in
482132943Sgshapiro		docs/sample.html.  Reported by Dmitry Adamushko.
483132943Sgshapiro	LIBMILTER: The sample program also needs to use SMFIF_ADDRCPT.
484132943Sgshapiro		Reported by Carl Byington of 510 Software Group.
485132943Sgshapiro	LIBMILTER: Document smfi_stop() and smfi_setdbg().  Patches
486132943Sgshapiro		from Bryan Costales.
487132943Sgshapiro	LIBMILTER: New compile time option SM_CONF_POLL; define this if
488132943Sgshapiro		poll(2) should be used instead of select(2).
489132943Sgshapiro	LIBMILTER: New function smfi_insheader() and related protocol
490132943Sgshapiro		amendments to support header insertion operations.
491132943Sgshapiro	MAIL.LOCAL: Add support for hashed mail directories, see
492132943Sgshapiro		mail.local/README.  Contributed by Chris Adams of HiWAAY
493132943Sgshapiro		Informations Services.
494132943Sgshapiro	MAILSTATS: Display quarantine message counts.
495132943Sgshapiro	MAKEMAP: Add new flag -D to specify the comment character to use
496132943Sgshapiro		instead of '#'.
497132943Sgshapiro	VACATION: Add new flag -j to auto-respond to messages regardless of
498132943Sgshapiro		whether or not the recipient is listed in the To: or Cc:
499132943Sgshapiro		headers.
500132943Sgshapiro	VACATION: Add new flag -R to specify the envelope sender address
501132943Sgshapiro		for the auto-response message.
502132943Sgshapiro	New Files:
503132943Sgshapiro		CACerts
504132943Sgshapiro		cf/feature/conncontrol.m4
505132943Sgshapiro		cf/feature/greet_pause.m4
506132943Sgshapiro		cf/feature/mtamark.m4
507132943Sgshapiro		cf/feature/ratecontrol.m4
508132943Sgshapiro		cf/feature/use_client_ptr.m4
509132943Sgshapiro		cf/ostype/unicos.m4
510132943Sgshapiro		cf/ostype/unicosmk.m4
511132943Sgshapiro		cf/ostype/unicosmp.m4
512132943Sgshapiro		contrib/socketmapClient.pl
513132943Sgshapiro		contrib/socketmapServer.pl
514132943Sgshapiro		devtools/OS/Darwin.7.0
515132943Sgshapiro		devtools/OS/UNICOS-mk
516132943Sgshapiro		devtools/OS/UNICOS-mp
517132943Sgshapiro		devtools/Site/site.config.m4.sample
518132943Sgshapiro		include/sm/os/sm_os_unicos.h
519132943Sgshapiro		include/sm/os/sm_os_unicosmk.h
520132943Sgshapiro		include/sm/os/sm_os_unicosmp.h
521132943Sgshapiro		libmilter/docs/smfi_insheader.html
522132943Sgshapiro		libmilter/docs/smfi_progress.html
523132943Sgshapiro		libmilter/docs/smfi_quarantine.html
524132943Sgshapiro		libmilter/docs/smfi_setdbg.html
525132943Sgshapiro		libmilter/docs/smfi_setmlreply.html
526132943Sgshapiro		libmilter/docs/smfi_stop.html
527132943Sgshapiro		sendmail/ratectrl.c
528132943Sgshapiro	Deleted Files:
529132943Sgshapiro		cf/feature/nodns.m4
530132943Sgshapiro		contrib/oldbind.compat.c
531132943Sgshapiro		devtools/OS/CRAYT3E.2.0.x
532132943Sgshapiro		devtools/OS/CRAYTS.10.0.x
533132943Sgshapiro		libsm/vsprintf.c
534132943Sgshapiro	Renamed Files:
535132943Sgshapiro		devtools/OS/Darwin.7.0 => devtools/OS/Darwin.7.x
536132943Sgshapiro
537132943Sgshapiro8.12.11/8.12.11	2004/01/18
538132943Sgshapiro	Use QueueFileMode when opening qf files.  This error was a
539132943Sgshapiro		regression in 8.12.10.  Problem detected and diagnosed
540132943Sgshapiro		Lech Szychowski of the Polish Power Grid Company.
541132943Sgshapiro	Properly count the number of queue runners in a work group and
542132943Sgshapiro		make sure the total limit of MaxQueueChildren is not
543132943Sgshapiro		exceeded.  Based on patch from Takayuki Yoshizawa of
544132943Sgshapiro		Techfirm, Inc.
545132943Sgshapiro	Take care of systems that can generate time values where the
546132943Sgshapiro		seconds can exceed the usual range of 0 to 59.
547132943Sgshapiro		Problem noted by Randy Diffenderfer of EDS.
548132943Sgshapiro	Avoid regeneration of identical queue identifiers by processes
549132943Sgshapiro		whose process id is the same as that of the initial
550132943Sgshapiro		sendmail process that was used to start the daemon.
551132943Sgshapiro		Problem noted by Randy Diffenderfer of EDS.
552132943Sgshapiro	When a milter invokes smfi_delrcpt() compare the supplied
553132943Sgshapiro		recipient address also against the printable addresses
554132943Sgshapiro		of the current list to deal with rewritten addresses.
555132943Sgshapiro		Based on patch from Sean Hanson of The Asylum.
556132943Sgshapiro	BadRcptThrottle now also works for addresses which return the
557132943Sgshapiro		error mailer, e.g., virtusertable entries with the
558132943Sgshapiro		right hand side error:.  Patch from Per Hedeland.
559132943Sgshapiro	Fix printing of 8 bit characters as octals in log messages.
560132943Sgshapiro		Based on patch by Andrey J. Melnikoff.
561132943Sgshapiro	Undo change of algorithm for MIME 7-bit base64 encoding to 8-bit
562132943Sgshapiro		text that has been introduced in 8.12.3.  There are some
563132943Sgshapiro		examples where the new code fails, but the old code works.
564132943Sgshapiro		To get the 8.12.3-8.12.10 version, compile sendmail with
565132943Sgshapiro		-DMIME7TO8_OLD=0.  If you have an example of improper
566132943Sgshapiro		7 to 8 bit conversion please send it to us.
567132943Sgshapiro	Return normal error code for unknown SMTP commands instead of
568132943Sgshapiro		the one specified by check_relay or a milter for a
569132943Sgshapiro		connection.  Problem noted by Andrzej Filip.
570132943Sgshapiro	Some ident responses contain data after the terminating CRLF which
571132943Sgshapiro		causes sendmail to log "POSSIBLE ATTACK...newline in string".
572132943Sgshapiro		To avoid this everything after LF is ignored.
573132943Sgshapiro	If the operating system supports O_EXLOCK and HASFLOCK is set
574132943Sgshapiro		then a possible race condition for creating qf files
575132943Sgshapiro		can be avoided.  Note: the race condition does not
576132943Sgshapiro		exist within sendmail, but between sendmail and an
577132943Sgshapiro		external application that accesses qf files.
578132943Sgshapiro	Log the proper options name for TLS related mising files for
579132943Sgshapiro		the CACertPath, CACertFile, and DHParameters options.
580132943Sgshapiro	Do not split an envelope if it will be discarded, otherwise df
581132943Sgshapiro		files could be left behind.  Problem found by Wolfgang
582132943Sgshapiro		Breyha.
583132943Sgshapiro	The use of the environment variables HOME and HOSTALIASES has been
584132943Sgshapiro		deprecated and will be removed in version 8.13.  This only
585132943Sgshapiro		effects configuration which preserve those variable via the
586132943Sgshapiro		'E' command in the cf file as sendmail clears out its entire
587132943Sgshapiro		environment.
588132943Sgshapiro	Portability:
589132943Sgshapiro		Add support for Darwin 7.0/Mac OS X 10.3 (a.k.a. Panther).
590132943Sgshapiro		Solaris 10 has unsetenv(), patch from Craig Mohrman of
591132943Sgshapiro			Sun Microsystems.
592132943Sgshapiro	LIBMILTER: Add extra checks in case a broken MTA sends bogus data
593132943Sgshapiro		to libmilter.  Based on code review by Rob Grzywinski.
594132943Sgshapiro	SMRSH: Properly assemble commands that contain '&&' or '||'.
595132943Sgshapiro		Problem noted by Eric Lee of Talking Heads.
596132943Sgshapiro	New Files:
597132943Sgshapiro		devtools/OS/Darwin.7.0
598132943Sgshapiro
599132943Sgshapiro8.12.10/8.12.10	2003/09/24 (Released: 2003/09/17)
600132943Sgshapiro	SECURITY: Fix a buffer overflow in address parsing.  Problem
601132943Sgshapiro		detected by Michal Zalewski, patch from Todd C. Miller
602132943Sgshapiro		of Courtesan Consulting.
603132943Sgshapiro	Fix a potential buffer overflow in ruleset parsing.  This problem
604132943Sgshapiro		is not exploitable in the default sendmail configuration;
605132943Sgshapiro		only if non-standard rulesets recipient (2), final (4), or
606132943Sgshapiro		mailer-specific envelope recipients rulesets are used then
607132943Sgshapiro		a problem may occur.  Problem noted by Timo Sirainen.
608132943Sgshapiro	Accept 0 (and 0/0) as valid input for set MaxMimeHeaderLength.
609132943Sgshapiro		Problem noted by Thomas Schulz.
610132943Sgshapiro	Add several checks to avoid (theoretical) buffer over/underflows.
611132943Sgshapiro	Properly count message size when performing 7->8 or 8->7 bit MIME
612132943Sgshapiro		conversions.  Problem noted by Werner Wiethege.
613132943Sgshapiro	Properly compute message priority based on size of entire message,
614132943Sgshapiro		not just header.  Problem noted by Axel Holscher.
615132943Sgshapiro	Reset SevenBitInput to its configured value between SMTP
616132943Sgshapiro		transactions for broken clients which do not properly
617132943Sgshapiro		announce 8 bit data.  Problem noted by Stefan Roehrich.
618132943Sgshapiro	Set {addr_type} during queue runs when processing recipients.
619132943Sgshapiro		Based on patch from Arne Jansen.
620132943Sgshapiro	Better error handling in case of (very unlikely) queue-id conflicts.
621132943Sgshapiro	Perform better error recovery for address parsing, e.g., when
622132943Sgshapiro		encountering a comment that is too long.  Problem noted by
623132943Sgshapiro		Tanel Kokk, Union Bank of Estonia.
624132943Sgshapiro	Add ':' to the allowed character list for bogus HELO/EHLO
625132943Sgshapiro		checking.  It is used for IPv6 domain literals.  Patch from
626132943Sgshapiro		Iwaizako Takahiro of FreeBit Co., Ltd.
627132943Sgshapiro	Reset SASL connection context after a failed authentication attempt.
628132943Sgshapiro		Based on patch from Rob Siemborski of CMU.
629132943Sgshapiro	Check Berkeley DB compile time version against run time version
630132943Sgshapiro		to make sure they match.
631132943Sgshapiro	Do not attempt AAAA (IPv6) DNS lookups if IPv6 is not enabled
632132943Sgshapiro		in the kernel.
633132943Sgshapiro	When a milter adds recipients and one of them causes an error,
634132943Sgshapiro		do not ignore the other recipients.  Problem noted by
635132943Sgshapiro		Bart Duchesne.
636132943Sgshapiro	CONFIG: Use specified SMTP error code in mailertable entries which
637132943Sgshapiro		lack a DSN, i.e., "error:### Text".  Problem noted by
638132943Sgshapiro		Craig Hunt.
639132943Sgshapiro	CONFIG: Call Local_trust_auth with the correct argument.  Patch
640132943Sgshapiro		from Jerome Borsboom.
641132943Sgshapiro	CONTRIB: Better handling of temporary filenames for doublebounce.pl
642132943Sgshapiro		and expn.pl to avoid file overwrites, etc.  Patches from
643132943Sgshapiro		Richard A. Nelson of Debian and Paul Szabo.
644132943Sgshapiro	MAIL.LOCAL: Fix obscure race condition that could lead to an
645132943Sgshapiro		improper mailbox truncation if close() fails after the
646132943Sgshapiro		mailbox is fsync()'ed and a new message is delivered
647132943Sgshapiro		after the close() and before the truncate().
648132943Sgshapiro	MAIL.LOCAL: If mail delivery fails, do not leave behind a
649132943Sgshapiro		stale lockfile (which is ignored after the lock timeout).
650132943Sgshapiro		Patch from Oleg Bulyzhin of Cronyx Plus LLC.
651132943Sgshapiro	Portability:
652132943Sgshapiro		Port for AIX 5.2.  Thanks to Steve Hubert of University
653132943Sgshapiro			of Washington for providing access to a computer
654132943Sgshapiro			with AIX 5.2.
655132943Sgshapiro		setreuid(2) works on OpenBSD 3.3.  Patch from
656132943Sgshapiro			Todd C. Miller of Courtesan Consulting.
657132943Sgshapiro		Allow for custom definition of SMRSH_CMDDIR and SMRSH_PATH
658132943Sgshapiro			on all operating systems.  Patch from Robert Harker
659132943Sgshapiro			of Harker Systems.
660132943Sgshapiro		Use strerror(3) on Linux.  If this causes a problem on
661132943Sgshapiro			your Linux distribution, compile with
662132943Sgshapiro			-DHASSTRERROR=0 and tell sendmail.org about it.
663132943Sgshapiro	Added Files:
664132943Sgshapiro		devtools/OS/AIX.5.2
665132943Sgshapiro
666132943Sgshapiro8.12.9/8.12.9	2003/03/29
667132943Sgshapiro	SECURITY: Fix a buffer overflow in address parsing due to
668132943Sgshapiro		a char to int conversion problem which is potentially
669132943Sgshapiro		remotely exploitable.  Problem found by Michal Zalewski.
670132943Sgshapiro		Note: an MTA that is not patched might be vulnerable to
671132943Sgshapiro		data that it receives from untrusted sources, which
672132943Sgshapiro		includes DNS.
673132943Sgshapiro	To provide partial protection to internal, unpatched sendmail MTAs,
674132943Sgshapiro		8.12.9 changes by default (char)0xff to (char)0x7f in
675132943Sgshapiro		headers etc.  To turn off this conversion compile with
676132943Sgshapiro		-DALLOW_255 or use the command line option -d82.101.
677132943Sgshapiro	To provide partial protection for internal, unpatched MTAs that may be
678132943Sgshapiro		performing 7->8 or 8->7 bit MIME conversions, the default
679132943Sgshapiro		for MaxMimeHeaderLength has been changed to 2048/1024.
680132943Sgshapiro		Note: this does have a performance impact, and it only
681132943Sgshapiro		protects against frontal attacks from the outside.
682132943Sgshapiro		To disable the checks and return to pre-8.12.9 defaults,
683132943Sgshapiro		set MaxMimeHeaderLength to 0/0.
684132943Sgshapiro	Do not complain about -ba when submitting mail.  Problem noted
685132943Sgshapiro		by Derek Wueppelmann.
686132943Sgshapiro	Fix compilation with Berkeley DB 1.85 on systems that do not
687132943Sgshapiro		have flock(2).  Problem noted by Andy Harper of Kings
688132943Sgshapiro		College London.
689132943Sgshapiro	Properly initialize data structure for dns maps to avoid various
690132943Sgshapiro		errors, e.g., looping processes.  Problem noted by
691132943Sgshapiro		Maurice Makaay of InterNLnet B.V.
692132943Sgshapiro	CONFIG: Prevent multiple application of rule to add smart host.
693132943Sgshapiro		Patch from Andrzej Filip.
694132943Sgshapiro	CONFIG: Fix queue group declaration in MAILER(`usenet').
695132943Sgshapiro	CONTRIB: buildvirtuser: New option -t builds the virtusertable
696132943Sgshapiro		text file instead of the database map.
697132943Sgshapiro	Portability:
698132943Sgshapiro		Revert wrong change made in 8.12.7 and actually use the
699132943Sgshapiro			builtin getopt() version in sendmail on Linux.
700125820Sgshapiro			This can be overridden by using -DSM_CONF_GETOPT=0
701125820Sgshapiro			in which case the OS supplied version will be used.
702125820Sgshapiro
703125820Sgshapiro8.12.8/8.12.8	2003/02/11
704125820Sgshapiro	SECURITY: Fix a remote buffer overflow in header parsing by
705125820Sgshapiro		dropping sender and recipient header comments if the
706125820Sgshapiro		comments are too long.  Problem noted by Mark Dowd
707125820Sgshapiro		of ISS X-Force.
708125820Sgshapiro	Fix a potential non-exploitable buffer overflow in parsing the
709125820Sgshapiro		.cf queue settings and potential buffer underflow in
710125820Sgshapiro		parsing ident responses.  Problem noted by Yichen Xie of
711125820Sgshapiro		Stanford University Compilation Group.
712125820Sgshapiro	Fix ETRN #queuegroup command: actually start a queue run for
713125820Sgshapiro		the selected queue group.  Problem noted by Jos Vos.
714125820Sgshapiro	If MaxMimeHeaderLength is set and a malformed MIME header is fixed,
715125820Sgshapiro		log the fixup as "Fixed MIME header" instead of "Truncated
716125820Sgshapiro		MIME header".  Problem noted by Ian J Hart.
717125820Sgshapiro	CONFIG: Fix regression bug in proto.m4 that caused a bogus
718125820Sgshapiro		error message: "FEATURE() should be before MAILER()".
719125820Sgshapiro	MAIL.LOCAL: Be more explicit in some error cases, i.e., whether
720125820Sgshapiro		a mailbox has more than one link or whether it is not
721125820Sgshapiro		a regular file.  Patch from John Beck of Sun Microsystems.
722125820Sgshapiro
723125820Sgshapiro8.12.7/8.12.7	2002/12/29
724125820Sgshapiro	Properly clean up macros to avoid persistence of session data
725125820Sgshapiro		across various connections.  This could cause session
726125820Sgshapiro		oriented restrictions, e.g., STARTTLS requirements,
727125820Sgshapiro		to erroneously allow a connection.  Problem noted
728125820Sgshapiro		by Tim Maletic of Priority Health.
729125820Sgshapiro	Do not lookup MX records when sorting the MSP queue.  The MSP
730125820Sgshapiro		only needs to relay all mail to the MTA.  Problem found
731125820Sgshapiro		by Gary Mills of the University of Manitoba.
732125820Sgshapiro	Do not restrict the length of connection information to 100
733125820Sgshapiro		characters in some logging statements.  Problem noted by
734125820Sgshapiro		Erik Parker.
735125820Sgshapiro	When converting an enhanced status code to an exit status, use
736125820Sgshapiro		EX_CONFIG if the first digit is not 2, 4, or 5 or if *.1.5
737125820Sgshapiro		is used.
738125820Sgshapiro	Reset macro $x when receiving another MAIL command.  Problem
739125820Sgshapiro		noted by Vlado Potisk of Wigro s.r.o.
740125820Sgshapiro	Don't bother setting the permissions on the build area statistics
741125820Sgshapiro		file, the proper permissions will be put on the file at
742125820Sgshapiro		install time.  This fixes installation over NFS for some
743125820Sgshapiro		users.  Problem noted by Martin J. Dellwo of 3-Dimensional
744125820Sgshapiro		Pharmaceuticals, Inc.
745125820Sgshapiro	Fix problem of decoding SASLv2 encrypted data.  Problem noted by
746125820Sgshapiro		Alex Deiter of Mobile TeleSystems, Komi Republic.
747125820Sgshapiro	Log milter socket open errors at MilterLogLevel 1 or higher instead
748125820Sgshapiro		of 11 or higher.
749125820Sgshapiro	Print early system errors to the console instead of silently
750125820Sgshapiro		exiting.  Problem noted by James Jong of IBM.
751125820Sgshapiro	Do not process a queue group if Runners is set to 0, regardless
752125820Sgshapiro		of whether F=f or sendmail is run in verbose mode (-v).
753125820Sgshapiro		The use of -qGname will still force queue group "name"
754125820Sgshapiro		to be run even if Runners=0.
755125820Sgshapiro	Change the level for logging the fact that a daemon is refusing
756125820Sgshapiro		connections due to high load from LOG_INFO to LOG_NOTICE.
757125820Sgshapiro		Patch from John Beck of Sun Microsystems.
758125820Sgshapiro	Use location information for submit.cf from NetInfo
759125820Sgshapiro		(/locations/sendmail/submit.cf) if available.
760125820Sgshapiro	Re-enable ForkEachJob which was lost in 8.12.0.  Problem noted by
761125820Sgshapiro		Neil Rickert of Northern Illinois University.
762125820Sgshapiro	Make behavior of /canon in debug mode consistent with usage in
763120256Sgshapiro		rulesets.  Patch from Shigeno Kazutaka of IIJ.
764120256Sgshapiro	Fix a potential memory leak in envelope splitting.  Problem noted
765120256Sgshapiro		by John Majikes of IBM.
766120256Sgshapiro	Do not try to share an mailbox database LDAP connection across
767120256Sgshapiro		different processes.  Problem noted by Randy Kunkee.
768120256Sgshapiro	Fix logging for undelivered recipients when the SMTP connection
769120256Sgshapiro		times out during message collection.  Problem noted by Neil
770120256Sgshapiro		Rickert of Northern Illinois University.
771120256Sgshapiro	Avoid problems with QueueSortOrder=random due to problems with
772120256Sgshapiro		qsort() on Solaris (and maybe some other operating systems).
773120256Sgshapiro		Problem noted by Stephan Schulz of Gruner+Jahr..
774120256Sgshapiro	If -f "" is specified, set the sender address to "<>".  Problem
775120256Sgshapiro		noted by Matthias Andree.
776120256Sgshapiro	Fix formatting problem of footnotes for plain text output on some
777120256Sgshapiro		versions of tmac.  Patch from Per Hedeland.
778120256Sgshapiro	Portability:
779120256Sgshapiro		Berkeley DB 4.1 support (requires at least 4.1.25).
780120256Sgshapiro		Some getopt(3) implementations in GNU/Linux are broken
781120256Sgshapiro			and pass a NULL pointer to an option which requires
782120256Sgshapiro			an argument, hence the builtin version of
783120256Sgshapiro			sendmail is used instead.  This can be overridden
784120256Sgshapiro			by using -DSM_CONF_GETOPT=0.  Problem noted by
785120256Sgshapiro			Vlado Potisk of Wigro s.r.o.
786120256Sgshapiro		Support for nph-1.2.0 from Mark D. Roth of the University
787120256Sgshapiro			of Illinois at Urbana-Champaign.
788120256Sgshapiro		Support for FreeBSD 5.0's MAC labeling from Robert Watson
789120256Sgshapiro			of the TrustedBSD Project.
790120256Sgshapiro		Support for reading the number of processors on an IRIX
791120256Sgshapiro			system from Michel Bourget of SGI.
792120256Sgshapiro		Support for UnixWare 7.1 based on input from Larry Rosenman.
793120256Sgshapiro		Interix support from Nedelcho Stanev of Atlantic Sky
794120256Sgshapiro			Corporation.
795120256Sgshapiro		Update Mac OS X/Darwin portability from Wilfredo Sanchez.
796120256Sgshapiro	CONFIG: Enforce tls_client restrictions even if delay_checks
797120256Sgshapiro		is used.  Problem noted by Malte Starostik.
798120256Sgshapiro	CONFIG: Deal with an empty hostname created via bogus
799120256Sgshapiro		DNS entries to get around access restrictions.
800120256Sgshapiro		Problem noted by Kai Schlichting.
801120256Sgshapiro	CONFIG: Use FEATURE(`msp', `[127.0.0.1]') in submit.mc by default
802120256Sgshapiro		to avoid problems with hostname resolution for localhost
803120256Sgshapiro		which on many systems does not resolve to 127.0.0.1 (or
804120256Sgshapiro		::1 for IPv6).  If you do not use IPv4 but only IPv6 then
805120256Sgshapiro		you need to change submit.mc accordingly, see the comment
806120256Sgshapiro		in the file itself.
807120256Sgshapiro	CONFIG: Set confDONT_INIT_GROUPS to True in submit.mc to avoid
808120256Sgshapiro		error messages from initgroups(3) on AIX 4.3 when sending
809120256Sgshapiro		mail to non-existing users. Problem noted by Mark Roth of
810120256Sgshapiro		the University of Illinois at Urbana-Champaign.
811120256Sgshapiro	CONFIG: Allow local_procmail to override local_lmtp settings.
812120256Sgshapiro	CONFIG: Always allow connections from 127.0.0.1 or IPv6:::1 to
813120256Sgshapiro		relay.
814120256Sgshapiro	CONTRIB: cidrexpand: Deal with the prefix tags that may be included
815120256Sgshapiro		in access_db.
816120256Sgshapiro	CONTRIB: New version of doublebounce.pl contributed by Leo Bicknell.
817120256Sgshapiro	LIBMILTER: On Solaris libmilter may get into an endless loop if
818120256Sgshapiro		an error in the communication from/to the MTA occurs.
819120256Sgshapiro		Patch from Gurusamy Sarathy of Active State.
820120256Sgshapiro	LIBMILTER: Ignore EINTR from sigwait(3) which may happen on Tru64.
821120256Sgshapiro		Patch from from Jose Marcio Martins da Cruz of Ecole
822120256Sgshapiro		Nationale Superieure des Mines de Paris.
823120256Sgshapiro	MAIL.LOCAL: Fix a truncation race condition if the close() on
824120256Sgshapiro		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
825120256Sgshapiro		Sun Microsystems.
826120256Sgshapiro	MAIL.LOCAL: Fix a potential file descriptor leak if mkstemp(3)
827120256Sgshapiro		fails.  Patch from John Beck of Sun Microsystems.
828120256Sgshapiro	SMRSH: SECURITY: Only allow regular files or symbolic links to be
829112810Sgshapiro		used for a command.  Problem noted by David Endler of
830112810Sgshapiro		iDEFENSE, Inc.
831112810Sgshapiro	New Files:
832112810Sgshapiro		devtools/OS/Interix
833120256Sgshapiro		include/sm/bdb.h
834112810Sgshapiro
835112810Sgshapiro8.12.6/8.12.6	2002/08/26
836112810Sgshapiro	Do not add the FallbackMXhost (or its MX records) to the list
837112810Sgshapiro		returned by the bestmx map when -z is used as option.
838112810Sgshapiro		Otherwise sendmail may act as an open relay if FallbackMXhost
839112810Sgshapiro		and FEATURE(`relay_based_on_MX') are used together.
840112810Sgshapiro		Problem noted by Alexander Ignatyev.
841112810Sgshapiro	Properly split owner- mailing list messages when SuperSafe is set
842112810Sgshapiro		to interactive.  Problem noted by Todd C. Miller of
843112810Sgshapiro		Courtesan Consulting.
844112810Sgshapiro	Make sure that an envelope is queued in the selected queue group
845112810Sgshapiro		even if some recipients are deleted or invalid.  Problem
846112810Sgshapiro		found by Chris Adams of HiWAAY Informations Services.
847112810Sgshapiro	Do not send a bounce message if a message is completely collected
848112810Sgshapiro		from the SMTP client.  Problem noted by Kari Hurtta of the
849112810Sgshapiro		Finnish Meteorological Institute.
850112810Sgshapiro	Provide an 'install-submit-st' target for sendmail/Makefile to
851112810Sgshapiro		install the MSP statistics file using the file named in the
852112810Sgshapiro		confMSP_STFILE devtools variable.  Requested by Jeff
853112810Sgshapiro		Earickson of Colby College.
854120256Sgshapiro	Queue up mail with a temporary error if setusercontext() fails
855112810Sgshapiro		during a delivery attempt.  Patch from Todd C. Miller of
856112810Sgshapiro		Courtesan Consulting.
857112810Sgshapiro	Fix handling of base64 encoded client authentication data for
858112810Sgshapiro		SMTP AUTH.  Patch from Elena Slobodnik of life medien GmbH.
859112810Sgshapiro	Set the OpenLDAP option LDAP_OPT_RESTART so the client libraries
860112810Sgshapiro		restart interrupted system calls.  Problem noted by Luiz
861112810Sgshapiro		Henrique Duma of BSIOne.
862112810Sgshapiro	Prevent a segmentation fault if a program passed a NULL envp using
863112810Sgshapiro		execve().
864112810Sgshapiro	Document a problem with the counting of queue runners that may
865112810Sgshapiro		cause delays if MaxQueueChildren is set too low. Problem
866111823Sgshapiro		noted by Ian Duplisse of Cable Television Laboratories, Inc.
867111823Sgshapiro	If discarding a message based on a recipient, don't try to look up
868111823Sgshapiro		the recipient in the mailbox database if F=w is set.  This
869111823Sgshapiro		allows users to discard bogus recipients when dealing with
870111823Sgshapiro		spammers without tipping them off.  Problem noted by Neil
871111823Sgshapiro		Rickert of Northern Illinois University.
872111823Sgshapiro	If applying a header check to a header with unstructured data,
873111823Sgshapiro		e.g., Subject:, then do not run syntax checks that are
874111823Sgshapiro		supposed for addresses on the header content.
875111823Sgshapiro	Count messages rejected/discarded via the check_data ruleset.
876111823Sgshapiro	Portability:
877111823Sgshapiro		Fix compilation on systems which do not allow simple
878111823Sgshapiro			copying of the variable argument va_list.  Based on
879111823Sgshapiro			fix from Scott Walters.
880111823Sgshapiro		Fix NSD map open bug.  From Michel Bourget of SGI.
881111823Sgshapiro		Add some additional IRIX shells to the default shell
882111823Sgshapiro			list.  From Michel Bourget of SGI.
883111823Sgshapiro		Fix compilation issues on Mac OS X 10.2 (Darwin 6.0).
884111823Sgshapiro			NETISO support has been dropped.
885111823Sgshapiro	CONFIG: There was a seemingly minor change in 8.12.4 with respect
886110560Sgshapiro		to handling entries of IP nets/addresses with RHS REJECT.
887110560Sgshapiro		These would be rejected in check_rcpt instead of only
888110560Sgshapiro		being activated in check_relay.  This change has been made to
889110560Sgshapiro		avoid potential bogus temporary rejection of relay attempts
890110560Sgshapiro		"450 4.7.1 Relaying temporarily denied. Cannot resolve PTR
891110560Sgshapiro		record for ..." if delay_checks is enabled.  However, this
892110560Sgshapiro		modification causes a change of behavior if an IP net/address
893110560Sgshapiro		is listed in the access map with REJECT and a host/domain
894110560Sgshapiro		name is listed with OK or RELAY, hence it has been reversed
895110560Sgshapiro		such that the behavior of 8.12.3 is restored.  The original
896110560Sgshapiro		change was made on request of Neil Rickert of Northern
897110560Sgshapiro		Illinois University, the side effect has been found by
898110560Sgshapiro		Stefaan Van Hoornick.
899110560Sgshapiro	CONFIG: Make sure delay_checks works even for sender addresses
900110560Sgshapiro		using the local hostname ($j) or domains in class {P}.
901110560Sgshapiro		Based on patch from Neil Rickert of Northern Illinois
902110560Sgshapiro		University.
903110560Sgshapiro	CONFIG: Fix temporary error handling for LDAP Routing lookups.
904110560Sgshapiro		Fix from Andrzej Filip.
905110560Sgshapiro	CONTRIB: New version of etrn.pl script and external man page
906110560Sgshapiro		(etrn.0) from John Beck of Sun Microsystems.
907110560Sgshapiro	LIBMILTER: Protect a free(3) operation from being called with a
908110560Sgshapiro		NULL pointer.  Problem noted by Andrey J. Melnikoff.
909110560Sgshapiro	LIBMILTER: Protect against more interrupted select() calls.  Based
910110560Sgshapiro		on patch from Jose Marcio Martins da Cruz of Ecole Nationale
911110560Sgshapiro		Superieure des Mines de Paris.
912110560Sgshapiro	New Files:
913110560Sgshapiro		contrib/etrn.0
914110560Sgshapiro
915110560Sgshapiro8.12.5/8.12.5	2002/06/25
916110560Sgshapiro	SECURITY: The DNS map can cause a buffer overflow if the user
917110560Sgshapiro		specifies a dns map using TXT records in the configuration
918110560Sgshapiro		file and a rogue DNS server is queried.  None of the
919110560Sgshapiro		sendmail supplied configuration files use this option hence
920110560Sgshapiro		they are not vulnerable.  Problem noted independently by
921110560Sgshapiro		Joost Pol of PINE Internet and Anton Rang of Sun Microsystems.
922110560Sgshapiro	Unprintable characters in responses from DNS servers for the DNS
923110560Sgshapiro		map type are changed to 'X' to avoid potential problems
924110560Sgshapiro		with rogue DNS servers.
925110560Sgshapiro	Require a suboption when setting the Milter option.  Problem noted
926110560Sgshapiro		by Bryan Costales.
927110560Sgshapiro	Do not silently overwrite command line settings for
928110560Sgshapiro		DirectSubmissionModifiers.  Problem noted by Bryan
929110560Sgshapiro		Costales.
930110560Sgshapiro	Prevent a segmentation fault when clearing the event list by
931110560Sgshapiro		turning off alarms before checking if event list is
932110560Sgshapiro		empty.  Problem noted by Allan E Johannesen of Worcester
933110560Sgshapiro		Polytechnic Institute.
934110560Sgshapiro	Close a potential race condition in transitioning a memory buffered
935110560Sgshapiro		file onto disk.  From Janani Devarajan of Sun Microsystems.
936110560Sgshapiro	Portability:
937110560Sgshapiro		Include paths.h on Linux systems running glibc 2.0 or later
938110560Sgshapiro			to get the definition for _PATH_SENDMAIL, used by
939110560Sgshapiro			rmail and vacation.  Problem noted by Kevin
940111823Sgshapiro			A. McGrail of Peregrine Hardware.
941110560Sgshapiro		NOTE: Linux appears to have broken flock() again.  Unless
942110560Sgshapiro			the bug is fixed before sendmail 8.13 is shipped,
943110560Sgshapiro			8.13 will change the default locking method to
944110560Sgshapiro			fcntl() for Linux kernel 2.4 and later.  You may
945110560Sgshapiro			want to do this in 8.12 by compiling with
946110560Sgshapiro			-DHASFLOCK=0.  Be sure to update other sendmail
947110560Sgshapiro			related programs to match locking techniques.
948110560Sgshapiro
949110560Sgshapiro8.12.4/8.12.4	2002/06/03
950110560Sgshapiro	SECURITY: Inherent limitations in the UNIX file locking model
951110560Sgshapiro		can leave systems open to a local denial of service
952110560Sgshapiro		attack.  Be sure to read the "FILE AND MAP PERMISSIONS"
953110560Sgshapiro		section of the top level README for more information.
954110560Sgshapiro		Problem noted by lumpy.
955110560Sgshapiro	Use TempFileMode (defaults to 0600) for the permissions of PidFile
956110560Sgshapiro		instead of 0644.
957110560Sgshapiro	Change the default file permissions for new alias database files
958110560Sgshapiro		from 0644 to 0640.  This can be overridden at compile time
959110560Sgshapiro		by setting the DBMMODE macro.
960110560Sgshapiro	Fix a potential core dump problem if the environment variable
961110560Sgshapiro		NAME is set.  Problem noted by Beth A. Chaney of
962110560Sgshapiro		Purdue University.
963110560Sgshapiro	Expand macros before passing them to libmilter.  Problem noted
964110560Sgshapiro		by Jose Marcio Martins da Cruz of Ecole Nationale
965110560Sgshapiro		Superieure des Mines de Paris.
966110560Sgshapiro	Rewind the df (message body) before truncating it when libmilter
967110560Sgshapiro		replaces the body of a message.  Problem noted by Gisle Aas
968110560Sgshapiro		of Active State.
969110560Sgshapiro	Change SMTP reply code for AUTH failure from 500 to 535 and the
970110560Sgshapiro		initial zero-length response to "=" per RFC 2554.  Patches
971110560Sgshapiro		from Kenneth Murchison of Oceana Matrix Ltd.
972110560Sgshapiro	Do not try to fix broken message/rfc822 MIME attachments by
973110560Sgshapiro		inserting a MIME-Version: header when MaxMimeHeaderLength
974110560Sgshapiro		is set and no 8 to 7 bit conversion is needed.  Based on
975110560Sgshapiro		patch from Rehor Petr of ICZ (Czech Republic).
976110560Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" if the connection
977110560Sgshapiro		is rejected anyway.  Noted by Chris Loelke.
978110560Sgshapiro	Mention the submission mail queue in the mailq man page.  Requested
979110560Sgshapiro		by Bill Fenner of AT&T.
980110560Sgshapiro	Set ${msg_size} macro when reading a message from the command line
981110560Sgshapiro		or the queue.
982110560Sgshapiro	Detach from shared memory before dropping privileges back to
983110560Sgshapiro		user who started sendmail.
984110560Sgshapiro	If AllowBogusHELO is set to false (default) then also complain if
985110560Sgshapiro		the argument to HELO/EHLO contains white space.  Suggested
986110560Sgshapiro		by Seva Gluschenko of Cronyx Plus.
987110560Sgshapiro	Allow symbolicly linked forward files in writable directory paths
988110560Sgshapiro		if both ForwardFileInUnsafeDirPath and
989110560Sgshapiro		LinkedForwardFileInWritableDir DontBlameSendmail options
990110560Sgshapiro		are set.  Problem noted by Werner Spirk of
991110560Sgshapiro		Leibniz-Rechenzentrum Munich.
992110560Sgshapiro	Portability:
993110560Sgshapiro		Operating systems that lack the ftruncate() call will not
994110560Sgshapiro			be able to use Milter's body replacement feature.
995110560Sgshapiro			This only affects Altos, Maxion, and MPE/iX.
996110560Sgshapiro		Digital UNIX 5.0 has changed flock() semantics to be
997110560Sgshapiro			non-compliant.  Problem noted by Martin Mokrejs of
998102528Sgshapiro			Charles University in Prague.
999102528Sgshapiro		The sparc64 port of FreeBSD 5.0 now supports shared
1000102528Sgshapiro			memory.
1001102528Sgshapiro	CONFIG: FEATURE(`preserve_luser_host') needs the macro map.
1002102528Sgshapiro		Problem noted by Andrzej Filip.
1003102528Sgshapiro	CONFIG: Using 'local:' as a mailertable value with
1004102528Sgshapiro		FEATURE(`preserve_luser_host') and LUSER_RELAY caused mail
1005102528Sgshapiro		to be misaddressed.  Problem noted by Andrzej Filip.
1006102528Sgshapiro	CONFIG: Provide a workaround for DNS based rejection lists that
1007102528Sgshapiro		fail for AAAA queries.  Problem noted by Chris Boyd.
1008102528Sgshapiro	CONFIG: Accept the machine's hostname as resolvable when checking
1009102528Sgshapiro		the sender address.  This allows locally submitted mail to
1010102528Sgshapiro		be accepted if the machine isn't connected to a nameserver
1011102528Sgshapiro		and doesn't have an /etc/hosts entry for itself.  Problem
1012102528Sgshapiro		noted by Robert Watson of the TrustedBSD Project.
1013102528Sgshapiro	CONFIG: Use deferred expansion for checking the ${deliveryMode}
1014102528Sgshapiro		macro in case the SMTP VERB command is used.  Problem
1015102528Sgshapiro		noted by Bryan Costales.
1016102528Sgshapiro	CONFIG: Avoid a duplicate '@domain' virtusertable lookup if no
1017102528Sgshapiro		matches are found.  Fix from Andrzej Filip.
1018102528Sgshapiro	CONFIG: Fix wording in default dnsbl rejection message.  Suggested
1019102528Sgshapiro		by Lou Katz of Metron Computerware, Ltd.
1020102528Sgshapiro	CONFIG: Add mailer cyrusv2 for Cyrus V2.  Contributed by
1021102528Sgshapiro		Kenneth Murchison of Oceana Matrix Ltd.
1022102528Sgshapiro	CONTRIB: Fix wording in default dnsblaccess rejection message to
1023102528Sgshapiro		match dnsbl change.
1024102528Sgshapiro	DEVTOOLS: Add new option for access mode of statistics file,
1025102528Sgshapiro		confSTMODE, which specifies the permissions when initially
1026102528Sgshapiro		installing the sendmail statistics file.
1027102528Sgshapiro	LIBMILTER: Mark the listening socket as close-on-exec in case
1028102528Sgshapiro		a user's filter starts other applications.
1029102528Sgshapiro	LIBSM: Allow the MBDB initialize, lookup, and/or terminate
1030102528Sgshapiro		functions in SmMbdbTypes to be set to NULL.
1031102528Sgshapiro	MAKEMAP: Change the default file permissions for new databases from
1032102528Sgshapiro		0644 to 0640.  This can be overridden at compile time
1033102528Sgshapiro		by setting the DBMMODE macro.
1034102528Sgshapiro	SMRSH: Fix man page bug: replace SMRSH_CMDBIN with SMRSH_CMDDIR.
1035102528Sgshapiro		Problem noted by Dave Alden of Ohio State University.
1036102528Sgshapiro	VACATION: When listing the vacation database (-l), don't show
1037102528Sgshapiro		bogus timestamps for excluded (-x) addresses.  Problem
1038102528Sgshapiro		noted by Bryan Costales.
1039102528Sgshapiro	New Files:
1040102528Sgshapiro		cf/mailer/cyrusv2.m4
1041102528Sgshapiro
1042102528Sgshapiro8.12.3/8.12.3	2002/04/05
1043102528Sgshapiro	NOTICE: In general queue files should not be moved if queue groups
1044102528Sgshapiro		are used.  In previous versions this could cause mail
1045102528Sgshapiro		not to be delivered if a queue file is repeatedly moved
1046102528Sgshapiro		by an external process whenever sendmail moved it back
1047102528Sgshapiro		into the right place.  Some precautions have been taken
1048102528Sgshapiro		to avoid moving queue files if not really necessary.
1049102528Sgshapiro		sendmail may use links to refer to queue files and it
1050102528Sgshapiro		may store the path of data files in queue files.  Hence
1051102528Sgshapiro		queue files should not be moved unless those internals
1052102528Sgshapiro		are understood and the integrity of the files is not
1053102528Sgshapiro		compromised.  Problem noted by Anne Bennett of Concordia
1054102528Sgshapiro		University.
1055102528Sgshapiro	If an error mail is created, and the mail is split across different
1056102528Sgshapiro		queue directories, and SuperSafe is off, then write the mail
1057102528Sgshapiro		to disk before splitting it, otherwise an assertion is
1058102528Sgshapiro		triggered.  Problem tracked down by Henning Schmiedehausen
1059102528Sgshapiro		of INTERMETA.
1060102528Sgshapiro	Fix possible race condition that could cause sendmail to forget
1061102528Sgshapiro		running queues.  Problem noted by Jeff Wasilko of smoe.org.
1062102528Sgshapiro	Handle bogus qf files better without triggering assertions.
1063102528Sgshapiro		Problem noted by Guy Feltin.
1064102528Sgshapiro	Protect against interrupted select() call when enforcing Milter
1065102528Sgshapiro		read and write timeouts.  Patch from Gurusamy Sarathy of
1066102528Sgshapiro		ActiveState.
1067102528Sgshapiro	Matching queue IDs with -qI should be case sensitive.  Problem
1068102528Sgshapiro		noted by Anne Bennett of Concordia University.
1069102528Sgshapiro	If privileges have been dropped, don't try to change group ID to
1070102528Sgshapiro		the RunAsUser group.  Problem noted by Neil Rickert of
1071102528Sgshapiro		Northern Illinois University.
1072102528Sgshapiro	Fix SafeFileEnvironment path munging when the specified path
1073102528Sgshapiro		contains a trailing slash.  Based on patch from Dirk Meyer
1074102528Sgshapiro		of Dinoex.
1075102528Sgshapiro	Do not limit sendmail command line length to SM_ARG_MAX (usually
1076102528Sgshapiro		4096).  Problem noted by Allan E Johannesen of Worcester
1077102528Sgshapiro		Polytechnic Institute.
107898841Sgshapiro	Clear full name of sender for each new envelope to avoid bogus data
107998841Sgshapiro		if several mails are sent in one session and some of them
108098841Sgshapiro		do not have a From: header.  Problem noted by Bas Haakman.
108198841Sgshapiro	Change timeout check such that cached information about a connection
108298841Sgshapiro		will be immediately invalid if ConnectionCacheTimeout is zero.
108398841Sgshapiro		Based on patch from David Burns of Portland State University.
108498841Sgshapiro	Properly count message size for mailstats during mail collection.
108598841Sgshapiro		Problem noted by Werner Wiethege.
108698841Sgshapiro	Log complete response from LMTP delivery agent on failure.  Based on
108798841Sgshapiro		patch from by Motonori Nakamura of Kyoto University.
108898841Sgshapiro	Provide workaround for getopt() implementations that do not catch
108998841Sgshapiro		missing arguments.
109098841Sgshapiro	Fix the message size calculation if the message body is replaced by
109198841Sgshapiro		a milter filter and buffered file I/O is being used.
109298841Sgshapiro		Problem noted by Sergey Akhapkin of Dr.Web.
109398841Sgshapiro	Do not honor SIGUSR1 requests if running with extra privileges.
109498841Sgshapiro		Problem noted by Werner Wiethege.
109598841Sgshapiro	Prevent a file descriptor leak on mail delivery if the initial
109698841Sgshapiro		connect fails and DialDelay is set.  Patch from Servaas
109798841Sgshapiro		Vandenberghe of Katholieke Universiteit Leuven.
109898841Sgshapiro	Properly deal with a case where sendmail is called by root running
109998841Sgshapiro		a set-user-ID (non-root) program.  Problem noted by Jon
110098841Sgshapiro		Lusky of ISS Atlanta.
110198841Sgshapiro	Avoid leaving behind stray transcript (xf) files if multiple queue
110298841Sgshapiro		directories are used and mail is sent to a mailing list
110398841Sgshapiro		which has an owner- alias.  Problem noted by Anne Bennett
110498841Sgshapiro		of Concordia University.
110598841Sgshapiro	Fix class map parsing code if optional key is specified.  Problem
110698841Sgshapiro		found by Mario Nigrovic.
110798841Sgshapiro	The SMTP daemon no longer tries to fix up improperly dot-stuffed
110898841Sgshapiro		incoming messages.  A leading dot is always stripped by the
110998841Sgshapiro		SMTP receiver regardless of whether or not it is followed by
111098841Sgshapiro		another dot.  Problem noted by Jordan Ritter of darkridge.com.
111198841Sgshapiro	Fix corruption when doing automatic MIME 7-bit quoted-printable or
111298121Sgshapiro		base64 encoding to 8-bit text.  Problem noted by Mark
111398121Sgshapiro		Elvers.
111498121Sgshapiro	Correct the statistics gathered for total number of connections.
111598121Sgshapiro		Instead of being the exact same number as the total number
111698121Sgshapiro		of messages (T line in mailstats) it now represents the
111798121Sgshapiro		total number of TCP connections.
111898121Sgshapiro	Be more explicit about syntax errors in addresses, especially
111998121Sgshapiro		non-ASCII characters, and properly create DSNs if necessary.
112098121Sgshapiro		Problem noted by Leena Heino of the University of Tampere.
112198121Sgshapiro	Prevent small timeouts from being lost on slow machines if itimers
112298121Sgshapiro		are used.  Problem noted by Suresh Ramasubramanian.
112398121Sgshapiro	Prevent a race condition on child cleanup for delivery to files.
112498121Sgshapiro		Problem noted by Fletcher Mattox of the University of
112598121Sgshapiro		Texas.
112698121Sgshapiro	Change the SMTP error code for temporary map failures from 421
112798121Sgshapiro		to 451.
112898121Sgshapiro	Do not assume that realloc(NULL, size) works on all OS (this was
112998121Sgshapiro		only done in one place: queue group creation).  Based on
113098121Sgshapiro		patch by Bryan Costales.
113198121Sgshapiro	Initialize Timeout.iconnect in the code to prevent randomly short
113298121Sgshapiro		timeouts.  Problem noted by Bradley Watts of AT&T Canada.
113398121Sgshapiro	Do not try to send a second SMTP QUIT command if the remote
113498121Sgshapiro		responds to a MAIL command with a 421 reply or on I/O
113598121Sgshapiro		errors.  By doing so, the host was marked as having a
113698121Sgshapiro		temporary problem and other mail destined for that host was
113798121Sgshapiro		queued for the next queue run.  Problem noted by Fletcher
113898121Sgshapiro		Mattox of the University of Texas, Allan E Johannesen of
113998121Sgshapiro		Worcester Polytechnic Institute, Larry Greenfield of CMU,
114098121Sgshapiro		and Neil Rickert of Northern Illinois University.
114198121Sgshapiro	Ignore error replies from the SMTP QUIT command (including servers
114298121Sgshapiro		which drop the connection instead of responding to the
114398121Sgshapiro		command).
114498121Sgshapiro	Portability:
114598121Sgshapiro		Check LDAP_API_VERSION to determine if ldap_memfree() is
114698121Sgshapiro			available.
114798121Sgshapiro		Define HPUX10 when building on HP-UX 10.X.  That platform
114898121Sgshapiro			now gets the proper _PATH_SENDMAIL and SMRSH_CMDDIR
114998121Sgshapiro			settings.  Patch from Elias Halldor Agustsson of
115098121Sgshapiro			Skyrr.
115198121Sgshapiro		Fix dependency building on Mac OS X and Darwin.  Problem
115298121Sgshapiro			noted by John Beck.
115398121Sgshapiro		Preliminary support for the sparc64 port of FreeBSD 5.0.
115498121Sgshapiro		Add /sbin/sh as an acceptable user shell on HP-UX.  From
115598121Sgshapiro			Rajesh Somasund of Hewlett-Packard.
115698121Sgshapiro	CONFIG: Add FEATURE(`authinfo') to allow a separate database for
115798121Sgshapiro		SMTP AUTH information.  This feature was actually added in
115898121Sgshapiro		8.12.0 but a release note was not included.
115998121Sgshapiro	CONFIG: Do not bounce mail if FEATURE(`ldap_routing')'s bounce
116098121Sgshapiro		parameter is set and the LDAP lookup returns a temporary
116198121Sgshapiro		error.
116298121Sgshapiro	CONFIG: Honor FEATURE(`relay_hosts_only') when using
116398121Sgshapiro		FEATURE(`relay_mail_from', `domain').  Problem noted by
116498121Sgshapiro		Krzysztof Oledzki.
116598121Sgshapiro	CONFIG: FEATURE(`msp') now disables any type of alias
116698121Sgshapiro		initialization as aliases are not needed for the MSP.
116798121Sgshapiro	CONFIG: Allow users to override RELAY_MAILER_ARGS when FEATURE(`msp')
116898121Sgshapiro		is in use.  Patch from Andrzej Filip.
116998121Sgshapiro	CONFIG: FEATURE(`msp') uses `[localhost]' as default instead of
117098121Sgshapiro		`localhost' and turns on MX lookups for the SMTP mailers.
117198121Sgshapiro		This will only have an effect if a parameter is specified,
117298121Sgshapiro		i.e., an MX lookup will be performed on the hostname unless
117398121Sgshapiro		it is embedded in square brackets.  Problem noted by
117498121Sgshapiro		Theo Van Dinter of Collective Technologies.
117598121Sgshapiro	CONFIG: Set confTIME_ZONE to USE_TZ in submit.mc (TimeZoneSpec= in
117698121Sgshapiro		submit.cf) to use $TZ for time stamps.  This is a compromise
117798121Sgshapiro		to allow for the proper time zone on systems where the
117898121Sgshapiro		default results in misleading time stamps. That is, syslog
117998121Sgshapiro		time stamps and Date headers on submitted mail will use the
118098121Sgshapiro		user's $TZ setting.  Problem noted by Mark Roth of the
118198121Sgshapiro		University of Illinois at Urbana-Champaign, solution proposed
118298121Sgshapiro		by Neil Rickert of Northern Illinois University.
118398121Sgshapiro	CONFIG: Mac OS X (Darwin) ships with mail.local as non-set-user-ID
118498121Sgshapiro		binary.  Adjust local mailer flags accordingly.  Problem
118598121Sgshapiro		noted by John Beck.
118698121Sgshapiro	CONTRIB: Add a warning to qtool.pl to not move queue files around
118798121Sgshapiro		if queue groups are used.
118898121Sgshapiro	CONTRIB: buildvirtuser: Add -f option to force rebuild.
118998121Sgshapiro	CONTRIB: smcontrol.pl: Add -f option to specify control socket.
119098121Sgshapiro	CONTRIB: smcontrol.pl: Add support for 'memdump' command.
119198121Sgshapiro		Suggested by Bryan Costales.
119298121Sgshapiro	DEVTOOLS: Add dependency generation for test programs.
119398121Sgshapiro	LIBMILTER: Remove conversion of port number for the socket
119498121Sgshapiro		structure that is passed to xxfi_connect().  Notice:
119598121Sgshapiro		this fix requires that sendmail and libmilter both have
119698121Sgshapiro		this change; mixing versions may lead to wrong port
119798121Sgshapiro		values depending on the endianness of the involved systems.
119898121Sgshapiro		Problem noted by Gisle Aas of ActiveState.
119998121Sgshapiro	LIBMILTER: If smfi_setreply() sets a custom reply code of '4XX' but
120098121Sgshapiro		SMFI_REJECT is returned, ignore the custom reply.  Do the
120198121Sgshapiro		same if '5XX' is used and SMFI_TEMPFAIL is returned.
120298121Sgshapiro	LIBMILTER: Install include files in ${INCLUDEDIR}/libmilter/ as
120398121Sgshapiro		required by mfapi.h.  Problem noted by Jose Marcio Martins
120498121Sgshapiro		da Cruz of Ecole Nationale Superieure des Mines de Paris.
120594334Sgshapiro	LIBSM: Add SM_CONF_LDAP_MEMFREE as a configuration define.  Set
120694334Sgshapiro		this to 1 if your LDAP client libraries include
120794334Sgshapiro		ldap_memfree().
120894334Sgshapiro	LIBSMDB: Avoid a file creation race condition for Berkeley DB 1.X
120994334Sgshapiro		and NDBM on systems with the O_EXLOCK open(2) flag.
121094334Sgshapiro	SMRSH: Fix compilation problem on some operating systems.  Problem
121194334Sgshapiro		noted by Christian Krackowizer of schuler technodat GmbH.
121294334Sgshapiro	VACATION: Allow root to operate on user vacation databases.  Based
121394334Sgshapiro		on patch from Greg Couch of the University of California,
121494334Sgshapiro		San Francisco.
121594334Sgshapiro	VACATION: Don't ignore -C option.  Based on patch by Bryan Costales.
121694334Sgshapiro	VACATION: Clarify option usage in the man page.  Problem noted by
121794334Sgshapiro		Joe Barbish.
121894334Sgshapiro	New Files:
121994334Sgshapiro		libmilter/docs/smfi_setbacklog.html
122094334Sgshapiro
122194334Sgshapiro8.12.2/8.12.2	2002/01/13
122294334Sgshapiro	Don't complain too much if stdin, stdout, or stderr are missing
122394334Sgshapiro		at startup, only log an error message.
122494334Sgshapiro	Fix potential problem if an unknown operation mode (character
122594334Sgshapiro		following -b) has been specified.
122694334Sgshapiro	Prevent purgestat from looping even if someone changes the
122794334Sgshapiro		permissions or owner of hoststatus files.  Problem noted
122894334Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
122994334Sgshapiro	Properly record dropped connections in persistent host status.
123094334Sgshapiro		Problem noted by Ulrich Windl of the Universitat
123194334Sgshapiro		Regensburg.
123294334Sgshapiro	Remove newlines from recipients read via sendmail -t to prevent
123394334Sgshapiro		SMTP protocol errors when sending the RCPT command.
123494334Sgshapiro		Problem noted by William D. Colburn of the New Mexico
123594334Sgshapiro		Institute of Mining and Technology.
123694334Sgshapiro	Only log milter body replacements once instead of for each body
123794334Sgshapiro		chunk sent by a filter.  Problem noted by Kari Hurtta of
123894334Sgshapiro		the Finnish Meteorological Institute.
123994334Sgshapiro	In 8.12.0 and 8.12.1, the headers were mistakenly not included in
124094334Sgshapiro		the message size calculation.  Problem noted by Kari Hurtta
124194334Sgshapiro		of the Finnish Meteorological Institute.
124294334Sgshapiro	Since 8.12 no longer forks at the SMTP MAIL command, the daemon
124394334Sgshapiro		needs to collect children status to avoid zombie processes.
124494334Sgshapiro		Problem noted by Chris Adams of HiWAAY Informations Services.
124594334Sgshapiro	Shut down "nullserver" and ETRN-only connections after 25 bad
124694334Sgshapiro		commands are issued.  This makes it consistent with normal
124794334Sgshapiro		SMTP connections.
124894334Sgshapiro	Avoid duplicate logging of milter rejections.  Problem noted by
124994334Sgshapiro		William D. Colburn of the New Mexico Institute of Mining
125094334Sgshapiro		and Technology.
125194334Sgshapiro	Error and delay DSNs were being sent to postmaster instead of the
125294334Sgshapiro		message sender if the sender had used a deprecated RFC822
125394334Sgshapiro		source route.  Problem noted by Kari Hurtta of the Finnish
125494334Sgshapiro		Meteorological Institute.
125594334Sgshapiro	Fix FallbackMXhost behavior for temporary errors during address
125694334Sgshapiro		parsing.  Problem noted by Jorg Bielak from Coastal Web
125794334Sgshapiro		Online.
125894334Sgshapiro	For systems on which stat(2) does not return a value for st_blksize
125994334Sgshapiro		that is the "optimal blocksize for I/O" three new compile
126094334Sgshapiro		time flags are available: SM_IO_MAX_BUF_FILE, SM_IO_MIN_BUF,
126194334Sgshapiro		and SM_IO_MAX_BUF, which define an upper limit for
126294334Sgshapiro		regular files, and a lower and upper limit for other file
126394334Sgshapiro		types, respectively.
126494334Sgshapiro	Fix a potential deadlock if two events are supposed to occur at
126594334Sgshapiro		exactly the same time.  Problem noted by Valdis Kletnieks
126694334Sgshapiro		of Virginia Tech.
126794334Sgshapiro	Perform envelope splitting for aliases listed directly in the
126894334Sgshapiro		alias file, not just for include/.forward files.
126994334Sgshapiro		Problem noted by John Beck of Sun Microsystems.
127094334Sgshapiro	Allow selection of queue group for mailq using -qGgroup.
127194334Sgshapiro		Based on patch by John Beck of Sun Microsystems.
127294334Sgshapiro	Make sure cached LDAP connections used my multiple maps in the same
127394334Sgshapiro		process are closed.  Patch from Taso N. Devetzis.
127494334Sgshapiro	If running as root, allow reading of class files in protected
127594334Sgshapiro		directories.  Patch from Alexander Talos of the University
127694334Sgshapiro		of Vienna.
127794334Sgshapiro	Correct a few LDAP related memory leaks.  Patch from David Powell
127894334Sgshapiro		of Sun Microsystems.
127994334Sgshapiro	Allow specification of an empty realm via the authinfo ruleset.
128094334Sgshapiro		This is necessary to interoperate as an SMTP AUTH client
128194334Sgshapiro		with servers that do not support realms when using
128294334Sgshapiro		CRAM-MD5.  Problem noted by Bjoern Voigt of TU Berlin.
128394334Sgshapiro	Avoid a potential information leak if AUTH PLAIN is used and the
128494334Sgshapiro		server gets stuck while processing that command.  Problem
128594334Sgshapiro		noted by Chris Adams from HiWAAY Informations Services.
128694334Sgshapiro	In addition to printing errors when parsing recipients during
128794334Sgshapiro		command line invocations log them to make it simpler
128894334Sgshapiro		to understand possible DSNs to postmaster.
128994334Sgshapiro	Do not use FallbackMXhost on mailers which have the F=0 flag set.
129094334Sgshapiro	Allow local mailers (F=l) to specify a host for TCP connections
129194334Sgshapiro		instead of forcing localhost.
129294334Sgshapiro	Obey ${DESTDIR} for installation of the client mail queue and
129394334Sgshapiro		submit.cf.  Patch from Peter 'Luna' Runestig.
129494334Sgshapiro	Re-enable support for -M option which was broken in 8.12.1.  Problem
129594334Sgshapiro		noted by Neil Rickert of Northern Illinois University.
129694334Sgshapiro	If a remote server violates the SMTP standard by unexpectedly
129794334Sgshapiro		dropping the connection during an SMTP transaction, stop
129894334Sgshapiro		sending commands.  This prevents bogus "Bad file number"
129994334Sgshapiro		recipient status.  Problem noted by Allan E Johannesen of
130094334Sgshapiro		Worcester Polytechnic Institute.
130194334Sgshapiro	Do not use a size estimate of 100 for postmaster bounces, it's
130294334Sgshapiro		almost always too small; do not guess the size at all.
130394334Sgshapiro	New VENDOR_DEC for Compaq/DEC.  Requested by James Seagraves of
130494334Sgshapiro		Compaq Computer Corp.
130594334Sgshapiro	Fix DaemonPortOptions IPv6 address parsing such that ::1 works
130694334Sgshapiro		properly.  Problem noted by Valdis Kletnieks of Virginia
130794334Sgshapiro		Tech.
130894334Sgshapiro	Portability:
130998121Sgshapiro		Fix IPv6 network interface probing on HP-UX 11.X.  Based on
131094334Sgshapiro			patch provided by HP.
131194334Sgshapiro		Mac OS X (aka Darwin) has a broken setreuid() call, but a
131294334Sgshapiro			working seteuid() call.  From Daniel J. Luke.
131394334Sgshapiro		Use proper type for a 32-bit integer on SINIX.  From Ganu
131494334Sgshapiro			Sachin of Siemens.
131594334Sgshapiro		Set SM_IO_MIN_BUF (4K) and SM_IO_MAX_BUF (8K) for HP-UX.
131694334Sgshapiro		Reduce optimization from +O3 to +O2 on HP-UX 11.  This
131794334Sgshapiro			fixes a problem that caused additional bogus
131894334Sgshapiro			characters to be written to the qf file.  Problem
131994334Sgshapiro			noted by Tapani Tarvainen.
132094334Sgshapiro		Set LDA_USE_LOCKF by default for UnixWare.  Problem noted
132194334Sgshapiro			by Boyd Lynn Gerber.
132294334Sgshapiro		Add support for HP MPE/iX.  See sendmail/README for port
132394334Sgshapiro			information.  From Mark Bixby of Hewlett-Packard.
132494334Sgshapiro		New portability defines HASNICE, HASRRESVPORT, USE_ENVIRON,
132594334Sgshapiro			USE_DOUBLE_FORK, and NEEDLINK.  See sendmail/README
132694334Sgshapiro			for more information.  From Mark Bixby of
132794334Sgshapiro			Hewlett-Packard.
132894334Sgshapiro		If an OS doesn't have a method of finding free disk space
132994334Sgshapiro			(SFS_NONE), lie and say there is plenty of space.
133094334Sgshapiro			From Mark Bixby of Hewlett-Packard.
133194334Sgshapiro		Add support for AIX 5.1.  From Valdis Kletnieks of
133294334Sgshapiro			Virginia Tech.
133394334Sgshapiro		Fix man page location for NeXTSTEP.  From Hisanori Gogota
133494334Sgshapiro			of the NTT/InterCommunication Center.
133594334Sgshapiro		Do not assume that strerror() always returns a string.
133694334Sgshapiro			Problem noted by John Beck of Sun Microsystems.
133794334Sgshapiro	CONFIG: Add OSTYPE(freebsd5) for FreeBSD 5.X, which has removed
133894334Sgshapiro		UUCP from the base operating system.  From Mark Murray of
133994334Sgshapiro		FreeBSD Services, Ltd.
134094334Sgshapiro	CONFIG: Add OSTYPE(mpeix) and a generic .mc file for HP MPE/iX
134194334Sgshapiro		systems.  From Mark Bixby of Hewlett-Packard.
134294334Sgshapiro	CONFIG: Add support for selecting a queue group for all mailers.
134394334Sgshapiro		Based on proposal by Stephen L. Ulmer of the University of
134494334Sgshapiro		Florida.
134594334Sgshapiro	CONFIG: Fix error reporting for compat_check.m4.  Problem noted by
134694334Sgshapiro		Altin Waldmann.
134794334Sgshapiro	CONFIG: Do not override user selections for confRUN_AS_USER and
134894334Sgshapiro		confTRUSTED_USER in FEATURE(msp).  From Mark Bixby of
134994334Sgshapiro		Hewlett-Packard.
135094334Sgshapiro	LIBMILTER: Fix bug that prevented the removal of a socket after
135194334Sgshapiro		libmilter terminated.  Problem reported by Andrey V. Pevnev
135294334Sgshapiro		of MSFU.
135394334Sgshapiro	LIBMILTER: Fix configuration error that required libsm for linking.
135494334Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
135594334Sgshapiro		Institute.
135694334Sgshapiro	LIBMILTER: Portability fix for OpenUNIX.  Patch from Larry Rosenman.
135794334Sgshapiro	LIBMILTER: Fix a theoretical memory leak and a possible attempt
135898121Sgshapiro		to free memory twice.
135998121Sgshapiro	LIBSM: Fix a potential segmentation violation in the I/O library.
136094334Sgshapiro		Problem found and analyzed by John Beck and Tim Haley
136194334Sgshapiro		of Sun Microsystems.
136294334Sgshapiro	LIBSM: Do not clear the LDAP configuration information when
136394334Sgshapiro		terminating the mailbox database connection in the LDAP
136494334Sgshapiro		example code.  Problem noted by Nikos Voutsinas of the
136594334Sgshapiro		University of Athens.
136694334Sgshapiro	New Files:
136794334Sgshapiro		cf/cf/generic-mpeix.cf
136894334Sgshapiro		cf/cf/generic-mpeix.mc
136994334Sgshapiro		cf/ostype/freebsd5.m4
137094334Sgshapiro		cf/ostype/mpeix.m4
137194334Sgshapiro		devtools/OS/AIX.5.1
137294334Sgshapiro		devtools/OS/MPE-iX
137394334Sgshapiro		include/sm/os/sm_os_mpeix.h
137494334Sgshapiro		libsm/mpeix.c
137594334Sgshapiro
137694334Sgshapiro8.12.1/8.12.1	2001/10/01
137794334Sgshapiro	SECURITY: Check whether dropping group privileges actually succeeded
137894334Sgshapiro		to avoid possible compromises of the mail system by
137994334Sgshapiro		supplying bogus data.  Add configuration options for
138094334Sgshapiro		different set*gid() calls to reset saved gid.  Problem
138194334Sgshapiro		found by Michal Zalewski.
138294334Sgshapiro	PRIVACY: Prevent information leakage when sendmail has extra
138394334Sgshapiro		privileges by disabling debugging (command line -d flag)
138490792Sgshapiro		during queue runs and disabling ETRN when sendmail -bs is
138590792Sgshapiro		used.  Suggested by Michal Zalewski.
138690792Sgshapiro	Avoid memory corruption problems resulting from bogus .cf files.
138790792Sgshapiro		Problem found by Michal Zalewski.
138890792Sgshapiro	Set the ${server_addr} macro to name of mailer when doing LMTP
138990792Sgshapiro		delivery.  LMTP systems may offer SMTP Authentication or
139090792Sgshapiro		STARTTLS causing sendmail to use this macro in rulesets.
139190792Sgshapiro	If debugging is turned on (-d0.10) print not just the default
139290792Sgshapiro		values for configuration file and pid file but also the
139390792Sgshapiro		selected values.  Problem noted by Brad Chapman.
139490792Sgshapiro	Continue dealing with broken nameservers by ignoring SERVFAIL
139590792Sgshapiro		errors returned on T_AAAA (IPv6) lookups at delivery time
139690792Sgshapiro		if ResolverOptions=WorkAroundBrokenAAAA is set.  Previously
139790792Sgshapiro		this only applied to hostname canonification.  Problem
139890792Sgshapiro		noted by Bill Fenner of AT&T Research.
139990792Sgshapiro	Ignore comments in NIS host records when trying to find the
140090792Sgshapiro		canonical name for a host.
140190792Sgshapiro	When sendmail has extra privileges, limit mail submission command
140290792Sgshapiro		line flags (i.e., -G, -h, -F, etc.)  to mail submission
140390792Sgshapiro		operating modes (i.e., -bm, -bs, -bv, etc.).  Idea based on
140490792Sgshapiro		suggestion from Michal Zalewski.
140590792Sgshapiro	Portability:
140690792Sgshapiro		AIX: Use `oslevel` if available to determine OS version.
140790792Sgshapiro			`uname` does not given complete information.
140890792Sgshapiro			Problem noted by Keith Neufeld of the Cessna
140990792Sgshapiro			Aircraft Company.
141090792Sgshapiro		OpenUNIX: Use lockf() for LDA delivery (affects mail.local).
141190792Sgshapiro			Problem noticed by Boyd Lynn Gerber of ZENEX.
141290792Sgshapiro		Avoid compiler warnings by not using pointers to pass
141390792Sgshapiro			integers.  Problem noted by Todd C. Miller of
141490792Sgshapiro			Courtesan Consulting.
141590792Sgshapiro	CONFIG: Add restrictqrun to PrivacyOptions for the MSP to minimize
141690792Sgshapiro		problems with potential misconfigurations.
141790792Sgshapiro	CONFIG: Fix comment showing default value of MaxHopCount.  Problem
141890792Sgshapiro		noted by Greg Robinson of the Defence Science and
141990792Sgshapiro		Technology Organisation of Australia.
142090792Sgshapiro	CONFIG: dnsbl: If an argument specifies an error message in case
142190792Sgshapiro		of temporary lookup failures for DNS based blacklists
142290792Sgshapiro		then use it.
142390792Sgshapiro	LIBMILTER: Install mfdef.h, required by mfapi.h.  Problem noted by
142490792Sgshapiro		Richard A. Nelson of Debian.
142590792Sgshapiro	LIBMILTER: Add __P definition for OS that lack it.  Problem noted
142690792Sgshapiro		by Chris Adams from HiWAAY Informations Services.
142790792Sgshapiro	LIBSMDB: Fix a lock race condition that affects makemap, praliases,
142890792Sgshapiro		and vacation.
142990792Sgshapiro	MAKEMAP: Avoid going beyond the end of an input line if it does
143090792Sgshapiro		not contain a value for a key.  Based on patch from
143190792Sgshapiro		Mark Bixby from Hewlett-Packard.
143290792Sgshapiro	New Files:
143390792Sgshapiro		test/Build
143490792Sgshapiro		test/Makefile
143590792Sgshapiro		test/Makefile.m4
143690792Sgshapiro		test/README
143790792Sgshapiro		test/t_dropgid.c
143890792Sgshapiro		test/t_setgid.c
143990792Sgshapiro	Deleted Files:
144090792Sgshapiro		include/sm/stdio.h
144190792Sgshapiro		include/sm/sysstat.h
144290792Sgshapiro
144390792Sgshapiro8.12.0/8.12.0	2001/09/08
144490792Sgshapiro	*NOTICE*: The default installation of sendmail does not use
144590792Sgshapiro		set-user-ID root anymore.  You need to create a new user and
144690792Sgshapiro		a new group before installing sendmail (both called smmsp by
144790792Sgshapiro		default).  The installation process tries to install
144890792Sgshapiro		/etc/mail/submit.cf and creates /var/spool/clientmqueue by
144990792Sgshapiro		default.  Please see sendmail/SECURITY for details.
145090792Sgshapiro	SECURITY: Check for group and world writable forward and :include:
145190792Sgshapiro		files.  These checks can be turned off if absolutely
145290792Sgshapiro		necessary using the DontBlameSendmail option and the new
145390792Sgshapiro		flags:
145490792Sgshapiro			GroupWritableForwardFile
145590792Sgshapiro			WorldWritableForwardFile
145690792Sgshapiro			GroupWritableIncludeFile
145790792Sgshapiro			WorldWritableIncludeFile
145890792Sgshapiro		Problem noted by Slawek Zak of Politechnika Warszawska,
145990792Sgshapiro	SECURITY: Drop privileges when using address test mode.  Suggested
146090792Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
146190792Sgshapiro		(IdS).
146290792Sgshapiro	Fixed problem of a global variable being used for a timeout jump
146390792Sgshapiro		point where the variable could become overused for more than
146490792Sgshapiro		one timeout concurrently.  This erroneous behavior resulted in
146590792Sgshapiro		a corrupted stack causing a core dump.  The timeout is now
146690792Sgshapiro		handled via libsm.  Problem noted by Michael Shapiro,
146790792Sgshapiro		John Beck, and Carl Smith of Sun Microsystems.
146890792Sgshapiro	If sendmail is set-group-ID then that group ID is used for permission
146990792Sgshapiro		checks (group ID of RunAsUser).  This allows use of a
147090792Sgshapiro		set-group-ID sendmail binary for initial message submission
147190792Sgshapiro		and no set-user-ID root sendmail is needed.  For details
147290792Sgshapiro		see sendmail/SECURITY.
147390792Sgshapiro	Log a warning if a non-trusted user changes the syslog label.
147490792Sgshapiro		Based on notice from Bryan Costales of SL3D, Inc.
147590792Sgshapiro	If sendmail is called for initial delivery, try to use submit.cf
147690792Sgshapiro		with a fallback of sendmail.cf as configuration file.  See
147790792Sgshapiro		sendmail/SECURITY.
147890792Sgshapiro	New configuration file option UseMSP to allow group writable queue
147990792Sgshapiro		files if the group is the same as that of a set-group-ID
148090792Sgshapiro		sendmail binary.  See sendmail/SECURITY.
148190792Sgshapiro	The .cf file is chosen based on the operation mode. For -bm (default),
148290792Sgshapiro		-bs, and -t it is submit.cf if it exists for all others it
148390792Sgshapiro		is sendmail.cf (to be backward compatible).  This selection
148490792Sgshapiro		can be changed by the new option -Ac or -Am (alternative .cf
148590792Sgshapiro		file: client or mta).  See sendmail/SECURITY.
148690792Sgshapiro	The SMTP server no longer forks on each MAIL command.  The ONEX
148790792Sgshapiro		command has been removed.
148890792Sgshapiro	Implement SMTP PIPELINING per RFC 2920.  It can be turned off
148990792Sgshapiro		at compile time or per host (ruleset).
149090792Sgshapiro	New option MailboxDatabase specifies the type of mailbox database
149190792Sgshapiro		used to look up local mail recipients; the default value
149290792Sgshapiro		is "pw", which means to use getpwnam().  New mailbox database
149390792Sgshapiro		types can be added by adding custom code to libsm/mbdb.c.
149490792Sgshapiro	Queue file names are now 15 characters long, rather than 14 characters
149590792Sgshapiro		long, to accomodate envelope splitting.  File systems with
149690792Sgshapiro		a 14 character file name length limit are no longer
149790792Sgshapiro		supported.
149890792Sgshapiro	Recipient list used for delivery now gets internally ordered by
149990792Sgshapiro		hostsignature (character string version of MX RR).  This orders
150090792Sgshapiro		recipients for the same MX RR's together meaning smaller
150190792Sgshapiro		portions of the list need to be scanned (instead of the whole
150290792Sgshapiro		list) each delivery() pass to determine piggybacking.  The
150390792Sgshapiro		significance of the change is better the larger the recipient
150490792Sgshapiro		list.  Hostsignature is now created during recipient list
150590792Sgshapiro		creation rather than just before delivery.
150690792Sgshapiro	Enhancements for more opportunistic piggybacking.  Previous
150790792Sgshapiro		piggybacking (called coincidental) extended to coattail
150890792Sgshapiro		piggybacking.  Rather than complete MX RR matching
150990792Sgshapiro		(coincidental) piggybacking is done if just the lowest value
151090792Sgshapiro		preference matches (coattail).
151190792Sgshapiro	If sendmail receives a temporary error on a RCPT TO: command, it will
151290792Sgshapiro		try other MX hosts if available.
151390792Sgshapiro	DefaultAuthInfo can contain a list of mechanisms to be used for
151490792Sgshapiro		outgoing (client-side) SMTP Authentication.
151590792Sgshapiro	New modifier 'A' for DaemonPortOptions/ClientPortOptions to disable
151690792Sgshapiro		AUTH (overrides 'a' modifier in DaemonPortOptions).  Based
151790792Sgshapiro		on patch from Lyndon Nerenberg of Messaging Direct.
151890792Sgshapiro	Enable AUTH mechanism EXTERNAL if STARTTLS is used.
151990792Sgshapiro	A new ruleset authinfo can be used to return client side
152090792Sgshapiro		authentication information for AUTH instead of DefaultAuthInfo.
152190792Sgshapiro		Therefore the DefaultAuthInfo option is deprecated and will be
152290792Sgshapiro		removed in future versions.
152390792Sgshapiro	Accept any SMTP continuation code 3xy for AUTH even though RFC 2554
152490792Sgshapiro		requires 334.  Mercury 1.48 is a known offender.
152590792Sgshapiro	Add new option AuthMaxBits to limit the overall encryption strength
152690792Sgshapiro		for the security layer in SMTP AUTH (SASL).  See
152790792Sgshapiro		doc/op/op.me for details.
152890792Sgshapiro	Introduce new STARTTLS related macros {cn_issuer}, {cn_subject},
152990792Sgshapiro		{cert_md5} which hold the CN (common name) of the CA that
153090792Sgshapiro		signed the presented certificate, the CN and the MD5 hash
153190792Sgshapiro		of the presented certificate, respectively.
153290792Sgshapiro	New ruleset try_tls to decide whether to try (as client) STARTTLS.
153390792Sgshapiro	New ruleset srv_features to enable/disable certain features in the
153490792Sgshapiro		server per connection.  See doc/op/op.me for details.
153590792Sgshapiro	New ruleset tls_rcpt to decide whether to send e-mail to a particular
153690792Sgshapiro		recipient; useful to decide whether a conection is secure
153790792Sgshapiro		enough on a per recipient basis.
153890792Sgshapiro	New option TLSSrvOptions to modify some aspects of the server
153990792Sgshapiro		for STARTTLS.
154090792Sgshapiro	If no certificate has been requested, the macro {verify} has the
154190792Sgshapiro		value "NOT".
154290792Sgshapiro	New M=S modifier for ClientPortOptions/DaemonPortOptions to turn off
154390792Sgshapiro		using/offering STARTTLS when delivering/receiving e-mail.
154490792Sgshapiro	Macro expand filenames/directories for certs and keys in the .cf file.
154590792Sgshapiro		Proposed by Neil Rickert of Northern Illinois University.
154690792Sgshapiro	Generate an ephemeral RSA key for a STARTTLS connection only if
154790792Sgshapiro		really required.  This change results in a noticable
154890792Sgshapiro		performance gains on most machines.  Moreover, if shared
154990792Sgshapiro		memory is in use, reuse the key several times.
155090792Sgshapiro	Add queue groups which can be used to group queue directories with
155190792Sgshapiro		the same behavior together.  See doc/op/op.me for details.
155290792Sgshapiro	If the new option FastSplit (defaults to one) has a value greater
155390792Sgshapiro		than zero, it suppresses the MX lookups on addresses when they
155490792Sgshapiro		are initially sorted which may result in faster envelope
155590792Sgshapiro		splitting.  If the mail is submitted directly from the
155690792Sgshapiro		command line, then the value also limits the number of
155790792Sgshapiro		processes to deliver the envelopes; if more envelopes are
155890792Sgshapiro		created they are only queued up and must be taken care of
155990792Sgshapiro		by a queue run.
156090792Sgshapiro	The check for 'enough disk space' now pays attention to which file
156190792Sgshapiro		system each queue directory resides in.
156290792Sgshapiro	All queue runners can be cleanly terminated via SIGTERM to parent.
156390792Sgshapiro	New option QueueFileMode for the default permissions of queue files.
156490792Sgshapiro	Add parallel queue runner code.  Allows multiple queue runners per work
156590792Sgshapiro		group (one or more queues in a multi-queue environment
156690792Sgshapiro		collected together) to process the same work list at the
156790792Sgshapiro		same time.
156890792Sgshapiro	Option MaxQueueChildren added to limit the number of concurrently
156990792Sgshapiro		active queue runner processes.
157090792Sgshapiro	New option MaxRunnersPerQueue to specify the maximum number of queue
157190792Sgshapiro		runners per queue group.
157290792Sgshapiro	Queue member selection by substring pattern matching now allows
157390792Sgshapiro		the pattern to be negated.  For -qI, -qR and -qS it is
157490792Sgshapiro		permissible for -q!I, -q!R and -q!S to mean remove members
157590792Sgshapiro		of the queue that match during processing.
157690792Sgshapiro	New -qp[time] option is similar to -qtime, except that instead of
157790792Sgshapiro		periodically forking a child to process the queue, a single
157890792Sgshapiro		child is forked for each queue that sleeps between queue
157990792Sgshapiro		runs.  A SIGHUP signal can be sent to restart this
158090792Sgshapiro		persistent queue runner.
158190792Sgshapiro	The SIGHUP signal now restarts a timed queue run process (i.e., a
158290792Sgshapiro		sendmail process which only runs the queue at an interval:
158390792Sgshapiro		sendmail -q15m).
158490792Sgshapiro	New option NiceQueueRun	to set the priority of queue runners.
158590792Sgshapiro		Proposed by Thom O'Connor.
158690792Sgshapiro	sendmail will run the queue(s) in the background when invoked with -q
158790792Sgshapiro		unless the new -qf option or -v is used.
158890792Sgshapiro	QueueSortOrder=Random sorts the queue randomly, which is useful if
158990792Sgshapiro		several queue runners are started by hand to avoid contention.
159090792Sgshapiro	QueueSortOrder=Modification sorts the queue by the modification time
159190792Sgshapiro		of the qf file (older entries first).
159290792Sgshapiro	Support Deliver By SMTP Service Extension (RFC 2852) which allows
159390792Sgshapiro		a client to specify an amount of time within which an e-mail
159490792Sgshapiro		should be delivered.  New option DeliverByMin added to set the
159590792Sgshapiro		minimum amount of time or disable the extension.
159690792Sgshapiro	Non-printable characters (ASCII: 0-31, 127) in mailbox addresses are
159790792Sgshapiro		not allowed unless escaped or quoted.
159890792Sgshapiro	Add support for a generic DNS map.  Based on a patch contributed
159990792Sgshapiro		by Leif Johansson of Stockholm University, which was based on
160090792Sgshapiro		work by Assar Westerlund of Swedish Institute of Computer
160190792Sgshapiro		Science, Kista, and Johan Danielsson of Royal Institute of
160290792Sgshapiro		Technology, Stockholm, Sweden.
160390792Sgshapiro	MX records will be looked up for FallBackMXhost.  To use the old
160490792Sgshapiro		behavior (no MX lookups), put the name in square brackets.
160590792Sgshapiro		Proposed by Thom O'Connor.
160690792Sgshapiro	Use shared memory to store free space of filesystems that are used
160790792Sgshapiro		for queues, if shared memory is available and if a key is set
160890792Sgshapiro		via SharedMemoryKey.  This minimizes the number of system
160990792Sgshapiro		calls to check the available space.  See doc/op/op.me for
161090792Sgshapiro		details.
161190792Sgshapiro	If shared memory is compiled in the option -bP can be used to print
161290792Sgshapiro		the number of entries in the queue(s).
161390792Sgshapiro	Enable generic mail filter API (milter).  See libmilter/README
161490792Sgshapiro		and the usual documentation for details.
161590792Sgshapiro	Remove AutoRebuildAliases option, deprecated since 8.10.
161690792Sgshapiro	Remove '-U' (initial user submission) command line option as
161790792Sgshapiro		announced in 8.10.
161890792Sgshapiro	Remove support for non-standard SMTP command XUSR.  Use an MSA instead.
161990792Sgshapiro	New macro {addr_type} which contains whether the current address is
162090792Sgshapiro		an envelope sender or recipient address.  Suggested by
162190792Sgshapiro		Neil Rickert of Northern Illinois University.
162290792Sgshapiro	Two new options for host maps: -d (retransmission timeout),
162390792Sgshapiro		-r (number of retries).
162490792Sgshapiro	New option for LDAP maps: the -V<sep> allows you to specify a
162590792Sgshapiro		separator such that a lookup can return both an attribute
162690792Sgshapiro		and value separated by the given separator.
162790792Sgshapiro	Add new operators '%', '|', '&' (modulo, binary or, binary and)
162890792Sgshapiro		to map class arith.
162990792Sgshapiro	If DoubleBounceAddress expands to an empty string, ``double bounces''
163090792Sgshapiro		(errors that occur when sending an error message) are dropped.
163190792Sgshapiro	New DontBlameSendmail options GroupReadableSASLDBFile and
163290792Sgshapiro		GroupWritableSASLDBFile to relax requirements for sasldb files.
163390792Sgshapiro	New DontBlameSendmail options GroupReadableKeyFile to relax
163490792Sgshapiro		requirements for files containing secret keys.  This is
163590792Sgshapiro		necessary for the MSP if client authentification is used.
163690792Sgshapiro	Properly handle quoted filenames for class files (to allow for
163790792Sgshapiro		filenames with spaces).
163890792Sgshapiro	Honor the resolver option RES_NOALIASES when canonifying hostnames.
163990792Sgshapiro	Add macros to avoid the reuse of {if_addr} etc:
164090792Sgshapiro		{if_name_out}	hostname of interface of outgoing connection.
164190792Sgshapiro		{if_addr_out}	address of interface of outgoing connection.
164290792Sgshapiro		{if_family_out}	family of interface of outgoing connection.
164390792Sgshapiro		The latter two are only set if the interface does not belong
164490792Sgshapiro		to the loopback net.
164590792Sgshapiro	Add macro {nrcpts} which holds the number of (validated) recipients.
164690792Sgshapiro	DialDelay option applies only to mailers with flag 'Z'.  Patch from
164790792Sgshapiro		Juergen Georgi of RUS University of Stuttgart.
164890792Sgshapiro	New Timeout.lhlo,auth,starttls options to limit the time waiting for
164990792Sgshapiro		an answer to the LMTP LHLO, SMTP AUTH or STARTTLS command.
165090792Sgshapiro	New Timeout.aconnect option to limit the overall waiting time for
165190792Sgshapiro		all connections for a single delivery attempt to succeed.
165290792Sgshapiro	Limit the rate recipients in the SMTP envelope are accepted once
165390792Sgshapiro		a threshold number of recipients has been rejected (option
165490792Sgshapiro		BadRcptThrottle).  From Gregory A Lundberg of the WU-FTPD
165590792Sgshapiro		Development Group.
165690792Sgshapiro	New option DelayLA to delay connections if the load averages
165790792Sgshapiro		exceeds the specified value.  The default of 0 does not
165890792Sgshapiro		change the previous behavior.  A value greater than 0
165990792Sgshapiro		will cause sendmail to sleep for one second on most
166090792Sgshapiro		SMTP commands and before accepting connections if that
166190792Sgshapiro		load average is exceeded.
166290792Sgshapiro	Use a dynamic (instead of fixed-size) buffer for the list of
166390792Sgshapiro		recipients that are sent during a connection to a mailer.
166490792Sgshapiro		This also introduces a new mailer field 'r' which defines
166590792Sgshapiro		the maximum number of recipients (defaults to 100).
166690792Sgshapiro		Based on patch by Motonori Nakamura of Kyoto University.
166790792Sgshapiro	Add new F=1 mailer flag to disable sending of null characters ('\0').
166890792Sgshapiro	Add new F=2 mailer flag to disable use of ESMTP, using SMTP instead.
166990792Sgshapiro	The deprecated [TCP] builtin mailer pathname (P=) is gone.  Use [IPC]
167090792Sgshapiro		instead.
167190792Sgshapiro	IPC is no longer available as first mailer argument (A=) for [IPC]
167290792Sgshapiro		builtin mailer pathnames.  Use TCP instead.
167390792Sgshapiro	PH map code updated to use the new libphclient API instead of the
167490792Sgshapiro		old libqiapi library.  Contributed by Mark Roth of the
167590792Sgshapiro		University of Illinois at Urbana-Champaign.
167690792Sgshapiro	New option DirectSubmissionModifiers to define {daemon_flags}
167790792Sgshapiro		for direct (command line) submissions.
167890792Sgshapiro	New M=O modifier for DaemonPortOptions to ignore the socket in
167990792Sgshapiro		case of failures.  Based on patch by Jun-ichiro itojun
168090792Sgshapiro		Hagino of the KAME Project.
168190792Sgshapiro	Add Disposition-Notification-To: (RFC 2298) to the list of headers
168290792Sgshapiro		whose content is rewritten similar to Reply-To:.
168390792Sgshapiro		Proposed by Andrzej Filip.
168490792Sgshapiro	Use STARTTLS/AUTH=server/client for logging incoming/outgoing
168590792Sgshapiro		STARTTLS/AUTH connections; log incoming connections at level
168690792Sgshapiro		9 or higher.  Use AUTH/STARTTLS instead of SASL/TLS for SMTP
168790792Sgshapiro		AUTH/STARTTLS related logfile entries.
168890792Sgshapiro	Convert unprintable characters (and backslash) into octal or C format
168990792Sgshapiro		before logging.
169090792Sgshapiro	Log recipients if no message is transferred but QUIT/RSET is given
169190792Sgshapiro		(at LogLevel 9/10 or higher).
169290792Sgshapiro	Log discarded recipients at LogLevel 10 or higher.
169390792Sgshapiro	Do not log "did not issue MAIL/EXPN/VRFY/ETRN" for connections
169490792Sgshapiro		in which most commands are rejected due to check_relay or
169590792Sgshapiro		TCP Wrappers if the host tries one of those commands anyway.
169690792Sgshapiro	Change logging format for cloned envelopes to be similar to that for
169790792Sgshapiro		DSNs ("old id: new id: clone").  Suggested by Ulrich Windl
169890792Sgshapiro		of the Universitat Regensburg.
169990792Sgshapiro	Added libsm, a C library of general purpose abstractions including
170090792Sgshapiro		assertions, tracing and debugging with named debug categories,
170190792Sgshapiro		exception handling, malloc debugging, resource pools,
170290792Sgshapiro		portability abstractions, and an extensible buffered I/O
170390792Sgshapiro		package.  It will at some point replace libsmutil.
170490792Sgshapiro		See libsm/index.html for details.
170590792Sgshapiro	Fixed most memory leaks in sendmail which were previously taken
170690792Sgshapiro		care of by fork() and exit().
170790792Sgshapiro	Use new sm_io*() functions in place of stdio calls.  Allows for
170890792Sgshapiro		more consistent portablity amongst different platforms
170990792Sgshapiro		new and old (from new libsm).
171090792Sgshapiro	Common I/O pkg means just one buffering method needed instead of two
171190792Sgshapiro		('bf_portable' and 'bf_torek' now just 'bf').
171290792Sgshapiro	Sfio no longer needed as SASL/TLS code uses sm_io*() API's.
171390792Sgshapiro	New possible value 'interactive' for SuperSafe which can be used
171490792Sgshapiro		together with DeliveryMode=interactive is to avoid some disk
171590792Sgshapiro		synchronizations calls.
171690792Sgshapiro	Add per-recipient status information to mailq -v output.
171790792Sgshapiro	T_ANY queries are no longer used by sendmail.
171890792Sgshapiro	When compiling with "gcc -O -Wall" specify "-DSM_OMIT_BOGUS_WARNINGS"
171990792Sgshapiro		too (see include/sm/cdefs.h for more info).
172090792Sgshapiro	sendmail -d now has general support for named debug categories.
172190792Sgshapiro		See libsm/debug.html and section 3.4 of doc/op/op.me
172290792Sgshapiro		for details.
172390792Sgshapiro	Eliminate the "postmaster warning" DSNs on address parsing errors
172490792Sgshapiro		such as unbalanced angle brackets or parentheses.  The DSNs
172590792Sgshapiro		generated by this condition were illegal (not RFC conform).
172690792Sgshapiro		Problem noted by Ulrich Windl of the Universitaet Regensburg.
172790792Sgshapiro	Do not issue a DSN if the ruleset localaddr resolves to the $#error
172890792Sgshapiro		mailer and the recipient has hence been rejected during the
172990792Sgshapiro		SMTP dialogue.  Problem reported by Larry Greenfield of CMU.
173090792Sgshapiro	Deal with a case of multiple deliveries on misconfigured systems
173190792Sgshapiro		that do not have postmaster defined.  If an email was sent
173290792Sgshapiro		from an address to which a DSN cannot be returned and
173390792Sgshapiro		in which at least one recipient address is non-deliverable,
173490792Sgshapiro		then that email had been delivered in each queue run.
173590792Sgshapiro		Problem reported by Matteo HCE Valsasna of Universita
173690792Sgshapiro		degli Studi dell'Insubria.
173790792Sgshapiro	The compilation options SMTP, DAEMON, and QUEUE have been removed,
173890792Sgshapiro		i.e., the corresponding code is always compiled in now.
173990792Sgshapiro	Log the command line in daemon/queue-run mode at LogLevel 10 and
174090792Sgshapiro		higher.  Suggested by Robert Harker of Harker Systems.
174190792Sgshapiro	New ResolverOptions setting: WorkAroundBrokenAAAA.  When
174290792Sgshapiro		attempting to canonify a hostname, some broken nameservers
174390792Sgshapiro		will return SERVFAIL (a temporary failure) on T_AAAA (IPv6)
174490792Sgshapiro		lookups.  If you want to excuse this behavior, use this new
174590792Sgshapiro		flag.  Suggested by Chris Foote of SE Network Access and
174690792Sgshapiro		Mark Roth of the University of Illinois at
174790792Sgshapiro		Urbana-Champaign.
174890792Sgshapiro	Free the memory allocated by getipnodeby{addr,name}().  Problem
174990792Sgshapiro		noted by Joy Latten of IBM.
175090792Sgshapiro	ConnectionRateThrottle limits the number of connections per second
175190792Sgshapiro		to each daemon individually, not the overall number of
175290792Sgshapiro		connections.
175390792Sgshapiro	Specifying only "ldap:" as an AliasFile specification will force
175490792Sgshapiro		sendmail to use a default alias schema as outlined in the
175590792Sgshapiro		``USING LDAP FOR ALIASES, MAPS, and CLASSES'' section of
175690792Sgshapiro		cf/README.
175790792Sgshapiro	Add a new syntax for the 'F' (file class) sendmail.cf command.  If
175890792Sgshapiro		the first character after the class name is not a '/' or a
175990792Sgshapiro		'|' and it contains an '@' (e.g., F{X}key@class:spec), the
176090792Sgshapiro		rest of the line will be parsed as a map lookup.  This
176190792Sgshapiro		allows classes to be filled via a map lookup.  See op.me
176290792Sgshapiro		for more syntax information.  Specifically, this can be
176390792Sgshapiro		used for commands such as VIRTUSER_DOMAIN_FILE() to read
176490792Sgshapiro		the list of domains via LDAP (see the ``USING LDAP FOR
176590792Sgshapiro		ALIASES, MAPS, and CLASSES'' section of cf/README for an
176690792Sgshapiro		example).
176790792Sgshapiro	The new macro ${sendmailMTACluster} determines the LDAP cluster for
176890792Sgshapiro		the default schema used in the above two items.
176990792Sgshapiro	Unless DontBlameSendmail=RunProgramInUnsafeDirPath is set, log a
177090792Sgshapiro		warning if a program being run from a mailer or file class
177190792Sgshapiro		(e.g., F|/path/to/prog) is in an unsafe directory path.
177290792Sgshapiro	Unless DontBlameSendmail=RunWritableProgram is set, log a warning
177390792Sgshapiro		if a program being run from a mailer or file class
177490792Sgshapiro		(e.g., F|/path/to/prog) is group or world writable.
177590792Sgshapiro	Loopback interfaces (e.g., "lo0") are now probed for class {w}
177690792Sgshapiro		hostnames.  Setting DontProbeInterfaces to "loopback"
177790792Sgshapiro		(without quotes) will disable this and return to the
177890792Sgshapiro		pre-8.12 behavior of only probing non-loopback interfaces.
177990792Sgshapiro		Suggested by Bryan Stansell of GNAC.
178090792Sgshapiro	In accordance with RFC 2821 section 4.1.4, accept multiple
178190792Sgshapiro		HELO/EHLO commands.
178290792Sgshapiro	Multiple ClientPortOptions settings are now allowed, one for each
178390792Sgshapiro		possible protocol family which may be used for outgoing
178490792Sgshapiro		connections.  Restrictions placed on one family only affect
178590792Sgshapiro		outgoing connections on that particular family.  Because of
178690792Sgshapiro		this change, the ${client_flags} macro is not set until the
178790792Sgshapiro		connection is established.  Based on patch from Motonori
178890792Sgshapiro		Nakamura of Kyoto University.
178990792Sgshapiro	PrivacyOptions=restrictexpand instructs sendmail to drop privileges
179090792Sgshapiro		when the -bv option is given by users who are neither root
179190792Sgshapiro		nor the TrustedUser so users can not read private aliases,
179290792Sgshapiro		forwards, or :include: files.  It also will override the -v
179390792Sgshapiro		(verbose) command line option.
179490792Sgshapiro	If the M=b modifier is set in DaemonPortOptions and the interface
179590792Sgshapiro		address can't be used for the outgoing connection, fall
179690792Sgshapiro		back to the settings in ClientPortOptions (if set).
179790792Sgshapiro		Problem noted by John Beck of Sun Microsystems.
179890792Sgshapiro	New named config file rule check_data for DATA command (input:
179990792Sgshapiro		number of recipients).  Based on patch from Mark Roth of
180090792Sgshapiro		the University of Illinois at Urbana-Champaign.
180190792Sgshapiro	Add support for ETRN queue selection per RFC 1985.  The queue group
180290792Sgshapiro		can be specified using the '#' option character.  For
180390792Sgshapiro		example, 'ETRN #queuegroup'.
180490792Sgshapiro	If an LDAP server times out or becomes unavailable, close the
180590792Sgshapiro		current connection and reopen to get to one of the fallback
180690792Sgshapiro		servers.  Patch from Paul Hilchey of the University of
180790792Sgshapiro		British Columbia.
180890792Sgshapiro	Make default error number on $#error messages 550 instead of 501
180990792Sgshapiro		because 501 is not allowed on all commands.
181090792Sgshapiro	The .cf file option UnsafeGroupWrites is deprecated, it should be
181190792Sgshapiro		replaced with the settings GroupWritableForwardFileSafe
181290792Sgshapiro		and GroupWritableIncludeFileSafe in DontBlameSendmail
181390792Sgshapiro		if required.
181490792Sgshapiro	The deprecated ldapx map class has been removed.  Use the ldap map
181590792Sgshapiro		class instead.
181690792Sgshapiro	Any IPv6 addresses used in configuration should be prefixed by the
181790792Sgshapiro		"IPv6:" tag to identify the address properly.  For example,
181890792Sgshapiro		if you want to add the IPv6 address [2002:c0a8:51d2::23f4] to
181990792Sgshapiro		class {w}, you would need to add [IPv6:2002:c0a8:51d2::23f4].
182090792Sgshapiro	Change the $&{opMode} macro if the operation mode changes while the
182190792Sgshapiro		MTA is running.  For example, during a queue run.
182290792Sgshapiro	Add "use_inet6" as a new ResolverOptions flag to control the
182390792Sgshapiro		RES_USE_INET6 resolver option.  Based on patch from Rick
182490792Sgshapiro		Nelson of IBM.
182590792Sgshapiro	The maximum number of commands before the MTA slows down when too
182690792Sgshapiro		many "light weight" commands have been received are now
182790792Sgshapiro		configurable during compile time.  The current values and
182890792Sgshapiro		their defaults are:
182990792Sgshapiro		    MAXBADCOMMANDS	25	unknown commands
183090792Sgshapiro		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
183190792Sgshapiro		    MAXHELOCOMMANDS	3	HELO, EHLO
183290792Sgshapiro		    MAXVRFYCOMMANDS	6	VRFY, EXPN
183390792Sgshapiro		    MAXETRNCOMMANDS	8	ETRN
183490792Sgshapiro		Setting a value to 0 disables the check.  Patch from Bryan
183590792Sgshapiro		Costales of SL3D, Inc.
183690792Sgshapiro	The header syntax H?${MyMacro}?X-My-Header: now not only checks if
183790792Sgshapiro		${MyMacro} is defined but also that it is not empty.
183890792Sgshapiro	Properly quote usernames with special characters if they are used
183990792Sgshapiro		in headers.  Problem noted by Kari Hurtta of the Finnish
184090792Sgshapiro		Meteorological Institute.
184190792Sgshapiro	Be sure to include the proper Final-Recipient: DSN header in bounce
184290792Sgshapiro		messages for messages for mailing list expanded addresses
184390792Sgshapiro		which are not delivered on the initial attempt.
184490792Sgshapiro	Do not treat errors as sticky when doing delivery via LMTP after
184590792Sgshapiro		the final dot has been sent to avoid affecting future
184690792Sgshapiro		deliveries.  Problem reported by Larry Greenfield of CMU.
184790792Sgshapiro	New compile time flag REQUIRES_DIR_FSYNC which turns on support for
184890792Sgshapiro		file systems that require to call fsync() for a directory
184990792Sgshapiro		if the meta-data in it has been changed.  This should be
185090792Sgshapiro		set at least for ReiserFS; it is enabled by default for Linux.
185190792Sgshapiro		See sendmail/README for further information.
185290792Sgshapiro	Avoid file locking deadlock when updating the statistics file if
185390792Sgshapiro		sendmail is signaled to terminate.  Problem noted by
185490792Sgshapiro		Christophe Wolfhugel of France Telecom.
185590792Sgshapiro	Set the $c macro (hop count) as it is being set instead of when the
185690792Sgshapiro		envelope is initialized.  Problem noted by Kari Hurtta of
185790792Sgshapiro		the Finnish Meteorological Institute.
185890792Sgshapiro	Properly count recipients for DeliveryMode defer and queue.  Fix
185990792Sgshapiro		from Peter A. Friend of EarthLink.
186090792Sgshapiro	Treat invalid hesiod lookups as permanent errors instead of
186190792Sgshapiro		temporary errors.  Problem noted by Russell McOrmond of
186290792Sgshapiro		flora.ca.
186390792Sgshapiro	Portability:
186490792Sgshapiro		Remove support for AIX 2, which supports only 14 character
186590792Sgshapiro			filenames and is outdated anyway.  Suggested by
186690792Sgshapiro			Valdis Kletnieks of Virginia Tech.
186790792Sgshapiro		Change several settings for Irix 6: remove confSBINDIR,
186890792Sgshapiro			i.e., use default /usr/sbin, change owner/group
186990792Sgshapiro			of man pages and user-executable to root/sys, set
187090792Sgshapiro			optimization limit to 0 (unlimited).  Based on patch
187190792Sgshapiro			from Ayamura Kikuchi, M.D, and proposal from Kari
187290792Sgshapiro			Hurtta of the Finnish Meteorological Institute.
187390792Sgshapiro		Do not assume LDAP support is installed by default under
187490792Sgshapiro			Solaris 8 and later.
187590792Sgshapiro		Add support for OpenUNIX.
187690792Sgshapiro	CONFIG: Increment version number of config file to 10.
187790792Sgshapiro	CONFIG: Add an install target and a README file in cf/cf.
187890792Sgshapiro	CONFIG: Don't accept addresses of the form a@b@, a@b@c, a@[b]c, etc.
187990792Sgshapiro	CONFIG: Reject empty recipient addresses (in check_rcpt).
188090792Sgshapiro	CONFIG: The access map uses an option of -T<TMPF> to deal with
188190792Sgshapiro		temporary lookup failures.
188290792Sgshapiro	CONFIG: New value for access map: SKIP, which causes the default
188390792Sgshapiro		action to be taken by aborting the search for domain names
188490792Sgshapiro		or IP nets.
188590792Sgshapiro	CONFIG: check_rcpt can deal with TEMPFAIL for either recipient or
188690792Sgshapiro		relay address as long as the other part allows the email
188790792Sgshapiro		to get through.
188890792Sgshapiro	CONFIG: Entries for virtusertable can make use of a third parameter
188990792Sgshapiro		"%3" which contains "+detail" of a wildcard match, i.e., an
189090792Sgshapiro		entry like user+*@domain.  This allows handling of details by
189190792Sgshapiro		using %1%3 as the RHS.  Additionally, a "+" wildcard has been
189290792Sgshapiro		introduced to match only non-empty details of addresses.
189390792Sgshapiro	CONFIG: Numbers for rulesets used by MAILERs have been removed
189490792Sgshapiro		and hence there is no required order within the MAILER
189590792Sgshapiro		section anymore except for MAILER(`uucp') which must come
189690792Sgshapiro		after MAILER(`smtp') if uucp-dom and uucp-uudom are used.
189790792Sgshapiro	CONFIG: Hosts listed in the generics domain class {G}
189890792Sgshapiro		(GENERICS_DOMAIN() and GENERICS_DOMAIN_FILE()) are treated
189990792Sgshapiro		as canonical.  Suggested by Per Hedeland of Ericsson.
190090792Sgshapiro	CONFIG: If FEATURE(`delay_checks') is used, make sure that a lookup
190190792Sgshapiro		in the access map which returns OK or RELAY actually
190290792Sgshapiro		terminates check_* ruleset checking.
190390792Sgshapiro	CONFIG: New tag TLS_Rcpt: for access map to be used by ruleset
190490792Sgshapiro		tls_rcpt, see cf/README for details.
190590792Sgshapiro	CONFIG: Change format of Received: header line which reveals whether
190690792Sgshapiro		STARTTLS has been used to "(version=${tls_version}
190790792Sgshapiro		cipher=${cipher} bits=${cipher_bits} verify=${verify})".
190890792Sgshapiro	CONFIG: Use "Spam:" as tag for lookups for FEATURE(`delay_checks')
190990792Sgshapiro		options friends/haters instead of "To:" and enable
191090792Sgshapiro		specification of whole domains instead of just users.
191190792Sgshapiro		Notice: this change is not backward compatible.
191290792Sgshapiro		Suggested by Chris Adams from HiWAAY Informations Services.
191390792Sgshapiro	CONFIG: Allow for local extensions for most new rulesets, see
191490792Sgshapiro		cf/README for details.
191590792Sgshapiro	CONFIG: New FEATURE(`lookupdotdomain') to lookup also .domain in
191690792Sgshapiro		the access map.  Proposed by Randall Winchester of the
191790792Sgshapiro		University of Maryland.
191890792Sgshapiro	CONFIG: New FEATURE(`local_no_masquerade') to avoid masquerading for
191990792Sgshapiro		the local mailer.  Proposed by Ingo Brueckl of Wupper Online.
192090792Sgshapiro	CONFIG: confRELAY_MSG/confREJECT_MSG can override the default
192190792Sgshapiro		messages for an unauthorized relaying attempt/for access
192290792Sgshapiro		map entries with RHS REJECT, respectively.
192390792Sgshapiro	CONFIG: FEATURE(`always_add_domain') takes an optional argument
192490792Sgshapiro		to specify another domain to be added instead of the local one.
192590792Sgshapiro		Suggested by Richard H. Gumpertz of Computer Problem
192690792Sgshapiro		Solving.
192790792Sgshapiro	CONFIG: confAUTH_OPTIONS allows setting of Cyrus-SASL specific
192890792Sgshapiro		options, see doc/op/op.me for details.
192990792Sgshapiro	CONFIG: confAUTH_MAX_BITS sets the maximum encryption strength for
193090792Sgshapiro		the security layer in SMTP AUTH (SASL).
193190792Sgshapiro	CONFIG: If Local_localaddr resolves to $#ok, localaddr is terminated
193290792Sgshapiro		immediately.
193390792Sgshapiro	CONFIG: FEATURE(`enhdnsbl') is an enhanced version of dnsbl which
193490792Sgshapiro		allows checking of the return values of the DNS lookups.
193590792Sgshapiro		See cf/README for details.
193690792Sgshapiro	CONFIG: FEATURE(`dnsbl') allows now to specify the behavior for
193790792Sgshapiro		temporary lookup failures.
193890792Sgshapiro	CONFIG: New option confDELIVER_BY_MIN to specify minimum time for
193990792Sgshapiro		Deliver By (RFC 2852) or to turn off the extension.
194090792Sgshapiro	CONFIG: New option confSHARED_MEMORY_KEY to set the key for shared
194190792Sgshapiro		memory use.
194290792Sgshapiro	CONFIG: New FEATURE(`compat_check') to look up a key consisting
194390792Sgshapiro		of the sender and the recipient address delimited by the
194490792Sgshapiro		string "<@>", e.g., sender@sdomain<@>recipient@rdomain,
194590792Sgshapiro		in the access map.  Based on code contributed by Mathias
194690792Sgshapiro		Koerber of Singapore Telecommunications Ltd.
194790792Sgshapiro	CONFIG: Add EXPOSED_USER_FILE() command to allow an exposed user
194890792Sgshapiro		file.  Suggested by John Beck of Sun Microsystems.
194990792Sgshapiro	CONFIG: Don't use MAILER-DAEMON for error messages delivered
195090792Sgshapiro		via LMTP.  Problem reported by Larry Greenfield of CMU.
195190792Sgshapiro	CONFIG: New FEATURE(`preserve_luser_host') to preserve the name of
195290792Sgshapiro		the recipient host if LUSER_RELAY is used.
195390792Sgshapiro	CONFIG: New FEATURE(`preserve_local_plus_detail') to preserve the
195490792Sgshapiro		+detail portion of the address when passing address to
195590792Sgshapiro		local delivery agent.  Disables alias and .forward +detail
195690792Sgshapiro		stripping.  Only use if LDA supports this.
195790792Sgshapiro	CONFIG: Removed deprecated FEATURE(`rbl').
195890792Sgshapiro	CONFIG: Add LDAPROUTE_EQUIVALENT() and LDAPROUTE_EQUIVALENT_FILE()
195990792Sgshapiro		which allow you to specify 'equivalent' hosts for LDAP
196090792Sgshapiro		Routing lookups.  Equivalent hostnames are replaced by the
196190792Sgshapiro		masquerade domain name for lookups.  See cf/README for
196290792Sgshapiro		additional details.
196390792Sgshapiro	CONFIG: Add a fourth argument to FEATURE(`ldap_routing') which
196490792Sgshapiro		instructs the rulesets on what to do if the address being
196590792Sgshapiro		looked up has +detail information.  See cf/README for more
196690792Sgshapiro		information.
196790792Sgshapiro	CONFIG: When chosing a new destination via LDAP Routing, also look
196890792Sgshapiro		up the new routing address/host in the mailertable.  Based
196990792Sgshapiro		on patch from Don Badrak of the United States Census Bureau.
197090792Sgshapiro	CONFIG: Do not reject the SMTP Mail from: command if LDAP Routing
197190792Sgshapiro		is in use and the bounce option is enabled.  Only reject
197290792Sgshapiro		recipients as user unknown.
197390792Sgshapiro	CONFIG: Provide LDAP support for the remaining database map
197490792Sgshapiro		features.  See the ``USING LDAP FOR ALIASES AND MAPS''
197590792Sgshapiro		section of cf/README for more information.
197690792Sgshapiro	CONFIG: Add confLDAP_CLUSTER which defines the ${sendmailMTACluster}
197790792Sgshapiro		macro used for LDAP searches as described above in ``USING
197890792Sgshapiro		LDAP FOR ALIASES, MAPS, AND CLASSES''.
197990792Sgshapiro	CONFIG: confCLIENT_OPTIONS has been replaced by CLIENT_OPTIONS(),
198090792Sgshapiro		which takes the options as argument and can be used
198190792Sgshapiro		multiple times; see cf/README for details.
198290792Sgshapiro	CONFIG: Add configuration macros for new options:
198390792Sgshapiro		confBAD_RCPT_THROTTLE		BadRcptThrottle
198490792Sgshapiro		confDIRECT_SUBMISSION_MODIFIERS	DirectSubmissionModifiers
198590792Sgshapiro		confMAILBOX_DATABASE		MailboxDatabase
198690792Sgshapiro		confMAX_QUEUE_CHILDREN		MaxQueueChildren
198790792Sgshapiro		confMAX_RUNNERS_PER_QUEUE	MaxRunnersPerQueue
198890792Sgshapiro		confNICE_QUEUE_RUN		NiceQueueRun
198990792Sgshapiro		confQUEUE_FILE_MODE		QueueFileMode
199090792Sgshapiro		confFAST_SPLIT			FastSplit
199190792Sgshapiro		confTLS_SRV_OPTIONS		TLSSrvOptions
199290792Sgshapiro		See above (and related documentation) for further information.
199390792Sgshapiro	CONFIG: Add configuration variables for new timeout options:
199490792Sgshapiro		confTO_ACONNECT		Timeout.aconnect
199590792Sgshapiro		confTO_AUTH		Timeout.auth
199690792Sgshapiro		confTO_LHLO		Timeout.lhlo
199790792Sgshapiro		confTO_STARTTLS		Timeout.starttls
199890792Sgshapiro	CONFIG: Add configuration macros for mail filter API:
199990792Sgshapiro		confINPUT_MAIL_FILTERS		InputMailFilters
200090792Sgshapiro		confMILTER_LOG_LEVEL		Milter.LogLevel
200190792Sgshapiro		confMILTER_MACROS_CONNECT	Milter.macros.connect
200290792Sgshapiro		confMILTER_MACROS_HELO		Milter.macros.helo
200390792Sgshapiro		confMILTER_MACROS_ENVFROM	Milter.macros.envfrom
200490792Sgshapiro		confMILTER_MACROS_ENVRCPT	Milter.macros.envrcpt
200590792Sgshapiro		Mail filters can be defined via INPUT_MAIL_FILTER() and
200690792Sgshapiro		MAIL_FILTER().  See libmilter/README, cf/README, and
200790792Sgshapiro		doc/op/op.me for details.
200890792Sgshapiro	CONFIG: Add support for accepting temporarily unresolvable domains.
200990792Sgshapiro		See cf/README for details.  Based on patch by Motonori
201090792Sgshapiro		Nakamura of Kyoto University.
201190792Sgshapiro	CONFIG: confDEQUOTE_OPTS can be used to specify options for the
201290792Sgshapiro		dequote map.
201390792Sgshapiro	CONFIG: New macro QUEUE_GROUP() to define queue groups.
201490792Sgshapiro	CONFIG: New FEATURE(`queuegroup') to select a queue group based
201590792Sgshapiro		on the full e-mail address or the domain of the recipient.
201690792Sgshapiro	CONFIG: Any IPv6 addresses used in configuration should be prefixed
201790792Sgshapiro		by the "IPv6:" tag to identify the address properly.  For
201890792Sgshapiro		example, if you want to use the IPv6 address
201990792Sgshapiro		2002:c0a8:51d2::23f4 in the access database, you would need
202090792Sgshapiro		to use IPv6:2002:c0a8:51d2::23f4 on the left hand side.
202190792Sgshapiro		This affects the access database as well as the
202290792Sgshapiro		relay-domains and local-host-names files.
202390792Sgshapiro	CONFIG: OSTYPE(aux) has been renamed to OSTYPE(a-ux).
202490792Sgshapiro	CONFIG: Avoid expansion of m4 keywords in SMART_HOST.
202590792Sgshapiro	CONFIG: Add MASQUERADE_EXCEPTION_FILE() for reading masquerading
202690792Sgshapiro		exceptions from a file.  Suggested by Trey Breckenridge of
202790792Sgshapiro		Mississippi State University.
202890792Sgshapiro	CONFIG: Add LOCAL_USER_FILE() for reading local users
202990792Sgshapiro		(LOCAL_USER() -- $={L}) entries from a file.
203090792Sgshapiro	CONTRIB: dnsblaccess.m4 is a further enhanced version of enhdnsbl.m4
203190792Sgshapiro		which allows to lookup error codes in the access map.
203290792Sgshapiro		Contributed by Neil Rickert of Northern Illinois University.
203390792Sgshapiro	DEVTOOLS: Add new options for installation of include and library
203490792Sgshapiro		files: confINCGRP, confINCMODE, confINCOWN, confLIBGRP,
203590792Sgshapiro		confLIBMODE, confLIBOWN.
203690792Sgshapiro	DEVTOOLS: Add new option confDONT_INSTALL_CATMAN to turn off
203790792Sgshapiro		installation of the the formatted man pages on operating
203890792Sgshapiro		systems which don't include cat directories.
203990792Sgshapiro	EDITMAP: New program for editing maps as supplement to makemap.
204090792Sgshapiro	MAIL.LOCAL: Mail.local now uses the libsm mbdb package to look up
204190792Sgshapiro		local mail recipients.  New option -D mbdb specifies the
204290792Sgshapiro		mailbox database type.
204390792Sgshapiro	MAIL.LOCAL: New option "-h filename" which instructs mail.local to
204490792Sgshapiro		deliver the mail to the named file in the user's home
204590792Sgshapiro		directory instead of the system mail spool area.  Based on
204690792Sgshapiro		patch from Doug Hardie of the Los Angeles Free-Net.
204790792Sgshapiro	MAILSTATS: New command line option -P which acts the same as -p but
204890792Sgshapiro		doesn't truncate the statistics file.
204990792Sgshapiro	MAKEMAP: Add new option -t to specify a different delimiter
205090792Sgshapiro		instead of white space.
205190792Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
205290792Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
205390792Sgshapiro		Meteorological Institute.
205490792Sgshapiro	SMRSH: Use the vendor supplied directory on FreeBSD 3.3 and later.
205590792Sgshapiro	VACATION: Change Auto-Submitted: header value from auto-generated to
205690792Sgshapiro		auto-replied.  From Kenneth Murchison of Oceana Matrix Ltd.
205790792Sgshapiro	VACATION: New option -d to send error/debug messages to stdout
205890792Sgshapiro		instead of syslog.
205990792Sgshapiro	VACATION: New option -U which prevents the attempt to lookup login
206090792Sgshapiro		in the password file.  The -f and -m options must be used
206190792Sgshapiro		to specify the database and message file since there is no
206290792Sgshapiro		home directory for the default settings for these options.
206390792Sgshapiro	VACATION: Vacation now uses the libsm mbdb package to look up
206490792Sgshapiro		local mail recipients; it reads the MailboxDatabase option
206590792Sgshapiro		from the sendmail.cf file.  New option -C cffile which
206690792Sgshapiro		specifies the path of the sendmail.cf file.
206790792Sgshapiro	New Directories:
206890792Sgshapiro		libmilter/docs
206990792Sgshapiro	New Files:
207090792Sgshapiro		cf/cf/README
207190792Sgshapiro		cf/cf/submit.cf
207290792Sgshapiro		cf/cf/submit.mc
207390792Sgshapiro		cf/feature/authinfo.m4
207490792Sgshapiro		cf/feature/compat_check.m4
207590792Sgshapiro		cf/feature/enhdnsbl.m4
207690792Sgshapiro		cf/feature/msp.m4
207790792Sgshapiro		cf/feature/local_no_masquerade.m4
207890792Sgshapiro		cf/feature/lookupdotdomain.m4
207990792Sgshapiro		cf/feature/preserve_luser_host.m4
208090792Sgshapiro		cf/feature/preserve_local_plus_detail.m4
208190792Sgshapiro		cf/feature/queuegroup.m4
208290792Sgshapiro		cf/sendmail.schema
208390792Sgshapiro		contrib/dnsblaccess.m4
208490792Sgshapiro		devtools/M4/UNIX/sm-test.m4
208590792Sgshapiro		devtools/OS/OpenUNIX.5.i386
208690792Sgshapiro		editmap/*
208790792Sgshapiro		include/sm/*
208890792Sgshapiro		libsm/*
208990792Sgshapiro		libsmutil/cf.c
209090792Sgshapiro		libsmutil/err.c
209190792Sgshapiro		sendmail/SECURITY
209290792Sgshapiro		sendmail/TUNING
209390792Sgshapiro		sendmail/bf.c
209490792Sgshapiro		sendmail/bf.h
209590792Sgshapiro		sendmail/sasl.c
209690792Sgshapiro		sendmail/sm_resolve.c
209790792Sgshapiro		sendmail/sm_resolve.h
209890792Sgshapiro		sendmail/tls.c
209990792Sgshapiro	Deleted Files:
210090792Sgshapiro		cf/feature/rbl.m4
210190792Sgshapiro		cf/ostype/aix2.m4
210290792Sgshapiro		devtools/OS/AIX.2
210390792Sgshapiro		include/sendmail/cdefs.h
210490792Sgshapiro		include/sendmail/errstring.h
210590792Sgshapiro		include/sendmail/useful.h
210690792Sgshapiro		libsmutil/errstring.c
210790792Sgshapiro		sendmail/bf_portable.c
210890792Sgshapiro		sendmail/bf_portable.h
210990792Sgshapiro		sendmail/bf_torek.c
211090792Sgshapiro		sendmail/bf_torek.h
211190792Sgshapiro		sendmail/clock.c
211290792Sgshapiro	Renamed Files:
211390792Sgshapiro		cf/cf/generic-solaris2.mc => cf/cf/generic-solaris.mc
211490792Sgshapiro		cf/cf/generic-solaris2.cf => cf/cf/generic-solaris.cf
211590792Sgshapiro		cf/ostype/aux.m4 => cf/ostype/a-ux.m4
211690792Sgshapiro
211790792Sgshapiro8.11.7/8.11.7	2003/03/29
211890792Sgshapiro	SECURITY: Fix a remote buffer overflow in header parsing by
211990792Sgshapiro		dropping sender and recipient header comments if the
212090792Sgshapiro		comments are too long.  Problem noted by Mark Dowd
212190792Sgshapiro		of ISS X-Force.
212290792Sgshapiro	SECURITY: Fix a buffer overflow in address parsing due to
212390792Sgshapiro		a char to int conversion problem which is potentially
212490792Sgshapiro		remotely exploitable.  Problem found by Michal Zalewski.
212590792Sgshapiro		Note: an MTA that is not patched might be vulnerable to
212690792Sgshapiro		data that it receives from untrusted sources, which
212790792Sgshapiro		includes DNS.
212890792Sgshapiro	To provide partial protection to internal, unpatched sendmail MTAs,
212990792Sgshapiro		8.11.7 changes by default (char)0xff to (char)0x7f in
213090792Sgshapiro		headers etc.  To turn off this conversion compile with
213190792Sgshapiro		-DALLOW_255 or use the command line option -d82.101.
213290792Sgshapiro	To provide partial protection for internal, unpatched MTAs that may be
213390792Sgshapiro		performing 7->8 or 8->7 bit MIME conversions, the default
213490792Sgshapiro		for MaxMimeHeaderLength has been changed to 2048/1024.
213590792Sgshapiro		Note: this does have a performance impact, and it only
213690792Sgshapiro		protects against frontal attacks from the outside.
213790792Sgshapiro		To disable the checks and return to pre-8.11.7 defaults,
213890792Sgshapiro		set MaxMimeHeaderLength to 0/0.
213990792Sgshapiro	Properly clean up macros to avoid persistence of session data
214090792Sgshapiro		across various connections.  This could cause session
214190792Sgshapiro		oriented restrictions, e.g., STARTTLS requirements,
214290792Sgshapiro		to erroneously allow a connection.  Problem noted
214390792Sgshapiro		by Tim Maletic of Priority Health.
214490792Sgshapiro	Ignore comments in NIS host records when trying to find the
214590792Sgshapiro		canonical name for a host.
214690792Sgshapiro	Fix a memory leak when closing Hesiod maps.
214790792Sgshapiro	Set ${msg_size} macro when reading a message from the command line
214890792Sgshapiro		or the queue.
214990792Sgshapiro	Prevent a segmentation fault when clearing the event list by
215090792Sgshapiro		turning off alarms before checking if event list is
215190792Sgshapiro		empty.  Problem noted by Allan E Johannesen of Worcester
215290792Sgshapiro		Polytechnic Institute.
215390792Sgshapiro	Fix a potential core dump problem if the environment variable
215490792Sgshapiro		NAME is set.  Problem noted by Beth A. Chaney of
215590792Sgshapiro		Purdue University.
215690792Sgshapiro	Prevent a race condition on child cleanup for delivery to files.
215790792Sgshapiro		Problem noted by Fletcher Mattox of the University of
215890792Sgshapiro		Texas.
215990792Sgshapiro	CONFIG: Do not bounce mail if FEATURE(`ldap_routing')'s bounce
216090792Sgshapiro		parameter is set and the LDAP lookup returns a temporary
216190792Sgshapiro		error.
216290792Sgshapiro	CONFIG: Fix a syntax error in the try_tls ruleset if
216390792Sgshapiro		FEATURE(`access_db') is not enabled.
216490792Sgshapiro	LIBSMDB: Fix a lock race condition that affects makemap, praliases,
216590792Sgshapiro		and vacation.
216690792Sgshapiro	LIBSMDB: Avoid a file creation race condition for Berkeley DB 1.X
216790792Sgshapiro		and NDBM on systems with the O_EXLOCK open(2) flag.
216890792Sgshapiro	MAKEMAP: Avoid going beyond the end of an input line if it does
216990792Sgshapiro		not contain a value for a key.  Based on patch from
217090792Sgshapiro		Mark Bixby from Hewlett-Packard.
217190792Sgshapiro	MAIL.LOCAL: Fix a truncation race condition if the close() on
217290792Sgshapiro		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
217390792Sgshapiro		Sun Microsystems.
217490792Sgshapiro	SMRSH: SECURITY: Only allow regular files or symbolic links to be
217590792Sgshapiro		used for a command.  Problem noted by David Endler of
217690792Sgshapiro		iDEFENSE, Inc.
217790792Sgshapiro
217890792Sgshapiro8.11.6/8.11.6	2001/08/20
217990792Sgshapiro	SECURITY: Fix a possible memory access violation when specifying
218090792Sgshapiro		out-of-bounds debug parameters.  Problem detected by
218190792Sgshapiro		Cade Cairns of SecurityFocus.
218290792Sgshapiro	Avoid leaking recipient information in unrelated DSNs.  This could
218390792Sgshapiro		happen if a connection is aborted, several mails had been
218490792Sgshapiro		scheduled for delivery via that connection, and the timeout
218590792Sgshapiro		is reached such that several DSNs are sent next.  Problem
218690792Sgshapiro		noted by Dileepan Moorkanat of Hewlett-Packard.
218790792Sgshapiro	Fix a possible segmentation violation when specifying too many
218890792Sgshapiro		wildcard operators in a rule.  Problem detected by
218990792Sgshapiro		Werner Wiethege.
219090792Sgshapiro	Avoid a segmentation fault on non-matching Hesiod lookups.  Problem
219190792Sgshapiro		noted by Russell McOrmond of flora.ca
219290792Sgshapiro
219390792Sgshapiro8.11.5/8.11.5	2001/07/31
219490792Sgshapiro	Fix a possible race condition when sending a HUP signal to restart
219590792Sgshapiro		the daemon.  This could terminate the current process without
219690792Sgshapiro		starting a new daemon.  Problem reported by Wolfgang Breyha
219790792Sgshapiro		of SE Netway Communications.
219890792Sgshapiro	Only apply MaxHeadersLength when receiving a message via SMTP or
219990792Sgshapiro		the command line.  Problem noted by Andrey J. Melnikoff.
220090792Sgshapiro	When finding the system's local hostname on an IPv6-enabled system
220190792Sgshapiro		which doesn't have any IPv6 interface addresses, fall back
220290792Sgshapiro		to looking up only IPv4 addresses.  Problem noted by Tim
220390792Sgshapiro		Bosserman of EarthLink.
220490792Sgshapiro	When commands were being rejected due to check_relay or TCP
220590792Sgshapiro		Wrappers, the ETRN command was not giving a response.
220690792Sgshapiro	Incoming IPv4 connections on a Family=inet6 daemon (using
220790792Sgshapiro		IPv4-mapped addresses) were incorrectly labeled as "may be
220890792Sgshapiro		forged".  Problem noted by Per Steinar Iversen of Oslo
220990792Sgshapiro		University College.
221090792Sgshapiro	Shutdown address test mode cleanly on SIGTERM.  Problem noted by
221190792Sgshapiro		Greg King of the OAO Corporation.
221290792Sgshapiro	Restore the original real uid (changed in main() to prevent
221390792Sgshapiro		out of band signals) before invoking a delivery agent.
221490792Sgshapiro		Some delivery agents use this for the "From " envelope
221590792Sgshapiro		"header".  Problem noted by Leslie Carroll of the
221690792Sgshapiro		University at Albany.
221790792Sgshapiro	Mark closed file descriptors properly to avoid reuse. Problem
221890792Sgshapiro		noted by Jeff Bronson of J.D. Bronson, Inc.
221990792Sgshapiro	Setting Timeout options on the command line will also override
222090792Sgshapiro		their sub-suboptions in the .cf file, e.g., -O
222190792Sgshapiro		Timeout.queuereturn=2d will set all queuereturn timeouts
222290792Sgshapiro		to 2 days.  Problem noted by Roger B.A. Klorese.
222390792Sgshapiro	Portability:
222490792Sgshapiro		BSD/OS has a broken setreuid() implementation.  Problem
222590792Sgshapiro			noted by Vernon Schryver of Rhyolite Software.
222690792Sgshapiro		BSD/OS has /dev/urandom(4) (as of version 4.1/199910 ?).
222790792Sgshapiro			Noted by Vernon Schryver of Rhyolite Software.
222890792Sgshapiro		BSD/OS has fchown(2).  Noted by Dave Yadallee of Netline
222990792Sgshapiro			2000 Internet Solutions Inc.
223090792Sgshapiro		Solaris 2.X and later have strerror(3).  From Sebastian
223190792Sgshapiro			Hagedorn of Cologne University.
223290792Sgshapiro	CONFIG: Fix parsing for IPv6 domain literals in addresses
223390792Sgshapiro		(user@[IPv6:address]).  Problem noted by Liyuan Zhou.
223490792Sgshapiro
223590792Sgshapiro8.11.4/8.11.4	2001/05/28
223690792Sgshapiro	Clean up signal handling routines to reduce the chances of heap
223790792Sgshapiro		corruption and other potential race conditions.
223890792Sgshapiro		Terminating and restarting the daemon may not be
223990792Sgshapiro		instantaneous due to this change.  Also, non-root users can
224090792Sgshapiro		no longer send out-of-band signals.  Problem reported by
224190792Sgshapiro		Michal Zalewski of BindView.
224290792Sgshapiro	If LogLevel is greater than 9 and SASL fails to negotiate an
224390792Sgshapiro		encryption layer, avoid core dump logging the encryption
224490792Sgshapiro		strength.  Problem noted by Miroslav Zubcic of Crol.
224590792Sgshapiro	If a server offers "AUTH=" and "AUTH " and the list of mechanisms is
224690792Sgshapiro		different in those two lines, sendmail might not have
224790792Sgshapiro		recognized (and used) all of the offered mechanisms.
224890792Sgshapiro	Fix an IP address lookup problem on Solaris 2.0 - 2.3.  Patch
224990792Sgshapiro		from Kenji Miyake.
225090792Sgshapiro	This time, really don't use the .. directory when expanding
225190792Sgshapiro		QueueDirectory wildcards.
225290792Sgshapiro	If a process is interrupted while closing a map, don't try to close
225390792Sgshapiro		the same map again while exiting.
225490792Sgshapiro	Allow local mailers (F=l) to contact remote hosts (e.g., via
225590792Sgshapiro		LMTP).  Problem noted by Norbert Klasen of the University
225690792Sgshapiro		of Tuebingen.
225790792Sgshapiro	If Timeout.QueueReturn was set to a value less the time it took
225890792Sgshapiro		to write a new queue file (e.g., 0 seconds), the bounce
225990792Sgshapiro		message would be lost.  Problem noted by Lorraine L Goff of
226090792Sgshapiro		Oklahoma State University.
226190792Sgshapiro	Pass map argument vector into map rewriting engine for the regex
226290792Sgshapiro		and prog map types.  Problem noted by Stephen Gildea of
226390792Sgshapiro		InTouch Systems, Inc.
226490792Sgshapiro	When closing an LDAP map due to a temporary error, close all of the
226590792Sgshapiro		other LDAP maps which share the original map's connection
226690792Sgshapiro		to the LDAP server.  Patch from Victor Duchovni of
226790792Sgshapiro		Morgan Stanley.
226890792Sgshapiro	To detect changes of NDBM aliases files check the timestamp of the
226990792Sgshapiro		.pag file instead of the .dir file.  Problem noted by Neil
227090792Sgshapiro		Rickert of Northern Illinois University.
227190792Sgshapiro	Don't treat temporary hesiod lookup failures as permanent.  Patch
227290792Sgshapiro		from Werner Wiethege.
227390792Sgshapiro	If ClientPortOptions is set, make sure to create the outgoing socket
227490792Sgshapiro		with the family set in that option.  Patch from Sean Farley.
227590792Sgshapiro	Avoid a segmentation fault trying to dereference a NULL pointer
227690792Sgshapiro		when logging a MaxHopCount exceeded error with an empty
227790792Sgshapiro		recipient list.  Problem noted by Chris Adams of HiWAAY
227890792Sgshapiro		Internet Services.
227990792Sgshapiro	Fix DSN for "Too many hops" bounces.  Problem noticed by Ulrich
2280120256Sgshapiro		Windl of the Universitaet Regensburg.
2281120256Sgshapiro	Fix DSN for "mail loops back to me" bounces.  Problem noticed by
2282120256Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
2283120256Sgshapiro	Portability:
2284120256Sgshapiro		OpenBSD has a broken setreuid() implementation.
2285120256Sgshapiro	CONFIG: Undo change from 8.11.1: change 501 SMTP reply code back
2286120256Sgshapiro		to 553 since it is allowed by DRUMS.
2287120256Sgshapiro	CONFIG: Add OSTYPE(freebsd4) for FreeBSD 4.X.
2288120256Sgshapiro	DEVTOOLS: install.sh did not properly handle paths in the source
2289120256Sgshapiro		file name argument.  Noted by Kari Hurtta of the Finnish
2290120256Sgshapiro		Meteorological Institute.
2291120256Sgshapiro	DEVTOOLS: Add FAST_PID_RECYCLE to compile time options for OpenBSD
2292120256Sgshapiro		since it generates random process ids.
2293120256Sgshapiro	PRALIASES: Add back adaptive algorithm to deal with different endings
2294120256Sgshapiro		of entries in the database (with/without trailing '\0').
2295120256Sgshapiro		Patch from John Beck of Sun Microsystems.
2296120256Sgshapiro	New Files:
2297120256Sgshapiro		cf/ostype/freebsd4.m4
2298120256Sgshapiro
2299120256Sgshapiro8.11.3/8.11.3	2001/02/27
2300120256Sgshapiro	Prevent a segmentation fault when a bogus value was used in the
2301120256Sgshapiro		LDAPDefaultSpec option's -r, -s, or -M flags and if a bogus
2302120256Sgshapiro		option was used.  Problem noted by Allan E Johannesen of
2303120256Sgshapiro		Worcester Polytechnic Institute.
2304120256Sgshapiro	Prevent "token too long" message by shortening {currHeader} which
2305120256Sgshapiro		could be too long if the last copied character was a quote.
2306120256Sgshapiro		Problem detected by Jan Krueger of digitalanswers
2307120256Sgshapiro		communications consulting gmbh.
2308120256Sgshapiro	Additional IPv6 check for unspecified addresses.  Patch from
2309120256Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
2310120256Sgshapiro	Do not ignore the ClientPortOptions setting if DaemonPortOptions
2311120256Sgshapiro		Modifier=b (bind to same interface) is set and the
2312120256Sgshapiro		connection came in from the command line.
2313120256Sgshapiro	Do not bind to the loopback address if DaemonPortOptions
2314120256Sgshapiro		Modifier=b (bind to same interface) is set.  Patch from
2315120256Sgshapiro		John Beck of Sun Microsystems.
2316120256Sgshapiro	Properly deal with open failures on non-optional maps used in
2317120256Sgshapiro		check_* rulesets by returning a temporary failure.
2318120256Sgshapiro	Buffered file I/O files were not being properly fsync'ed to disk
2319120256Sgshapiro		when they were committed.
2320120256Sgshapiro	Properly encode '=' for the AUTH= parameter of the MAIL command.
2321120256Sgshapiro		Problem noted by Hadmut Danisch.
2322120256Sgshapiro	Under certain circumstances the macro {server_name} could be set
2323120256Sgshapiro		to the wrong hostname (of a previous connection), which may
2324120256Sgshapiro		cause some rulesets to return wrong results.  This would
2325120256Sgshapiro		usually cause mail to be queued up and delivered later on.
2326120256Sgshapiro	Ignore F=z (LMTP) mailer flag if $u is given in the mailer A=
2327120256Sgshapiro		equate.  Problem noted by Motonori Nakamura of Kyoto
2328120256Sgshapiro		University.
2329120256Sgshapiro	Work around broken accept() implementations which only partially
2330120256Sgshapiro		fill in the peer address if the socket is closed before
2331120256Sgshapiro		accept() completes.
2332120256Sgshapiro	Return an SMTP "421" temporary failure if the data file can't be
2333120256Sgshapiro		opened where the "354" reply would normally be given.
2334120256Sgshapiro	Prevent a CPU loop in trying to expand a macro which doesn't exist
2335120256Sgshapiro		in a queue run.  Problem noted by Gordon Lack of Glaxo
2336120256Sgshapiro		Wellcome.
2337120256Sgshapiro	If delivering via a program and that program exits with EX_TEMPFAIL,
2338120256Sgshapiro		note that fact for the mailq display instead of just showing
2339120256Sgshapiro		"Deferred".  Problem noted by Motonori Nakamura of Kyoto
2340120256Sgshapiro		University.
234182017Sgshapiro	If doing canonification via /etc/hosts, try both the fully
234282017Sgshapiro		qualified hostname as well as the first portion of the
234382017Sgshapiro		hostname.  Problem noted by David Bremner of the
234482017Sgshapiro		University of New Brunswick.
234582017Sgshapiro	Portability:
234682017Sgshapiro		Fix a compilation problem for mail.local and rmail if SFIO
234782017Sgshapiro			is in use.  Problem noted by Auteria Wally
234882017Sgshapiro			Winzer Jr. of Champion Nutrition.
234982017Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
235082017Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
235182017Sgshapiro		OpenBSD 2.7 and higher has srandomdev(3).  OpenBSD 2.8 and
235282017Sgshapiro			higher has BSDI-style login classes.  Patch from
235382017Sgshapiro			Todd C.  Miller of Courtesan Consulting.
235482017Sgshapiro		Unixware 7.1.1 doesn't allow h_errno to be set directly if
235582017Sgshapiro			sendmail is being compiled with -kthread.  Problem
235680785Sgshapiro			noted by Orion Poplawski of CQG, Inc.
235780785Sgshapiro	CONTRIB: buildvirtuser: Substitute current domain for $DOMAIN and
235880785Sgshapiro		current left hand side for $LHS in virtuser files.
235980785Sgshapiro	DEVTOOLS: Do not pass make targets to recursive Build invocations.
236080785Sgshapiro		Problem noted by Jeff Bronson of J.D. Bronson, Inc.
236180785Sgshapiro	MAIL.LOCAL: In LMTP mode, do not return errors regarding problems
236280785Sgshapiro		storing the temporary message file until after the remote
236380785Sgshapiro		side has sent the final DATA termination dot.  Problem
236480785Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic
236580785Sgshapiro		Institute.
236680785Sgshapiro	MAIL.LOCAL: If LMTP mode is set, give a temporary error if users
236780785Sgshapiro		are also specified on the command line.  Patch from
236880785Sgshapiro		Motonori Nakamura of Kyoto University.
236980785Sgshapiro	PRALIASES: Skip over AliasFile specifications which aren't based on
237080785Sgshapiro		database files (i.e., only show dbm, hash, and btree).
237180785Sgshapiro	Renamed Files:
237280785Sgshapiro		devtools/OS/OSF1.V5.0 => devtools/OS/OSF1.V5.x
237380785Sgshapiro
237480785Sgshapiro8.11.2/8.11.2	2000/12/29
237580785Sgshapiro	Prevent a segmentation fault when trying to set a class in
237680785Sgshapiro		address test mode due to a negative array index.  Audit
237780785Sgshapiro		other array indexing.  This bug is not believed to be
237880785Sgshapiro		exploitable.  Noted by Michal Zalewski of the "Internet for
237980785Sgshapiro		Schools" project (IdS).
238080785Sgshapiro	Add an FFR (for future release) to drop privileges when using
238180785Sgshapiro		address test mode.  This will be turned on in 8.12. It can
238280785Sgshapiro		be enabled by compiling with:
238380785Sgshapiro		APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TESTMODE_DROP_PRIVS')
238480785Sgshapiro		in your devtools/Site/site.config.m4 file.  Suggested by
238580785Sgshapiro		Michal Zalewski of the "Internet for Schools" project (IdS).
238680785Sgshapiro	Fix potential problem with Cyrus-SASL security layer which may have
238780785Sgshapiro		caused I/O errors, especially for mechanism DIGEST-MD5.
238880785Sgshapiro	When QueueSortOrder was set to host, sendmail might not read
238980785Sgshapiro		enough of the queue file to determine the host, making the
239080785Sgshapiro		sort sub-optimal.  Problem noted by Jeff Earickson of
239180785Sgshapiro		Colby College.
239280785Sgshapiro	Don't issue DSNs for addresses which use the NOTIFY parameter (per
239380785Sgshapiro		RFC 1891) but don't have FAILURE as value.
239480785Sgshapiro	Initialize Cyrus-SASL library before the SMTP daemon is started.
239580785Sgshapiro		This implies that every change to SASL related files requires
239680785Sgshapiro		a restart of the daemon, e.g., Sendmail.conf, new SASL
239780785Sgshapiro		mechanisms (in form of shared libraries).
239877349Sgshapiro	Properly set the STARTTLS related macros during a queue run for
239977349Sgshapiro		a cached connection.  Bug reported by Michael Kellen of
240077349Sgshapiro		NxNetworks, Inc.
240177349Sgshapiro	Log the server name in relay= for ruleset tls_server instead of the
240277349Sgshapiro		client name.
240377349Sgshapiro	Include original length of bad field/header when reporting
240477349Sgshapiro		MaxMimeHeaderLength problems.  Requested by Ulrich Windl of
240577349Sgshapiro		the Universitat Regensburg.
240677349Sgshapiro	Fix delivery to set-user-ID files that are expanded from aliases in
240777349Sgshapiro		DeliveryMode queue.  Problem noted by Ric Anderson of the
240877349Sgshapiro		University of Arizona.
240977349Sgshapiro	Fix LDAP map -m (match only) flag.  Problem noted by Jeff Giuliano
241077349Sgshapiro		of Collective Technologies.
241177349Sgshapiro	Avoid using a negative argument for sleep() calls when delaying answers
241277349Sgshapiro		to EXPN/VRFY commands on systems which respond very slowly.
241377349Sgshapiro		Problem noted by Mikolaj J. Habryn of Optus Internet
241477349Sgshapiro		Engineering.
241577349Sgshapiro	Make sure the F=u flag is set in the default prog mailer
241677349Sgshapiro		definition.  Problem noted by Kari Hurtta of the Finnish
241777349Sgshapiro		Meteorological Institute.
241877349Sgshapiro	Fix IPv6 check for unspecified addresses.  Patch from
241977349Sgshapiro		Jun-ichiro itojun Hagino of the KAME Project.
242077349Sgshapiro	Fix return values for IRIX nsd map.  From Kari Hurtta of the Finnish
242177349Sgshapiro		Meteorological Institute.
242277349Sgshapiro	Fix parsing of DaemonPortOptions and ClientPortOptions.  Read all
242377349Sgshapiro		of the parameters to find Family= setting before trying to
242477349Sgshapiro		interpret Addr= and Port=.  Problem noted by Valdis
242577349Sgshapiro		Kletnieks of Virginia Tech.
242677349Sgshapiro	When delivering to a file directly from an alias, do not call
242777349Sgshapiro		initgroups(); instead use the DefaultUser group information.
242877349Sgshapiro		Problem noted by Marc Schaefer of ALPHANET NF.
242977349Sgshapiro	RunAsUser now overrides the ownership of the control socket, if
243077349Sgshapiro		created.  Otherwise, sendmail can not remove it upon
243177349Sgshapiro		close.  Problem noted by Werner Wiethege.
243277349Sgshapiro	Fix ConnectionRateThrottle counting as the option is the number of
243377349Sgshapiro		overall connections, not the number of connections per
243477349Sgshapiro		socket.  A future version may change this to per socket
243577349Sgshapiro		counting.
243677349Sgshapiro	Portability:
243777349Sgshapiro		Clean up libsmdb so it functions properly on platforms
243877349Sgshapiro			where sizeof(u_int32_t) != sizeof(size_t).  Problem
243977349Sgshapiro			noted by Rein Tollevik of Basefarm AS.
244077349Sgshapiro		Fix man page formatting for compatibility with Solaris'
244177349Sgshapiro			whatis.  From Stephen Gildea of InTouch Systems, Inc.
244277349Sgshapiro		UnixWare 7 includes snprintf() support.  From Larry
244377349Sgshapiro			Rosenman.
244477349Sgshapiro		IPv6 changes for platforms using KAME.  Patch from
244577349Sgshapiro			Jun-ichiro itojun Hagino of the KAME Project.
244677349Sgshapiro		Avoid a typedef compile conflict with Berkeley DB 3.X and
244777349Sgshapiro			Solaris 2.5 or earlier.  Problem noted by Bob Hughes
244877349Sgshapiro			of Pacific Access.
244977349Sgshapiro		Add preliminary support for AIX 5.  Contributed by
245077349Sgshapiro			Valdis Kletnieks of Virginia Tech.
245177349Sgshapiro		Solaris 9 load average support from Andrew Tucker of Sun
245277349Sgshapiro			Microsystems.
245377349Sgshapiro	CONFIG: Reject addresses of the form a!b if FEATURE(`nouucp', `r')
245477349Sgshapiro		is used.  Problem noted by Phil Homewood of Asia Online,
245577349Sgshapiro		patch from Neil Rickert of Northern Illinois University.
245677349Sgshapiro	CONFIG: Change the default DNS based blacklist server for
245777349Sgshapiro		FEATURE(`dnsbl') to blackholes.mail-abuse.org.
245877349Sgshapiro	CONFIG: Deal correctly with the 'C' flag in {daemon_flags}, i.e.,
245977349Sgshapiro		implicitly assume canonical host names.
246077349Sgshapiro	CONFIG: Deal with "::" in IPv6 addresses for access_db.  Based on
246177349Sgshapiro		patch by Motonori Nakamura of Kyoto University.
246273188Sgshapiro	CONFIG: New OSTYPE(`aix5') contributed by Valdis Kletnieks of
246373188Sgshapiro		Virginia Tech.
246473188Sgshapiro	CONFIG: Pass the illegal header form <list:;> through untouched
246573188Sgshapiro		instead of making it worse.  Problem noted by Motonori
246673188Sgshapiro		Nakamura of Kyoto University.
246773188Sgshapiro	CONTRIB: Added buildvirtuser (see `perldoc contrib/buildvirtuser`).
246873188Sgshapiro	CONTRIB: qtool.pl: An empty queue is not an error.  Problem noted
246973188Sgshapiro		by Jan Krueger of digitalanswers communications consulting
247073188Sgshapiro		gmbh.
247173188Sgshapiro	CONTRIB: domainmap.m4: Handle domains with '-' in them.  From Mark
247273188Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
247373188Sgshapiro	DEVTOOLS: Change the internal devtools OS, REL, and ARCH m4
247473188Sgshapiro		variables into bldOS, bldREL, and bldARCH to prevent
247573188Sgshapiro		namespace collisions.  Problem noted by Motonori Nakamura
247673188Sgshapiro		of Kyoto University.
247773188Sgshapiro	RMAIL: Undo the 8.11.1 change to use -G when calling sendmail.  It
247873188Sgshapiro		causes some changes in behavior and may break rmail for
247973188Sgshapiro		installations where sendmail is actually a wrapper to
248073188Sgshapiro		another MTA.  The change will re-appear in a future
248173188Sgshapiro		version.
248273188Sgshapiro	SMRSH: Use the vendor supplied directory on HPUX 10.X, HPUX 11.X,
248373188Sgshapiro		and SunOS 5.8.  Requested by Jeff A. Earickson of Colby
248473188Sgshapiro		College and John Beck of Sun Microsystems.
248573188Sgshapiro	VACATION: Fix pattern matching for addresses to ignore.
248673188Sgshapiro	VACATION: Don't reply to addresses of the form owner-*
248773188Sgshapiro		or *-owner.
248873188Sgshapiro	New Files:
248973188Sgshapiro		cf/ostype/aix5.m4
249073188Sgshapiro		contrib/buildvirtuser
249173188Sgshapiro		devtools/OS/AIX.5.0
249273188Sgshapiro
249373188Sgshapiro8.11.1/8.11.1	2000/09/27
249473188Sgshapiro	Fix SMTP EXPN command output if the address expands to a single
249573188Sgshapiro		name.  Fix from John Beck of Sun Microsystems.
249673188Sgshapiro	Don't try STARTTLS in the client if the PRNG has not been properly
249773188Sgshapiro		seeded.  This problem only occurs on systems without
249873188Sgshapiro		/dev/urandom.  Problem detected by Jan Krueger of
249973188Sgshapiro		digitalanswers communications consulting gmbh and
250073188Sgshapiro		Neil Rickert of Northern Illinois University.
250173188Sgshapiro	Don't use the . and .. directories when expanding QueueDirectory
250273188Sgshapiro		wildcards.
250373188Sgshapiro	Do not try to cache LDAP connections across processes as a parent
250473188Sgshapiro		process may close the connection before the child process
250573188Sgshapiro		has completed.  Problem noted by Lai Yiu Fai of the Hong
250673188Sgshapiro		Kong University of Science and Technology and Wolfgang
250773188Sgshapiro		Hottgenroth of UUNET.
250873188Sgshapiro	Use Timeout.fileopen to limit the amount of time spent trying to
250973188Sgshapiro		read the LDAP secret from a file.
251073188Sgshapiro	Prevent SIGTERM from removing a command line submitted item after
251173188Sgshapiro		the user submits the message and before the first delivery
251273188Sgshapiro		attempt completes.  Problem noted by Max France of AlphaNet.
251373188Sgshapiro		Fix from Neil Rickert of Northern Illinois University.
251473188Sgshapiro	Deal correctly with MaxMessageSize restriction if message size is
251573188Sgshapiro		greater than 2^31.  Problem noted by Tim "Darth Dice" Bosserman
251673188Sgshapiro		of EarthLink.
251773188Sgshapiro	Turn off queue checkpointing if CheckpointInterval is set to zero.
251873188Sgshapiro	Treat an empty home directory (from getpw*() or $HOME) as
251973188Sgshapiro		non-existent instead of treating it as /.  Problem noted by
252073188Sgshapiro		Todd C. Miller of Courtesan Consulting.
252173188Sgshapiro	Don't drop duplicate headers when reading a queued item.  Problem
252273188Sgshapiro		noted by Motonori Nakamura of Kyoto University.
252373188Sgshapiro	Avoid bogus error text when logging the savemail panic "cannot
252473188Sgshapiro		save rejected email anywhere".  Problem noted by Marc G.
252573188Sgshapiro		Fournier of Acadia University.
252673188Sgshapiro	If an LDAP search fails because the LDAP server went down, close
252773188Sgshapiro		the map so subsequent searches reopen the map.  If there are
252873188Sgshapiro		multiple LDAP servers, the down server will be skipped and
252973188Sgshapiro		one of the others may be able to take over.
253073188Sgshapiro	Set the ${load_avg} macro to the current load average, not the
253173188Sgshapiro		previous load average query result.
253273188Sgshapiro	If a non-optional map used in a check_* ruleset can't be opened,
253373188Sgshapiro		return a temporary failure to the remote SMTP client
253473188Sgshapiro		instead of ignoring the map.  Problem noted by Allan E
253573188Sgshapiro		Johannesen of Worcester Polytechnic Institute.
253673188Sgshapiro	Avoid a race condition when queuing up split envelopes by saving
253771345Sgshapiro		the split envelopes before the original envelope.
253871345Sgshapiro	Fix a bug in the PH_MAP code which caused mail to bounce instead of
253971345Sgshapiro		defer if the PH server could not be contacted.  From Mark
254071345Sgshapiro		Roth of the University of Illinois at Urbana-Champaign.
254171345Sgshapiro	Prevent QueueSortOrder=Filename from interfering with -qR, -qS, and
254271345Sgshapiro		ETRN.  Problem noted by Erik R. Leo of SoVerNet.
254371345Sgshapiro	Change error code for unrecognized parameters to the SMTP MAIL and
254471345Sgshapiro		RCPT commands from 501 to 555 per RFC 1869.  Problem
254571345Sgshapiro		reported to Postfix by Robert Norris of Monash University.
254671345Sgshapiro	Prevent overwriting the argument of -B on certain OS.  Problem
254771345Sgshapiro		noted by Matteo Gelosa of I.NET S.p.A.
254871345Sgshapiro	Use the proper routine for freeing memory with Netscape's LDAP
254971345Sgshapiro		client libraries.  Patch from Paul Hilchey of the
255071345Sgshapiro		University of British Columbia.
255171345Sgshapiro	Portability:
255271345Sgshapiro		Move the NETINET6 define to devtools/OS/SunOS.5.{8,9}
255371345Sgshapiro			instead of defining it in conf.h so users can
255471345Sgshapiro			override the setting.  Suggested by
255571345Sgshapiro			Henrik Nordstrom of Ericsson.
255671345Sgshapiro		On HP-UX 10.X and 11.X, use /usr/sbin/sendmail instead of
255771345Sgshapiro			/usr/lib/sendmail for rmail and vacation.  From
255871345Sgshapiro			Jeff A. Earickson of Colby College.
255971345Sgshapiro		On HP-UX 11.X, use /usr/sbin instead of /usr/libexec (which
256071345Sgshapiro			does not exist).  From Jeff A. Earickson of Colby
256171345Sgshapiro			College.
256271345Sgshapiro		Avoid using the UCB subsystem on NCR MP-RAS 3.x.  From
256371345Sgshapiro			Tom Moore of NCR.
256471345Sgshapiro		NeXT 3.X and 4.X installs man pages in /usr/man.  From
256571345Sgshapiro			Hisanori Gogota of NTT/InterCommunicationCenter.
256671345Sgshapiro		Solaris 8 and later include /var/run.  The default PID file
256771345Sgshapiro			location is now /var/run/sendmail.pid.  From John
256871345Sgshapiro			Beck of Sun Microsystems.
256971345Sgshapiro		SFIO includes snprintf() for those operating systems
257071345Sgshapiro			which do not.  From Todd C. Miller of Courtesan
257171345Sgshapiro			Consulting.
257271345Sgshapiro	CONFIG: Use the result of _CERT_REGEX_SUBJECT_ not {cert_subject}.
257371345Sgshapiro		Problem noted by Kaspar Brand of futureLab AG.
257471345Sgshapiro	CONFIG: Change 553 SMTP reply code to 501 to avoid problems with
257571345Sgshapiro		errors in the MAIL address.
257671345Sgshapiro	CONFIG: Fix FEATURE(nouucp) usage in example .mc files.  Problem
257771345Sgshapiro		noted by Ron Jarrell of Virginia Tech.
257871345Sgshapiro	CONFIG: Add support for Solaris 8 (and later) as OSTYPE(solaris8).
257971345Sgshapiro		Contributed by John Beck of Sun Microsystems.
258071345Sgshapiro	CONFIG: Set confFROM_HEADER such that the mail hub can possibly add
258171345Sgshapiro		GECOS information for an address.  This more closely
258271345Sgshapiro		matches pre-8.10 nullclient behavior.  From Per Hedeland of
258371345Sgshapiro		Ericsson.
258471345Sgshapiro	CONFIG: Fix MODIFY_MAILER_FLAGS(): apply the flag modifications for
258571345Sgshapiro		SMTP to all *smtp* mailers and those for RELAY to the relay
258671345Sgshapiro		mailer as described in cf/README.
258771345Sgshapiro	MAIL.LOCAL: Open the mailbox as the recipient not root so quotas
258871345Sgshapiro		are obeyed.  Problem noted by Damian Kuczynski of NIK.
258971345Sgshapiro	MAKEMAP: Do not change a map's owner to the TrustedUser if using
259071345Sgshapiro		makemap to 'unmake' the map.
259171345Sgshapiro	RMAIL: Avoid overflowing the list of recipients being passed to
259271345Sgshapiro		sendmail.
259371345Sgshapiro	RMAIL: Invoke sendmail with '-G' to indicate this is a gateway
259471345Sgshapiro		submission.  Problem noted by Kari Hurtta of the Finnish
259571345Sgshapiro		Meteorological Institute.
259671345Sgshapiro	VACATION: Read the complete message to avoid "broken pipe" signals.
259771345Sgshapiro	VACATION: Do not cut off vacation.msg files which have a single
259871345Sgshapiro		dot as the only character on the line.
259971345Sgshapiro	New Files:
260071345Sgshapiro		cf/ostype/solaris8.m4
260171345Sgshapiro
260271345Sgshapiro8.11.0/8.11.0	2000/07/19
260371345Sgshapiro	SECURITY: If sendmail is installed as a non-root set-user-ID binary
260471345Sgshapiro		(not the normal case), some operating systems will still
260571345Sgshapiro		keep a saved-uid of the effective-uid when sendmail tries
260671345Sgshapiro		to drop all of its privileges.  If sendmail needs to drop
260771345Sgshapiro		these privileges and the operating system doesn't set the
260871345Sgshapiro		saved-uid as well, exit with an error.  Problem noted by
260971345Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
261071345Sgshapiro	SECURITY: sendmail depends on snprintf() NUL terminating the string
261171345Sgshapiro		it populates.  It is possible that some broken
261271345Sgshapiro		implementations of snprintf() exist that do not do this.
261371345Sgshapiro		Systems in this category should compile with
261471345Sgshapiro		-DSNPRINTF_IS_BROKEN=1.  Use test/t_snprintf.c to test your
261571345Sgshapiro		system and report broken implementations to
261671345Sgshapiro		sendmail-bugs@sendmail.org and your OS vendor.  Problem
261771345Sgshapiro		noted by Slawomir Piotrowski of TELSAT GP.
261871345Sgshapiro	Support SMTP Service Extension for Secure SMTP (RFC 2487) (STARTTLS).
261971345Sgshapiro		Implementation influenced by the example programs of
262073188Sgshapiro		OpenSSL and the work of Lutz Jaenicke of TU Cottbus.
262171345Sgshapiro	Add new STARTTLS related options CACERTPath, CACERTFile,
262271345Sgshapiro		ClientCertFile, ClientKeyFile, DHParameters, RandFile,
262371345Sgshapiro		ServerCertFile, and ServerKeyFile.  These are documented in
262471345Sgshapiro		cf/README and doc/op/op.*.
262571345Sgshapiro	New STARTTLS related macros: ${cert_issuer}, ${cert_subject},
262671345Sgshapiro		${tls_version}, ${cipher}, ${cipher_bits}, ${verify},
262771345Sgshapiro		${server_name}, and ${server_addr}.  These are documented
262871345Sgshapiro		in cf/README and doc/op/op.*.
262971345Sgshapiro	Add support for the Entropy Gathering Daemon (EGD) for better
263071345Sgshapiro		random data.
263171345Sgshapiro	New DontBlameSendmail option InsufficientEntropy for systems which
263271345Sgshapiro		don't properly seed the PRNG for OpenSSL but want to
263371345Sgshapiro		try to use STARTTLS despite the security problems.
263471345Sgshapiro	Support the security layer in SMTP AUTH for mechanisms which
263571345Sgshapiro		support encryption.  Based on code contributed by Tim
263671345Sgshapiro		Martin of CMU.
263771345Sgshapiro	Add new macro ${auth_ssf} to reflect the SMTP AUTH security
263873188Sgshapiro		strength factor.
263971345Sgshapiro	LDAP's -1 (single match only) flag was not honored if the -z
264071345Sgshapiro		(delimiter) flag was not given.  Problem noted by ST Wong of
264171345Sgshapiro		the Chinese University of Hong Kong.  Fix from Mark Adamson
264271345Sgshapiro		of CMU.
264371345Sgshapiro	Add more protection from accidentally tripping OpenLDAP 1.X's
264471345Sgshapiro		ld_errno == LDAP_DECODING_ERROR hack on ldap_next_attribute().
264571345Sgshapiro		Suggested by Kurt Zeilenga of OpenLDAP.
264671345Sgshapiro	Fix the default family selection for DaemonPortOptions.  As
264771345Sgshapiro		documented, unless a family is specified in a
264871345Sgshapiro		DaemonPortOptions option, "inet" is the default.  It is
264971345Sgshapiro		also the default if no DaemonPortOptions value is set.
265071345Sgshapiro		Therefore, IPv6 users should configure additional sockets
265171345Sgshapiro		by adding DaemonPortOptions settings with Family=inet6 if
265271345Sgshapiro		they wish to also listen on IPv6 interfaces.  Problem noted
265371345Sgshapiro		by Jun-ichiro itojun Hagino of the KAME Project.
265471345Sgshapiro	Set ${if_family} when setting ${if_addr} and ${if_name} to reflect
265571345Sgshapiro		the interface information for an outgoing connection.
265666494Sgshapiro		Not doing so was creating a mismatch between the socket
265766494Sgshapiro		family and address used in subsequent connections if the
265866494Sgshapiro		M=b modifier was set in DaemonPortOptions.  Problem noted
265966494Sgshapiro		by John Beck of Sun Microsystems.
266066494Sgshapiro	If DaemonPortOptions modifier M=b is used, determine the socket
266166494Sgshapiro		family based on the IP address.  ${if_family} is no longer
266266494Sgshapiro		persistent (i.e., saved in qf files).  Patch from John Beck
266366494Sgshapiro		of Sun Microsystems.
266466494Sgshapiro	sendmail 8.10 and 8.11 reused the ${if_addr} and ${if_family}
266566494Sgshapiro		macros for both the incoming interface address/family and
266666494Sgshapiro		the outgoing interface address/family.  In order for M=b
266766494Sgshapiro		modifier in DaemonPortOptions to work properly, preserve
266866494Sgshapiro		the incoming information in the queue file for later
266966494Sgshapiro		delivery attempts.
267066494Sgshapiro	Use SMTP error code and enhanced status code from check_relay in
267166494Sgshapiro		responses to commands.  Problem noted by Jeff Wasilko of
267266494Sgshapiro		smoe.org.
267366494Sgshapiro	Add more vigilance in checking for putc() errors on output streams
267466494Sgshapiro		to protect from a bug in Solaris 2.6's putc().  Problem
267566494Sgshapiro		noted by Graeme Hewson of Oracle.
267666494Sgshapiro	The LDAP map -n option (return attribute names only) wasn't working.
267766494Sgshapiro		Problem noted by Ajay Matia.
267871345Sgshapiro	Under certain circumstances, an address could be listed as deferred
267971345Sgshapiro		but would be bounced back to the sender as failed to be
268066494Sgshapiro		delivered when it really should have been queued.  Problem
268166494Sgshapiro		noted by Allan E Johannesen of Worcester Polytechnic Institute.
268266494Sgshapiro	Prevent a segmentation fault in a child SMTP process from getting
268366494Sgshapiro		the SMTP transaction out of sync.  Problem noted by Per
268466494Sgshapiro		Hedeland of Ericsson.
268566494Sgshapiro	Turn off RES_DEBUG if SFIO is defined unless SFIO_STDIO_COMPAT
268666494Sgshapiro		is defined to avoid a core dump due to incompatibilities
268766494Sgshapiro		between sfio and stdio.  Problem noted by Neil Rickert
268866494Sgshapiro		of Northern Illinois University.
268966494Sgshapiro	Don't log useless envelope ID on initial connection log.  Problem
269066494Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological Institute.
269166494Sgshapiro	Convert the free disk space shown in a control socket status query
269266494Sgshapiro		to kilobyte units.
269366494Sgshapiro	If TryNullMXList is True and there is a temporary DNS failure
269466494Sgshapiro		looking up the hostname, requeue the message for a later
269566494Sgshapiro		attempt.  Problem noted by Ari Heikkinen of Pohjois-Savo
269666494Sgshapiro		Polytechnic.
269766494Sgshapiro	Under the proper circumstances, failed connections would be recorded
269866494Sgshapiro		as "Bad file number" instead of "Connection failed" in the
269966494Sgshapiro		queue file and persistent host status.  Problem noted by
270066494Sgshapiro		Graeme Hewson of Oracle.
270166494Sgshapiro	Avoid getting into an endless loop if a non-hoststat directory exists
270266494Sgshapiro		within the hoststatus directory (e.g., lost+found).
270366494Sgshapiro		Patch from Valdis Kletnieks of Virginia Tech.
270466494Sgshapiro	Make sure Timeout.queuereturn=now returns a bounce message to the
270566494Sgshapiro		sender.  Problem noted by Per Hedeland of Ericsson.
270666494Sgshapiro	If a message data file can't be opened at delivery time, panic and
270766494Sgshapiro		abort the attempt instead of delivering a message that
270866494Sgshapiro		states "<<< No Message Collected >>>".
270966494Sgshapiro	Fixup the GID checking code from 8.10.2 as it was overly
271066494Sgshapiro		restrictive.  Problem noted by Mark G. Thomas of Mark
271166494Sgshapiro		G. Thomas Consulting.
271266494Sgshapiro	Preserve source port number instead of replacing it with the ident
271366494Sgshapiro		port number (113).
271466494Sgshapiro	Document the queue status characters in the mailq man page.
271566494Sgshapiro		Suggested by Ulrich Windl of the Universitat Regensburg.
271666494Sgshapiro	Process queued items in which none of the recipient addresses have
271766494Sgshapiro		host portions (or there are no recipients).  Problem noted
271866494Sgshapiro		by Valdis Kletnieks of Virginia Tech.
271966494Sgshapiro	If a cached LDAP connection is used for multiple maps, make sure
272066494Sgshapiro		only the first to open the connection is allowed to close
272166494Sgshapiro		it so a later map close doesn't break the connection for
272266494Sgshapiro		other maps.  Problem noted by Wolfgang Hottgenroth of UUNET.
272366494Sgshapiro	Netscape's LDAP libraries do not support Kerberos V4
272466494Sgshapiro		authentication.  Patch from Rainer Schoepf of the
272566494Sgshapiro		University of Mainz.
272666494Sgshapiro	Provide workaround for inconsistent handling of data passed
272766494Sgshapiro		via callbacks to Cyrus SASL prior to version 1.5.23.
272866494Sgshapiro	Mention ENHANCEDSTATUSCODES in the SMTP HELP helpfile.  Omission
272966494Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg.
273066494Sgshapiro	Portability:
273166494Sgshapiro		Add the ability to read IPv6 interface addresses into class
273266494Sgshapiro			'w' under FreeBSD (and possibly others).  From Jun
273366494Sgshapiro			Kuriyama of IMG SRC, Inc. and the FreeBSD Project.
273466494Sgshapiro		Replace code for finding the number of CPUs on HPUX.
273566494Sgshapiro		NCRUNIX MP-RAS 3.02 SO_REUSEADDR socket option does not
273666494Sgshapiro			work properly causing problems if the accept()
273766494Sgshapiro			fails and the socket needs to be reopened.  Patch
273866494Sgshapiro			from Tom Moore of NCR.
273966494Sgshapiro		NetBSD uses a .0 extension of formatted man pages.  From
274066494Sgshapiro			Andrew Brown of Crossbar Security.
274166494Sgshapiro		Return to using the IPv6 AI_DEFAULT flag instead of AI_V4MAPPED
274266494Sgshapiro			for calls to getipnodebyname().  The Linux
274366494Sgshapiro			implementation is broken so AI_ADDRCONFIG is stripped
274466494Sgshapiro			under Linux.  From John Beck of Sun Microsystems and
274566494Sgshapiro			John Kennedy of Cal State University, Chico.
274666494Sgshapiro	CONFIG: Catch invalid addresses containing a ',' at the wrong place.
274766494Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
274866494Sgshapiro	CONFIG: New variables for the new sendmail options:
274966494Sgshapiro		confCACERT_PATH			CACERTPath
275066494Sgshapiro		confCACERT			CACERTFile
275166494Sgshapiro		confCLIENT_CERT			ClientCertFile
275266494Sgshapiro		confCLIENT_KEY			ClientKeyFile
275366494Sgshapiro		confDH_PARAMETERS		DHParameters
275466494Sgshapiro		confRAND_FILE			RandFile
275566494Sgshapiro		confSERVER_CERT			ServerCertFile
275666494Sgshapiro		confSERVER_KEY			ServerKeyFile
275766494Sgshapiro	CONFIG: Provide basic rulesets for TLS policy control and add new
275866494Sgshapiro		tags to the access database to support these policies.  See
275966494Sgshapiro		cf/README for more information.
276066494Sgshapiro	CONFIG: Add TLS information to the Received: header.
276166494Sgshapiro	CONFIG: Call tls_client ruleset from check_mail in case it wasn't
276266494Sgshapiro		called due to a STARTTLS command.
276366494Sgshapiro	CONFIG: If TLS_PERM_ERR is defined, TLS related errors are permanent
276466494Sgshapiro		instead of temporary.
276564562Sgshapiro	CONFIG: FEATURE(`relay_hosts_only') didn't work in combination with
276664562Sgshapiro		the access map and relaying to a domain without using a To:
276764562Sgshapiro		tag.  Problem noted by Mark G. Thomas of Mark G. Thomas
276864562Sgshapiro		Consulting.
276964562Sgshapiro	CONFIG: Set confEBINDIR to /usr/sbin to match the devtools entry in
277064562Sgshapiro		OSTYPE(`linux') and OSTYPE(`mklinux').  From Tim Pierce of
277164562Sgshapiro		RootsWeb.com.
277264562Sgshapiro	CONFIG: Make sure FEATURE(`nullclient') doesn't use aliasing and
277364562Sgshapiro		forwarding to make it as close to the old behavior as
277464562Sgshapiro		possible.  Problem noted by George W. Baltz of the
277564562Sgshapiro		University of Maryland.
277664562Sgshapiro	CONFIG: Added OSTYPE(`darwin') for Mac OS X and Darwin users.  From
277764562Sgshapiro		Wilfredo Sanchez of Apple Computer, Inc.
277864562Sgshapiro	CONFIG: Changed the map names used by FEATURE(`ldap_routing') from
277964562Sgshapiro		ldap_mailhost and ldap_mailroutingaddress to ldapmh and
278064562Sgshapiro		ldapmra as underscores in map names cause problems if
278164562Sgshapiro		underscore is in OperatorChars.  Problem noted by Bob Zeitz
278264562Sgshapiro		of the University of Alberta.
278364562Sgshapiro	CONFIG: Apply blacklist_recipients also to hosts in class {w}.
278464562Sgshapiro		Patch from Michael Tratz of Esosoft Corporation.
278564562Sgshapiro	CONFIG: Use A=TCP ... instead of A=IPC ... in SMTP mailers.
278664562Sgshapiro	CONTRIB: Add link_hash.sh to create symbolic links to the hash
278764562Sgshapiro		of X.509 certificates.
278864562Sgshapiro	CONTRIB: passwd-to-alias.pl:  More protection from special characters;
278964562Sgshapiro		treat special shells as root aliases; skip entries where the
279064562Sgshapiro		GECOS full name and username match.  From Ulrich Windl of the
279164562Sgshapiro		Universitat Regensburg.
279264562Sgshapiro	CONTRIB: qtool.pl: Add missing last_modified_time method and fix a
279364562Sgshapiro		typo.  Patch from Graeme Hewson of Oracle.
279464562Sgshapiro	CONTRIB: re-mqueue.pl: Improve handling of a race between re-mqueue
279564562Sgshapiro		and sendmail.  Patch from Graeme Hewson of Oracle.
279664562Sgshapiro	CONTRIB: re-mqueue.pl: Don't exit(0) at end so can be called as
279764562Sgshapiro		subroutine Patch from Graeme Hewson of Oracle.
279864562Sgshapiro	CONTRIB: Add movemail.pl (move old mail messages between queues by
279964562Sgshapiro		calling re-mqueue.pl) and movemail.conf (configuration
280064562Sgshapiro		script for movemail.pl).  From Graeme Hewson of Oracle.
280164562Sgshapiro	CONTRIB: Add cidrexpand (expands CIDR blocks as a preprocessor to
280264562Sgshapiro		makemap).  From Derek J. Balling of Yahoo,Inc.
280364562Sgshapiro	DEVTOOLS: INSTALL_RAWMAN installation option mistakenly applied any
280464562Sgshapiro		extension modifications (e.g., MAN8EXT) to the installation
280564562Sgshapiro		target.  Patch from James Ralston of Carnegie Mellon
280664562Sgshapiro		University.
280764562Sgshapiro	DEVTOOLS: Add support for SunOS 5.9.
280864562Sgshapiro	DEVTOOLS: New option confLN contains the command used to create
280964562Sgshapiro		links.
281064562Sgshapiro	LIBSMDB: Berkeley DB 2.X and 3.X errors might be lost and not
281164562Sgshapiro		reported.
281264562Sgshapiro	MAIL.LOCAL: DG/UX portability.  Problem noted by Tim Boyer of
281364562Sgshapiro		Denman Tire Corporation.
281464562Sgshapiro	MAIL.LOCAL: Prevent a possible DoS attack when compiled with
281564562Sgshapiro		-DCONTENTLENGTH.  Based on patch from 3APA3A@SECURITY.NNOV.RU.
281664562Sgshapiro	MAILSTATS: Fix usage statement (-p and -o are optional).
281764562Sgshapiro	MAKEMAP: Change man page layout as workaround for problem with nroff
281864562Sgshapiro		and -man on Solaris 7.  Patch from Larry Williamson.
281964562Sgshapiro	RMAIL: AIX 4.3 has snprintf().  Problem noted by David Hayes of
282064562Sgshapiro		Black Diamond Equipment, Limited.
282164562Sgshapiro	RMAIL: Prevent a segmentation fault if the incoming message does not
282264562Sgshapiro		have a From line.
282364562Sgshapiro	VACATION: Read all of the headers before deciding whether or not
282464562Sgshapiro		to respond instead of stopping after finding recipient.
282564562Sgshapiro	Added Files:
282664562Sgshapiro		cf/ostype/darwin.m4
282764562Sgshapiro		contrib/cidrexpand
282864562Sgshapiro		contrib/link_hash.sh
282964562Sgshapiro		contrib/movemail.conf
283064562Sgshapiro		contrib/movemail.pl
283164562Sgshapiro		devtools/OS/SunOS.5.9
283264562Sgshapiro		test/t_snprintf.c
283364562Sgshapiro
283464562Sgshapiro8.10.2/8.10.2	2000/06/07
283564562Sgshapiro	SECURITY: Work around broken Linux setuid() implementation.
283664562Sgshapiro		On Linux, a normal user process has the ability to subvert
283764562Sgshapiro		the setuid() call such that it is impossible for a root
283864562Sgshapiro		process to drop its privileges.  Problem noted by Wojciech
283964562Sgshapiro		Purczynski of elzabsoft.pl.
284064562Sgshapiro	SECURITY: Add more vigilance around set*uid(), setgid(), setgroups(),
284164562Sgshapiro		initgroups(), and chroot() calls.
284264562Sgshapiro	Added Files:
284364562Sgshapiro		test/t_setuid.c
284464562Sgshapiro
284564562Sgshapiro8.10.1/8.10.1	2000/04/06
284664562Sgshapiro	SECURITY: Limit the choice of outgoing (client-side) SMTP
284764562Sgshapiro		Authentication mechanisms to those specified in
284864562Sgshapiro		AuthMechanisms to prevent information leakage.  We do not
284964562Sgshapiro		recommend use of PLAIN for outgoing mail as it sends the
285064562Sgshapiro		password in clear text to possibly untrusted servers.  See
285164562Sgshapiro		cf/README's DefaultAuthInfo section for additional information.
285264562Sgshapiro	Copy the ident argument for openlog() to avoid problems on some
285364562Sgshapiro		OSs.  Based on patch from Rob Bajorek from Webhelp.com.
285464562Sgshapiro	Avoid bogus error message when reporting an alias line as too long.
285564562Sgshapiro	Avoid bogus socket error message if sendmail.cf version level is
285664562Sgshapiro		greater than sendmail binary supported version.  Patch
285764562Sgshapiro		from John Beck of Sun Microsystems.
285864562Sgshapiro	Prevent a malformed ruleset (missing right hand side) from causing
285964562Sgshapiro		a segmentation fault when using address test mode.  Based on
286064562Sgshapiro		patch from John Beck of Sun Microsystems.
286164562Sgshapiro	Prevent memory leak from use of NIS maps and yp_match(3).  Problem
286264562Sgshapiro		noted by Gil Kloepfer of the University of Texas at Austin.
286364562Sgshapiro	Fix queue file permission checks to allow for TrustedUser ownership.
286464562Sgshapiro	Change logging of errors from the trust_auth ruleset to LogLevel 10
286564562Sgshapiro		or higher.
286664562Sgshapiro	Avoid simple password cracking attacks against SMTP AUTH by using
286764562Sgshapiro		exponential delay after too many tries within one connection.
286864562Sgshapiro	Encode an initial empty AUTH challenge as '=', not as empty string.
286964562Sgshapiro	Avoid segmentation fault on EX_SOFTWARE internal error logs.
287064562Sgshapiro		Problem noted by Allan E Johannesen of Worcester
287164562Sgshapiro		Polytechnic Institute.
287264562Sgshapiro	Ensure that a header check which resolves to $#discard actually
287364562Sgshapiro		discards the message.
287464562Sgshapiro	Emit missing value warnings for aliases with no right hand side
287564562Sgshapiro		when newaliases is run instead of only when delivery is
287664562Sgshapiro		attempted to the alias.
287764562Sgshapiro	Remove AuthOptions missing value warning for consistency with other
287864562Sgshapiro		flag options.
287964562Sgshapiro	Portability:
288064562Sgshapiro		SECURITY: Specify a run-time shared library search path for
288164562Sgshapiro			AIX 4.X instead of using the dangerous AIX 4.X
288264562Sgshapiro			linker semantics.  AIX 4.X users should consult
288364562Sgshapiro			sendmail/README for further information.  Problem
288464562Sgshapiro			noted by Valdis Kletnieks of Virginia Tech.
288564562Sgshapiro		Avoid use of strerror(3) call.  Problem noted by Charles
288664562Sgshapiro			Levert of Ecole Polytechnique de Montreal.
288764562Sgshapiro		DGUX requires -lsocket -lnsl and has a non-standard install
288864562Sgshapiro			program.  From Tim Boyer of Denman Tire Corporation.
288964562Sgshapiro		HPUX 11.0 has a broken res_search() function.
289064562Sgshapiro		Updates to devtools/OS/NeXT.3.X, NeXT.4.X, and NEXTSTEP.4.X
289164562Sgshapiro			from J. P. McCann of E I A.
289264562Sgshapiro		Digital UNIX/Compaq Tru64 5.0 now includes snprintf(3).
289364562Sgshapiro			Problem noted by Michael Long of Info Avenue Internet
289464562Sgshapiro			Services, LLC.
289564562Sgshapiro		Modern (post-199912) OpenBSD versions include working
289664562Sgshapiro			strlc{at,py}(3) functions.  From Todd C. Miller of
289764562Sgshapiro			Courtesan Consulting.
289864562Sgshapiro		SINIX doesn't have random(3).  From Gerald Rinske of
289964562Sgshapiro			Siemens Business Services.
290064562Sgshapiro	CONFIG: Change error message about unresolvable sender domain to
290164562Sgshapiro		include the sender address.  Proposed by Wolfgang Rupprecht
290264562Sgshapiro		of WSRCC.
290366494Sgshapiro	CONFIG: Fix usenet mailer calls.
290464562Sgshapiro	CONFIG: If RELAY_MAILER_FLAGS is not defined, use SMTP_MAILER_FLAGS
290564562Sgshapiro		to be backward compatible with 8.9.
290664562Sgshapiro	CONFIG: Change handling of default case @domain for virtusertable
290764562Sgshapiro		to allow for +*@domain to deal with +detail.
290864562Sgshapiro	CONTRIB: Remove converting.sun.configs -- it is obsolete.
290964562Sgshapiro	DEVTOOLS: confUBINMODE was being ignored.  Fix from KITAZIMA, Tuneki
291064562Sgshapiro		of NEC.
291164562Sgshapiro	DEVTOOLS: Add to NCR platform list and include the architecture
291264562Sgshapiro		(i486).  From Tom J. Moore of NCR.
291364562Sgshapiro	DEVTOOLS: SECURITY: Change method of linking with sendmail utility
291464562Sgshapiro		libraries to work around the AIX 4.X and SunOS 4.X linker's
291564562Sgshapiro		overloaded -L option.  Problem noted by Valdis Kletnieks of
291664562Sgshapiro		Virginia Tech.
291764562Sgshapiro	DEVTOOLS: configure.sh was overriding the user's choice for
291864562Sgshapiro		confNROFF.  Problem noted by Glenn A. Malling of Syracuse
291964562Sgshapiro		University.
292064562Sgshapiro	DEVTOOLS: New variables conf_prog_LIB_POST and confBLDVARIANT added
292164562Sgshapiro		for other internal projects but included in the open source
292264562Sgshapiro		release.
292364562Sgshapiro	LIBSMDB: Check for ".db" instead of simply "db" at the end of the
292464562Sgshapiro		map name to determine whether or not to add the extension.
292564562Sgshapiro		This fixes makemap when building the userdb file.  Problem
292664562Sgshapiro		noted by Andrew J Cole of the University of Leeds.
292764562Sgshapiro	LIBSMDB: Allow a database to be opened for updating and created if
292864562Sgshapiro		it doesn't already exist.  Problem noted by Rand Wacker of
292964562Sgshapiro		Sendmail.
293064562Sgshapiro	LIBSMDB: If type is SMDB_TYPE_DEFAULT and both NEWDB and NDBM are
293164562Sgshapiro		available, fall back to NDBM if NEWDB open fails.  This
293264562Sgshapiro		fixes praliases.  Patch	from John Beck of Sun Microsystems.
293364562Sgshapiro	LIBSMUTIL: safefile()'s SFF_NOTEXCL check was being misinterpreted
293464562Sgshapiro		as SFF_NOWRFILES.
293564562Sgshapiro	OP.ME: Clarify some issues regarding mailer flags.  Suggested by
293664562Sgshapiro		Martin Mokrejs of The Charles University and Neil Rickert of
293764562Sgshapiro		Northern Illinois University.
293864562Sgshapiro	PRALIASES: Restore 8.9.X functionality of being able to search for
293964562Sgshapiro		particular keys in a database by specifying the keys on the
294064562Sgshapiro		command line.  Man page updated accordingly.  Patch from
294164562Sgshapiro		John Beck of Sun Microsystems.
294264562Sgshapiro	VACATION: SunOS 4.X portability from Charles Levert of Ecole
294364562Sgshapiro		Polytechnique de Montreal.
294464562Sgshapiro	VACATION: Fix -t option which is ignored but available for
294564562Sgshapiro		compatibility with Sun's version, based on patch from
294664562Sgshapiro		Volker Dobler of Infratest Burke.
294764562Sgshapiro	Added Files:
294864562Sgshapiro		devtools/M4/UNIX/smlib.m4
294964562Sgshapiro		devtools/OS/OSF1.V5.0
295064562Sgshapiro	Deleted Files:
295164562Sgshapiro		contrib/converting.sun.configs
295264562Sgshapiro	Deleted Directories (already done in 8.10.0 but not listed):
295364562Sgshapiro		doc/intro
295464562Sgshapiro		doc/usenix
295564562Sgshapiro		doc/changes
295664562Sgshapiro
295764562Sgshapiro8.10.0/8.10.0	2000/03/01
295864562Sgshapiro	    *************************************************************
295964562Sgshapiro	    * The engineering department at Sendmail, Inc. has suffered	*
296064562Sgshapiro	    * the tragic loss of a key member of our engineering team.	*
296164562Sgshapiro	    * Julie Van Bourg was the Vice President of Engineering	*
296264562Sgshapiro	    * at Sendmail, Inc. during the development and deployment	*
296364562Sgshapiro	    * of this release.  It was her vision, dedication, and	*
296464562Sgshapiro	    * support that has made this release a success.  Julie died	*
296564562Sgshapiro	    * on October 26, 1999 of cancer.  We have lost a leader, a	*
296664562Sgshapiro	    * coach, and a friend.					*
296764562Sgshapiro	    *								*
296864562Sgshapiro	    * This release is dedicated to her memory and to the joy,	*
296964562Sgshapiro	    * strength, ideals, and hope that she brought to all of us.	*
297064562Sgshapiro	    * Julie, we miss you!					*
297164562Sgshapiro	    *************************************************************
297264562Sgshapiro	SECURITY: The safe file checks now back track through symbolic
297364562Sgshapiro		links to make sure the files can't be compromised due
297464562Sgshapiro		to poor permissions on the parent directories of the
297564562Sgshapiro		symbolic link target.
297664562Sgshapiro	SECURITY: Only root, TrustedUser, and users in class t can rebuild
297764562Sgshapiro		the alias map.  Problem noted by Michal Zalewski of the
297864562Sgshapiro		"Internet for Schools" project (IdS).
297964562Sgshapiro	SECURITY: There is a potential for a denial of service attack if
298064562Sgshapiro		the AutoRebuildAliases option is set as a user can kill the
298164562Sgshapiro		sendmail process while it is rebuilding the aliases file
298264562Sgshapiro		(leaving it in an inconsistent state).  This option and
298364562Sgshapiro		its use is deprecated and will be removed from a future
298464562Sgshapiro		version of sendmail.
298564562Sgshapiro	SECURITY: Make sure all file descriptors (besides stdin, stdout, and
298664562Sgshapiro		stderr) are closed before restarting sendmail.  Problem noted
298764562Sgshapiro		by Michal Zalewski of the "Internet for Schools" project
298864562Sgshapiro		(IdS).
298964562Sgshapiro	Begin using /etc/mail/ for sendmail related files.  This affects
299064562Sgshapiro		a large number of files.  See cf/README for more details.
299164562Sgshapiro	The directory structure of the distribution has changed slightly
299264562Sgshapiro		for easier code sharing among the programs.
299364562Sgshapiro	Support SMTP AUTH (see RFC 2554).  New macros for this purpose
299464562Sgshapiro		are ${auth_authen}, ${auth_type}, and ${auth_author}
299564562Sgshapiro		which hold the client's authentication credentials,
299664562Sgshapiro		the mechanism used for authentication, and the
299764562Sgshapiro		authorization identity (i.e., the AUTH= parameter if
299864562Sgshapiro		supplied).  Based on code contributed by Tim Martin of CMU.
299964562Sgshapiro	On systems which use the Torek stdio library (all of the BSD
300064562Sgshapiro		distributions), use memory-buffered files to reduce
300164562Sgshapiro		file system overhead by not creating temporary files on
300264562Sgshapiro		disk.  Contributed by Exactis.com, Inc.
300364562Sgshapiro	New option DataFileBufferSize to control the maximum size of a
300464562Sgshapiro		memory-buffered data (df) file before a disk-based file is
300564562Sgshapiro		used.  Contributed by Exactis.com, Inc.
300664562Sgshapiro	New option XscriptFileBufferSize to control the maximum size of a
300764562Sgshapiro		memory-buffered transcript (xf) file before a disk-based
300864562Sgshapiro		file is used.  Contributed by Exactis.com, Inc.
300964562Sgshapiro	sendmail implements RFC 2476 (Message Submission), e.g., it can
301064562Sgshapiro		now listen on several different ports.  Use:
301164562Sgshapiro		O DaemonPortOptions=Name=MSA, Port=587, M=E
301264562Sgshapiro		to run a Message Submission Agent (MSA); this is turned
301364562Sgshapiro		on by default in m4-generated .cf files; it can be turned
301464562Sgshapiro		off with FEATURE(`no_default_msa').
301564562Sgshapiro	The 'XUSR' SMTP command is deprecated.  Mail user agents should
301664562Sgshapiro		begin using RFC 2476 Message Submission for initial user
301764562Sgshapiro		message submission.  XUSR may disappear from a future release.
301864562Sgshapiro	The new '-G' (relay (gateway) submission) command line option
301964562Sgshapiro		indicates that the message being submitted from the command
302064562Sgshapiro		line is for relaying, not initial submission.  This means
302164562Sgshapiro		the message will be rejected if the addresses are not fully
302264562Sgshapiro		qualified and no canonicalization will be done.  Future
302364562Sgshapiro		releases may even reject improperly formed messages.
302464562Sgshapiro	The '-U' (initial user submission) command line option is
302564562Sgshapiro		deprecated and may be removed from a future release.
302664562Sgshapiro		Mail user agents should begin using '-G' to indicate that
302764562Sgshapiro		this is a relay submission (the inverse of -U).
302864562Sgshapiro	The next release of sendmail will assume that any message submitted
302964562Sgshapiro		from the command line is an initial user submission and act
303064562Sgshapiro		accordingly.
303164562Sgshapiro	If sendmail doesn't have enough privileges to run a .forward
303264562Sgshapiro		program or deliver to file as the owner of that file, the
303364562Sgshapiro		address is marked as unsafe.  This means if RunAsUser is
303464562Sgshapiro		set, users won't be able to use programs or delivery to
303564562Sgshapiro		files in their .forward files.  Administrators can override
303664562Sgshapiro		this by setting the DontBlameSendmail option to the new
303764562Sgshapiro		setting NonRootSafeAddr.
303864562Sgshapiro	Allow group or world writable directories if the sticky bit is set
303964562Sgshapiro		on the directory and DontBlameSendmail is set to
304064562Sgshapiro		TrustStickyBit.  Based on patch from Chris Metcalf of
304164562Sgshapiro		InCert Software.
304264562Sgshapiro	Prevent logging of unsafe directory paths for non-existent forward
304364562Sgshapiro		files if the new DontWarnForwardFileInUnsafeDirPath bit is
304464562Sgshapiro		set in the DontBlameSendmail option.  Requested by many.
304564562Sgshapiro	New Timeout.control option to limit the total time spent satisfying
304664562Sgshapiro		a control socket request.
304764562Sgshapiro	New Timeout.resolver options for controlling BIND resolver
304864562Sgshapiro		settings:
304964562Sgshapiro		Timeout.resolver.retrans
305064562Sgshapiro			Sets the resolver's retransmission time interval (in
305164562Sgshapiro			seconds).  Sets both Timeout.resolver.retrans.first
305264562Sgshapiro			and Timeout.resolver.retrans.normal.
305364562Sgshapiro		Timeout.resolver.retrans.first
305464562Sgshapiro			Sets the resolver's retransmission time interval (in
305564562Sgshapiro			seconds) for the first attempt to deliver a message.
305664562Sgshapiro		Timeout.resolver.retrans.normal
305764562Sgshapiro			Sets the resolver's retransmission time interval (in
305864562Sgshapiro			seconds) for all resolver lookups except the first
305964562Sgshapiro			delivery attempt.
306064562Sgshapiro		Timeout.resolver.retry
306164562Sgshapiro			Sets the number of times to retransmit a resolver
306264562Sgshapiro			query.  Sets both Timeout.resolver.retry.first
306364562Sgshapiro			and Timeout.resolver.retry.normal.
306464562Sgshapiro		Timeout.resolver.retry.first
306564562Sgshapiro			Sets the number of times to retransmit a resolver
306664562Sgshapiro			query for the first attempt to deliver a message.
306764562Sgshapiro		Timeout.resolver.retry.normal
306864562Sgshapiro			Sets the number of times to retransmit a resolver
306964562Sgshapiro			query for all resolver lookups except the first
307064562Sgshapiro			delivery attempt.
307164562Sgshapiro		Contributed by Exactis.com, Inc.
307264562Sgshapiro	Support multiple queue directories.  To use multiple queues, supply
307364562Sgshapiro		a QueueDirectory option value ending with an asterisk.  For
307464562Sgshapiro		example, /var/spool/mqueue/q* will use all of the
307564562Sgshapiro		directories or symbolic links to directories beginning with
307664562Sgshapiro		'q' in /var/spool/mqueue as queue directories.  Keep in
307764562Sgshapiro		mind, the queue directory structure should not be changed
307864562Sgshapiro		while sendmail is running.  Queue runs create a separate
307964562Sgshapiro		process for running each queue unless the verbose flag is
308064562Sgshapiro		given on a non-daemon queue run.  New items are randomly
308164562Sgshapiro		assigned to a queue.  Contributed by Exactis.com, Inc.
308264562Sgshapiro	Support different directories for qf, df, and xf queue files; if
308364562Sgshapiro		subdirectories or symbolic links to directories of those names
308464562Sgshapiro		exist in the queue directories, they are used for the
308564562Sgshapiro		corresponding queue files.  Keep in mind, the queue
308664562Sgshapiro		directory structure should not be changed while sendmail is
308764562Sgshapiro		running.  Proposed by Mathias Koerber of Singapore
308864562Sgshapiro		Telecommunications Ltd.
308964562Sgshapiro	New queue file naming system which uses a filename guaranteed to be
309064562Sgshapiro		unique for 60 years.  This allows queue IDs to be assigned
309164562Sgshapiro		without fancy file system locking.  Queued items can be
309264562Sgshapiro		moved between queues easily.  Contributed by Exactis.com,
309364562Sgshapiro		Inc.
309464562Sgshapiro	Messages which are undeliverable due to temporary address failures
309564562Sgshapiro		(e.g., DNS failure) will now go to the FallBackMX host, if
309664562Sgshapiro		set.  Contributed by Exactis.com, Inc.
309764562Sgshapiro	New command line option '-L tag' which sets the identifier used for
309864562Sgshapiro		syslog.  Contributed by Exactis.com, Inc.
309964562Sgshapiro	QueueSortOrder=Filename will sort the queue by filename.  This
310064562Sgshapiro		avoids opening and reading each queue file when preparing
310164562Sgshapiro		to run the queue.  Contributed by Exactis.com, Inc.
310264562Sgshapiro	Shared memory counters and microtimers functionality has been
310364562Sgshapiro		donated by Exactis.com, Inc.
310464562Sgshapiro	The SCCS ID tags have been replaced with RCS ID tags.
310564562Sgshapiro	Allow trusted users (those on a T line or in $=t) to set the
310664562Sgshapiro		QueueDirectory (Q) option without an X-Authentication-Warning:
310764562Sgshapiro		being added.  Suggested by Michael K. Sanders.
310864562Sgshapiro	IPv6 support based on patches from John Kennedy of Cal State
310964562Sgshapiro		University, Chico, Motonori Nakamura of Kyoto University,
311064562Sgshapiro		and John Beck of Sun Microsystems.
311164562Sgshapiro	In low-disk space situations, where sendmail would previously refuse
311264562Sgshapiro		connections, still accept them, but only allow ETRN commands.
311364562Sgshapiro		Suggested by Mathias Koerber of Singapore Telecommunications
311464562Sgshapiro		Ltd.
311564562Sgshapiro	The [IPC] builtin mailer now allows delivery to a UNIX domain socket
311664562Sgshapiro		on systems which support them.  This can be used with LMTP
311764562Sgshapiro		local delivery agents which listen on a named socket.  An
311864562Sgshapiro		example mailer might be:
311964562Sgshapiro			Mexecmail, P=[IPC], F=lsDFMmnqSXzA5@/:|, E=\r\n,
312064562Sgshapiro				S=10, R=20/40, T=DNS/RFC822/X-Unix,
312164562Sgshapiro				A=FILE /var/run/lmtpd
312280785Sgshapiro		Code contributed by Lyndon Nerenberg of Messaging Direct.
312380785Sgshapiro	The [TCP] builtin mailer name is now deprecated.  Use [IPC]
312480785Sgshapiro		instead.
312580785Sgshapiro	The first mailer argument in the [IPC] mailer is now checked for a
312680785Sgshapiro		legitimate value.  Possible values are TCP (for TCP/IP
312780785Sgshapiro		connections), IPC (which will be deprecated in a future
312880785Sgshapiro		version), and FILE (for UNIX domain socket delivery).
312980785Sgshapiro	PrivacyOptions=goaway no longer includes the noetrn and the noreceipts
313080785Sgshapiro		flags.
313180785Sgshapiro	PrivacyOptions=nobodyreturn instructs sendmail not to include the
313280785Sgshapiro		body of the original message on delivery status
313380785Sgshapiro		notifications.
313464562Sgshapiro	Don't announce DSN if PrivacyOptions=noreceipts is set.  Problem noted
313564562Sgshapiro		by Dan Bernstein, fix from Robert Harker of Harker Systems.
313664562Sgshapiro	Accept the SMTP RSET command even when rejecting commands due to TCP
313764562Sgshapiro		Wrappers or the check_relay ruleset.  Problem noted by
313864562Sgshapiro		Steve Schweinhart of America Online.
313964562Sgshapiro	Warn if OperatorChars is set multiple times.  OperatorChars should
314064562Sgshapiro		not be set after rulesets are defined.  Suggested by
314164562Sgshapiro		Mitchell Blank Jr of Exec-PC.
314264562Sgshapiro	Do not report temporary failure on delivery to files.  In
314364562Sgshapiro		interactive delivery mode, this would result in two SMTP
314464562Sgshapiro		responses after the DATA command.  Problem noted by
314564562Sgshapiro		Nik Conwell of Boston University.
314664562Sgshapiro	Check file close when mailing to files.  Problem noted by Nik
314764562Sgshapiro		Conwell of Boston University.
314864562Sgshapiro	Avoid a segmentation fault when using the LDAP map.  Patch from
314964562Sgshapiro		Curtis W. Hillegas of Princeton University.
315064562Sgshapiro	Always bind to the LDAP server regardless of whether you are using
315164562Sgshapiro		ldap_open() or ldap_init().  Fix from Raj Kunjithapadam of
315264562Sgshapiro		@Home Network.
315364562Sgshapiro	New ruleset trust_auth to determine whether a given AUTH=
315464562Sgshapiro		parameter of the MAIL command should be trusted.  See SMTP
315564562Sgshapiro		AUTH, cf/README, and doc/op/op.ps.
315664562Sgshapiro	Allow new named config file rules check_vrfy, check_expn, and
315764562Sgshapiro		check_etrn for VRFY, EXPN, and ETRN commands, respectively,
315864562Sgshapiro		similar to check_rcpt etc.
315964562Sgshapiro	Introduce new macros ${rcpt_mailer}, ${rcpt_host}, ${rcpt_addr},
316064562Sgshapiro		${mail_mailer}, ${mail_host}, ${mail_addr} that hold
316164562Sgshapiro		the results of parsing the RCPT and MAIL arguments, i.e.
316264562Sgshapiro		the resolved triplet from $#mailer $@host $:addr.
316364562Sgshapiro		From Kari Hurtta of the Finnish Meteorological Institute.
316464562Sgshapiro	New macro ${client_resolve} which holds the result of the resolve
316564562Sgshapiro		call for ${client_name}: OK, FAIL, FORGED, TEMP.  Proposed
316664562Sgshapiro		by Kari Hurtta of the Finnish Meteorological Institute.
316764562Sgshapiro	New macros ${dsn_notify}, ${dsn_envid}, and ${dsn_ret} that hold
316864562Sgshapiro		the corresponding DSN parameter values.  Proposed by
316964562Sgshapiro		Mathias Herberts.
317064562Sgshapiro	New macro ${msg_size} which holds the value of the SIZE= parameter,
317164562Sgshapiro		i.e., usually the size of the message (in an ESMTP dialogue),
317264562Sgshapiro		before the message has been collected, thereafter it holds
317364562Sgshapiro		the message size as computed by sendmail (and can be used
317464562Sgshapiro		in check_compat).
317564562Sgshapiro	The macro ${deliveryMode} now specifies the current delivery mode
317664562Sgshapiro		sendmail is using instead of the value of the DeliveryMode
317764562Sgshapiro		option.
317864562Sgshapiro	New macro ${ntries} holds the number of delivery attempts.
317964562Sgshapiro	Drop explicit From: if same as what would be generated only if it is
318064562Sgshapiro		a local address.  From Motonori Nakamura of Kyoto University.
318164562Sgshapiro	Write pid to file also if sendmail only processes the queue.
318264562Sgshapiro		Proposed by Roy J. Mongiovi of Georgia Tech.
318364562Sgshapiro	Log "low on disk space" only when necessary.
318464562Sgshapiro	New macro ${load_avg} can be used to check the current load average.
318564562Sgshapiro		Suggested by Scott Gifford of The Internet Ramp.
318664562Sgshapiro	Return-Receipt-To: header implies DSN request if option RrtImpliesDsn
318764562Sgshapiro		is set.
318864562Sgshapiro	Flag -S for maps to specify the character which is substituted
318964562Sgshapiro		for spaces (instead of the default given by O BlankSub).
319064562Sgshapiro	Flag -D for maps: perform no lookup in deferred delivery mode.
319164562Sgshapiro		This flag is set by default for the host map.  Based on a
319264562Sgshapiro		proposal from Ian MacPhedran of the University of Saskatchewan.
319364562Sgshapiro	Open maps only on demand, not at startup.
319464562Sgshapiro	Log warning about unsupported IP address families.
319564562Sgshapiro	New option MaxHeadersLength allows to specify a maximum length
319664562Sgshapiro		of the sum of all headers.  This can be used to prevent
319764562Sgshapiro		a denial-of-service attack.
319864562Sgshapiro	New option MaxMimeHeaderLength which limits the size of MIME
319964562Sgshapiro		headers and parameters within those headers.  This option
320064562Sgshapiro		is intended to protect mail user agents from buffer
320164562Sgshapiro		overflow attacks.
320264562Sgshapiro	Added option MaxAliasRecursion to specify the maximum depth of
320364562Sgshapiro		alias recursion.
320464562Sgshapiro	New flag F=6 for mailers to strip headers to seven bit.
320564562Sgshapiro	Map type syslog to log the key via syslogd.
320664562Sgshapiro	Entries in the alias file can be continued by putting a backslash
320764562Sgshapiro		directly before the newline.
320864562Sgshapiro	New option DeadLetterDrop to define the location of the system-wide
320964562Sgshapiro		dead.letter file, formerly hardcoded to
321064562Sgshapiro		/usr/tmp/dead.letter.  If this option is not set (the
321164562Sgshapiro		default), sendmail will not attempt to save to a
321264562Sgshapiro		system-wide dead.letter file if it can not bounce the mail
321364562Sgshapiro		to the user nor postmaster.  Instead, it will rename the qf
321464562Sgshapiro		file as it has in the past when the dead.letter file
321564562Sgshapiro		could not be opened.
321664562Sgshapiro	New option PidFile to define the location of the pid file.  The
321764562Sgshapiro		value of this option is macro expanded.
321864562Sgshapiro	New option ProcessTitlePrefix specifies a prefix string for the
321964562Sgshapiro		process title shown in 'ps' listings.
322064562Sgshapiro	New macros for use with the PidFile and ProcessTitlePrefix options
322164562Sgshapiro		(along with the already existing macros):
322264562Sgshapiro		${daemon_info}      Daemon information, e.g.
322364562Sgshapiro		                    SMTP+queueing@00:30:00
322464562Sgshapiro		${daemon_addr}	    Daemon address, e.g., 0.0.0.0
322564562Sgshapiro		${daemon_family}    Daemon family, e.g., inet, inet6, etc.
322664562Sgshapiro		${daemon_name}      Daemon name, e.g., MSA.
322764562Sgshapiro		${daemon_port}	    Daemon port, e.g., 25
322864562Sgshapiro		${queue_interval}   Queue run interval, e.g., 00:30:00
322964562Sgshapiro	New macros especially for virtual hosting:
323064562Sgshapiro		${if_name}	hostname of interface of incoming connection.
323164562Sgshapiro		${if_addr}	address of interface of incoming connection.
323264562Sgshapiro		The latter is only set if the interface does not belong to the
323364562Sgshapiro		loopback net.
323464562Sgshapiro	If a message being accepted via a method other than SMTP and
323564562Sgshapiro		would be rejected by a header check, do not send the message.
323664562Sgshapiro		Suggested by Phil Homewood of Mincom Pty Ltd.
323764562Sgshapiro	Don't strip comments for header checks if $>+ is used instead of $>.
323864562Sgshapiro		Provide header value as quoted string in the macro
323964562Sgshapiro		${currHeader} (possibly truncated to MAXNAME).  Suggested by
324064562Sgshapiro		Jan Krueger of Unix-AG of University of Hannover.
324164562Sgshapiro		The length of the header value is stored in ${hdrlen}.
324264562Sgshapiro	H*: allows to specify a default ruleset for header checks.  This
324364562Sgshapiro		ruleset will only be called if the individual header does
324464562Sgshapiro		not have its own ruleset assigned.  Suggested by Jan
324564562Sgshapiro		Krueger of Unix-AG of University of Hannover.
324664562Sgshapiro		The name of the header field stored in ${hdr_name}.
324764562Sgshapiro	Comments (i.e., text within parentheses) in rulesets are not
324864562Sgshapiro		removed if the config file version is greater than or equal
324964562Sgshapiro		to 9.  For example, "R$+ ( 1 )		$@ 1" matches the
325064562Sgshapiro		input "token (1)" but does not match "token".
325164562Sgshapiro	Avoid removing the Content-Transfer-Encoding MIME header on
325264562Sgshapiro		MIME messages.  Problem noted by Sigurbjorn B. Larusson of
325364562Sgshapiro		Multimedia Consumer Services.  Fix from Per Hedeland of
325464562Sgshapiro		Ericsson.
325564562Sgshapiro	Avoid duplicate Content-Transfer-Encoding MIME header on
325664562Sgshapiro		messages with 8-bit text in headers.  Problem noted by
325764562Sgshapiro		Per Steinar Iversen of Oslo College.  Fix from Per Hedeland
325864562Sgshapiro		of Ericsson.
325964562Sgshapiro	Avoid keeping maps locked longer than necessary when re-opening a
326064562Sgshapiro		modified database map file.  Problem noted by Chris Adams
326164562Sgshapiro		of Renaissance Internet Services.
326264562Sgshapiro	Resolving to the $#error mailer with a temporary failure code (e.g.,
326364562Sgshapiro		$#error $@ tempfail $: "400 Temporary failure") will now
326464562Sgshapiro		queue up the message instead of bouncing it.
326564562Sgshapiro	Be more liberal in acceptable responses to an SMTP RSET command as
326664562Sgshapiro		standard does not provide any indication of what to do when
326764562Sgshapiro		something other than 250 is received.  Based on a patch
326864562Sgshapiro		from Steve Schweinhart of America Online.
326964562Sgshapiro	New option TrustedUser allows to specify a user who can own
327064562Sgshapiro		important files instead of root.  This requires HASFCHOWN.
327164562Sgshapiro	Fix USERDB conditional so compiling with NEWDB or HESIOD and
327264562Sgshapiro		setting USERDB=0 works.  Fix from Jorg Zanger of Schock.
327364562Sgshapiro	Fix another instance (similar to one in 8.9.3) of a network failure
327464562Sgshapiro		being mis-logged as "Illegal Seek" instead of whatever
327564562Sgshapiro		really went wrong.  From John Beck of Sun Microsystems.
327664562Sgshapiro	$? tests also whether the macro is non-null.
327764562Sgshapiro	Print an error message if a mailer definition contains an invalid
327864562Sgshapiro		equate name.
327964562Sgshapiro	New mailer equate /= to specify a directory to chroot() into before
328064562Sgshapiro		executing the mailer program.  Suggested by Igor Vinokurov.
328164562Sgshapiro	New mailer equate W= to specify the maximum time to wait for the
328264562Sgshapiro		mailer to return after sending all data to it.
328364562Sgshapiro	Only free memory from the process list when adding a new process
328464562Sgshapiro		into a previously filled slot.  Previously, the memory was
328564562Sgshapiro		freed at removal time.  Since removal can happen in a
328664562Sgshapiro		signal handler, this may leave the memory map in an
328764562Sgshapiro		inconsistent state.  Problem noted by Jeff A. Earickson and
328864562Sgshapiro		David Cooley of Colby College.
328964562Sgshapiro	When using the UserDB @hostname catch-all, do not try to lookup
329064562Sgshapiro		local users in the passwd file.  The UserDB code has
329164562Sgshapiro		already decided the message will be passed to another host
329264562Sgshapiro		for processing.  Fix from Tony Landells of Burdett
329364562Sgshapiro		Buckeridge Young Limited.
329464562Sgshapiro	Support LDAP authorization via either a file containing the
329564562Sgshapiro		password or Kerberos V4 using the new map options
329664562Sgshapiro		'-ddistinguished_name', '-Mmethod', and '-Pfilename'.  The
329764562Sgshapiro		distinguished_name is who to login as.  The method can be
329864562Sgshapiro		one of LDAP_AUTH_NONE, LDAP_AUTH_SIMPLE, or
329964562Sgshapiro		LDAP_AUTH_KRBV4.  The filename is the file containing the
330064562Sgshapiro		secret key for LDAP_AUTH_SIMPLE or the name of the Kerberos
330164562Sgshapiro		ticket file for LDAP_AUTH_KRBV4.  Patch from Booker Bense
330264562Sgshapiro		of Stanford University.
330364562Sgshapiro	The ldapx map has been renamed to ldap.  The use of ldapx is
330464562Sgshapiro		deprecated and will be removed in a future version.
330564562Sgshapiro	If the result of an LDAP search returns a multi-valued attribute
330664562Sgshapiro		and the map has the column delimiter set, it turns that
330764562Sgshapiro		response into a delimiter separated string.  The LDAP map
330864562Sgshapiro		will traverse multiple entries as well.  LDAP alias maps
330964562Sgshapiro		automatically set the column delimiter to the comma.
331064562Sgshapiro		Based on patch from Booker Bense of Stanford University and
331164562Sgshapiro		idea from Philip A. Prindeville of Mirapoint, Inc.
331264562Sgshapiro	Support return of multiple values for a single LDAP lookup.  The
331364562Sgshapiro		values to be returned should be in a comma separated string.
331464562Sgshapiro		For example, `-v "email,emailother"'.  Patch from
331564562Sgshapiro		Curtis W. Hillegas of Princeton University.
331664562Sgshapiro	Allow the use of LDAP for alias maps.
331764562Sgshapiro	If no LDAP attributes are specified in an LDAP map declaration, all
331864562Sgshapiro		attributes found in the match will be returned.
331964562Sgshapiro	Prevent commas in quoted strings in the AliasFile value from
332064562Sgshapiro		breaking up a single entry into multiple entries.  This is
332164562Sgshapiro		needed for LDAP alias file specifications to allow for
332264562Sgshapiro		comma separated key and value strings.
332364562Sgshapiro	Keep connections to LDAP server open instead of opening and closing
332464562Sgshapiro		for each lookup.  To reduce overhead, sendmail will cache
332564562Sgshapiro		connections such that multiple maps which use the same
332664562Sgshapiro		host, port, bind DN, and authentication will only result in
332764562Sgshapiro		a single connection to that host.
332864562Sgshapiro	Put timeout in the proper place for USE_LDAP_INIT.
332964562Sgshapiro	Be more careful about checking for errors and freeing memory on
333064562Sgshapiro		LDAP lookups.
333164562Sgshapiro	Use asynchronous LDAP searches to save memory and network
333264562Sgshapiro		resources.
333364562Sgshapiro	Do not copy LDAP query results if the map's match only flag is set.
333464562Sgshapiro	Increase portability to the Netscape LDAP libraries.
333564562Sgshapiro	Change the parsing of the LDAP filter specification.  '%s' is still
333664562Sgshapiro		replaced with the literal contents of the map lookup key --
333764562Sgshapiro		note that this means a lookup can be done using the LDAP
333864562Sgshapiro		special characters.  The new '%0' token can be used instead
333964562Sgshapiro		of '%s' to encode the key buffer according to RFC 2254.
334064562Sgshapiro		For example, if the LDAP map specification contains '-k
334164562Sgshapiro		"(user=%s)"' and a lookup is done on "*", this would be
334264562Sgshapiro		equivalent to '-k "(user=*)"' -- matching ANY record with a
334364562Sgshapiro		user attribute.  Instead, if the LDAP map specification
334464562Sgshapiro		contains '-k "(user=%0)"' and a lookup is done on "*", this
334564562Sgshapiro		would be equivalent to '-k "(user=\2A)"' -- matching a user
334664562Sgshapiro		with the name "*".
334764562Sgshapiro	New LDAP map flags: "-1" requires a single match to be returned, if
334864562Sgshapiro		more than one is returned, it is equivalent to no records
334964562Sgshapiro		being found; "-r never|always|search|find" sets the LDAP
335064562Sgshapiro		alias dereference option; "-Z size" limits the number of
335164562Sgshapiro		matches to return.
335264562Sgshapiro	New option LDAPDefaultSpec allows a default map specification for
335364562Sgshapiro		LDAP maps.  The value should only contain LDAP specific
335464562Sgshapiro		settings such as "-h host -p port -d bindDN", etc.  The
335564562Sgshapiro		settings will be used for all LDAP maps unless they are
335664562Sgshapiro		specified in the individual map specification ('K'
335764562Sgshapiro		command).  This option should be set before any LDAP maps
335864562Sgshapiro		are defined.
335964562Sgshapiro	Prevent an NDBM alias file opening loop when the NDBM open
336064562Sgshapiro		continually fails.  Fix from Roy J. Mongiovi of Georgia
336164562Sgshapiro		Tech.
336264562Sgshapiro	Reduce memory utilization for smaller symbol table entries.  In
336364562Sgshapiro		particular, class entries get much smaller, which can be
336464562Sgshapiro		important if you have large classes.
336564562Sgshapiro	On network-related temporary failures, record the hostname which
336664562Sgshapiro		gave error in the queued status message.  Requested by
336764562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
336864562Sgshapiro	Add new F=% mailer flag to allow for a store and forward
336964562Sgshapiro		configuration.  Mailers which have this flag will not attempt
337064562Sgshapiro		delivery on initial receipt of a message or on queue runs
337164562Sgshapiro		unless the queued message is selected using one of the
337264562Sgshapiro		-qI/-qR/-qS queue run modifiers or an ETRN request.  Code
337364562Sgshapiro		provided by Philip Guenther of Gustavus Adolphus College.
337464562Sgshapiro	New option ControlSocketName which, when set, creates a daemon
337564562Sgshapiro		control socket.  This socket allows an external program to
337664562Sgshapiro		control and query status from the running sendmail daemon
337764562Sgshapiro		via a named socket, similar to the ctlinnd interface to the
337864562Sgshapiro		INN news server.  Access to this interface is controlled by
337964562Sgshapiro		the UNIX file permissions on the named socket on most UNIX
338064562Sgshapiro		systems (see sendmail/README for more information).  An
338164562Sgshapiro		example control program is provided as contrib/smcontrol.pl.
338264562Sgshapiro	Change the default values of QueueLA from 8 to (8 * numproc) and
338364562Sgshapiro		RefuseLA from 12 to (12 * numproc) where numproc is the
338464562Sgshapiro		number of processors online on the system (if that can be
338564562Sgshapiro		determined).  For single processor machines, this change
338664562Sgshapiro		has no effect.
338764562Sgshapiro	Don't return body of message to postmaster on "Too many hops" bounces.
338864562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
338964562Sgshapiro	Give more detailed DSN descriptions for some cases.  Patch from
339064562Sgshapiro		Motonori Nakamura of Kyoto University.
339164562Sgshapiro	Logging of alias, forward file, and UserDB expansion now happens
339264562Sgshapiro		at LogLevel 11 or higher instead of 10 or higher.
339364562Sgshapiro	Logging of an envelope's complete delivery (the "done" message) now
339464562Sgshapiro		happens at LogLevel 10 or higher instead of 11 or higher.
339564562Sgshapiro	Logging of TCP/IP or UNIX standard input connections now happens at
339664562Sgshapiro		LogLevel 10 or higher.  Previously, only TCP/IP connections
339764562Sgshapiro		were logged, and on at LogLevel 12 or higher.  Setting
339864562Sgshapiro		LogLevel to 10 will now assist users in tracking frequent
339964562Sgshapiro		connection-based denial of service attacks.
340064562Sgshapiro	Log basic information about authenticated connections at LogLevel
340164562Sgshapiro		10 or higher.
340264562Sgshapiro	Log SMTP Authentication mechanism and author when logging the sender
340364562Sgshapiro		information (from= syslog line).
340464562Sgshapiro	Log the DSN code for each recipient if one is available as a new
340564562Sgshapiro		equate (dsn=).
340664562Sgshapiro	Macro expand PostmasterCopy and DoubleBounceAddress options.
340764562Sgshapiro	New "ph" map for performing ph queries in rulesets, see
340864562Sgshapiro		sendmail/README for details.  Contributed by Mark Roth
340964562Sgshapiro		of the University of Illinois at Urbana-Champaign.
341064562Sgshapiro	Detect temporary lookup failures in the host map if looking up a
341164562Sgshapiro		bracketed IP address.  Problem noted by Kari Hurtta of the
341264562Sgshapiro		Finnish Meteorological Institute.
341364562Sgshapiro	Do not report a Remote-MTA on local deliveries.  Problem noted by
341464562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
341564562Sgshapiro	When a forward file points to an alias which runs a program, run
341664562Sgshapiro		the program as the default user and the default group, not
341764562Sgshapiro		the forward file user.  This change also assures the
341864562Sgshapiro		:include: directives in aliases are also processed using
341964562Sgshapiro		the default user and group.  Problem noted by Sergiu
342064562Sgshapiro		Popovici of DNT Romania.
342164562Sgshapiro	Prevent attempts to save a dead.letter file for a user with
342264562Sgshapiro		no home directory (/no/such/directory).  Problem noted by
342364562Sgshapiro		Michael Brown of Finnigan FT/MS.
342464562Sgshapiro	Include message delay and number of tries when logging that a
342564562Sgshapiro		message has been completely delivered (LogLevel of 10 or
342664562Sgshapiro		above).  Suggested by Nick Hilliard of Ireland Online.
342764562Sgshapiro	Log the sender of a message even if none of the recipients were
342864562Sgshapiro		accepted.  If some of the recipients were rejected, it is
342964562Sgshapiro		helpful to know the sender of the message.
343064562Sgshapiro	Check the root directory (/) when checking a path for safety.
343164562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
343264562Sgshapiro	Prevent multiple responses to the DATA command if DeliveryMode is
343364562Sgshapiro		interactive and delivering to an alias which resolves to
343464562Sgshapiro		multiple files.
343564562Sgshapiro	Macros in the helpfile are expanded if the helpfile version is 2 or
343664562Sgshapiro		greater (see below); the help function doesn't print the
343764562Sgshapiro		version of sendmail any longer, instead it is placed in
343864562Sgshapiro		the helpfile ($v).  Suggested by Chuck Foster of UUNET
343964562Sgshapiro		PIPEX.  Additionally, comment lines (starting with #) are
344064562Sgshapiro		skipped and a version line (#vers) is introduced.  The
344164562Sgshapiro		helpfile version for 8.10.0 is 2, if no version or an older
344264562Sgshapiro		version is found, a warning is logged.  The '#vers'
344364562Sgshapiro		directive should be placed at the top of the help file.
344464562Sgshapiro	Use fsync() when delivering to a file to guarantee the delivery to
344564562Sgshapiro		disk succeeded.  Suggested by Nick Christenson.
344664562Sgshapiro	If delivery to a file is unsuccessful, truncate the file back to its
344764562Sgshapiro		length before the attempt.
344864562Sgshapiro	If a forward points to a filename for delivery, change to the
344964562Sgshapiro		user's uid before checking permissions on the file.  This
345064562Sgshapiro		allows delivery to files on NFS mounted directories where
345164562Sgshapiro		root is remapped to nobody.  Problem noted by Harald
345264562Sgshapiro		Daeubler of Universitaet Ulm.
345364562Sgshapiro	purgestat and sendmail -bH purge only expired (Timeout.hoststatus)
345464562Sgshapiro		host status files, not all files.
345564562Sgshapiro	Any macros stored in the class $={persistentMacros} will be saved
345664562Sgshapiro		in the queue file for the message and set when delivery
345764562Sgshapiro		is attempted on the queued item.  Suggested by Kyle Jones of
345864562Sgshapiro		Wonderworks Inc.
345964562Sgshapiro	Add support for storing information between rulesets using the new
346064562Sgshapiro		macro map class.  This can be used to store information
346164562Sgshapiro		between queue runs as well using $={persistentMacros}.
346264562Sgshapiro		Based on an idea from Jan Krueger of Unix-AG of University
346364562Sgshapiro		of Hannover.
346464562Sgshapiro	New map class arith to allow for computations in rules.  The
346564562Sgshapiro		operation (+, -, *, /, l (for less than), and =) is given
346664562Sgshapiro		as key.  The two operands are specified as arguments; the
346764562Sgshapiro		lookup returns the result of the computation.  For example,
346864562Sgshapiro		"$(arith l $@ 4 $@ 2 $)" will return "FALSE" and
346964562Sgshapiro		"$(arith + $@ 4 $@ 2 $)" will return "6".
347064562Sgshapiro	Add new syntax for header declarations which decide whether to
347164562Sgshapiro		include the header based on a macro rather than a mailer
347264562Sgshapiro		flag:
347364562Sgshapiro			H?${MyMacro}?X-My-Header: ${MyMacro}
347464562Sgshapiro		This should be used along with $={persistentMacros}.
347564562Sgshapiro		It can be used for adding headers to a message based on
347664562Sgshapiro		the results of check_* and header check rulesets.
347764562Sgshapiro	Allow new named config file rule check_eoh which is called after
347864562Sgshapiro		all of the headers have been collected.  The input to the
347964562Sgshapiro		ruleset the number of headers and the size of all of the
348064562Sgshapiro		headers in bytes separated by $|.  This ruleset along with
348164562Sgshapiro		the macro storage map can be used to correlate information
348264562Sgshapiro		gathered between headers and to check for missing headers.
348364562Sgshapiro		See cf/README or doc/op/op.ps for an example.
348464562Sgshapiro	Change the default for the MeToo option to True to correspond
348564562Sgshapiro		to the clarification in the DRUMS SMTP Update spec.  This
348664562Sgshapiro		option is deprecated and will be removed from a future
348764562Sgshapiro		version.
348864562Sgshapiro	Change the sendmail binary default for SendMimeErrors to True.
348964562Sgshapiro	Change the sendmail binary default for SuperSafe to True.
349064562Sgshapiro	Display ruleset names in debug and address test mode output
349164562Sgshapiro		if referencing a named ruleset.
349264562Sgshapiro	New mailer equate m= which will limit the number of messages
349364562Sgshapiro		delivered per connection on an SMTP or LMTP mailer.
349464562Sgshapiro	Improve QueueSortOrder=Host by reversing the hostname before
349564562Sgshapiro		using it to sort.  Now all the same domains are really run
349664562Sgshapiro		through the queue together.  If they have the same MX host,
349764562Sgshapiro		then they will have a much better opportunity to use the
349864562Sgshapiro		connection cache if available.  This should be a reasonable
349964562Sgshapiro		performance improvement.  Patch from Randall Winchester of
350064562Sgshapiro		the University of Maryland.
350164562Sgshapiro	If a message is rejected by a header check ruleset, log who would
350264562Sgshapiro		have received the message if it had not been rejected.
350364562Sgshapiro	New "now" value for Timeout.queuereturn to bounce entries from the
350464562Sgshapiro		queue immediately.  No delivery attempt is made.
350564562Sgshapiro	Increase sleeping time exponentially after too many "bad" commands
350664562Sgshapiro		up to 4 minutes delay (compare MAX{BAD,NOOP,HELO,VRFY,ETRN}-
350764562Sgshapiro		COMMANDS).
350864562Sgshapiro	New option ClientPortOptions similar to DaemonPortOptions
350964562Sgshapiro		but for outgoing connections.
351064562Sgshapiro	New suboptions for DaemonPortOptions: Name (a name used for
351164562Sgshapiro		error messages and logging) and Modifiers, i.e.
351264562Sgshapiro			a	require authentication
351364562Sgshapiro			b	bind to interface through which mail has
351464562Sgshapiro				been received
351564562Sgshapiro			c	perform hostname canonification
351664562Sgshapiro			f	require fully qualified hostname
351764562Sgshapiro			h	use name of interface for outgoing HELO
351864562Sgshapiro				command
351964562Sgshapiro			C	don't perform hostname canonification
352064562Sgshapiro			E	disallow ETRN (see RFC 2476)
352164562Sgshapiro	New suboption for ClientPortOptions: Modifiers, i.e.
352264562Sgshapiro			h	use name of interface for HELO command
352364562Sgshapiro	The version number for queue files (qf) has been incremented to 4.
352464562Sgshapiro	Log unacceptable HELO/EHLO domain name attempts if LogLevel is set
352564562Sgshapiro		to 10 or higher.  Suggested by Rick Troxel of the National
352664562Sgshapiro		Institutes of Health.
352764562Sgshapiro	If a mailer dies, print the status in decimal instead of octal
352864562Sgshapiro		format.  Suggested by Michael Shapiro of Sun Microsystems.
352964562Sgshapiro	Limit the length of all MX records considered for delivery to 8k.
353064562Sgshapiro	Move message priority from sender to recipient logging.  Suggested by
353164562Sgshapiro		Ulrich Windl of the Universitat Regensburg.
353264562Sgshapiro	Add support for Berkeley DB 3.X.
353371345Sgshapiro	Add fix for Berkeley DB 2.X fcntl() locking race condition.
353464562Sgshapiro		Requires a post-2.7.5 version of Berkeley DB.
353564562Sgshapiro	Support writing traffic log (sendmail -X option) to a FIFO.
353664562Sgshapiro		Patch submitted by Rick Heaton of Network Associates, Inc.
353764562Sgshapiro	Do not ignore Timeout settings in the .cf file when a Timeout
353864562Sgshapiro		sub-options is set on the command line.  Problem noted by
353964562Sgshapiro		Graeme Hewson of Oracle.
354064562Sgshapiro	Randomize equal preference MX records each time delivery is
354164562Sgshapiro		attempted via a new connection to a host instead of once per
354264562Sgshapiro		session.  Suggested by Scott Salvidio of Compaq.
354364562Sgshapiro	Implement enhanced status codes as defined by RFC 2034.
354464562Sgshapiro	Add [hostname] to class w for the names of all interfaces unless
354564562Sgshapiro		DontProbeInterfaces is set. This is useful for sending mails
354664562Sgshapiro		to hosts which have dynamically assigned names.
354764562Sgshapiro	If a message is bounced due to bad MIME conformance, avoid bouncing
354864562Sgshapiro		the bounce for the same reason.  If the body is not 8-bit
354964562Sgshapiro		clean, and EightBitMode isn't set to pass8, the body will
355064562Sgshapiro		not be included in the bounce.  Problem noted by Valdis
355164562Sgshapiro		Kletnieks of Virginia Tech.
355264562Sgshapiro	The timeout for sending a message via SMTP has been changed from
355364562Sgshapiro		'${msgsize} / 16 + (${nrcpts} * 300)' to a timeout which
355464562Sgshapiro		simply checks for progress on sending data every 5 minutes.
355564562Sgshapiro		This will detect the inability to send information quicker
355664562Sgshapiro		and reduce the number of processes simply waiting to
355764562Sgshapiro		timeout.
355864562Sgshapiro	Prevent a segmentation fault on systems which give a partial filled
355964562Sgshapiro		interface address structure when loading the system network
356064562Sgshapiro		interface addresses.  Fix from Reinier Bezuidenhout of
356164562Sgshapiro		Nanoteq.
356264562Sgshapiro	Add a compile-time configuration macro, MAXINTERFACES, which
356364562Sgshapiro		indicates the number of interfaces to read when probing
356464562Sgshapiro		for hostnames and IP addresses for class w ($=w).  The
356564562Sgshapiro		default value is 512.  Based on idea from Reinier
356664562Sgshapiro		Bezuidenhout of Nanoteq.
356764562Sgshapiro	If the RefuseLA option is set to 0, do not reject connections based
356864562Sgshapiro		on load average.
356964562Sgshapiro	Allow ruleset 0 to have a name.  Problem noted by Neil Rickert of
3570120256Sgshapiro		Northern Illinois University.
3571120256Sgshapiro	Expand the Return-Path: header at delivery time, after "owner-"
3572120256Sgshapiro		envelope splitting has occurred.
357364562Sgshapiro	Don't try to sort the queue if there are no entries. Patch from
357464562Sgshapiro		Luke Mewburn from RMIT University.
357564562Sgshapiro	Add a "/quit" command to address test mode.
357664562Sgshapiro	Include the proper sender in the UNIX "From " line and Return-Path:
357764562Sgshapiro		header when undeliverable mail is saved to ~/dead.letter.
357864562Sgshapiro		Problem noted by Kari Hurtta of the Finnish Meteorological
357964562Sgshapiro		Institute.
358064562Sgshapiro	The contents of a class can now be copied to another class using
358164562Sgshapiro		the syntax: "C{Dest} $={Source}".  This would copy all of
358264562Sgshapiro		the items in class $={Source} into the class $={Dest}.
358364562Sgshapiro	Include original envelope's error transcript in bounces created for
358464562Sgshapiro		split (owner-) envelopes to see the original errors when
358564562Sgshapiro		the recipients were added.  Based on fix from Motonori
358664562Sgshapiro		Nakamura of Kyoto University.
358764562Sgshapiro	Show reason for permanent delivery errors directly after the
358864562Sgshapiro		addresses.  From Motonori Nakamura of Kyoto University.
358964562Sgshapiro	Prevent a segmentation fault when bouncing a split-envelope
359064562Sgshapiro		message.  Patch from Motonori Nakamura of Kyoto University.
359164562Sgshapiro	If the specification for the queue run interval (-q###) has a
359264562Sgshapiro		syntax error, consider the error fatal and exit.
359364562Sgshapiro	Pay attention to CheckpointInterval during LMTP delivery.  Problem
359464562Sgshapiro		noted by Motonori Nakamura of Kyoto University.
359564562Sgshapiro	On operating systems which have setlogin(2), use it to set the
359664562Sgshapiro		login name to the RunAsUserName when starting as a daemon.
359764562Sgshapiro		This is for delivery to programs which use getlogin().
359864562Sgshapiro		Based on fix from Motonori Nakamura of Kyoto University.
359964562Sgshapiro	Differentiate between "command not implemented" and "command
360064562Sgshapiro		unrecognized" in the SMTP dialogue.
360164562Sgshapiro	Strip returns from forward and include files.  Problem noted by
360264562Sgshapiro		Allan E Johannesen of Worcester Polytechnic Institute.
360364562Sgshapiro	Prevent a core dump when using 'sendmail -bv' on an address which
360464562Sgshapiro		resolves to the $#error mailer with a temporary failure.
360564562Sgshapiro		Based on fix from Neil Rickert of Northern Illinois
360664562Sgshapiro		University.
360764562Sgshapiro	Prevent multiple deliveries of a message with a "non-local alias"
360864562Sgshapiro		pointing to a local user, if canonicalization fails
360964562Sgshapiro		the message was requeued *and* delivered to the alias.
361064562Sgshapiro	If an invalid ruleset is declared, the ruleset name could be
361164562Sgshapiro		ignored and its rules added to S0.  Instead, ignore the
361264562Sgshapiro		ruleset lines as well.
361364562Sgshapiro	Avoid incorrect Final-Recipient, Action, and X-Actual-Recipient
361464562Sgshapiro		success DSN fields as well as duplicate entries for a
361564562Sgshapiro		single address due to S5 and UserDB processing.  Problems
361664562Sgshapiro		noted by Kari Hurtta of the Finnish Meteorological
361764562Sgshapiro		Institute.
361864562Sgshapiro	Turn off timeouts when exiting sendmail due to an interrupt signal
361964562Sgshapiro		to prevent the timeout from firing during the exit process.
362064562Sgshapiro		Problem noted by Michael Shapiro of Sun Microsystems.
362164562Sgshapiro	Do not append @MyHostName to non-RFC822 addresses output by the EXPN
362264562Sgshapiro		command or on Final-Recipient: and X-Actual-Recipient: DSN
362364562Sgshapiro		headers.  Non-RFC822 addresses include deliveries to
362464562Sgshapiro		programs, file, DECnet, etc.
362564562Sgshapiro	Fix logic for determining if a local user is using -f or -bs to
362664562Sgshapiro		spoof their return address.  Based on idea from Neil Rickert
362764562Sgshapiro		of Northern Illinois University and patch from Per Hedeland
362864562Sgshapiro		of Ericsson.
362964562Sgshapiro	Report the proper UID in the bounce message if an :include: file is
363064562Sgshapiro		owned by a uid that doesn't map to a username and the
363164562Sgshapiro		:include: file contains delivery to a file or program.
363264562Sgshapiro		Problem noted by John Beck of Sun Microsystems.
363364562Sgshapiro	Avoid the attempt of trying to send a second SMTP QUIT command if
363464562Sgshapiro		the remote server responds to the first QUIT with a 4xx
363564562Sgshapiro		response code and drops the connection.  This behavior was
363664562Sgshapiro		noted by Ulrich Windl of the Universitat Regensburg when
363764562Sgshapiro		sendmail was talking to the Mercury 1.43 MTA.
363864562Sgshapiro	If a hostname lookup times out and ServiceSwitchFile is set but the
363964562Sgshapiro		file is not present, the lookup failure would be marked as
364064562Sgshapiro		a permanent failure instead of a temporary failure.  Fix
364164562Sgshapiro		from Russell King of the ARM Linux Project.
364264562Sgshapiro	Handle aliases or forwards which deliver to programs using tabs
364364562Sgshapiro		instead of spaces between arguments.  Problem noted by Randy
364464562Sgshapiro		Wormser.  Fix from Neil Rickert of Northern Illinois
364564562Sgshapiro		University.
364664562Sgshapiro	Allow MaxRecipientsPerMessage option to be set on the command line
364764562Sgshapiro		by normal users (e.g., sendmail won't drop its root
364864562Sgshapiro		privileges) to allow overrides for message submission via
364964562Sgshapiro		'sendmail -bs'.
365064562Sgshapiro	Set the names for help file and statistics file to "helpfile" and
365164562Sgshapiro		"statistics", respectively, if no parameters are given for
365264562Sgshapiro		them in the .cf file.
365364562Sgshapiro	Avoid bogus 'errbody: I/O Error -7' log messages when sending
365464562Sgshapiro		success DSN messages for messages relayed to non-DSN aware
365564562Sgshapiro		systems.  Problem noted by Juergen Georgi of RUS University
365664562Sgshapiro		of Stuttgart and Kyle Tucker of Parexel International.
365764562Sgshapiro	Prevent +detail information from interfering with local delivery to
365864562Sgshapiro		multiple users in the same transaction (F=m).
365964562Sgshapiro	Add H_FORCE flag for the X-Authentication-Warning: header, so it
366064562Sgshapiro		will be added even if one already exists.  Problem noted
366164562Sgshapiro		by Michal Zalewski of Marchew Industries.
366264562Sgshapiro	Stop processing SMTP commands if the SMTP connection is dropped.
366364562Sgshapiro		This prevents a remote system from flooding the connection
366464562Sgshapiro		with commands and then disconnecting.  Previously, the
366564562Sgshapiro		server would process all of the buffered commands.  Problem
366664562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
366764562Sgshapiro	Properly process user-supplied headers beginning with '?'.  Problem
366864562Sgshapiro		noted by Michal Zalewski of Marchew Industries.
366964562Sgshapiro	If multiple header checks resolve to the $#error mailer, use the
367064562Sgshapiro		last permanent (5XX) failure if any exist.  Otherwise, use
367164562Sgshapiro		the last temporary (4XX) failure.
367264562Sgshapiro	RFC 1891 requires "hexchar" in a "xtext" to be upper case.  Patch
367364562Sgshapiro		from Ronald F. Guilmette of Infinite Monkeys & Co.
367464562Sgshapiro	Timeout.ident now defaults to 5 seconds instead of 30 seconds to
367564562Sgshapiro		prevent the now common delays associated with mailing to a
367664562Sgshapiro		site which drops IDENT packets.  Suggested by many.
367764562Sgshapiro	Persistent host status data is not reloaded disk when current data
367864562Sgshapiro		is available in the in-memory cache.  Problem noted by Per
367964562Sgshapiro		Hedeland of Ericsson.
368064562Sgshapiro	mailq displays unprintable characters in addresses as their octal
368164562Sgshapiro		representation and a leading backslash.  This avoids problems
368264562Sgshapiro		with "unprintable" characters.  Problem noted by Michal
368364562Sgshapiro		Zalewski of the "Internet for Schools" project (IdS).
368464562Sgshapiro	The mail line length limit (L= equate) was adding the '!' indicator
368564562Sgshapiro		one character past the limit.  This would cause subsequent
368664562Sgshapiro		hops to break the line again.  The '!' is now placed in
368764562Sgshapiro		the last column of the limit if the line needs to be broken.
368864562Sgshapiro		Problem noted by Joe Pruett of Q7 Enterprises.  Based on fix
368964562Sgshapiro		from Per Hedeland of Ericsson.
369064562Sgshapiro	If a resolver ANY query is larger than the UDP packet size, the
369164562Sgshapiro		resolver will fall back to TCP.  However, some
369264562Sgshapiro		misconfigured firewalls black 53/TCP so the ANY lookup
369364562Sgshapiro		fails whereas an MX or A record might succeed.  Therefore,
369464562Sgshapiro		don't fail on ANY queries.
369564562Sgshapiro	If an SMTP recipient is rejected due to syntax errors in the
369664562Sgshapiro		address, do not send an empty postmaster notification DSN
369764562Sgshapiro		to the postmaster.  Problem noted by Neil Rickert of
369864562Sgshapiro		Northern Illinois University.
369964562Sgshapiro	Allow '_' and '.' in map names when parsing a sequence map
370064562Sgshapiro		specification.  Patch from William Setzer of North Carolina
370164562Sgshapiro		State University.
370264562Sgshapiro	Fix hostname in logging of read timeouts for the QUIT command on
370364562Sgshapiro		cached connections.  Problem noted by Neil Rickert of
370464562Sgshapiro		Northern Illinois University.
370564562Sgshapiro	Use a more descriptive entry to log "null" connections, i.e.,
370664562Sgshapiro		"host did not issue MAIL/EXPN/VRFY/ETRN during connection".
370764562Sgshapiro	Fix a file descriptor leak in ONEX mode.
370864562Sgshapiro	Portability:
370964562Sgshapiro		Reverse signal handling logic such that sigaction(2) with
371064562Sgshapiro			the SA_RESTART flag is the preferred method and the
371164562Sgshapiro			other signal methods are only tried if SA_RESTART
371264562Sgshapiro			is not available.  Problem noted by Allan E
371364562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
371464562Sgshapiro		AIX 4.x supports the sa_len member of struct sockaddr.
371564562Sgshapiro			This allows network interface probing to work
371664562Sgshapiro			properly.  Fix from David Bronder of the
371764562Sgshapiro			University of Iowa.
371864562Sgshapiro		AIX 4.3 has snprintf() support.
371964562Sgshapiro		Use "PPC" as the architecture name when building under
372064562Sgshapiro			AIX.  This will be reflected in the obj.* directory
372164562Sgshapiro			name.
372264562Sgshapiro		Apple Darwin support based on Apple Rhapsody port.
372364562Sgshapiro		Fixed AIX 'make depend' method from Valdis Kletnieks of
372464562Sgshapiro			Virginia Tech.
372564562Sgshapiro		Digital UNIX has uname(2).
372664562Sgshapiro		GNU Hurd updates from Mark Kettenis of the University of
372764562Sgshapiro			Amsterdam.
372864562Sgshapiro		Improved HPUX 11.0 portability.
372964562Sgshapiro		Properly determine the number of CPUs on FreeBSD 2.X,
373064562Sgshapiro			FreeBSD 3.X, HP/UX 10.X and HP/UX 11.X.
373164562Sgshapiro		Remove special IRIX ABI cases from Build script and the OS
373264562Sgshapiro			files.  Use the standard 'cc' options used by SGI
373364562Sgshapiro			in building the operating system.  Users can
373464562Sgshapiro			override the defaults by setting confCC and
373564562Sgshapiro			confLIBSEARCHPATH appropriately.
373664562Sgshapiro		IRIX nsd map support from Bob Mende of SGI.
373764562Sgshapiro		Minor devtools fixes for IRIX from Bob Mende of SGI.
373864562Sgshapiro		Linux patch for IP_SRCROUTE support from Joerg Dorchain
373964562Sgshapiro			of MW EDV & ELECTRONIC.
374064562Sgshapiro		Linux now uses /usr/sbin for confEBINDIR in the build
374164562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
374264562Sgshapiro		Remove special treatment for Linux PPC in the build
374364562Sgshapiro			system.  From MATSUURA Takanori of Osaka University.
374464562Sgshapiro		Motorolla UNIX SYSTEM V/88 Release 4.0 support from
374564562Sgshapiro			Sergey Rusanov of the Republic of Udmurtia.
374664562Sgshapiro		NCR MP-RAS 3.x includes regular expression support.  From
374764562Sgshapiro			Tom J. Moore of NCR.
374864562Sgshapiro		NEC EWS-UX/V series settings for _PATH_VENDOR_CF and
374964562Sgshapiro			_PATH_SENDMAILPID from Oota Toshiya of
375064562Sgshapiro			NEC Computers Group Planning Division.
375164562Sgshapiro		Minor NetBSD owner/group tweaks from Ayamura Kikuchi, M.D.
375264562Sgshapiro		NEWS-OS 6.X listed SYSLOG_BUFSIZE as 256 in confENVDEF and
375364562Sgshapiro			1024 in conf.h.  Since confENVDEF would be used,
375464562Sgshapiro			use that value in conf.h.
375564562Sgshapiro		Use NeXT's NETINFO to get domain name.  From Gerd Knops of
375664562Sgshapiro			BITart Consulting.
375764562Sgshapiro		Use NeXT's NETINFO for alias and hostname resolution if
375864562Sgshapiro			AUTO_NETINFO_ALIASES and AUTO_NETINFO_HOSTS are
375964562Sgshapiro			defined.  Patch from Wilfredo Sanchez of Apple
376064562Sgshapiro			Computer, Inc.
376164562Sgshapiro		NeXT portability tweaks.  Problems reported by Dragan
376264562Sgshapiro			Milicic of the University of Utah and J. P. McCann
376364562Sgshapiro			of E I A.
376464562Sgshapiro		New compile flag FAST_PID_RECYCLE: set this if your system
376564562Sgshapiro			can reuse the same PID in the same second.
376664562Sgshapiro		New compile flag HASFCHOWN: set this if your OS has
376764562Sgshapiro			fchown(2).
376864562Sgshapiro		New compile flag HASRANDOM: set this to 0 if your OS does
376964562Sgshapiro			not have random(3).  rand() will be used instead.
377064562Sgshapiro		New compile flag HASSRANDOMDEV: set this if your OS has
377164562Sgshapiro			srandomdev(3).
377264562Sgshapiro		New compile flag HASSETLOGIN: set this if your OS has
377364562Sgshapiro			setlogin(2).
377464562Sgshapiro		Replace SINIX and ReliantUNIX support with version
377564562Sgshapiro			specific SINIX files.  From Gerald Rinske of
377664562Sgshapiro			Siemens Business Services.
377764562Sgshapiro		Use the 60-second load average instead of the 5 second load
377864562Sgshapiro			average on Compaq Tru64 UNIX (formerly Digital
377964562Sgshapiro			UNIX).  From Chris Teakle of the University of Qld.
378064562Sgshapiro		Use ANSI C by default for Compaq Tru64 UNIX.  Suggested by
378164562Sgshapiro			Randall Winchester of Swales Aerospace.
378264562Sgshapiro		Correct setgroups() prototype for Compaq Tru64 UNIX.
378364562Sgshapiro			Problem noted by Randall Winchester of Swales
378464562Sgshapiro			Aerospace.
378564562Sgshapiro		Hitachi 3050R/3050RX and 3500 Workstations running
378664562Sgshapiro			HI-UX/WE2 4.02, 6.10 and 7.10 from Motonori
378764562Sgshapiro			NAKAMURA of Kyoto University.
378864562Sgshapiro		New compile flag NO_GETSERVBYNAME: set this to disable
378964562Sgshapiro			use of getservbyname() on systems which can
379064562Sgshapiro			not lookup a service by name over NIS, such as
379164562Sgshapiro			HI-UX.  Patch from Motonori NAKAMURA of Kyoto
379264562Sgshapiro			University.
379364562Sgshapiro		Use devtools/bin/install.sh on SCO 5.x.  Problem noted
379464562Sgshapiro			by Sun Wenbing of the China Engineering and
379564562Sgshapiro			Technology Information Network.
379664562Sgshapiro		make depend didn't work properly on UNIXWARE 4.2.  Problem
379764562Sgshapiro			noted by Ariel Malik of Netology, Ltd.
379864562Sgshapiro		Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
379964562Sgshapiro		Set confSTDIO_TYPE to torek for BSD-OS, FreeBSD, NetBSD,
380064562Sgshapiro			and OpenBSD.
380164562Sgshapiro		A recent Compaq Ultrix 4.5 Y2K patch has broken detection
380264562Sgshapiro			of local_hostname_length().  See sendmail/README
380364562Sgshapiro			for more details.  Problem noted by Allan E
380464562Sgshapiro			Johannesen of Worcester Polytechnic Institute.
380564562Sgshapiro	CONFIG: Begin using /etc/mail/ for sendmail related files.  This
380664562Sgshapiro		affects a large number of files.  See cf/README for more
380764562Sgshapiro		details.
380864562Sgshapiro	CONFIG: New macro MAIL_SETTINGS_DIR contains the path (including
380964562Sgshapiro		trailing slash) for the mail settings directory.
381064562Sgshapiro	CONFIG: Increment version number of config file to 9.
381164562Sgshapiro	CONFIG: OSTYPE(`bsdi1.0') and OSTYPE(`bsdi2.0') have been
381264562Sgshapiro		deprecated and may be removed from a future release.
381364562Sgshapiro		BSD/OS users should begin using OSTYPE(`bsdi').
381464562Sgshapiro	CONFIG: OpenBSD 2.4 installs mail.local non-set-user-ID root.  This
381564562Sgshapiro		requires a new OSTYPE(`openbsd').  From Todd C. Miller of
381664562Sgshapiro		Courtesan Consulting.
381764562Sgshapiro	CONFIG: New OSTYPE(`hpux11') for HP/UX 11.X.
381864562Sgshapiro	CONFIG: A syntax error in check_mail would cause fake top-level
381964562Sgshapiro		domains (.BITNET, .DECNET, .FAX, .USENET, and .UUCP) to
382064562Sgshapiro		be improperly rejected as unresolvable.
382164562Sgshapiro	CONFIG: New FEATURE(`dnsbl') takes up to two arguments (name of
382264562Sgshapiro		DNS server, rejection message) and can be included
382364562Sgshapiro		multiple times.
382464562Sgshapiro	CONFIG: New FEATURE(`relay_mail_from') allows relaying if the
382564562Sgshapiro		mail sender is listed as RELAY in the access map (and tagged
382664562Sgshapiro		with From:).
382764562Sgshapiro	CONFIG: Optional tagging of LHS in the access map (Connect:,
382864562Sgshapiro		From:, To:) to enable finer control.
382964562Sgshapiro	CONFIG: New FEATURE(`ldap_routing') implements LDAP address
383064562Sgshapiro		routing.  See cf/README for a complete description of the
383164562Sgshapiro		new functionality.
383264562Sgshapiro	CONFIG: New variables for the new sendmail options:
383364562Sgshapiro		confAUTH_MECHANISMS		AuthMechanisms
383464562Sgshapiro		confAUTH_OPTIONS		AuthOptions
383564562Sgshapiro		confCLIENT_OPTIONS		ClientPortOptions
383664562Sgshapiro		confCONTROL_SOCKET_NAME		ControlSocketName
383764562Sgshapiro		confDEAD_LETTER_DROP		DeadLetterDrop
383864562Sgshapiro		confDEF_AUTH_INFO		DefaultAuthInfo
383964562Sgshapiro		confDF_BUFFER_SIZE		DataFileBufferSize
384064562Sgshapiro		confLDAP_DEFAULT_SPEC		LDAPDefaultSpec
384164562Sgshapiro		confMAX_ALIAS_RECURSION		MaxAliasRecursion
384264562Sgshapiro		confMAX_HEADERS_LENGTH		MaxHeadersLength
384364562Sgshapiro		confMAX_MIME_HEADER_LENGTH	MaxMimeHeaderLength
384464562Sgshapiro		confPID_FILE			PidFile
384564562Sgshapiro		confPROCESS_TITLE_PREFIX	ProcessTitlePrefix
384664562Sgshapiro		confRRT_IMPLIES_DSN		RrtImpliesDsn
384764562Sgshapiro		confTO_CONTROL			Timeout.control
384864562Sgshapiro		confTO_RESOLVER_RETRANS		Timeout.resolver.retrans
384964562Sgshapiro		confTO_RESOLVER_RETRANS_FIRST	Timeout.resolver.retrans.first
385064562Sgshapiro		confTO_RESOLVER_RETRANS_NORMAL	Timeout.resolver.retrans.normal
385164562Sgshapiro		confTO_RESOLVER_RETRY		Timeout.resolver.retry
385264562Sgshapiro		confTO_RESOLVER_RETRY_FIRST	Timeout.resolver.retry.first
385364562Sgshapiro		confTO_RESOLVER_RETRY_NORMAL	Timeout.resolver.retry.normal
385464562Sgshapiro		confTRUSTED_USER		TrustedUser
385564562Sgshapiro		confXF_BUFFER_SIZE		XscriptFileBufferSize
385664562Sgshapiro	CONFIG: confDAEMON_OPTIONS has been replaced by DAEMON_OPTIONS(),
385764562Sgshapiro		which takes the options as argument and can be used
385864562Sgshapiro		multiple times; see cf/README for details.
385964562Sgshapiro	CONFIG: Add a fifth mailer definition to MAILER(`smtp') called
386064562Sgshapiro		"dsmtp".  This mail provides on-demand delivery using the
386164562Sgshapiro		F=% mailer flag described above.  The "dsmtp" mailer
386264562Sgshapiro		definition uses the new DSMTP_MAILER_ARGS which defaults
386364562Sgshapiro		to "IPC $h".
386464562Sgshapiro	CONFIG: New variables LOCAL_MAILER_MAXMSGS, SMTP_MAILER_MAXMSGS,
386564562Sgshapiro		and RELAY_MAILER_MAXMSGS for setting the m= equate for the
386664562Sgshapiro		local, smtp, and relay mailers respectively.
386764562Sgshapiro	CONFIG: New variable LOCAL_MAILER_DSN_DIAGNOSTIC_CODE for setting
386864562Sgshapiro		the DSN Diagnostic-Code type for the local mailer.  The
386964562Sgshapiro		value should be changed with care.
387064562Sgshapiro	CONFIG: FEATURE(`local_lmtp') now sets the DSN Diagnostic-Code type
387164562Sgshapiro		for the local mailer to the proper value of "SMTP".
387264562Sgshapiro	CONFIG: All included maps are no longer optional by default; if
387364562Sgshapiro		there there is a problem with a map, sendmail will
387464562Sgshapiro		complain.
387564562Sgshapiro	CONFIG: Removed root from class E; use EXPOSED_USER(`root')
387664562Sgshapiro		to get the old behavior.  Suggested by Joe Pruett
387764562Sgshapiro		of Q7 Enterprises.
387864562Sgshapiro	CONFIG: MASQUERADE_EXCEPTION() defines hosts/subdomains which
387964562Sgshapiro		will not be masqueraded.  Proposed by Arne Wichmann
388064562Sgshapiro		of MPI Saarbruecken, Griff Miller of PGS Tensor,
388164562Sgshapiro		Jayme Cox of Broderbund Software Inc.
388264562Sgshapiro	CONFIG: A list of exceptions for FEATURE(`nocanonify') can be
388364562Sgshapiro		specified by CANONIFY_DOMAIN or CANONIFY_DOMAIN_FILE,
388464562Sgshapiro		i.e., a list of domains which are passed to $[ ... $]
388564562Sgshapiro		for canonification. Based on an idea from Neil Rickert
388664562Sgshapiro		of Northern Illinois University.
388764562Sgshapiro	CONFIG: If `canonify_hosts' is specified as parameter for
388864562Sgshapiro		FEATURE(`nocanonify') then addresses which have only
388964562Sgshapiro		a hostname, e.g., <user@host>, will be canonified.
389064562Sgshapiro	CONFIG: If FEATURE(`nocanonify') is turned on, a trailing dot is
389164562Sgshapiro		nevertheless added to addresses with more than one component
389264562Sgshapiro		in it.
389364562Sgshapiro	CONFIG: Canonification is no longer attempted for any host or domain
389464562Sgshapiro		in class 'P' ($=P).
389564562Sgshapiro	CONFIG: New class for matching virtusertable entries $={VirtHost} that
389664562Sgshapiro		can be populated by VIRTUSER_DOMAIN or VIRTUSER_DOMAIN_FILE.
389764562Sgshapiro		FEATURE(`virtuser_entire_domain') can be used to apply this
389864562Sgshapiro		class also to entire subdomains.  Hosts in this class are
389964562Sgshapiro		treated as canonical in SCanonify2, i.e., a trailing dot
390064562Sgshapiro		is added.
390164562Sgshapiro	CONFIG: If VIRTUSER_DOMAIN() or VIRTUSER_DOMAIN_FILE() are used,
390264562Sgshapiro		include $={VirtHost} in $=R (hosts allowed to relay).
390364562Sgshapiro	CONFIG: FEATURE(`generics_entire_domain') can be used to apply the
390464562Sgshapiro		genericstable also to subdomains of $=G.
390564562Sgshapiro	CONFIG: Pass "+detail" as %2 for virtusertable lookups.
390664562Sgshapiro		Patch from Noam Freedman from University of Chicago.
390764562Sgshapiro	CONFIG: Pass "+detail" as %1 for genericstable lookups.  Suggested
390864562Sgshapiro		by Raymond S Brand of rsbx.net.
390964562Sgshapiro	CONFIG: Allow @domain in genericstable to override masquerading.
391064562Sgshapiro		Suggested by Owen Duffy from Owen Duffy & Associates.
391164562Sgshapiro	CONFIG: LOCAL_DOMAIN() adds entries to class w.  Suggested by Steve
391264562Sgshapiro		Hubert of University of Washington.
391364562Sgshapiro	CONFIG: OSTYPE(`gnuhurd') has been replaced by OSTYPE(`gnu') as
391464562Sgshapiro		GNU is now the canonical system name.  From Mark
391564562Sgshapiro		Kettenis of the University of Amsterdam.
391664562Sgshapiro	CONFIG: OSTYPE(`unixware7') updates from Larry Rosenman.
391764562Sgshapiro	CONFIG: Do not include '=' in option expansion if there is no value
391864562Sgshapiro		associated with the option.  From Andrew Brown of
391964562Sgshapiro		Graffiti World Wide, Inc.
392064562Sgshapiro	CONFIG: Add MAILER(`qpage') to define a new pager mailer.  Contributed
392164562Sgshapiro		by Philip A. Prindeville of Enteka Enterprise Technology
392264562Sgshapiro		Services.
392364562Sgshapiro	CONFIG: MAILER(`cyrus') was not preserving case for mail folder
392464562Sgshapiro		names.  Problem noted by Randall Winchester of Swales
392564562Sgshapiro		Aerospace.
392664562Sgshapiro	CONFIG: RELAY_MAILER_FLAGS can be used to define additional flags
392764562Sgshapiro		for the relay mailer.  Suggested by Doug Hughes of Auburn
392864562Sgshapiro		University and Brian Candler.
392964562Sgshapiro	CONFIG: LOCAL_MAILER_FLAGS now includes 'P' (Add Return-Path:
393064562Sgshapiro		header) by default.  Suggested by Per Hedeland of Ericsson.
393164562Sgshapiro	CONFIG: Use SMART_HOST for bracketed addresses, e.g., user@[host].
393264562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
393364562Sgshapiro		Institute.
393464562Sgshapiro	CONFIG: New macro MODIFY_MAILER_FLAGS to tweak *_MAILER_FLAGS;
393564562Sgshapiro		i.e., to set, add, or delete flags.
393664562Sgshapiro	CONFIG: If SMTP AUTH is used then relaying is allowed for any user
393764562Sgshapiro		who authenticated via a "trusted" mechanism, i.e., one that
393864562Sgshapiro		is defined via TRUST_AUTH_MECH(`list of mechanisms').
393964562Sgshapiro	CONFIG: FEATURE(`delay_checks') delays check_mail and check_relay
394064562Sgshapiro		after check_rcpt and allows for exceptions from the checks.
394164562Sgshapiro	CONFIG: Map declarations have been moved into their associated
394264562Sgshapiro		feature files to allow greater flexibility in use of
394364562Sgshapiro		sequence maps.  Suggested by Per Hedeland of Ericsson.
394464562Sgshapiro	CONFIG: New macro LOCAL_MAILER_EOL to override the default end of
394564562Sgshapiro		line string for the local mailer.  Requested by Il Oh of
394664562Sgshapiro		Willamette Industries, Inc.
394764562Sgshapiro	CONFIG: Route addresses are stripped, i.e., <@a,@b,@c:user@d> is
394864562Sgshapiro		converted to <user@d>
394964562Sgshapiro	CONFIG: Reject bogus return address of <@@hostname>, generated by
395064562Sgshapiro		Sun's older, broken configuration files.
395164562Sgshapiro	CONFIG: FEATURE(`nullclient') now provides the full rulesets of a
395264562Sgshapiro		normal configuration, allowing anti-spam checks to be
395364562Sgshapiro		performed.
395464562Sgshapiro	CONFIG: Don't return a permanent error (Relaying denied) if
395564562Sgshapiro		${client_name} can't be resolved just temporarily.
395664562Sgshapiro		Suggested by Kari Hurtta of the Finnish Meteorological
395764562Sgshapiro		Institute.
395864562Sgshapiro	CONFIG: Change numbered rulesets into named (which still can
395964562Sgshapiro		be accessed by their numbers).
396064562Sgshapiro	CONFIG: FEATURE(`nouucp') takes one parameter: reject or nospecial
396164562Sgshapiro		which describes whether to disallow "!" in the local part
396264562Sgshapiro		of an address.
396364562Sgshapiro	CONFIG: Call Local_localaddr from localaddr (S5) which can be used
396464562Sgshapiro		to rewrite an address from a mailer which has the F=5 flag
396564562Sgshapiro		set.  If the ruleset returns a mailer, the appropriate
396664562Sgshapiro		action is taken, otherwise the returned tokens are ignored.
396764562Sgshapiro	CONFIG: cf/ostype/solaris.m4 has been renamed to solaris2.pre5.m4
396864562Sgshapiro		and cf/ostype/solaris2.m4 is now a copy of solaris2.ml.m4.
396964562Sgshapiro		The latter is kept around for backward compatibility.
397064562Sgshapiro	CONFIG: Allow ":D.S.N:" for mailer/virtusertable "error:" entries,
397164562Sgshapiro		where "D.S.N" is an RFC 1893 compliant error code.
397264562Sgshapiro	CONFIG: Use /usr/lbin as confEBINDIR for Compaq Tru64 (Digital UNIX).
397364562Sgshapiro	CONFIG: Remove second space between username and date in UNIX From_
397464562Sgshapiro		line.  Noted by Allan E Johannesen of Worcester Polytechnic
397564562Sgshapiro		Institute.
397664562Sgshapiro	CONFIG: Make sure all of the mailers have complete T= equates.
397790792Sgshapiro	CONFIG: Extend FEATURE(`local_procmail') so it can now take
397864562Sgshapiro		arguments overriding the mailer program, arguments, and
397964562Sgshapiro		mailer definition flags.  This makes it possible to use
398064562Sgshapiro		other programs such as maildrop for local delivery.
398164562Sgshapiro	CONFIG: Emit warning if FEATURE(`local_lmtp') or
398264562Sgshapiro		FEATURE(`local_procmail') is given after MAILER(`local').
398364562Sgshapiro		Patch from Richard A. Nelson of IBM.
398464562Sgshapiro	CONFIG: Add SMTP Authentication information to Received: header
398564562Sgshapiro		default value (confRECEIVED_HEADER).
398664562Sgshapiro	CONFIG: Remove `l' flag from USENET_MAILER_FLAGS as it is not a
398764562Sgshapiro		local mailer.  Problem noted by Per Hedeland of Ericsson.
398864562Sgshapiro	CONTRIB: Added bounce-resender.pl from Brian R. Gaeke of the
398964562Sgshapiro		University of California at Berkeley.
399064562Sgshapiro	CONTRIB: Added domainmap.m4 from Mark D. Roth of the University of
399164562Sgshapiro		Illinois at Urbana-Champaign.
399264562Sgshapiro	CONTRIB: etrn.pl now recognizes bogus host names.  Patch from
399364562Sgshapiro		Bruce Barnett of GE's R&D Lab.
399464562Sgshapiro	CONTRIB: Patches for re-mqueue.pl by Graeme Hewson of Oracle
399564562Sgshapiro		Corporation UK.
399664562Sgshapiro	CONTRIB: Added qtool.pl to assist in managing the queues.
399764562Sgshapiro	DEVTOOLS: Prevent user environment variables from interfering with
399864562Sgshapiro		the Build scripts.  Problem noted by Ezequiel H. Panepucci of
399964562Sgshapiro		Yale University.
400064562Sgshapiro	DEVTOOLS: 'Build -M' will display the obj.* directory which will
400164562Sgshapiro		be used for building.
400264562Sgshapiro	DEVTOOLS: 'Build -A' will display the architecture that would be
400364562Sgshapiro		used for a fresh build.
400464562Sgshapiro	DEVTOOLS: New variable confRANLIB, set automatically by configure.sh.
400564562Sgshapiro	DEVTOOLS: New variable confRANLIBOPTS for the options to send to
400664562Sgshapiro		ranlib.
400764562Sgshapiro	DEVTOOLS: 'Build -O <path>' will have the object files build in
400864562Sgshapiro		<path>/obj.*.  Suggested by Bryan Costales of Exactis.
400964562Sgshapiro	DEVTOOLS: New variable confNO_MAN_BUILD which will prevent the
401064562Sgshapiro		building of the man pages when defined.  Suggested by Bryan
401164562Sgshapiro		Costales.
401264562Sgshapiro	DEVTOOLS: New variables confNO_HELPFILE_INSTALL and
401364562Sgshapiro		confNO_STATISTICS_INSTALL which will prevent the
401464562Sgshapiro		installation of the sendmail helpfile and statistics file
401564562Sgshapiro		respectively.  Suggested by Bryan Costales.
401664562Sgshapiro	DEVTOOLS: Recognize ReliantUNIX as SINIX.  Patch from Gerald Rinske
401764562Sgshapiro		of Siemens Business Services.
401864562Sgshapiro	DEVTOOLS: New variable confSTDIO_TYPE which defines the type of
401964562Sgshapiro		stdio library.  The new buffered file I/O depends on the
402064562Sgshapiro		Torek stdio library.  This option can be either portable or
402164562Sgshapiro		torek.
402264562Sgshapiro	DEVTOOLS: New variables confSRCADD and confSMSRCADD which
402364562Sgshapiro		correspond to confOBJADD and confSMOBJADD respectively.
402464562Sgshapiro		They should contain the C source files for the object files
402564562Sgshapiro		listed in confOBJADD and confSMOBJADD.  These file names
402664562Sgshapiro		will be passed to the 'make depend' stage of compilation.
402764562Sgshapiro	DEVTOOLS: New program specific variables for each of the programs
402864562Sgshapiro		in the sendmail distribution.  Each has the form
402964562Sgshapiro		`conf_prog_ENVDEF', for example, `conf_sendmail_ENVDEF'.
403064562Sgshapiro		The new variables are conf_prog_ENVDEF, conf_prog_LIBS,
403164562Sgshapiro		conf_prog_SRCADD, and conf_prog_OBJADD.
403264562Sgshapiro	DEVTOOLS: Build system redesign.  This should have little affect on
403364562Sgshapiro		building the distribution, but documentation on the changes
403464562Sgshapiro		are in devtools/README.
403564562Sgshapiro	DEVTOOLS: Don't allow 'Build -f file' if an object directory already
403664562Sgshapiro		exists.  Suggested by Valdis Kletnieks of Virginia Tech.
403764562Sgshapiro	DEVTOOLS: Rename confSRCDIR to confSMSRCDIR since it only identifies
403864562Sgshapiro		the path to the sendmail source directory.  confSRCDIR is a
403964562Sgshapiro		new variable which identifies the root of the source
404064562Sgshapiro		directories for all of the programs in the distribution.
404164562Sgshapiro	DEVTOOLS: confSRCDIR and confSMSRCDIR are now determined at Build
404264562Sgshapiro		time.  They can both still be overridden by setting the m4
404364562Sgshapiro		macro.
404464562Sgshapiro	DEVTOOLS: confSBINGRP now defaults to bin instead of kmem.
404564562Sgshapiro	DEVTOOLS: 'Build -Q prefix' uses devtools/Site/prefix.*.m4 for
404664562Sgshapiro		build configurations, and places objects in obj.prefix.*/.
404764562Sgshapiro		Complains as 'Build -f file' does for existing object
404864562Sgshapiro		directories.  Suggested by Tom Smith of Digital Equipment
404964562Sgshapiro		Corporation.
405064562Sgshapiro	DEVTOOLS: Setting confINSTALL_RAWMAN will install unformatted
405164562Sgshapiro		manual pages in the directory tree specified by
405264562Sgshapiro		confMANROOTMAN.
405364562Sgshapiro	DEVTOOLS: If formatting the manual pages fails, copy in the
405464562Sgshapiro		preformatted pages from the distribution.  The new variable
405564562Sgshapiro		confCOPY specifies the copying program.
405664562Sgshapiro	DEVTOOLS: Defining confFORCE_RMAIL will install rmail without
405764562Sgshapiro		question.  Suggested by Terry Lambert of Whistle
405864562Sgshapiro		Communications.
405964562Sgshapiro	DEVTOOLS: confSTFILE and confHFFILE can be used to change the names
406064562Sgshapiro		of the installed statistics and help files, respectively.
406164562Sgshapiro	DEVTOOLS: Remove spaces in `uname -r` output when determining
406264562Sgshapiro		operating system identity.  Problem noted by Erik
406364562Sgshapiro		Wachtenheim of Dartmouth College.
406464562Sgshapiro	DEVTOOLS: New variable confLIBSEARCHPATH to specify the paths that
406564562Sgshapiro		will be search for the libraries specified in confLIBSEARCH.
406664562Sgshapiro		Defaults to "/lib /usr/lib /usr/shlib".
406764562Sgshapiro	DEVTOOLS: New variables confSTRIP and confSTRIPOPTS for specifying
406864562Sgshapiro		how to strip binaries.  These are used by the new
406964562Sgshapiro		install-strip target.
407064562Sgshapiro	DEVTOOLS: New config file site.post.m4 which is included after
407164562Sgshapiro		the others (if it exists).
407264562Sgshapiro	DEVTOOLS: Change order of LIBS: first product specific libraries
407364562Sgshapiro		then the default ones.
407464562Sgshapiro	MAIL.LOCAL: Will not be installed set-user-ID root.  To use mail.local
407564562Sgshapiro		as local delivery agent without LMTP mode, use
407664562Sgshapiro		MODIFY_MAILER_FLAGS(`LOCAL', `+S')
407764562Sgshapiro		to set the S flag.
407864562Sgshapiro	MAIL.LOCAL: Do not reject addresses which would otherwise be
407964562Sgshapiro		accepted by sendmail.  Suggested by Neil Rickert of
408064562Sgshapiro		Northern Illinois University.
408164562Sgshapiro	MAIL.LOCAL: New -7 option which causes LMTP mode not to advertise
408264562Sgshapiro		8BITMIME in the LHLO response.  Suggested by Kari Hurtta of
408364562Sgshapiro		the Finnish Meteorological Institute.
408464562Sgshapiro	MAIL.LOCAL: Add support for the maillock() routines by defining
408564562Sgshapiro		MAILLOCK when compiling.  Also requires linking with
408664562Sgshapiro		-lmail.  Patch from Neil Rickert of Northern Illinois
408764562Sgshapiro		University.
408864562Sgshapiro	MAIL.LOCAL: Create a Content-Length: header if CONTENTLENGTH is
408964562Sgshapiro		defined when compiling.  Automatically set for Solaris 2.3
409064562Sgshapiro		and later.  Patch from Neil Rickert of Northern Illinois
409164562Sgshapiro		University.
409264562Sgshapiro	MAIL.LOCAL: Move the initialization of the 'notifybiff' address
409364562Sgshapiro		structure to the beginning of the program.  This ensures that
409464562Sgshapiro		the getservbyname() is done before any seteuid to a possibly
409564562Sgshapiro		unauthenticated user.  If you are using NIS+ and secure RPC
409664562Sgshapiro		on a Solaris system, this avoids syslog messages such as,
409764562Sgshapiro		"authdes_refresh: keyserv(1m) is unable to encrypt session
409864562Sgshapiro		key."  Patch from Neil Rickert of Northern Illinois
409964562Sgshapiro		University.
410064562Sgshapiro	MAIL.LOCAL: Support group writable mail spool files when MAILGID is
410164562Sgshapiro		set to the gid to use (-DMAILGID=6) when compiling.
410264562Sgshapiro		Patch from Neil Rickert of Northern Illinois University.
410364562Sgshapiro	MAIL.LOCAL: When a mail message included lines longer than 2046
410464562Sgshapiro		characters (in LMTP mode), mail.local split the incoming
410564562Sgshapiro		line up into 2046-character output lines (excluding the
410664562Sgshapiro		newline).  If an input line was 2047 characters long
410764562Sgshapiro		(excluding CR-LF) and the last character was a '.',
410864562Sgshapiro		mail.local saw it as the end of input, transfered it to the
410964562Sgshapiro		user mailbox and tried to write an `ok' back to sendmail.
411064562Sgshapiro		If the message was much longer, both sendmail and
411164562Sgshapiro		mail.local would deadlock waiting for each other to read
411264562Sgshapiro		what they have written.  Problem noted by Peter Jeremy of
411364562Sgshapiro		Alcatel Australia Limited.
411464562Sgshapiro	MAIL.LOCAL: New option -b to return a permanent error instead of a
411564562Sgshapiro		temporary error if a mailbox exceeds quota.  Suggested by
411664562Sgshapiro		Neil Rickert of Northern Illinois University.
411764562Sgshapiro	MAIL.LOCAL: The creation of a lockfile is subject to a global
411864562Sgshapiro		timeout to avoid starvation.
411964562Sgshapiro	MAIL.LOCAL: Properly parse addresses with multiple quoted
412064562Sgshapiro		local-parts.  Problem noted by Ronald F. Guilmette of
412164562Sgshapiro		Infinite Monkeys & Co.
412264562Sgshapiro	MAIL.LOCAL: NCR MP/RAS 3.X portability from Tom J. Moore of NCR.
412364562Sgshapiro	MAILSTATS: New -p option to invoke program mode in which stats are
412464562Sgshapiro		printed in a machine readable fashion and the stats file
412564562Sgshapiro		is reset.  Patch from Kevin Hildebrand of the University
412664562Sgshapiro		of Maryland.
412764562Sgshapiro	MAKEMAP: If running as root, automatically change the ownership of
412864562Sgshapiro		generated maps to the TrustedUser as specified in the
412964562Sgshapiro		sendmail configuration file.
413064562Sgshapiro	MAKEMAP: New -C option to accept an alternate sendmail
413164562Sgshapiro		configuration file to use for finding the TrustedUser
413264562Sgshapiro		option.
413364562Sgshapiro	MAKEMAP: New -u option to dump (unmap) a database.  Based on
413464562Sgshapiro		code contributed by Roy Mongiovi of Georgia Tech.
413564562Sgshapiro	MAKEMAP: New -e option to allow empty values.  Suggested by Philip
413664562Sgshapiro		A. Prindeville of Enteka Enterprise Technology Services.
413764562Sgshapiro	MAKEMAP: Compile cleanly on 64-bit operating systems.  Problem
413864562Sgshapiro		noted by Gerald Rinske of Siemens Business Services.
413964562Sgshapiro	OP.ME: Correctly document interaction between F=S and U= mailer
414064562Sgshapiro		equates.  Problem noted by Bob Halley of Internet Engines.
414164562Sgshapiro	OP.ME: Fixup Timeout documentation.  From Graeme Hewson of Oracle
414264562Sgshapiro		Corporation UK.
414364562Sgshapiro	OP.ME: The Timeout [r] option was incorrectly listed as "safe"
414464562Sgshapiro		(e.g., sendmail would not drop root privileges if the
414564562Sgshapiro		option was specified on the command line).  Problem noted
414664562Sgshapiro		by Todd C. Miller of Courtesan Consulting.
414764562Sgshapiro	PRALIASES: Handle the hash and btree map specifications for
414864562Sgshapiro		Berkeley DB.  Patch from Brian J. Coan of the
414964562Sgshapiro		Institute for Global Communications.
415064562Sgshapiro	PRALIASES: Read the sendmail.cf file for the location(s) of the
415164562Sgshapiro		alias file(s) if the -f option is not used.  Patch from
415264562Sgshapiro		John Beck of Sun Microsystems.
415364562Sgshapiro	PRALIASES: New -C option to specify an alternate sendmail
415464562Sgshapiro		configuration file to use for finding alias file(s).  Patch
415564562Sgshapiro		from John Beck of Sun Microsystems.
415664562Sgshapiro	SMRSH: allow shell commands echo, exec, and exit.  Allow command
415764562Sgshapiro		lists using || and &&.  Based on patch from Brian J. Coan
415864562Sgshapiro		of the Institute for Global Communications.
415964562Sgshapiro	SMRSH: Update README for the new Build system.  From Tim Pierce
416064562Sgshapiro		of RootsWeb Genealogical Data Cooperative.
416164562Sgshapiro	VACATION: Added vacation auto-responder to sendmail distribution.
416264562Sgshapiro	LIBSMDB: Added abstracted database library.  Works with Berkeley
416364562Sgshapiro		DB 1.85, Berkeley DB 2.X, Berkeley DB 3.X, and NDBM.
416464562Sgshapiro	Changed Files:
416564562Sgshapiro		The Build script in the various program subdirectories are
416664562Sgshapiro			no longer symbolic links.  They are now scripts
416764562Sgshapiro			which execute the actual Build script in
416864562Sgshapiro			devtools/bin.
416964562Sgshapiro		All the manual pages are now written against -man and not
417064562Sgshapiro			-mandoc as they were previously.
417164562Sgshapiro		Add a simple Makefile to every directory so make instead
417264562Sgshapiro			of Build will work (unless parameters are
417364562Sgshapiro			required for Build).
417464562Sgshapiro	New Directories:
417564562Sgshapiro		devtools/M4/UNIX
417664562Sgshapiro		include
417764562Sgshapiro		libmilter
417864562Sgshapiro		libsmdb
417964562Sgshapiro		libsmutil
418064562Sgshapiro		vacation
418164562Sgshapiro	Renamed Directories:
418264562Sgshapiro		BuildTools => devtools
418364562Sgshapiro		src => sendmail
418464562Sgshapiro	Deleted Files:
418564562Sgshapiro		cf/m4/nullrelay.m4
418664562Sgshapiro		devtools/OS/Linux.ppc
418764562Sgshapiro		devtools/OS/ReliantUNIX
418864562Sgshapiro		devtools/OS/SINIX
418964562Sgshapiro		sendmail/ldap_map.h
419064562Sgshapiro	New Files:
419164562Sgshapiro		INSTALL
419264562Sgshapiro		PGPKEYS
419364562Sgshapiro		cf/cf/generic-linux.cf
419464562Sgshapiro		cf/cf/generic-linux.mc
419564562Sgshapiro		cf/feature/delay_checks.m4
419664562Sgshapiro		cf/feature/dnsbl.m4
419764562Sgshapiro		cf/feature/generics_entire_domain.m4
419864562Sgshapiro		cf/feature/no_default_msa.m4
419964562Sgshapiro		cf/feature/relay_mail_from.m4
420064562Sgshapiro		cf/feature/virtuser_entire_domain.m4
420164562Sgshapiro		cf/mailer/qpage.m4
420264562Sgshapiro		cf/ostype/bsdi.m4
420364562Sgshapiro		cf/ostype/hpux11.m4
420464562Sgshapiro		cf/ostype/openbsd.m4
420564562Sgshapiro		contrib/bounce-resender.pl
420664562Sgshapiro		contrib/domainmap.m4
420764562Sgshapiro		contrib/qtool.8
420864562Sgshapiro		contrib/qtool.pl
420964562Sgshapiro		devtools/M4/depend/AIX.m4
421064562Sgshapiro		devtools/M4/list.m4
421164562Sgshapiro		devtools/M4/string.m4
421264562Sgshapiro		devtools/M4/subst_ext.m4
421364562Sgshapiro		devtools/M4/switch.m4
421464562Sgshapiro		devtools/OS/Darwin
421564562Sgshapiro		devtools/OS/GNU
421664562Sgshapiro		devtools/OS/SINIX.5.43
421764562Sgshapiro		devtools/OS/SINIX.5.44
421864562Sgshapiro		devtools/OS/m88k
421964562Sgshapiro		devtools/bin/find_in_path.sh
422064562Sgshapiro		mail.local/Makefile
422164562Sgshapiro		mailstats/Makefile
422264562Sgshapiro		makemap/Makefile
422364562Sgshapiro		praliases/Makefile
422464562Sgshapiro		rmail/Makefile
422564562Sgshapiro		sendmail/Makefile
422664562Sgshapiro		sendmail/bf.h
422764562Sgshapiro		sendmail/bf_portable.c
422864562Sgshapiro		sendmail/bf_portable.h
422964562Sgshapiro		sendmail/bf_torek.c
423064562Sgshapiro		sendmail/bf_torek.h
423164562Sgshapiro		sendmail/shmticklib.c
423264562Sgshapiro		sendmail/statusd_shm.h
423364562Sgshapiro		sendmail/timers.c
423464562Sgshapiro		sendmail/timers.h
423564562Sgshapiro		smrsh/Makefile
423664562Sgshapiro		vacation/Makefile
423790792Sgshapiro	Renamed Files:
423864562Sgshapiro		cf/ostype/gnuhurd.m4 => cf/ostype/gnu.m4
423964562Sgshapiro		sendmail/cdefs.h => include/sendmail/cdefs.h
424064562Sgshapiro		sendmail/sendmail.hf => sendmail/helpfile
424164562Sgshapiro		sendmail/mailstats.h => include/sendmail/mailstats.h
424264562Sgshapiro		sendmail/pathnames.h => include/sendmail/pathnames.h
424364562Sgshapiro		sendmail/safefile.c => libsmutil/safefile.c
424464562Sgshapiro		sendmail/snprintf.c => libsmutil/snprintf.c
424564562Sgshapiro		sendmail/useful.h => include/sendmail/useful.h
424664562Sgshapiro		cf/ostype/solaris2.m4 => cf/ostype/solaris2.pre5.m4
424764562Sgshapiro	Copied Files:
424864562Sgshapiro		cf/ostype/solaris2.ml.m4 => cf/ostype/solaris2.m4
424964562Sgshapiro
425064562Sgshapiro8.9.3/8.9.3	1999/02/04
425164562Sgshapiro	SECURITY: Limit message headers to a maximum of 32K bytes (total
425264562Sgshapiro		of all headers in a single message) to prevent a denial of
425364562Sgshapiro		service attack.  This limit will be configurable in 8.10.
425464562Sgshapiro		Problem noted by Michal Zalewski of the "Internet for
425564562Sgshapiro		Schools" project (IdS).
425664562Sgshapiro	Prevent segmentation fault on an LDAP lookup if the LDAP map
425764562Sgshapiro		was closed due to an earlier failure.  Problem noted by
425864562Sgshapiro		Jeff Wasilko of smoe.org.  Fix from Booker Bense of
425964562Sgshapiro		Stanford University and Per Hedeland of Ericsson.
426064562Sgshapiro	Preserve the order of the MIME headers in multipart messages
426164562Sgshapiro		when performing the MIME header length check.  This
426264562Sgshapiro		will allow PGP signatures to function properly.  Problem
426364562Sgshapiro		noted by Lars Hecking of University College, Cork, Ireland.
426464562Sgshapiro	If ruleset 5 rewrote the local address to an :include: directive,
426564562Sgshapiro		the delivery would fail with an "aliasing/forwarding loop
426664562Sgshapiro		broken" error.  Problem noted by Eric C Hagberg of Morgan
426764562Sgshapiro		Stanley.  Fix from Per Hedeland of Ericsson.
426864562Sgshapiro	Allow -T to work for bestmx maps.  Fix from Aaron Schrab of
426964562Sgshapiro		ExecPC Internet Systems.
427064562Sgshapiro	During the transfer of a message in an SMTP transaction, if a
427164562Sgshapiro		TCP timeout occurs, the message would be properly queued
427264562Sgshapiro		for later retry but the failure would be logged as
427364562Sgshapiro		"Illegal Seek" instead of a timeout.  Problem noted by
427464562Sgshapiro		Piotr Kucharski of the Warsaw School of Economics (SGH)
427564562Sgshapiro		and Carles Xavier Munyoz Baldo of CTV Internet.
427664562Sgshapiro	Prevent multiple deliveries on a self-referencing alias if the
427764562Sgshapiro		F=w mailer flag is not set.  Problem noted by Murray S.
427864562Sgshapiro		Kucherawy of Concentric Network Corporation and Per
427964562Sgshapiro		Hedeland of Ericsson.
428064562Sgshapiro	Do not strip empty headers but if there is no value and a
428164562Sgshapiro		default is defined in sendmail.cf, use the default.
428264562Sgshapiro		Problem noted by Philip Guenther of Gustavus Adolphus
428364562Sgshapiro		College and Christopher McCrory of Netus, Inc.
428464562Sgshapiro	Don't inherit information about the sender (notably the full name)
428564562Sgshapiro		in SMTP (-bs) mode, since this might be called from inetd.
428664562Sgshapiro	Accept any 3xx reply code in response to DATA command instead of
428764562Sgshapiro		requiring 354.  This change will match the wording to be
428864562Sgshapiro		published in the updated SMTP specification from the DRUMS
428964562Sgshapiro		group of the IETF.
429064562Sgshapiro	Portability:
429164562Sgshapiro		AIX 4.2.0 or 4.2.1 may become updated by the fileset
429264562Sgshapiro			bos.rte.net level 4.2.0.2.  This introduces the
429364562Sgshapiro			softlink /usr/lib/libbind.a which should
429464562Sgshapiro			not be used.  It conflicts with the resolver
429564562Sgshapiro			built into libc.a.  "bind" has been removed
429664562Sgshapiro			from the confLIBSEARCH BuildTools variable.
429764562Sgshapiro			Users who have installed BIND 8.X will have
429864562Sgshapiro			to add it back in their site.config.m4 file.
429964562Sgshapiro			Problem noted by Ole Holm Nielsen of the
430064562Sgshapiro			Technical University of Denmark.
430164562Sgshapiro		CRAY TS 10.0.x from Sven Nielsen of San Diego
430264562Sgshapiro			Supercomputer Center.
430364562Sgshapiro		Improved LDAP version 3 integration based on input
430464562Sgshapiro			from Kurt D. Zeilenga of the OpenLDAP Foundation,
430564562Sgshapiro			John Beck of Sun Microsystems, and Booker Bense
430664562Sgshapiro			of Stanford University.
430764562Sgshapiro		Linux doesn't have a standard way to get the timezone
430864562Sgshapiro			between different releases.  Back out the
430964562Sgshapiro			change in 8.9.2 and don't attempt to derive
431064562Sgshapiro			a timezone.  Problem reported by Igor S. Livshits
431164562Sgshapiro			of the University of Illinois at Urbana-Champaign
431264562Sgshapiro			and Michael Dickens of Tetranet Communications.
431364562Sgshapiro		Reliant UNIX, the new name for SINIX, from Gert-Jan Looy
431464562Sgshapiro			of Siemens/SNI.
431564562Sgshapiro		SunOS 5.8 from John Beck of Sun Microsystems.
431664562Sgshapiro	CONFIG: SCO UnixWare 2.1 and 7.0 need TZ to get the proper
431764562Sgshapiro		timezone.  Problem noted by Petr Lampa of Technical
431864562Sgshapiro		University of Brno.
431964562Sgshapiro	CONFIG: Handle <@bestmx-host:user@otherhost> addressing properly
432064562Sgshapiro		when using FEATURE(bestmx_is_local).  Patch from Neil W.
432164562Sgshapiro		Rickert of Northern Illinois University.
432264562Sgshapiro	CONFIG: Properly handle source routed and %-hack addresses on
432364562Sgshapiro		hosts which the mailertable remaps to local:.  Patch from
432464562Sgshapiro		Neil W. Rickert of Northern Illinois University.
432564562Sgshapiro	CONFIG: Internal fixup of mailertable local: map value.  Patch from
432664562Sgshapiro		Larry Parmelee of Cornell University.
432764562Sgshapiro	CONFIG: Only add back +detail from host portion of mailer triplet
432864562Sgshapiro		on local mailer triplets if it was originally +detail.
432964562Sgshapiro		Patch from Neil W. Rickert of Northern Illinois University.
433064562Sgshapiro	CONFIG: The bestmx_is_local checking done in check_rcpt would
433164562Sgshapiro		cause later checks to fail.  Patch from Paul J Murphy of
433264562Sgshapiro		MIDS Europe.
433364562Sgshapiro	New Files:
433464562Sgshapiro		BuildTools/OS/CRAYTS.10.0.x
433564562Sgshapiro		BuildTools/OS/ReliantUNIX
433664562Sgshapiro		BuildTools/OS/SunOS.5.8
433764562Sgshapiro
433864562Sgshapiro8.9.2/8.9.2	1998/12/30
433964562Sgshapiro	SECURITY: Remove five second sleep on accepting daemon connections
434064562Sgshapiro		due to an accept() failure.  This sleep could be used
434164562Sgshapiro		for a denial of service attack.
434264562Sgshapiro	Do not silently ignore queue files with names which are too long.
434364562Sgshapiro		Patch from Bryan Costales of InfoBeat, Inc.
434464562Sgshapiro	Do not store failures closing an SMTP session in persistent
434564562Sgshapiro		host status.  Reported by Graeme Hewson of Oracle
434664562Sgshapiro		Corporation UK.
434764562Sgshapiro	Allow symbolic link forward files if they are in safe directories.
434864562Sgshapiro		Problem noted by Andreas Schott of the Max Planck Society.
434964562Sgshapiro	Missing columns in a text map could cause a segmentation fault.
435064562Sgshapiro		Fix from David Lee of the University of Durham.
435164562Sgshapiro	Note that for 8.9.X, PrivacyOptions=goaway also includes the
435264562Sgshapiro		noetrn flag.  This is scheduled to change in a future
435364562Sgshapiro		version of sendmail.  Problem noted by Theo Van Dinter of
435464562Sgshapiro		Chrysalis Symbolic Designa and Alan Brown of Manawatu
435564562Sgshapiro		Internet Services.
435664562Sgshapiro	When trying to do host canonification in a Wildcard MX
435764562Sgshapiro		environment, try an MX lookup of the hostname without the
435864562Sgshapiro		default domain appended.  Problem noted by Olaf Seibert of
435964562Sgshapiro		Polderland Language & Speech Technology.
436064562Sgshapiro	Reject SMTP RCPT To: commands with only comments (i.e.
436164562Sgshapiro		'RCPT TO: (comment)'.  Problem noted by Earle Ake of
436264562Sgshapiro		Hassler Communication Systems Technology, Inc.
436364562Sgshapiro	Handle any number of %s in the LDAP filter spec.  Patch from
436464562Sgshapiro		Per Hedeland of Ericsson.
436564562Sgshapiro	Clear ldapx open timeouts even if the map open failed to prevent
436664562Sgshapiro		a segmentation fault.  Patch from Wayne Knowles of the
436764562Sgshapiro		National Institute of Water & Atmospheric Research Ltd.
436864562Sgshapiro	Do not syslog envelope clone messages when using address
436964562Sgshapiro		verification (-bv).  Problem noted by Kari Hurtta of the
437064562Sgshapiro		Finnish Meteorological Institute.
437164562Sgshapiro	Continue to perform queue runs while in daemon mode even if the
437264562Sgshapiro		daemon is rejecting connections due to a disk full
437364562Sgshapiro		condition.  Problem noted by JR Oldroyd of TerraNet
437464562Sgshapiro		Internet Services.
437564562Sgshapiro	Include full filename on installation of the sendmail.hf file
437664562Sgshapiro		in case the $HFDIR directory does not exist.  Problem
437764562Sgshapiro		noted by Josef Svitak of Montana State University.
437864562Sgshapiro	Close all maps when exiting the process with one exception.
437964562Sgshapiro		Berkeley DB can use internal shared memory locking for
438064562Sgshapiro		its memory pool.  Closing a map opened by another process
438164562Sgshapiro		will interfere with the shared memory and locks of the
438264562Sgshapiro		parent process leaving things in a bad state.  For
438364562Sgshapiro		Berkeley DB, only close the map if the current process
438464562Sgshapiro		is also the one that opened the map, otherwise only close
438564562Sgshapiro		the map file descriptor.  Thanks to Yoseff Francus of
438664562Sgshapiro		Collective Technologies for volunteering his system for
438764562Sgshapiro		extended testing.
438864562Sgshapiro	Avoid null pointer dereference on XDEBUG output for SMTP reply
438964562Sgshapiro		failures.  Problem noted by Carlos Canau of EUnet Portugal.
439064562Sgshapiro	On mailq and hoststat listings being piped to another program, such
439164562Sgshapiro		as more, if the pipe closes (i.e., the user quits more),
439264562Sgshapiro		stop sending output and exit.  Patch from Allan E Johannesen
439364562Sgshapiro		of Worcester Polytechnic Institute.
439464562Sgshapiro	In accordance with the documentation, LDAP map lookup failures
439564562Sgshapiro		are now considered temporary failures instead of permanent
439664562Sgshapiro		failures unless the -t flag is used in the map definition.
439764562Sgshapiro		Problem noted by Booker Bense of Stanford University and
439864562Sgshapiro		Eric C. Hagberg of Morgan Stanley.
439964562Sgshapiro	Fix by one error reporting on long alias names.  Problem noted by
440064562Sgshapiro		H. Paul Hammann of the Missouri Research and Education
440164562Sgshapiro		Network.
440264562Sgshapiro	Fix DontBlameSendmail=IncludeFileInUnsafeDirPath behavior.  Problem
440364562Sgshapiro		noted by Barry S. Finkel of Argonne National Laboratory.
440464562Sgshapiro	When automatically converting from 8 bit to quoted printable MIME,
440564562Sgshapiro		be careful not to miss a multi-part boundary if that
440664562Sgshapiro		boundary is preceded by a boundary-like line.  Problem
440764562Sgshapiro		noted by Andreas Raschle of Ansid Inc.  Fix from
440864562Sgshapiro		Kari Hurtta of the Finnish Meteorological Institute.
440964562Sgshapiro	Avoid bogus reporting of "LMTP tobuf overflow" when the buffer
441064562Sgshapiro		has enough space for the additional address.  Problem
441164562Sgshapiro		noted by Steve Cliffe of the University of Wollongong.
441264562Sgshapiro	Fix DontBlameSendmail=FileDeliveryToSymlink behavior.  Problem
441364562Sgshapiro		noted by Alex Vorobiev of Swarthmore College.
441443730Speter	If the check_compat ruleset resolves to the $#discard mailer,
441543730Speter		discard the current recipient.  Unlike check_relay,
441643730Speter		check_mail, and check_rcpt, the entire envelope is not
441743730Speter		discarded.  Problem noted by RZ D. Rahlfs.  Fix from
441843730Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
441943730Speter	Avoid segmentation fault when reading ServiceSwitchFile files with
442043730Speter		bogus formatting.  Patch from Kari Hurtta of the Finnish
442143730Speter		Meteorological Institute.
442243730Speter	Support Berkeley DB 2.6.4 API change.
442343730Speter	OP.ME: Pages weren't properly output on duplexed printers.  Fix
442443730Speter		from Matthew Black of CSU Long Beach.
442543730Speter	Portability:
442643730Speter		Apple Rhapsody from Wilfredo Sanchez of Apple Computer, Inc.
442743730Speter		Avoid a clash with IRIX 6.2 getopt.h and the UserDatabase
442843730Speter			option structure.  Problem noted by Ashley M.
442943730Speter			Kirchner of Photo Craft Laboratories, Inc.
443043730Speter		Break out IP address to hostname translation for
443143730Speter			reading network interface addresses into
443243730Speter			class 'w'.  Patch from John Kennedy of
443343730Speter			Cal State University, Chico.
443443730Speter		AIX 4.x use -qstrict with -O3 to prevent the optimized
443543730Speter			from changing the semantics of the compiled
443643730Speter			program.  From Simon Travaglia of the
443743730Speter			University of Waikato, New Zealand.
443843730Speter		FreeBSD 2.2.2 and later support setusercontext().  From
443943730Speter			Peter Wemm of DIALix.
444043730Speter		FreeBSD 3.x fix from Peter Wemm of DIALix.
444143730Speter		IRIX 5.x has a syslog buffer size of 512 bytes.  From
444243730Speter			Nao NINOMIYA of Utsunomiya University.
444343730Speter		IRIX 6.5 64-bit Build support.
444443730Speter		LDAP Version 3 support from John Beck and Ravi Iyer
444543730Speter			of Sun Microsystems.
444643730Speter		Linux does not implement seteuid() properly.  From
444743730Speter			John Kennedy of Cal State University, Chico.
444843730Speter		Linux timezone type was set improperly.  From Takeshi Itoh
444943730Speter			of Bits Co., Ltd.
445043730Speter		NCR MP-RAS 3.x needs -lresolv for confLIBS.  From
445143730Speter			Tom J. Moore of NCR.
445243730Speter		NeXT 4.x correction to man page path.  From J. P. McCann
445343730Speter			of E I A.
445464562Sgshapiro		System V Rel 5.x (a.k.a UnixWare7 w/o BSD-Compatibility Libs)
445564562Sgshapiro			from Paul Gampe of the Asia Pacific Network
445664562Sgshapiro			Information Center.
445743730Speter		ULTRIX now requires an optimization limit of 970 from
445843730Speter			Allan E Johannesen of Worcester Polytechnic
445943730Speter			Institute.
446043730Speter		Fix extern declaration for sm_dopr().  Fix from Henk
446143730Speter			van Oers of Algemeen Nederlands Persbureau.
446243730Speter	CONFIG: Catch @hostname,user@anotherhost.domain as relaying.
446343730Speter		Problem noted by Mark Rogov of AirMedia, Inc.  Fix from
446443730Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
446543730Speter	CONFIG: Do not refer to http://maps.vix.com/ on RBL rejections as
446643730Speter		there are multiple RBL's available and the MAPS RBL may
446743730Speter		not be the one in use.  Suggested by Alan Brown of
446843730Speter		Manawatu Internet Services.
446943730Speter	CONFIG: Properly strip route addresses (i.e., @host1:user@host2)
447043730Speter		when stripping down a recipient address to check for
447143730Speter		relaying.  Patch from Claus Assmann of
447243730Speter		Christian-Albrechts-University of Kiel and Neil W Rickert
447343730Speter		of Northern Illinois University.
447443730Speter	CONFIG: Allow the access database to override RBL lookups.  Patch
447543730Speter		from Claus Assmann of Christian-Albrechts-University of
447643730Speter		Kiel.
447743730Speter	CONFIG: UnixWare 7 support from Phillip P. Porch of The Porch
447843730Speter		Dot Com.
447943730Speter	CONFIG: Fixed check for deferred delivery mode warning.  Patch
448043730Speter		from Claus Assmann of Christian-Albrechts-University of
448143730Speter		Kiel and Per Hedeland of Ericsson.
448243730Speter	CONFIG: If a recipient using % addressing is used, e.g.
448343730Speter		user%site@othersite, and othersite's MX records are now
448443730Speter		checked for local hosts if FEATURE(relay_based_on_MX) is
448543730Speter		used.  Problem noted by Alexander Litvin of Lucky Net Ltd.
448643730Speter		Patch from Alexander Litvin of Lucky Net Ltd and
448743730Speter		Claus Assmann of Christian-Albrechts-University of Kiel.
448843730Speter	MAIL.LOCAL: Prevent warning messages from appearing in the LMTP
448943730Speter		stream.  Do not allow more than one response per recipient.
449043730Speter	MAIL.LOCAL: Handle routed addresses properly when using LMTP.  Fix
449143730Speter		from John Beck of Sun Microsystems.
449243730Speter	MAIL.LOCAL: Properly check for CRLF when using LMTP.  Fix from
449343730Speter		John Beck of Sun Microsystems.
449443730Speter	MAIL.LOCAL: Substitute MAILER-DAEMON for the LMTP empty sender in
449543730Speter		the envelope From header.
449664562Sgshapiro	MAIL.LOCAL: Accept underscores in hostnames in LMTP mode.
449743730Speter		Problem noted by Glenn A. Malling of Syracuse University.
449843730Speter	MAILSTATS: Document msgsrej and msgsdis fields in the man page.
449943730Speter		Problem noted by Richard Wong of Princeton University.
450043730Speter	MAKEMAP: Build group list so group writable files are allowed with
450164562Sgshapiro		the -s flag.  Problem noted by Curt Sampson of Internet
450242575Speter		Portal Services, Inc.
450342575Speter	PRALIASES: Automatically handle alias files created without the
450442575Speter		NULL byte at the end of the key.  Patch from John Beck of
450542575Speter		Sun Microsystems.
450642575Speter	PRALIASES: Support Berkeley DB 2.6.4 API change.
450742575Speter	New Files:
450842575Speter		BuildTools/OS/IRIX64.6.5
450942575Speter		BuildTools/OS/UnixWare.5.i386
451042575Speter		cf/ostype/unixware7.m4
451142575Speter		contrib/smcontrol.pl
451242575Speter		src/control.c
451342575Speter
451443730Speter8.9.1/8.9.1	1998/07/02
451542575Speter	If both an OS specific site configuration file and a generic
451642575Speter		site.config.m4 file existed, only the latter was used
451742575Speter		instead of both.  Problem noted by Geir Johannessen of
451842575Speter		the Norwegian University of Science and Technology.
451942575Speter	Fix segmentation fault while converting 8 bit to 7 bit MIME
452042575Speter		multipart messages by trying to write to an unopened
452142575Speter		file descriptor.  Fix from Kari Hurtta of the Finnish
452242575Speter		Meteorological Institute.
452342575Speter	Do not assume Message: and Text: headers indicate the end of
452442575Speter		the header area when parsing MIME headers.  Problem noted
452542575Speter		by Kari Hurtta of the Finnish Meteorological Institute.
452642575Speter	Setting the confMAN#SRC Build variable would only effect the
452742575Speter		installation commands.  The man pages would still be
452842575Speter		built with .0 extensions.  Problem noted by Bryan
452942575Speter		Costales of InfoBeat, Inc.
453042575Speter	Installation of manual pages didn't honor the DESTDIR environment
453142575Speter		variable.  Problem noted by Bryan Costales of InfoBeat, Inc.
453242575Speter	If the check_relay ruleset resolved to the discard mailer, messages
453342575Speter		were still delivered.  Problem noted by Mirek Luc of NASK.
453442575Speter	Mail delivery to files would fail with an Operating System Error
453542575Speter		if sendmail was not running as root, i.e., RunAsUser was set.
453642575Speter		Problem noted by Leonard N. Zubkoff of Dandelion Digital.
453742575Speter	Prevent MinQueueAge from interfering from queued items created
453842575Speter		in the future, i.e., if the system clock was set ahead
453942575Speter		and then back.  Problem noted by Michael Miller of the
454042575Speter		University of Natal, Pietermaritzburg.
454142575Speter	Do not advertise ETRN support in ESTMP EHLO reply if noetrn is
454264562Sgshapiro		set in the PrivacyOptions option.  Fix from Ted Rule of
454364562Sgshapiro		Flextech TV.
454464562Sgshapiro	Log invalid persistent host status file lines instead of
454564562Sgshapiro		bouncing the message.  Problem noted by David Lindes of
454642575Speter		DaveLtd Enterprises.
454742575Speter	Move creation of empty sendmail.st file from installation to
454842575Speter		compilation.  Installation may be done from a read-only
454942575Speter		mount.  Fix from Bryan Costales of InfoBeat, Inc. and Ric
455042575Speter		Anderson of the Oasis Research Center, Inc.
455142575Speter	Enforce the maximum number of User Database entries limit.  Problem
455242575Speter		noted by Gary Buchanan of Credence Systems Inc.
455342575Speter	Allow dead.letter files in root's home directory.  Problem noted
455464562Sgshapiro		by Anna Ullman of Sun Microsystems.
455542575Speter	Program deliveries in forward files could be marked unsafe if
455642575Speter		any directory listed in the ForwardPath option did not
455742575Speter		exist.  Problem noted by Jorg Bielak of Coastal Web Online.
455842575Speter	Do not trust the length of the address structure returned by
455942575Speter		gethostbyname().  Problem noted by Chris Evans of Oxford
456042575Speter		University.
456142575Speter	If the SIZE= MAIL From: ESMTP parameter is too large, use the
456242575Speter		5.3.4 DSN status code instead of 5.2.2.  Similarly, for
456342575Speter		non-local deliveries, if the message is larger than the
456442575Speter		mailer maximum message size, use 5.3.4 instead of 5.2.3.
456542575Speter		Suggested by Antony Bowesman of
456642575Speter		Fujitsu/TeaWARE Mail/MIME System.
456742575Speter	Portability:
456842575Speter		Fix the check for an IP address reverse lookup for
456942575Speter			use in $&{client_name} on 64 bit platforms.
457042575Speter			From Gilles Gallot of Institut for Development
457142575Speter			and Resources in Intensive Scientific computing.
457242575Speter		BSD-OS uses .0 for man page extensions.  From Jeff Polk
457342575Speter			of BSDI.
457442575Speter		DomainOS detection for Build.  Also, version 10.4 and later
457543730Speter			ship a unistd.h.  Fixes from Takanobu Ishimura of
457642575Speter			PICT Inc.
457742575Speter		NeXT 4.x uses /usr/lib/man/cat for its man pages.  From
457842575Speter			J. P. McCann of E I A.
457942575Speter		SCO 4.X and 5.X include NDBM support.  From Vlado Potisk
458042575Speter			of TEMPEST, Ltd.
458142575Speter	CONFIG: Do not pass spoofed PTR results through resolver for
458243730Speter		qualification.  Problem noted by Michiel Boland of
458342575Speter		Digital Valley Internet Professionals; fix from
458442575Speter		Kari Hurtta of the Finnish Meteorological Institute.
458542575Speter	CONFIG: Do not try to resolve non-DNS hostnames such as UUCP,
458642575Speter		BITNET, and DECNET addresses for resolvable senders.
458742575Speter		Problem noted by Alexander Litvin of Lucky Net Ltd.
458842575Speter	CONFIG: Work around Sun's broken configuration which sends bounce
458942575Speter		messages as coming from @@hostname instead of <>.  LMTP
459042575Speter		would not accept @@hostname.
459142575Speter	OP.ME: Corrections to complex sendmail startup script from Rick
459242575Speter		Troxel of the National Institutes of Health.
459342575Speter	RMAIL: Do not install rmail by default, require 'make force-install'
459442575Speter		as this rmail isn't the same as others.  Suggested by
459542575Speter		Kari Hurtta of the Finnish Meteorological Institute.
459642575Speter	New Files:
459742575Speter		BuildTools/OS/DomainOS.10.4
459842575Speter
459942575Speter8.9.0/8.9.0	1998/05/19
460042575Speter	SECURITY: To prevent users from reading files not normally
460142575Speter		readable, sendmail will no longer open forward, :include:,
460242575Speter		class, ErrorHeader, or HelpFile files located in unsafe
460342575Speter		(i.e., group or world writable) directory paths.  Sites
460442575Speter		which need the ability to override security can use the
460542575Speter		DontBlameSendmail option.  See the README file for more
460642575Speter		information.
460742575Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
460842575Speter		if maps or alias files are in world writable directories.
460942575Speter		This fixes the change added to 8.8.6 to prevent links in these
461042575Speter		world writable directories.
461142575Speter	SECURITY: Make sure ServiceSwitchFile option file is not a link if
461242575Speter		it is in a world writable directory.
461342575Speter	SECURITY: Never pass a tty to a mailer -- if a mailer can get at the
461442575Speter		tty it may be able to push bytes back to the senders input.
461542575Speter		Unfortunately this breaks -v mode.  Problem noted by
461642575Speter		Wietse Venema of the Global Security Analysis Lab at
461743730Speter		IBM T.J. Watson Research.
461842575Speter	SECURITY: Empty group list if DontInitGroups is set to true to
461942575Speter		prevent program deliveries from picking up extra group
462042575Speter		privileges.  Problem reported by Wolfgang Ley of DFN-CERT.
462142575Speter	SECURITY: The default value for DefaultUser is now set to the uid and
462242575Speter		gid of the first existing user mailnull, sendmail, or daemon
462342575Speter		that has a non-zero uid.  If none of these exist, sendmail
462442575Speter		reverts back to the old behavior of using uid 1 and gid 1.
462542575Speter		This is a security problem for Linux which has chosen that
462642575Speter		uid and gid for user bin instead of daemon.  If DefaultUser
462742575Speter		is set in the configuration file, that value overrides this
462842575Speter		default.
462942575Speter	SECURITY: Since 8.8.7, the check for non-set-user-ID binaries
463042575Speter		interfered with setting an alternate group id for the
463142575Speter		RunAsUser option.  Problem noted by Randall Winchester of
463264562Sgshapiro		the University of Maryland.
463342575Speter	Add support for Berkeley DB 2.X.  Based on patch from John Kennedy
463442575Speter		of Cal State University, Chico.
463542575Speter	Remove support for OLD_NEWDB (pre-1.5 version of Berkeley DB).  Users
463642575Speter		which previously defined OLD_NEWDB=1 must now upgrade to the
463742575Speter		current version of Berkeley DB.
463842575Speter	Added support for regular expressions using the new map class regex.
463942575Speter		From Jan Krueger of Unix-AG of University of Hannover.
464042575Speter	Support for BIND 8.1.1's hesiod for hesiod maps and hesiod
464142575Speter		UserDatabases from Randall Winchester of the University
464242575Speter		of Maryland.
464342575Speter	Allow any shell for user shell on program deliveries on V1
464464562Sgshapiro		configurations for backwards compatibility on machines which
464542575Speter		do not have getusershell().  Fix from John Beck of Sun
464642575Speter		Microsystems.
464742575Speter	On operating systems which change the process title by reusing the
464842575Speter		argument vector memory, sendmail could corrupt memory if the
464942575Speter		last argument was either "-q" or "-d".  Problem noted by
465042575Speter		Frank Langbein of the University of Stuttgart.
465142575Speter	Support Local Mail Transfer Protocol (LMTP) between sendmail and
465242575Speter		mail.local on the F=z flag.
465342575Speter	Macro-expand the contents of the ErrMsgFile.  Previously this was
465442575Speter		only done if you had magic characters (0x81) to indicate
465542575Speter		macro expansion.  Now $x will be expanded.  This means that
465642575Speter		real dollar signs have to be backslash escaped.
465742575Speter	TCP Wrappers expects "unknown" in the hostname argument if the
465842575Speter		reverse DNS lookup for the incoming connection fails.
465942575Speter		Problem noted by Randy Grimshaw of Syracuse University and
466042575Speter		Wietse Venema of the Global Security Analysis Lab at
466142575Speter		IBM T.J. Watson Research.
466242575Speter	DSN success bounces generated from an invocation of sendmail -t
466342575Speter		would be sent to both the sender and MAILER-DAEMON.
466442575Speter		Problem noted by Claus Assmann of
466542575Speter		Christian-Albrechts-University of Kiel.
466642575Speter	Avoid "Error 0" messages on delivery mailers which exit with a
466742575Speter		valid exit value such as EX_NOPERM.  Fix from Andreas Luik
466842575Speter		of ISA Informationssysteme GmbH.
466942575Speter	Tokenize $&x expansions on right hand side of rules.  This eliminates
467042575Speter		the need to use tricks like $(dequote "" $&{client_name} $)
467142575Speter		to cause the ${client_name} macro to be properly tokenized.
467242575Speter	Add the MaxRecipientsPerMessage option: this limits the number of
467364562Sgshapiro		recipients that will be accepted in a single SMTP
467442575Speter		transaction.  After this number is reached, sendmail
467542575Speter		starts returning "452 Too many recipients" to all RCPT
467642575Speter		commands.  This can be used to limit the number of recipients
467764562Sgshapiro		per envelope (in particular, to discourage use of the server
467838032Speter		for spamming).  Note: a better approach is to restrict
467938032Speter		relaying entirely.
468038032Speter	Fixed pointer initialization for LDAP lmap struct, fixed -s option
468138032Speter		to ldapx map and added timeout for ldap_open call to
468238032Speter		avoid hanging sendmail in the event of hung LDAP servers.
468338032Speter		Patch from Booker Bense of Stanford University.
468438032Speter	Allow multiple -qI, -qR, or -qS queue run limiters.  For example,
468538032Speter		'-qRfoo -qRbar' would deliver mail to recipients with foo or
468638032Speter		bar in their address.  Patch from Allan E Johannesen of
468738032Speter		Worcester Polytechnic Institute.
468838032Speter	The bestmx map will now return a list of the MX servers for a host if
468938032Speter		passed a column delimiter via the -z map flag.  This can be
469038032Speter		used to check if the server is an MX server for the recipient
469138032Speter		of a message.  This can be used to help prevent relaying.
469238032Speter		Patch from Mitchell Blank Jr of Exec-PC.
469338032Speter	Mark failures for the *file* mailer and return bounce messages to the
469438032Speter		sender for those failures.
469538032Speter	Prevent bogus syslog timestamps on errors in sendmail.cf by
469638032Speter		preserving the TZ environment variable until TimeZoneSpec
469738032Speter		has been determined.  Problem noted by Ralf Hildebrandt of
469864562Sgshapiro		Technical University of Braunschweig.  Patch from Per Hedeland
469938032Speter		of Ericsson.
470038032Speter	Print test input in address test mode when input is not from the tty
470164562Sgshapiro		when the -v flag is given (i.e., sendmail -bt -v) to make
470238032Speter		output easier to decipher.  Problem noted by Aidan Nichol
470338032Speter		of Procter & Gamble.
470438032Speter	The LDAP map -s flag was not properly parsed and the error message
470543730Speter		given included the remainder of the arguments instead of
470638032Speter		solely the argument in error.  Problem noted by Aidan Nichol
470738032Speter		of Procter & Gamble.
470838032Speter	New DontBlameSendmail option.  This option allows administrators to
470938032Speter		bypass some of sendmail's file security checks at the expense
471038032Speter		of system security.  This should only be used if you are
471138032Speter		absolutely sure you know the consequences.  The available
471238032Speter		DontBlameSendmail options are:
471338032Speter			Safe
471438032Speter			AssumeSafeChown
471538032Speter			ClassFileInUnsafeDirPath
471638032Speter			ErrorHeaderInUnsafeDirPath
471738032Speter			GroupWritableDirPathSafe
471838032Speter			GroupWritableForwardFileSafe
471938032Speter			GroupWritableIncludeFileSafe
472038032Speter			GroupWritableAliasFile
472138032Speter			HelpFileinUnsafeDirPath
472238032Speter			WorldWritableAliasFile
472338032Speter			ForwardFileInGroupWritableDirPath
472438032Speter			IncludeFileInGroupWritableDirPath
472538032Speter			ForwardFileInUnsafeDirPath
472638032Speter			IncludeFileInUnsafeDirPath
472738032Speter			ForwardFileInUnsafeDirPathSafe
472838032Speter			IncludeFileInUnsafeDirPathSafe
472938032Speter			MapInUnsafeDirPath
473038032Speter			LinkedAliasFileInWritableDir
473138032Speter			LinkedClassFileInWritableDir
473238032Speter			LinkedForwardFileInWritableDir
473338032Speter			LinkedIncludeFileInWritableDir
473438032Speter			LinkedMapInWritableDir
473538032Speter			LinkedServiceSwitchFileInWritableDir
473638032Speter			FileDeliveryToHardLink
473738032Speter			FileDeliveryToSymLink
473838032Speter			WriteMapToHardLink
473938032Speter			WriteMapToSymLink
474038032Speter			WriteStatsToHardLink
474138032Speter			WriteStatsToSymLink
474238032Speter			RunProgramInUnsafeDirPath
474338032Speter			RunWritableProgram
474438032Speter	New DontProbeInterfaces option to turn off the inclusion of all the
474538032Speter		interface names in $=w on startup.  In particular, if you
474638032Speter		have lots of virtual interfaces, this option will speed up
474738032Speter		startup.  However, unless you make other arrangements, mail
474838032Speter		sent to those addresses will be bounced.
474938032Speter	Automatically create alias databases if they don't exist and
475038032Speter		AutoRebuildAliases is set.
475138032Speter	Add PrivacyOptions=noetrn flag to disable the SMTP ETRN command.
475238032Speter		Suggested by Christophe Wolfhugel of the Institut Pasteur.
475338032Speter	Add PrivacyOptions=noverb flag to disable the SMTP VERB command.
475438032Speter	When determining the client host name ($&{client_name} macro), do
475538032Speter		a forward (A) DNS lookup on the result of the PTR lookup
475638032Speter		and compare results.  If they differ or if the PTR lookup
475738032Speter		fails, &{client_name} will contain the IP address
475838032Speter		surrounded by square brackets (e.g., [127.0.0.1]).
475942575Speter	New map flag: -Tx appends "x" to lookups that return temporary failure
476042575Speter		(i.e, it is like -ax for the temporary failure case, in
476138032Speter		contrast to the success case).
476264562Sgshapiro	New syntax to do limited checking of header syntax.  A config line
476338032Speter		of the form:
476438032Speter			HHeader: $>Ruleset
476538032Speter		causes the indicated Ruleset to be invoked on the Header
476664562Sgshapiro		when read.  This ruleset works like the check_* rulesets --
476738032Speter		that is, it can reject mail on the basis of the contents.
476838032Speter	Limit the size of the HELO/EHLO parameter to prevent spammers
476938032Speter		from hiding their connection information in Received:
477038032Speter		headers.
477138032Speter	When SingleThreadDelivery is active, deliveries to locked hosts
477238032Speter		are skipped.  This will cause the delivering process to
477338032Speter		try the next MX host or queue the message if no other MX
477438032Speter		hosts are available.  Suggested by Alexander Litvin.
477538032Speter	The [FILE] mailer type now delivers to the file specified in the
477638032Speter		A= equate of the mailer definition instead of $u.  It also
477738032Speter		obeys all of the F= mailer flags such as the MIME
477838032Speter		7/8 bit conversion flags.  This is useful for defining
477938032Speter		a mailer which delivers to the same file regardless of the
478038032Speter		recipient (e.g., 'A=FILE /dev/null' to discard unwanted mail).
478138032Speter	Do not assume the identity of a remote connection is root@localhost
478238032Speter		if the remote connection closes the socket before the
478338032Speter		remote identity can be queried.
478438032Speter	Change semantics of the F=S mailer flag back to 8.7.5 behavior.
478538032Speter		Some mailers, including procmail, require that the real
478638032Speter		uid is left unchanged by sendmail.  Problem noted by Per
478738032Speter		Hedeland of Ericsson.
478838032Speter	No longer is the src/obj*/Makefile selected from a large list -- it
478938032Speter		is now generated using the information in BuildTools/OS/ --
479038032Speter		some of the details are determined dynamically via
479138032Speter		BuildTools/bin/configure.sh.
479290792Sgshapiro	The other programs in the sendmail distribution -- mail.local,
479338032Speter		mailstats, makemap, praliases, rmail, and smrsh -- now use
479438032Speter		the new Build method which creates an operating system
479538032Speter		specific Makefile using the information in BuildTools.
479638032Speter	Make 4xx reply codes to the SMTP MAIL command be non-sticky (i.e.,
479738032Speter		a failure on one message won't affect future messages to the
479838032Speter		same host).  This is necessary if the remote host sends
479938032Speter		a 451 error if the domain of the sender does not resolve
480038032Speter		as is common in anti-spam configurations.  Problem noted
480138032Speter		by Mitchell Blank Jr of Exec-PC.
480238032Speter	New "discard" mailer for check_* rulesets and header checking
480338032Speter		rulesets.  If one of the above rulesets resolves to the
480438032Speter		$#discard mailer, the commands will be accepted but the
480538032Speter		message will be completely discarded after it is accepting.
480638032Speter		This means that even if only one of the recipients
480738032Speter		resolves to the $#discard mailer, none of the recipients
480838032Speter		will receive the mail.  Suggested by Brian Kantor.
480938032Speter	All but the last cloned envelope of a split envelope were queued
481038032Speter		instead of being delivered.  Problem noted by John Caruso
481138032Speter		of CNET: The Computer Network.
481238032Speter	Fix deadlock situation in persistent host status file locking.
481338032Speter	Syslog an error if a user forward file could not be read due to
481438032Speter		an error.  Patch from John Beck of Sun Microsystems.
481538032Speter	Use the first name returned on machine lookups when canonifying a
481638032Speter		hostname via NetInfo.  Patch from Timm Wetzel of GWDG.
481738032Speter	Clear the $&{client_addr}, $&{client_name}, and $&{client_port}
481838032Speter		macros when delivering a bounce message to prevent
481938032Speter		rejection by a check_compat ruleset which uses these macros.
482064562Sgshapiro		Problem noted by Jens Hamisch of AgiX Internetservices GmbH.
482138032Speter	If the check_relay ruleset resolves to the the error mailer, the
482238032Speter		error in the $: portion of the resolved triplet is used
482338032Speter		in the rejection message given to the remote machine.
482438032Speter		Suggested by Scott Gifford of The Internet Ramp.
482538032Speter	Set the $&{client_addr}, $&{client_name}, and $&{client_port} macros
482638032Speter		before calling the check_relay ruleset.  Suggested by Scott
482738032Speter		Gifford of The Internet Ramp.
482838032Speter	Sendmail would get a segmentation fault if a mailer exited with an
482938032Speter		exit code of 79.  Problem noted by Aaron Schrab of ExecPC
483038032Speter		Internet.  Fix from Christophe Wolfhugel of the Pasteur
483138032Speter		Institute.
483238032Speter	Separate snprintf/vsnprintf routines into separate file for use by
483338032Speter		mail.local.
483438032Speter	Allow multiple map lookups on right hand side, e.g.,
483538032Speter		R$*	$( host $1 $) $| $( passwd $1 $).  Patch from
483638032Speter		Christophe Wolfhugel of the Pasteur Institute.
483738032Speter	Properly generate success DSN messages if requested for aliases
483838032Speter		which have owner- aliases.  Problem noted by Kari Hurtta
483938032Speter		of the Finnish Meteorological Institute.
484038032Speter	Properly display delayed-expansion macros ($&{macroname}) in
484138032Speter		address test mode (-bt).  Problem noted by Bryan Costales
484238032Speter		of InfoBeat, Inc.
484338032Speter	-qR could sometimes match names incorrectly.  Problem noted by
484438032Speter		Lutz Euler of Lavielle EDV Systemberatung GmbH & Co.
484538032Speter	Include a magic number and version in the StatusFile for the
484638032Speter		mailstats command.
484738032Speter	Record the number of rejected and discarded messages in the
484838032Speter		StatusFile for display by the mailstats command.  Patch
484938032Speter		from Randall Winchester of the University of Maryland.
485038032Speter	IDENT returns where the OSTYPE field equals "OTHER" now list the
485138032Speter		user portion as IDENT:username@site instead of
485238032Speter		username@site to differentiate the two.  Suggested by
485338032Speter		Kari Hurtta of the Finnish Meteorological Institute.
485438032Speter	Enforce timeout for LDAP queries.  Patch from Per Hedeland of
485538032Speter		Ericsson.
485638032Speter	Change persistent host status filename substitution so '/' is
485738032Speter		replaced by ':' instead of '|' to avoid clashes.  Also
485838032Speter		avoid clashes with hostnames with leading dots.  Fix from
485938032Speter		Mitchell Blank Jr. of Exec-PC.
486038032Speter	If the system lock table is full, only attempt to create a new
486138032Speter		queue entry five times before giving up.  Previously, it
486238032Speter		was attempted indefinitely which could cause the partition
486338032Speter		to run out of inodes.  Problem noted by Suzie Weigand of
486464562Sgshapiro		Stratus Computer, Inc.
486538032Speter	In verbose mode, warn if the sendmail.cf version is less than the
486638032Speter		currently supported version.
486738032Speter	Sorting for QueueSortOrder=host is now case insensitive.  Patch
486864562Sgshapiro		from Randall S. Winchester of the University of Maryland.
486938032Speter	Properly quote a full name passed via the -F command line option,
487038032Speter		the Full-Name: header, or the NAME environment variable if
487138032Speter		it contains characters which must be quoted.  Problem noted
487238032Speter		by Kari Hurtta of the Finnish Meteorological Institute.
487338032Speter	Avoid possible race condition that unlocked a mail job before
487438032Speter		releasing the transcript file on systems that use flock(2).
487538032Speter		In some cases, this might result in a "Transcript Unavailable"
487638032Speter		message in error bounces.
487738032Speter	Accept SMTP replies which contain only a reply code and no
487838032Speter		accompanying text.  Problem noted by Fernando Fraticelli of
487938032Speter		Digital Equipment Corporation.
488038032Speter	Portability:
488138032Speter		AIX 4.1 uses int for SOCKADDR_LEN_T from Motonori Nakamura
488238032Speter			of Kyoto University.
488338032Speter		AIX 4.2 requires <userpw.h> before <usersec.h>.  Patch from
488438032Speter			Randall S. Winchester of the University of
488538032Speter			Maryland.
488638032Speter		AIX 4.3 from Valdis Kletnieks of Virginia Tech CNS.
488738032Speter		CRAY T3E from Manu Mahonen of Center for Scientific Computing
488838032Speter			in Finland.
488938032Speter		Digital UNIX now uses statvfs for determining free
489038032Speter			disk space.  Patch from Randall S. Winchester of
489138032Speter			the University of Maryland.
489238032Speter		HP-UX 11.x from Richard Allen of Opin Kerfi HF and
489338032Speter			Regis McEwen of Progress Software Corporation.
489438032Speter		IRIX 64 bit fixes from Kari Hurtta of the Finnish
489538032Speter			Meteorological Institute.
489638032Speter		IRIX 6.2 configuration fix for mail.local from Michael Kyle
489738032Speter			of CIC/Advanced Computing Laboratory.
489838032Speter		IRIX 6.5 from Thomas H Jones II of SGI.
489938032Speter		IRIX 6.X load average code from Bob Mende of SGI.
490038032Speter		QNX from Glen McCready <glen@qnx.com>.
490138032Speter		SCO 4.2 and 5.x use /usr/bin instead of /usr/ucb for links
490238032Speter			to sendmail.  Install with group bin instead of kmem
490338032Speter			as kmem does not exist.  From Guillermo Freige of
490438032Speter			Gobernacion de la Pcia de Buenos Aires and Paul
490538032Speter			Fischer of BTG, Inc.
490638032Speter		SunOS 4.X does not include memmove().  Patch from
490738032Speter			Per Hedeland of Ericsson.
490838032Speter		SunOS 5.7 includes getloadavg() function for determining
490938032Speter			load average.  Patch from John Beck of Sun
491038032Speter			Microsystems.
491138032Speter	CONFIG: Increment version number of config file.
491238032Speter	CONFIG: add DATABASE_MAP_TYPE to set the default type of database
491338032Speter		map for the various maps.  The default is hash.  Patch from
491438032Speter		Robert Harker of Harker Systems.
491538032Speter	CONFIG: new confEBINDIR m4 variable for defining the executable
491638032Speter		directory for certain programs.
491738032Speter	CONFIG: new FEATURE(local_lmtp) to use the new LMTP support for
491838032Speter		local mail delivery.  By the default, /usr/libexec/mail.local
491938032Speter		is used.  This is expected to be the mail.local shipped
492038032Speter		with 8.9 which is LMTP capable.  The path is based on the
492164562Sgshapiro		new confEBINDIR m4 variable.
492238032Speter	CONFIG: Use confEBINDIR in determining path to smrsh for
492338032Speter		FEATURE(smrsh).  Note that this changes the default from
492438032Speter		/usr/local/etc/smrsh to /usr/libexec/smrsh.  To obtain the
492538032Speter		old path for smrsh, use FEATURE(smrsh, /usr/local/etc/smrsh).
492638032Speter	CONFIG: DOMAIN(generic) changes the default confFORWARD_PATH to
492738032Speter		include $z/.forward.$w+$h and $z/.forward+$h which allow
492838032Speter		the user to setup different .forward files for
492938032Speter		user+detail addressing.
493038032Speter	CONFIG: add confMAX_RCPTS_PER_MESSAGE, confDONT_PROBE_INTERFACES,
493138032Speter		and confDONT_BLAME_SENDMAIL to set MaxRecipientsPerMessage,
493238032Speter		DontProbeInterfaces, and DontBlameSendmail options.
493338032Speter	CONFIG: by default do not allow relaying (that is, accepting mail
493438032Speter		from outside your domain and sending it to another host
493538032Speter		outside your domain).
493638032Speter	CONFIG: new FEATURE(promiscuous_relay) to allow mail relaying from
493738032Speter		any site to any site.
493838032Speter	CONFIG: new FEATURE(relay_entire_domain) allows any host in your
493938032Speter		domain as defined by the 'm' class ($=m) to relay.
494038032Speter	CONFIG: new FEATURE(relay_based_on_MX) to allow relaying based on
494138032Speter		the MX records of the host portion of an incoming recipient.
494238032Speter	CONFIG: new FEATURE(access_db) which turns on the access database
494364562Sgshapiro		feature.  This database gives you the ability to allow
494438032Speter		or refuse to accept mail from specified domains for
494538032Speter		administrative reasons.  By default, names that are listed
494638032Speter		as "OK" in the access db are domain names, not host names.
494738032Speter	CONFIG: new confCR_FILE m4 variable for defining the name of the file
494838032Speter		used for class 'R'.  Defaults to /etc/mail/relay-domains.
494938032Speter	CONFIG: new command RELAY_DOMAIN(domain) and RELAY_DOMAIN_FILE(file)
495038032Speter		to add items to class 'R' ($=R) for hosts allowed to relay.
495138032Speter	CONFIG: new FEATURE(relay_hosts_only) to change the behavior
495238032Speter		of FEATURE(access_db) and class 'R' to lookup individual
495338032Speter		host names only.
495438032Speter	CONFIG: new FEATURE(loose_relay_check).  Normally, if a recipient
495538032Speter		using % addressing is used, e.g.  user%site@othersite,
495638032Speter		and othersite is in class 'R', the check_rcpt ruleset
495738032Speter		will strip @othersite and recheck user@site for relaying.
495838032Speter		This feature changes that behavior.  It should not be
495938032Speter		needed for most installations.
496038032Speter	CONFIG: new FEATURE(relay_local_from) to allow relaying if the
496138032Speter		domain portion of the mail sender is a local host.  This
496238032Speter		should only be used if absolutely necessary as it opens
496338032Speter		a window for spammers.  Patch from Randall S. Winchester of
496438032Speter		the University of Maryland.
496538032Speter	CONFIG: new FEATURE(blacklist_recipients) turns on the ability to
496638032Speter		block incoming mail destined for certain recipient
496738032Speter		usernames, hostnames, or addresses.
496838032Speter	CONFIG: By default, MAIL FROM: commands in the SMTP session will be
496938032Speter		refused if the host part of the argument to MAIL FROM: cannot
497038032Speter		be located in the host name service (e.g., DNS).
497138032Speter	CONFIG: new FEATURE(accept_unresolvable_domains) accepts
497238032Speter		unresolvable hostnames in MAIL FROM: SMTP commands.
497338032Speter	CONFIG: new FEATURE(accept_unqualified_senders) accepts
497438032Speter		MAIL FROM: senders which do not include a domain.
497538032Speter	CONFIG: new FEATURE(rbl) Turns on rejection of hosts found in the
497638032Speter		Realtime Blackhole List.  You can specify the RBL name
497738032Speter		server to contact by specifying it as an optional argument.
497838032Speter		The default is rbl.maps.vix.com.  For details, see
497938032Speter		http://maps.vix.com/rbl/.
498038032Speter	CONFIG: Call Local_check_relay, Local_check_mail, and
498138032Speter		Local_check_rcpt from check_relay, check_mail, and
498238032Speter		check_rcpt.  Users with local rulesets should place the
498338032Speter		rules using LOCAL_RULESETS.  If a Local_check_* ruleset
498438032Speter		returns $#OK, the message is accepted.  If the ruleset
498538032Speter		returns a mailer, the appropriate action is taken, else
498638032Speter		the return of the ruleset is ignored.
498738032Speter	CONFIG: CYRUS_MAILER_FLAGS now includes the /:| mailer flags by
498838032Speter		default to support file, :include:, and program deliveries.
498938032Speter	CONFIG: Remove the default for confDEF_USER_ID so the binary can
499038032Speter		pick the proper default value.  See the SECURITY note
499138032Speter		above for more information.
499238032Speter	CONFIG: FEATURE(nodns) now warns the user that the feature is a
499338032Speter		no-op.  Patch from Kari Hurtta of the Finnish
499438032Speter		Meteorological Institute.
499538032Speter	CONFIG: OSTYPE(osf1) now sets DefaultUserID (confDEF_USER_ID) to
499638032Speter		daemon since DEC's /bin/mail will drop the envelope
499738032Speter		sender if run as mailnull.  See the Digital UNIX section
499838032Speter		of src/README for more information.  Problem noted by
499938032Speter		Kari Hurtta of the Finnish Meteorological Institute.
500038032Speter	CONFIG: .cf files are now stored in the same directory with the
500138032Speter		.mc files instead of in the obj directory.
500238032Speter	CONFIG: New options confSINGLE_LINE_FROM_HEADER,
500338032Speter		confALLOW_BOGUS_HELO, and confMUST_QUOTE_CHARS for
500438032Speter		setting SingleLineFromHeader, AllowBogusHELO, and
500538032Speter		MustQuoteChars respectively.
500638032Speter	MAIL.LOCAL: support -l flag to run LMTP on stdin/stdout.  This
500738032Speter		SMTP-like protocol allows detailed reporting of delivery
500838032Speter		status on a per-user basis.  Code donated by John Myers of
500938032Speter		CMU (now of Netscape).
501038032Speter	MAIL.LOCAL: HP-UX support from Randall S. Winchester of the
501138032Speter		University of Maryland.  NOTE: mail.local is not
501238032Speter		compatible with the stock HP-UX mail format.  Be sure to
501338032Speter		read mail.local/README.
501438032Speter	MAIL.LOCAL: Prevent other mail delivery agents from stealing a
501538032Speter		mailbox lock.  Patch from Randall S. Winchester of the
501638032Speter		University of Maryland.
501738032Speter	MAIL.LOCAL: glibc portability from John Kennedy of Cal State
501838032Speter		University, Chico.
501938032Speter	MAIL.LOCAL: IRIX portability from Kari Hurtta of the Finnish
502038032Speter		Meteorological Institute.
502138032Speter	MAILSTATS: Display the number of rejected and discarded messages
502238032Speter		in the StatusFile.  Patch from Randall Winchester of the
502338032Speter		University of Maryland.
502438032Speter	MAKEMAP: New -s flag to ignore safety checks on database map files
502538032Speter		such as linked files in world writable directories.
502638032Speter	MAKEMAP: Add support for Berkeley DB 2.X.  Remove OLD_NEWDB support.
502738032Speter	PRALIASES: Add support for Berkeley DB 2.X.
502838032Speter	PRALIASES: Do not automatically include NDBM support.  Problem
502938032Speter		noted by Ralf Hildebrandt of the Technical University of
503038032Speter		Braunschweig.
503138032Speter	RMAIL: Improve portability for other platforms.  Patches from
503238032Speter		Randall S. Winchester of the University of Maryland and
503338032Speter		Kari Hurtta of the Finnish Meteorological Institute.
503438032Speter	Changed Files:
503538032Speter		src/Makefiles/Makefile.* files have been modified to use
503638032Speter			the new build mechanism and are now BuildTools/OS/*.
503738032Speter		src/makesendmail changed to symbolic link to src/Build.
503838032Speter	New Files:
503938032Speter		BuildTools/M4/header.m4
504038032Speter		BuildTools/M4/depend/BSD.m4
504138032Speter		BuildTools/M4/depend/CC-M.m4
504238032Speter		BuildTools/M4/depend/NCR.m4
504338032Speter		BuildTools/M4/depend/Solaris.m4
504438032Speter		BuildTools/M4/depend/X11.m4
504538032Speter		BuildTools/M4/depend/generic.m4
504638032Speter		BuildTools/OS/AIX.4.2
504738032Speter		BuildTools/OS/AIX.4.x
504838032Speter		BuildTools/OS/CRAYT3E.2.0.x
504938032Speter		BuildTools/OS/HP-UX.11.x
505038032Speter		BuildTools/OS/IRIX.6.5
505138032Speter		BuildTools/OS/NEXTSTEP.4.x
505238032Speter		BuildTools/OS/NeXT.4.x
505338032Speter		BuildTools/OS/NetBSD.8.3
505438032Speter		BuildTools/OS/QNX
505538032Speter		BuildTools/OS/SunOS.5.7
505638032Speter		BuildTools/OS/dcosx.1.x.NILE
505738032Speter		BuildTools/README
505838032Speter		BuildTools/Site/README
505938032Speter		BuildTools/bin/Build
506038032Speter		BuildTools/bin/configure.sh
506138032Speter		BuildTools/bin/find_m4.sh
506238032Speter		BuildTools/bin/install.sh
506338032Speter		Makefile
506438032Speter		cf/cf/Build
506538032Speter		cf/cf/generic-hpux10.cf
506638032Speter		cf/feature/accept_unqualified_senders.m4
506738032Speter		cf/feature/accept_unresolvable_domains.m4
506838032Speter		cf/feature/access_db.m4
506938032Speter		cf/feature/blacklist_recipients.m4
507038032Speter		cf/feature/loose_relay_check.m4
507138032Speter		cf/feature/local_lmtp.m4
507238032Speter		cf/feature/promiscuous_relay.m4
507338032Speter		cf/feature/rbl.m4
507438032Speter		cf/feature/relay_based_on_MX.m4
507538032Speter		cf/feature/relay_entire_domain.m4
507638032Speter		cf/feature/relay_hosts_only.m4
507738032Speter		cf/feature/relay_local_from.m4
507838032Speter		cf/ostype/qnx.m4
507938032Speter		contrib/doublebounce.pl
508038032Speter		mail.local/Build
508138032Speter		mail.local/Makefile.m4
508238032Speter		mail.local/README
508338032Speter		mailstats/Build
508438032Speter		mailstats/Makefile.m4
508538032Speter		makemap/Build
508638032Speter		makemap/Makefile.m4
508738032Speter		praliases/Build
508838032Speter		praliases/Makefile.m4
508938032Speter		rmail/Build
509038032Speter		rmail/Makefile.m4
509138032Speter		rmail/rmail.0
509238032Speter		smrsh/Build
509338032Speter		smrsh/Makefile.m4
509438032Speter		src/Build
509538032Speter		src/Makefile.m4
509638032Speter		src/snprintf.c
509738032Speter	Deleted Files:
509838032Speter		cf/cf/Makefile (replaced by Makefile.dist)
509938032Speter		mail.local/Makefile
510038032Speter		mail.local/Makefile.dist
510138032Speter		mailstats/Makefile
510238032Speter		mailstats/Makefile.dist
510338032Speter		makemap/Makefile
510438032Speter		makemap/Makefile.dist
510538032Speter		praliases/Makefile
510677349Sgshapiro		praliases/Makefile.dist
510738032Speter		rmail/Makefile
510838032Speter		smrsh/Makefile
510938032Speter		smrsh/Makefile.dist
511038032Speter		src/Makefile
511138032Speter		src/Makefiles/Makefile.AIX.4 (split into AIX.4.x and AIX.4.2)
511238032Speter		src/Makefiles/Makefile.SMP_DC.OSx.NILE
511338032Speter			(renamed BuildTools/OS/dcosx.1.x.NILE)
511438032Speter		src/Makefiles/Makefile.Utah (obsolete platform)
511538032Speter	Renamed Files:
511638032Speter		READ_ME => README
511738032Speter		cf/cf/Makefile.dist => Makefile
511838032Speter		cf/cf/obj/* => cf/cf/*
511938032Speter		src/READ_ME => src/README
512038032Speter
512138032Speter8.8.8/8.8.8	1997/10/24
512238032Speter	If the check_relay ruleset failed, the relay= field was logged
512338032Speter		incorrectly.  Problem noted by Kari Hurtta of the Finnish
512438032Speter		Meteorological Institute.
512538032Speter	If /usr/tmp/dead.letter already existed, sendmail could not
512638032Speter		add additional bounces to it.  Problem noted by Thomas J.
512738032Speter		Arseneault of SRI International.
512838032Speter	If an SMTP mailer used a non-standard port number for the outgoing
512938032Speter		connection, it would be displayed incorrectly in verbose mode.
513038032Speter		Problem noted by John Kennedy of Cal State University, Chico.
513138032Speter	Log the ETRN parameter specified by the client before altering them
513238032Speter		to internal form.  Suggested by Bob Kupiec of GES-Verio.
513338032Speter	EXPN and VRFY SMTP commands on malformed addresses were logging as
513438032Speter		User unknown with bogus delay= values.  Change them to log
513538032Speter		the same as compliant addresses.  Problem noted by Kari E.
513638032Speter		Hurtta of the Finnish Meteorological Institute.
513738032Speter	Ignore the debug resolver option unless using sendmail debug trace
513838032Speter		option for resolver.  Problem noted by Greg Nichols of Wind
513938032Speter		River Systems.
514038032Speter	If SingleThreadDelivery was enabled and the remote server returned a
514138032Speter		protocol error on the DATA command, the connection would be
514238032Speter		closed but the persistent host status file would not be
514338032Speter		unlocked so other sendmail processes could not deliver to
514438032Speter		that host.  Problem noted by Peter Wemm of DIALix.
514538032Speter	If queueing up a message due to an expensive mailer, don't increment
514638032Speter		the number of delivery attempts or set the last delivery
514738032Speter		attempt time so the message will be delivered on the next
514838032Speter		queue run regardless of MinQueueAge.  Problem noted by
514938032Speter		Brian J. Coan of the Institute for Global Communications.
515038032Speter	Authentication warnings of "Processed from queue _directory_" and
515138032Speter		"Processed by _username_ with -C _filename_" would be logged
515238032Speter		with the incorrect timestamp.  Problem noted by Kari E. Hurtta
515338032Speter		of the Finnish Meteorological Institute.
515438032Speter	Use a better heuristic for detecting GDBM.
515538032Speter	Log null connections on dropped connections.  Problem noted by
515638032Speter		Jon Lewis of Florida Digital Turnpike.
515738032Speter	If class dbm maps are rebuilt, sendmail will now detect this and
515838032Speter		reopen the map.  Previously, they could give stale
515938032Speter		results during a single message processing (but would
516038032Speter		recover when the next message was received).  Fix from
516138032Speter		Joe Pruett of Q7 Enterprises.
516238032Speter	Do not log failures such as "User unknown" on -bv or SMTP VRFY
516338032Speter		requests.  Problem noted by Kari E. Hurtta of the
516438032Speter		Finnish Meteorological Institute.
516564562Sgshapiro	Do not send a bounce message back to the sender regarding bad
516638032Speter		recipients if the SMTP connection is dropped before the
516738032Speter		message is accepted.  Problem noted by Kari E. Hurtta of the
516838032Speter		Finnish Meteorological Institute.
516938032Speter	Use "localhost" instead of "[UNIX: localhost]" when connecting to
517038032Speter		sendmail via a UNIX pipe.  This will allow rulesets using
517138032Speter		$&{client_name} to process without sending the string through
517238032Speter		dequote.  Problem noted by Alan Barrett of Internet Africa.
517338032Speter	A combination of deferred delivery mode, a double bounce situation,
517464562Sgshapiro		and the inability to save a bounce message to
517538032Speter		/var/tmp/dead.letter would cause sendmail to send a bounce
517638032Speter		to postmaster but not remove the offending envelope from the
517738032Speter		queue causing it to create a new bounce message each time the
517838032Speter		queue was run.  Problem noted by Brad Doctor of Net Daemons
517938032Speter		Associates.
518038032Speter	Remove newlines from hostname information returned via DNS.  There are
518138032Speter		no known security implications of newlines in hostnames as
518238032Speter		sendmail filters newlines in all vital areas; however, this
518338032Speter		could cause confusing error messages.
518438032Speter	Starting with sendmail 8.8.6, mail sent with the '-t' option would be
518538032Speter		rejected if any of the specified addresses were bad.  This
518638032Speter		behavior was modified to only reject the bad addresses and not
518738032Speter		the entire message.  Problem noted by Jozsef Hollosi of
518838032Speter		SuperNet, Inc.
518938032Speter	Use Timeout.fileopen when delivering mail to a file.  Suggested by
519038032Speter		Bryan Costales of InfoBeat, Inc.
519138032Speter	Display the proper Final-Recipient on DSN messages for non-SMTP
519238032Speter		mailers.  Problem noted by Kari E. Hurtta of the
519338032Speter		Finnish Meteorological Institute.
519438032Speter	An error in calculating the available space in the list of addresses
519538032Speter		for logging deliveries could cause an address to be silently
519638032Speter		dropped.
519738032Speter	Include the initial user environment if sendmail is restarted via
519838032Speter		a HUP signal.  This will give room for the process title.
519938032Speter		Problem noted by Jon Lewis of Florida Digital Turnpike.
520038032Speter	Mail could be delivered without a body if the machine does not
520138032Speter		support flock locking and runs out of processes during
520238032Speter		delivery.  Fix from Chuck Lever of the University of Michigan.
520338032Speter	Drop recipient address from 251 and 551 SMTP responses per RFC 821.
520438032Speter		Problem noted by Kari E. Hurtta of the Finnish Meteorological
520538032Speter		Institute.
520638032Speter	Make sure non-rebuildable database maps are opened before the
520738032Speter		rebuildable maps (i.e., alias files) in case the database maps
520838032Speter		are needed for verifying the left hand side of the aliases.
520938032Speter		Problem noted by Lloyd Parkes of Victoria University.
521038032Speter	Make sure sender RFC822 source route addresses are alias expanded for
521138032Speter		bounce messages.  Problem noted by Juergen Georgi of
521238032Speter		RUS University of Stuttgart.
521338032Speter	Minor lint fixes.
521438032Speter	Return a temporary error instead of a permanent error if an LDAP map
521538032Speter		search returns an error.  This will allow sequenced maps which
521638032Speter		use other LDAP servers to be checked.  Fix from Booker Bense
521738032Speter		of Stanford University.
521838032Speter	When automatically converting from quoted printable to 8bit text do
521938032Speter		not pad bare linefeeds with a space.  Problem noted by Theo
522038032Speter		Nolte of the University of Technology Aachen, Germany.
522138032Speter	Portability:
522238032Speter		Non-standard C compilers may have had a problem compiling
522338032Speter			conf.c due to a standard C external declaration of
522438032Speter			setproctitle().  Problem noted by Ted Roberts of
522538032Speter			Electronic Data Systems.
522638032Speter		AUX: has a broken O_EXCL implementation.  Reported by Jim
522738032Speter			Jagielski of jaguNET Access Services.
522838032Speter		BSD/OS: didn't compile if HASSETUSERCONTEXT was defined.
522938032Speter		Digital UNIX: Digital UNIX (and possibly others) moves
523038032Speter			loader environment variables into the loader memory
523138032Speter			area.  If one of these environment variables (such as
523238032Speter			LD_LIBRARY_PATH) was the last environment variable,
523338032Speter			an invalid memory address would be used by the process
523438032Speter			title routine causing memory corruption.  Problem
523538032Speter			noted by Sam Hartman of Mesa Internet Systems.
523638032Speter		GNU libc: uses an enum for _PC_CHOWN_RESTRICTED which caused
523738032Speter			chownsafe() to always return 0 even if the OS does
523838032Speter			not permit file giveaways.  Problem noted by
523938032Speter			Yasutaka Sumi of The University of Tokyo.
524038032Speter		IRIX6: Syslog buffer size set to 512 bytes.  Reported by
524138032Speter			Gerald Rinske of Siemens Business Services VAS.
524238032Speter		Linux: Pad process title with NULLs.  Problem noted by
524338032Speter			Jon Lewis of Florida Digital Turnpike.
524438032Speter		SCO OpenServer 5.0: SIOCGIFCONF ioctl call returns an
524538032Speter			incorrect value for the number of interfaces.
524638032Speter			Problem noted by Chris Loelke of JetStream Internet
524738032Speter			Services.
524838032Speter		SINIX: Update for Makefile and syslog buffer size from Gerald
524938032Speter			Rinske of Siemens Business Services VAS.
525038032Speter		Solaris: Make sure HASGETUSERSHELL setting for SunOS is not
525138032Speter			used on a Solaris machine.  Problem noted by
525238032Speter			Stephen Ma of Jtec Pty Limited.
525338032Speter		CONFIG: SINIX: Update from Gerald Rinske of Siemens Business
525438032Speter			Services VAS.
525538032Speter	MAKEMAP: Use a better heuristic for detecting GDBM.
525638032Speter	CONTRIB: expn.pl: Updated version from the author, David Muir Sharnoff.
525738032Speter	OP.ME: Document the F=i mailer flag.  Problem noted by Per Hedeland of
525838032Speter			Ericsson.
525938032Speter
526038032Speter8.8.7/8.8.7	1997/08/03
526138032Speter	If using Berkeley DB on systems without O_EXLOCK (open a file with
526238032Speter		an exclusive lock already set -- i.e., almost all systems
526338032Speter		except 4.4-BSD derived systems), the initial attempt at
526438032Speter		rebuilding aliases file if the database didn't already
526538032Speter		exist would fail.  Patch from Raymund Will of LST Software
526638032Speter		GmbH.
526738032Speter	Bogus incoming SMTP commands would reset the SMTP conversation.
526838032Speter		Problem noted by Fredrik J�nsson of the Royal Institute
526938032Speter		of Technology, Stockholm.
527038032Speter	Since TCP Wrappers includes setenv(), unsetenv(), and putenv(),
527138032Speter		some environments could give "multiple definitions" for these
527238032Speter		routines during compilation.  If using TCP Wrappers, assume
527338032Speter		that these routines are included as though they were in the
527438032Speter		C library.  Patch from Robert La Ferla.
527538032Speter	When a NEWDB database map was rebuilt at the same time it was being
527638032Speter		used by a queue run, the maps could be left locked for the
527738032Speter		duration of the queue run, causing other processes to hang.
527838032Speter		Problem noted by Kendall Libby of Shore.NET.
527938032Speter	In some cases, NoRecipientAction=add-bcc was being ignored, so the
528038032Speter		mail was passed on without any recipient header.  This could
528138032Speter		cause problems downstream.  Problem noted by Xander Jansen
528238032Speter		of SURFnet ExpertiseCentrum.
528338032Speter	Give error when GDBM is used with sendmail.  GDBM's locking and
528464562Sgshapiro		linking of the .dir and .pag files interferes with sendmail's
528538032Speter		locking and security checks.  Problems noted by Fyodor
528638032Speter		Yarochkin of the Kyrgyz Republic FreeNet.
528738032Speter	Don't fsync qf files if SuperSafe option is not set.
528838032Speter	Avoid extra calls to gethostbyname for addresses for which a
528938032Speter		gethostbyaddr found no value.  Also, ignore any returns
529038032Speter		from gethostbyaddr that look like a dotted quad.
529138032Speter	If PTR lookup fails when looking up an SMTP peer, don't tag it as
529238032Speter		"may be forged", since at the network level we pretty much
529338032Speter		have to assume that the information is good.
529438032Speter	In some cases, errors during an SMTP session could leave files
529538032Speter		open or locked.
529638032Speter	Better handling of missing file descriptors (0, 1, 2) on startup.
529738032Speter	Better handling of non-set-user-ID binaries -- avoids certain obnoxious
529838032Speter		errors during testing.
529938032Speter	Errors in file locking of NEWDB maps had the incorrect file name
530038032Speter		printed in the error message.
530138032Speter	If the AllowBogusHELO option were set and an EHLO with a bad or
530238032Speter		missing parameter were issued, the EHLO behaved like a HELO.
530338032Speter	Load limiting never kicked in for incoming SMTP transactions if the
530438032Speter		DeliveryMode=background and any recipient was an alias or
530538032Speter		had a .forward file.  From Nik Conwell of Boston University.
530638032Speter	On some non-Posix systems, the decision of whether chown(2) permits
530738032Speter		file giveaway was undefined.  From Tetsu Ushijima of the
530838032Speter		Tokyo Institute of Technology.
530938032Speter	Fix race condition that could cause the body of a message to be
531038032Speter		lost (so only the header was delivered).  This only occurs
531138032Speter		on systems that do not use flock(2), and only when a queue
531238032Speter		runner runs during a critical section in another message
531338032Speter		delivery.  Based on a patch from Steve Schweinhart of
531438032Speter		Results Computing.
531538032Speter	If a qf file was found in a mail queue directory that had a problem
531638032Speter		(wrong ownership, bad format, etc.) and the file name was
531738032Speter		exactly MAXQFNAME bytes long, then instead of being tried
531838032Speter		once, it would be tried on every queue run.  Problem noted
531938032Speter		by Bryan Costales of Mercury Mail.
532038032Speter	If the system supports an st_gen field in the status structure,
532138032Speter		include it when reporting that a file has changed after open.
532238032Speter		This adds a new compile flag, HAS_ST_GEN (0/1 option).
532338032Speter		This out to be checked as well as reported, since it is
532438032Speter		theoretically possible for an attacker to remove a file after
532538032Speter		it is opened and replace it with another file that has the
532638032Speter		same i-number, but some filesystems (notably AFS) return
532738032Speter		garbage in this field, and hence always look like the file
532838032Speter		has changed.  As a practical matter this is not a security
532938032Speter		problem, since the files can be neither hard nor soft links,
533038032Speter		and on no filesystem (that I am aware of) is it possible to
533138032Speter		have two files on the same filesystem with the same i-number
533238032Speter		simultaneously.
533338032Speter	Delete the root Makefile from the distribution -- it is only for
533438032Speter		use internally, and does not work at customer sites.
533538032Speter	Fix botch that caused the second MAIL FROM: command in a single
533638032Speter		transaction to clear the entire transaction.  Problem
533738032Speter		noted by John Kennedy of Cal State University, Chico.
533838032Speter	Work properly on machines that have _PATH_VARTMP defined without
533938032Speter		a trailing slash.  (And a pox on vendors that decide to
534038032Speter		ignore the established conventions!)  Problem noted by
534138032Speter		Gregory Neil Shapiro of WPI.
534238032Speter	Internal changes to make it easier to add another protocol family
534338032Speter		(intended for IPv6).  Patches are from John Kennedy of
534438032Speter		CSU Chico.
534538032Speter	In certain cases, 7->8 bit MIME decoding of Base64 text could leave
534638032Speter		an extra space at the beginning of some lines.  Problem
534738032Speter		noted by Charles Karney of Princeton University; fix based
534838032Speter		on a patch from Christophe Wolfhugel.
534938032Speter	Portability:
535038032Speter		Allow _PATH_VENDOR_CF to be set in Makefile for consistency
535138032Speter			with the _Sendmail_ book, 2nd edition.  Note that
535238032Speter			the book is actually wrong: _PATH_SENDMAILCF should
535338032Speter			be used instead.
535438032Speter		AIX 3.x: Include <sys/select.h>.  Patch from Gene Rackow
535538032Speter			of Argonne National Laboratory.
535638032Speter		OpenBSD from from Paul DuBois of the University of Wisconsin.
535738032Speter		RISC/os 4.0 from Paul DuBois of the University of Wisconsin.
535838032Speter		SunOS: Include <memory.h> to fix warning from util.c.  From
535938032Speter			James Aldridge of EUnet Ltd.
536038032Speter		Solaris: Change STDIR (location of status file) to /etc/mail
536138032Speter			in Makefiles.
536238032Speter		Linux, Dynix, UNICOS: Remove -DNDBM and -lgdbm from
536338032Speter			Makefiles.  Use NEWDB on Linux instead.
536438032Speter		NCR MP-RAS 3.x with STREAMware TCP/IP: SIOCGIFNUM ioctl
536538032Speter			exists but behaves differently than other OSes.
536638032Speter			Add SIOCGIFNUM_IS_BROKEN compile flag to get
536738032Speter			around the problem.  Problem noted by Tom Moore of
536838032Speter			NCR Corp.
536938032Speter		HP-UX 9.x: fix compile warnings for old select API.  Problem
537064562Sgshapiro			noted by Tom Smith of Digital Equipment Corp.
537138032Speter		UnixWare 2.x: compile warnings on offsetof macro.  Problem
537238032Speter			noted by Tom Good of the Community Access Information
537338032Speter			Resource Network
537438032Speter		SCO 4.2: compile problems caused by a change in the type of
537538032Speter			the "length" parameters passed to accept, getpeername,
537638032Speter			getsockname, and getsockopt.  Adds new compile flags
537738032Speter			SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.  Problem reported
537838032Speter			by Tom Good of St. Vincent's North Richmond Community
537938032Speter			Mental Health Center Residential Services.
538038032Speter		AIX 4: Use size_t for SOCKADDR_SIZE_T and SOCKOPT_SIZE_T.
538138032Speter			Suggested by Brett Hogden of Rochester Gas & Electric
538238032Speter			Corp.
538338032Speter		Linux: avoid compile problem for versions of <setjmp.h> that
538438032Speter			#define both setjmp and longjmp.  Problem pointed out
538538032Speter			by J.R. Oldroyd of TerraNet.
538638032Speter		CONFIG: SCO UnixWare 2.1: Support for OSTYPE(sco-uw-2.1)
538738032Speter			from Christopher Durham of SCO.
538838032Speter		CONFIG: NEXTSTEP: define confCW_FILE to
538938032Speter			/etc/sendmail/sendmail.cw to match the usual
539038032Speter			configuration.  Patch from Dennis Glatting of
539138032Speter			PlainTalk.
539238032Speter	CONFIG: MAILER(fax) called a program that hasn't existed for a long
539338032Speter		time.  Convert to use the HylaFAX 4.0 conventions.  Suggested
539438032Speter		by Harry Styron.
539538032Speter	CONFIG: Improve sample anti-spam rulesets in cf/cf/knecht.mc.  These
539638032Speter		are the rulesets in use on sendmail.org.
539738032Speter	MAKEMAP: give error on GDBM files.
539838032Speter	MAIL.LOCAL: Make error messages a bit more explicit, for example,
539938032Speter		telling more details on what actually changed when "file
540038032Speter		changed after open".
540138032Speter	CONTRIB: etrn.pl: Ignore comments in Fw files.  Support multiple Fw
540238032Speter		files.
540364562Sgshapiro	CONTRIB: passwd-to-alias.pl: Handle 8 bit characters and '-'.
540438032Speter	NEW FILES:
540538032Speter		src/Makefiles/Makefile.OpenBSD
540638032Speter		src/Makefiles/Makefile.RISCos.4_0
540738032Speter		test/t_exclopen.c
540838032Speter		cf/ostype/sco-uw-2.1.m4
540938032Speter	DELETED FILES:
541038032Speter		Makefile
541138032Speter
541238032Speter8.8.6/8.8.6	1997/06/14
541338032Speter	    *************************************************************
541438032Speter	    * The extensive assistance of Gregory Neil Shapiro of WPI	*
541538032Speter	    * in preparing this release is gratefully appreciated.	*
541638032Speter	    * Sun Microsystems has also provided resources toward	*
541738032Speter	    * continued sendmail development.				*
541838032Speter	    *************************************************************
541938032Speter	SECURITY: A few systems allow an open with the O_EXCL|O_CREAT open
542038032Speter		mode bits set to create a file that is a symbolic link that
542138032Speter		points nowhere.  This makes it possible to create a root
542238032Speter		owned file in an arbitrary directory by inserting the symlink
542364562Sgshapiro		into a writable directory after the initial lstat(2) check
542438032Speter		determined that the file did not exist.  The only verified
542538032Speter		example of a system having these odd semantics for O_EXCL
542638032Speter		and symbolic links was HP-UX prior to version 9.07.  Most
542738032Speter		systems do not have the problem, since a exclusive create
542838032Speter		of a file disallows symbolic links.  Systems that have been
542938032Speter		verified to NOT have the problem include AIX 3.x, *BSD,
543038032Speter		DEC OSF/1, HP-UX 9.07 and higher, Linux, SunOS, Solaris,
543138032Speter		and Ultrix.  This is a potential exposure on systems that
543238032Speter		have this bug and which do not have a MAILER-DAEMON alias
543338032Speter		pointing at a legitimate account, since this will cause old
543438032Speter		mail to be dropped in /var/tmp/dead.letter.
543538032Speter	SECURITY: Problems can occur on poorly managed systems, specifically,
543638032Speter		if maps or alias files are in world writable directories.
543738032Speter		If your system has alias maps in writable directories, it
543838032Speter		is potentially possible for an attacker to replace the .db
543938032Speter		(or .dir and .pag) files by symbolic links pointing at
544038032Speter		another database; this can be used either to expose
544138032Speter		information (e.g., by pointing an alias file at /etc/spwd.db
544238032Speter		and probing for accounts), or as a denial-of-service attack
544338032Speter		(by trashing the password database).  The fix disallows
544438032Speter		symbolic links entirely when rebuilding alias files or on
544538032Speter		maps that are in writable directories, and always warns on
544638032Speter		writable directories; 8.9 will probably consider writable
544738032Speter		directories to be fatal errors.  This does not represent an
544838032Speter		exposure on systems that have alias files in unwritable
544938032Speter		system directories.
545038032Speter	SECURITY: disallow .forward or :include: files that are links (hard
545138032Speter		or soft) if the parent directory (or any directory in the
545238032Speter		path) is writable by anyone other than the owner.  This is
545338032Speter		similar to the previous case for user files.  This change
545438032Speter		should not affect most systems, but is necessary to prevent
545538032Speter		an attacker who can write the directory from pointing such
545638032Speter		files at other files that are readable only by the owner.
545738032Speter	SECURITY: Tighten safechown rules: many systems will say that they
545838032Speter		have a safe (restricted to root) chown even on files that
545938032Speter		are mounted from another system that allows owners to give
546090792Sgshapiro		away files.  The new rules are very strict, trusting file
546138032Speter		ownership only in those few cases where the system has
546238032Speter		been verified to be at least as paranoid as necessary.
546338032Speter		However, it is possible to relax the rules to partially
546438032Speter		trust the ownership if the directory path is not world or
546538032Speter		group writable.  This might allow someone who has a legitimate
546638032Speter		:include: file (referenced directly from /etc/aliases) to
546743730Speter		become another non-root user if the :include: file is in a
546838032Speter		non-writable directory on an NFS-mounted filesystem where
546938032Speter		the local system says that giveaway is denied but it is
547038032Speter		actually permitted.  I believe this to be a very small set
547138032Speter		of cases.  If in doubt, do not point :include: aliases at
547238032Speter		NFS-mounted filesystems.
547338032Speter	SECURITY: When setting a numeric group id using the RunAsUser option
547438032Speter		(e.g., "O RunAsUser=10:20", the group id would not be set.
547538032Speter		Implicit group ids (e.g., "O RunAsUser=mailnull") or alpha
547638032Speter		group ids (e.g., "O RunAsUser=mailuser:mailgrp") worked fine.
547738032Speter		The user id was still set properly.  Problem noted by Uli
547838032Speter		Pralle of the Technical University of Berlin.
547938032Speter	Save the initial gid set for use when checking for if the
548038032Speter		PrivacyOptions=restrictmailq option is set.  Problem reported
548138032Speter		by Wolfgang Ley of DFN-CERT.
548238032Speter	Make 55x reply codes to the SMTP DATA-"." be non-sticky (i.e., a
548338032Speter		failure on one message won't affect future messages to the
548438032Speter		same host).
548538032Speter	IP source route printing had an "off by one" error that would
548638032Speter		affect any options that came after the route option.  Patch
548738032Speter		from Theo de Raadt.
548838032Speter	The "Message is too large" error didn't successfully bounce the error
548938032Speter		back to the sender.  Problem reported by Stephen More of
549038032Speter		PSI; patch from Gregory Neil Shapiro of WPI.
549138032Speter	Change SMTP status code 553 to map into Extended code 5.1.0 (instead
549238032Speter		of 5.1.3); it apparently gets used in multiple ways.
549338032Speter		Suggested by John Myers of Portola Communications.
549438032Speter	Fix possible extra null byte generated during collection if errors
549538032Speter		occur at the beginning of the stream.  Patch contributed by
549638032Speter		Andrey A. Chernov and Gregory Neil Shapiro.
549738032Speter	Code changes to avoid possible reentrant call of malloc/free within
549838032Speter		a signal handler.  Problem noted by John Beck of Sun
549938032Speter		Microsystems.
550038032Speter	Move map initialization to be earlier so that check_relay ruleset
550138032Speter		will have the latest version of the map data.  Problem noted
550238032Speter		by Paul Forgey of Metainfo; patch from Gregory Neil Shapiro.
550338032Speter	If there are fatal errors during the collection phase (e.g., message
550438032Speter		too large) don't send the bogus message.
550538032Speter	Avoid "cannot open xfAAA00000" messages when sending to aliases that
550638032Speter		have errors and have owner- aliases.  Problem noted by Michael
550738032Speter		Barber of MTU; fix from Gregory Neil Shapiro of WPI.
550838032Speter	Avoid null pointer dereference on illegal Boundary= parameters in
550938032Speter		multipart/mixed Content-Type: header.  Problem noted by
551038032Speter		Richard Muirden of RMIT University.
551138032Speter	Always print error messages during newaliases (-bi) even if the
551238032Speter		ErrorMode is not set to "print".  Fix from Gregory Neil
551338032Speter		Shapiro.
551438032Speter	Test mode could core dump if you did a /map lookup in an optional map
551538032Speter		that could not be opened.  Based on a fix from John Beck of
551638032Speter		Sun Microsystems.
551738032Speter	If DNS is misconfigured so that the last MX record tried points to
551838032Speter		a host that does not have an A record, but other MX records
551938032Speter		pointed to something reasonable, don't bounce the message
552038032Speter		with a "host unknown" error.  Note that this should really
552138032Speter		be fixed in the zone file for the domain.  Problem noted by
552238032Speter		Joe Rhett of Navigist, Inc.
552338032Speter	If a map fails (e.g., DNS times out) on all recipient addresses, mark
552438032Speter		the message as having been tried; otherwise the next queue
552538032Speter		run will not realize that this is a second attempt and will
552638032Speter		retry immediately.  Problem noted by Bryan Costales of
552738032Speter		Mercury Mail.
552838032Speter	If the clock is set backwards, and a MinQueueAge is set, no jobs
552938032Speter		will be run until the later setting of the clock is reached.
553038032Speter		"Problem" (I use the term loosely) noted by Eric Hagberg of
553138032Speter		Morgan Stanley.
553238032Speter	If the load average rises above the cutoff threshold (above which
553338032Speter		sendmail will not process the queue at all) during a queue
553438032Speter		run, abort the queue run immediately.  Problem noted by
553538032Speter		Bryan Costales of Mercury Mail.
553638032Speter	The variable queue processing algorithm (based on the message size,
553738032Speter		number of recipients, message precedence, and job age) was
553838032Speter		non-functional -- either the entire queue was processed or
553938032Speter		none of the queue was processed.  The updated algorithm
554038032Speter		does no queue run if a single recipient zero size job will
554138032Speter		not be run.
554238032Speter	If there is a fatal ("panic") message that will cause sendmail to
554338032Speter		die immediately, never hold the error message for future
554438032Speter		printing.
554538032Speter	Force ErrorMode=print in -bt mode so that all errors are printed
554638032Speter		regardless of the setting of the ErrorMode option in the
554738032Speter		configuration file.  Patch from Gregory Neil Shapiro.
554838032Speter	New compile flag HASSTRERROR says that this OS has the strerror(3)
554938032Speter		routine available in one of the libraries.  Use it in conf.h.
555038032Speter	The -m (match only) flag now works on host class maps.
555138032Speter	If class hash or btree maps are rebuilt, sendmail will now detect
555238032Speter		this and reopen the map.  Previously, they could give
555338032Speter		erroneous results during a single message processing
555438032Speter		(but would recover when the next message was received).
555538032Speter	Don't delete zero length queue files when doing queue runs until the
555638032Speter		files are at least ten minutes old.  This avoids a potential
555738032Speter		race condition: the creator creates the qf file, getting back
555838032Speter		a file descriptor.  The queue runner locks it and deletes it
555938032Speter		because it is zero length.  The creator then writes the
556038032Speter		descriptor that is now for a disconnected file, and the
556138032Speter		job goes away.  Based on a suggestion by Bryan Costales.
556238032Speter	When determining the "validated" host name ($_ macro), do a forward
556338032Speter		(A) DNS lookup on the result of the PTR lookup and compare
556438032Speter		results.  If they differ or if the PTR lookup fails, tag the
556538032Speter		address as "may be forged".
556638032Speter	Log null connections (i.e., hosts that connect but do not do any
556738032Speter		substantive activity on the connection before disconnecting;
556838032Speter		"substantive" is defined to be MAIL, EXPN, VRFY, or ETRN.
556938032Speter	Always permit "writes" to /dev/null regardless of the link count.
557038032Speter		This is safe because /dev/null is special cased, and no open
557138032Speter		or write is ever actually attempted.  Patch from Villy Kruse
557238032Speter		of TwinCom.
557338032Speter	If a message cannot be sent because of a 552 (exceeded storage
557438032Speter		allocation) response to the MAIL FROM:<>, and a SIZE= parameter
557564562Sgshapiro		was given, don't return the body in the bounce, since there
557638032Speter		is a very good chance that the message will double-bounce.
557738032Speter	Fix possible line truncation if a quoted-printable had an =00 escape
557838032Speter		in the body.  Problem noted by Charles Karney of the Princeton
557938032Speter		Plasma Physics Laboratory.
558038032Speter	Notify flags (e.g., -NSUCCESS) were lost on user+detail addresses.
558138032Speter		Problem noted by Kari Hurtta of the Finnish Meteorological
558238032Speter		Institute.
558338032Speter	The MaxDaemonChildren option wasn't applying to queue runs as
558438032Speter		documented.  Note that this increases the potential denial
558538032Speter		of service problems with this option: an attacker can
558638032Speter		connect many times, and thereby lock out queue runs as well
558738032Speter		as incoming connections.  If you use this option, you should
558838032Speter		run the "sendmail -bd" and "sendmail -q30m" jobs separately
558938032Speter		to avoid this attack.  Failure to limit noted by Matthew
559038032Speter		Dillon of BEST Internet Communications.
559138032Speter	Always give a message in newaliases if alias files cannot be
559238032Speter		opened instead of failing silently.  Suggested by Gregory
559338032Speter		Neil Shapiro.  This change makes the code match the O'Reilly
559438032Speter		book (2nd edition).
559538032Speter	Some older versions of the resolver could return with h_errno == -1
559638032Speter		if no name server could be reached, causing mail to bounce
559738032Speter		instead of queueing.  Treat this like TRY_AGAIN.  Fix from
559838032Speter		John Beck of SunSoft.
559938032Speter	If a :include: file is owned by a user that does not have an entry
560038032Speter		in the passwd file, sendmail could dereference a null pointer.
560138032Speter		Problem noted by Satish Mynam of Sun Microsystems.
560238032Speter	Take precautions to make sure that the SMTP protocol cannot get out
560338032Speter		of sync if (for example) an alias file cannot be opened.
560438032Speter	Fix a possible race condition that can cause a SIGALRM to come in
560538032Speter		immediately after a SIGHUP, causing the new sendmail to die.
560638032Speter	Avoid possible hang on SVr3 systems when doing child reaping.  Patch
560738032Speter		from Villy Kruse of TwinCom.
560838032Speter	Ignore improperly formatted SMTP reply codes.  Previously these were
560938032Speter		partially processed, which could cause confusing error
561038032Speter		returns.
561138032Speter	Fix possible bogus pointer dereference when doing ldapx map lookups
561238032Speter		on some architectures.
561338032Speter	Portability:
561438032Speter		A/UX: from Jim Jagielski of NASA/GSFC.
561538032Speter		glibc: SOCK_STREAM was changed from a #define to an enum,
561638032Speter			thus breaking #ifdef SOCK_STREAM.  Only option seems
561738032Speter			to be to assume SOCK_STREAM if __GNU_LIBRARY__ is
561838032Speter			defined.  Problem reported by A Sun of the University
561938032Speter			of Washington.
562038032Speter		Solaris: use SIOCGIFNUM to get the number of interfaces on
562138032Speter			the system rather than guessing at compile time.
562238032Speter			Patch contributed by John Beck of Sun Microsystems.
562338032Speter		Intel Paragon: from Wendy Lin of Purdue University.
562438032Speter		GNU Hurd: from Miles Bader of the GNU project.
562538032Speter		RISC/os 4.50 from Harlan Stenn of PFCS Corporation.
562638032Speter		ISC Unix: wait never returns if SIGCLD signals are blocked.
562738032Speter			Unfortunately releasing them opens a race condition,
562838032Speter			but there appears to be no fix for this.  Patch from
562938032Speter			Gregory Neil Shapiro.
563038032Speter		BIND 8.1 for IPv6 compatibility from John Kennedy.
563138032Speter		Solaris: a bug in strcasecmp caused characters with the
563238032Speter			high order bit set to apparently randomly match
563338032Speter			letters -- for example, $| (0233) matches "i" and "I".
563438032Speter			Problem noted by John Gregson of the University of
563538032Speter			Cambridge.
563638032Speter		IRIX 6.x: make Makefile.IRIX.6.2 apply to all 6.x.  From
563738032Speter			Kari Hurtta.
563838032Speter		IRIX 6.x: Create Makefiles for systems that claim to be
563938032Speter			IRIX64 but are 6.2 or higher (so use the regular
564038032Speter			IRIX Makefile).
564138032Speter		IRIX 6.x: Fix load average computation on 64 bit kernels.
564238032Speter			Problem noted by Eric Hagberg of Morgan Stanley.
564338032Speter	CONFIG: Some canonification was still done for UUCP-like addresses
564438032Speter		even if FEATURE(nocanonify) was set.  Problem pointed out by
564538032Speter		Brian Candler.
564638032Speter	CONFIG: In some cases UUCP mailers wouldn't properly recognize all
564738032Speter		local names as local.  Problem noted by Jeff Polk of BSDI;
564838032Speter		fix provided by Gregory Neil Shapiro.
564938032Speter	CONFIG: The "local:user" syntax entries in mailertables and other
565038032Speter		"mailer:user" syntax locations returned an incorrect value
565138032Speter		for the $h macro.  Problem noted by Gregory Neil Shapiro.
565238032Speter	CONFIG: Retain "+detail" information when forwarding mail to a
565338032Speter		MAIL_HUB, LUSER_RELAY, or LOCAL_RELAY.  Patch from Philip
565438032Speter		Guenther of Gustavus Adolphus College.
565538032Speter	CONFIG: Make sure user+detail works for FEATURE(virtusertable);
565638032Speter		rules are the same as for aliasing.  Based on a patch from
565738032Speter		Gregory Neil Shapiro.
565838032Speter	CONFIG: Break up parsing rules into several pieces; this should
565938032Speter		have no functional change in this release, but makes it
566038032Speter		possible to have better anti-spam rulesets in the future.
566138032Speter	CONFIG: Disallow double dots in host names to avoid having the
566238032Speter		HostStatusDirectory store status under the wrong name.
566338032Speter		In some cases this can be used as a denial-of-service attack.
566438032Speter		Problem noted by Ron Jarrell of Virginia Tech, patch from
566538032Speter		Gregory Neil Shapiro.
566638032Speter	CONFIG: Don't use F=m (multiple recipients per invocation) for
566738032Speter		MAILER(procmail), but do pass F=Pn9 (include Return-Path:,
566838032Speter		don't include From_, and convert to 8-bit).  Suggestions
566938032Speter		from Kimmo Suominen and Roderick Schertler.
567038032Speter	CONFIG: Domains under $=M (specified with MASQUERADE_DOMAIN) were
567138032Speter		being masqueraded as though FEATURE(masquerade_entire_domain)
567238032Speter		was specified, even when it wasn't.
567338032Speter	MAIL.LOCAL: Solaris 2.6 has snprintf.  From John Beck of SunSoft.
567438032Speter	MAIL.LOCAL: SECURITY: check to make sure that an attacker doesn't
567538032Speter		"slip in" a symbolic link between the lstat(2) call and the
567638032Speter		exclusive open.  This is only a problem on System V derived
567738032Speter		systems that allow an exclusive create on files that are
567838032Speter		symbolic links pointing nowhere.
567938032Speter	MAIL.LOCAL: If the final mailbox close() failed, the user id was
568038032Speter		not reset back to root, which on some systems would cause
568138032Speter		later mailboxes to fail.  Also, any partial message would
568238032Speter		not be truncated, which could result in repeated deliveries.
568338032Speter		Problem noted by Bruce Evans via Peter Wemm (FreeBSD
568438032Speter		developers).
568538032Speter	MAKEMAP: Handle cases where O_EXLOCK is #defined to be 0.  A similar
568638032Speter		change to the sendmail map code was made in 8.8.3.  Problem
568738032Speter		noted by Gregory Neil Shapiro.
568838032Speter	MAKEMAP: Give warnings on file problems such as map files that are
568938032Speter		symbolic links; although makemap is not set-user-ID root, it is
569038032Speter		often run as root and hence has the potential for the same
569138032Speter		sorts of problems as alias rebuilds.
569238032Speter	MAKEMAP: Change compilation so that it will link properly on
569338032Speter		NEXTSTEP.
569438032Speter	CONTRIB: etrn.pl: search for Cw as well as Fw lines in sendmail.cf.
569538032Speter		Accept an optional list of arguments following the server
569638032Speter		name for the ETRN arguments to use (instead of $=w).  Other
569738032Speter		miscellaneous bug fixes.  From Christian von Roques via
569838032Speter		John Beck of Sun Microsystems.
569938032Speter	CONTRIB: Add passwd-to-alias.pl, contributed by Kari Hurtta.  This
570038032Speter		Perl script converts GECOS information in the /etc/passwd
570138032Speter		file into aliases, allowing for faster access to full name
570238032Speter		lookups; it is also clever about adding aliases (to root)
570338032Speter		for system accounts.
570438032Speter	NEW FILES:
570538032Speter		src/safefile.c
570638032Speter		cf/ostype/gnuhurd.m4
570738032Speter		cf/ostype/irix6.m4
570838032Speter		contrib/passwd-to-alias.pl
570938032Speter		src/Makefiles/Makefile.IRIX64.6.1
571038032Speter		src/Makefiles/Makefile.IRIX64.6.x
571138032Speter	RENAMED FILES:
571238032Speter		src/Makefiles/Makefile.IRIX.6.2 =>	Makefile.IRIX.6.x
571338032Speter		src/Makefiles/Makefile.IRIX64 =>	Makefile.IRIX64.6.0
571438032Speter
571538032Speter8.8.5/8.8.5	1997/01/21
571638032Speter	SECURITY: Clear out group list during startup.  Without this, sendmail
571738032Speter		will continue to run with the group permissions of the caller,
571838032Speter		even if RunAsUser is specified.
571938032Speter	SECURITY: Make purgestat (-bH) be root-only.  This is not in response
572038032Speter		to any known attack, but it's best to be conservative.
572138032Speter		Suggested by Peter Wemm of DIALix.
572238032Speter	SECURITY: Fix buffer overrun problem in MIME code that has possible
572338032Speter		security implications.  Patch from Alex Garthwaite of the
572438032Speter		University of Pennsylvania.
572538032Speter	Use of a -f flag with a phrase attached (e.g., "-f 'Full Name <addr>'")
572638032Speter		would truncate the address after "Full".  Although the -f
572738032Speter		syntax is incorrect (since it is in the envelope, it
572838032Speter		shouldn't have comments and full names), the failure mode
572938032Speter		was unnecessarily awful.
573038032Speter	Fix a possible null pointer dereference when converting 8-bit data
573138032Speter		to a 7-bit format.  Problem noted by Jim Hutchins of
573238032Speter		Sandia National Labs and David James of British Telecom.
573338032Speter	Clear out stale state that affected F=9 on SMTP mailers in queue
573438032Speter		runs.  Although this really shouldn't be used (F=9 is for
573538032Speter		final delivery only, and using it on an SMTP mailer makes
573638032Speter		it possible for a message to be converted from 8->7->8->7
573738032Speter		bits several times), it shouldn't have failed with a syserr.
573838032Speter		Problem noted by Eric Hagberg of Morgan Stanley.
573938032Speter	_Really_ fix the multiple :maildrop code in the user database
574038032Speter		module.  Patch from Roy Mongiovi of Georgia Tech.
574138032Speter	Let F lines in the configuration file actually read root-only
574238032Speter		files if the configuration file is safe.  Based on a
574338032Speter		patch from Keith Reynolds of SCO.
574438032Speter	ETRN followed by QUIT would hold the connection open until the queue
574538032Speter		run completed.  Problem noted by Truck Lewis of TDK
574638032Speter		Semiconductor Corp.
574738032Speter	It turns out that despite the documentation, the TCP wrappers library
574838032Speter		does _not_ log rejected connections.  Do the logging ourselves.
574938032Speter		Problem noted by Fletcher Mattox of the University of Texas
575038032Speter		at Austin.
575138032Speter	If sendmail finds a qf file in its queue directory that is an unknown
575238032Speter		version (e.g., when backing out to an old version), the
575338032Speter		error is reported on every queue run.  Change it to only
575438032Speter		give the error once (and rename the qf => Qf).  Patch from
575538032Speter		William A. Gianopoulos of Raytheon Company.
575638032Speter	Start a new session when doing background delivery; currently it
575738032Speter		ignored signals but didn't start a new signal, that caused
575838032Speter		some problems if a background process tried to send mail
575938032Speter		under certain circumstances.  Problem noted by Eric Hagberg
576038032Speter		of Morgan Stanley; fix from Kari Hurtta.
576138032Speter	Simplify test for skipping a queue run to just check if the current
576238032Speter		load average is >= the queueing load average.  Previously
576338032Speter		the check factored in some other parameters that caused it
576438032Speter		to essentially never skip the queue run.  Patch from Bryan
576538032Speter		Costales.
576638032Speter	If the SMTP server is running in "nullserver" mode (that is, it is
576738032Speter		rejecting all commands), start sleeping after MAXBADCOMMAND
576838032Speter		(25) commands; this helps prevent a bad guy from putting
576938032Speter		you into a tight loop as a denial-of-service attack.  Based
577038032Speter		on an e-mail conversation with Brad Knowles of AOL.
577138032Speter	Slow down when too many "light weight" commands have been issued;
577238032Speter		this helps prevent a class of denial-of-service attacks.
577338032Speter		The current values and defaults are:
577438032Speter		    MAXNOOPCOMMANDS	20	NOOP, VERB, ONEX, XUSR
577538032Speter		    MAXHELOCOMMANDS	3	HELO, EHLO
577638032Speter		    MAXVRFYCOMMANDS	6	VRFY, EXPN
577738032Speter		    MAXETRNCOMMANDS	8	ETRN
577838032Speter		These will probably be configurable in a future release.
577938032Speter	On systems that have uid_t typedefed to be an unsigned short, programs
578038032Speter		that had the F=S flag and no U= equate would be invoked with
578138032Speter		the real uid set to 65535 rather than being left unchanged.
578238032Speter	In some cases, NOTIFY=NEVER was not being honored.  Problem noted
578338032Speter		by Steve Hubert of the University of Washington, Seattle.
578438032Speter	Mail that was Quoted-Printable encoded and had a soft line break on
578538032Speter		the last line (i.e., an incomplete continuation) had the last
578638032Speter		line dropped.  Since this appears to be illegal it isn't
578738032Speter		clear what to do with it, but flushing the last line seems
578838032Speter		to be a better "fail soft" approach.  Based on a patch from
578938032Speter		Eric Hagberg.
579038032Speter	If AllowBogusHELO and PrivacyOptions=needmailhelo are both set, a
579138032Speter		bogus HELO command still causes the "Polite people say HELO
579238032Speter		first" error message.  Problem pointed out by Chris Thomas
579338032Speter		of UCLA; patch from John Beck of SunSoft.
579438032Speter	Handle "sendmail -bp -qSfoobar" properly if restrictqrun is set
579538032Speter		in PrivacyOptions.  The -q shouldn't turn this command off.
579638032Speter		Problem noted by Murray Kucherawy of Pacific Bell Internet;
579738032Speter		based on a patch from Gregory Neil Shapiro of WPI.
579838032Speter	Don't consider SMTP reply codes 452 or 552 (exceeded storage allocation)
579938032Speter		in a DATA transaction to be sticky; these can occur because
580038032Speter		a message is too large, and smaller messages should still go
580138032Speter		through.  Problem noted by Matt Dillon of Best Internet
580238032Speter		Communications.
580338032Speter	In some cases bounces were saved in /var/tmp/dead.letter even if they
580438032Speter		had been successfully delivered to the envelope sender.
580538032Speter		Problem noted Eric Hagberg of Morgan Stanley; solution from
580638032Speter		Gregory Neil Shapiro of WPI.
580738032Speter	Give better diagnostics on long alias lines.  Based on code contributed
580838032Speter		by Patrick Gosling of the University of Cambridge.
580938032Speter	Increase the number of virtual interfaces that will be probed for
581038032Speter		alternate names.  Problem noted by Amy Rich of Shore.Net.
581138032Speter	PORTABILITY:
581238032Speter		UXP/DS V20L10 for Fujitsu DS/90: Makefile patches from
581338032Speter			Toshiaki Nomura of Fujitsu Limited.
581438032Speter		SunOS with LDAP support: compile problems with struct timeval.
581538032Speter			Patch from Nick Cuccia of TCSI Corporation.
581638032Speter		SCO: from Keith Reynolds of SCO.
581738032Speter		Solaris: kstat load average computation wasn't being used.
581838032Speter			Fixes from Michael Ju. Tokarev of Telecom Service, JSC
581938032Speter			(Moscow).
582038032Speter		OpenBSD: from Jason Downs of teeny.org.
582138032Speter		Altos System V: from Tim Rice.
582238032Speter		Solaris 2.5: from Alan Perry of SunSoft.
582338032Speter		Solaris 2.6: from John Beck of SunSoft.
582438032Speter		Harris Nighthawk PowerUX (mh6000 box): from Bob Miorelli
582538032Speter			of Pratt & Whitney <miorelli@pweh.com>.
582638032Speter	CONFIG: It seems that I hadn't gotten the Received: line syntax
582738032Speter		_just_right_ yet.  Tweak it again.  I'll omit the names
582838032Speter		of the "contributors" (quantity two) in this one case.
582938032Speter		As of now, NO MORE DISCUSSION about the syntax of the
583038032Speter		Received: line.
583138032Speter	CONFIG: Although FEATURE(nullclient) uses EXPOSED_USER (class $=E),
583238032Speter		it never inserts that class into the output file.  Fix it
583364562Sgshapiro		so it will honor EXPOSED_USER but will _not_ include root
583438032Speter		automatically in this class.  Problem noted by Ronan KERYELL
583538032Speter		of Centre de Recherche en Informatique de l'�cole Nationale
583638032Speter		Sup�rieure des Mines de Paris (CRI-ENSMP).
583738032Speter	CONFIG: Clean up handling of "local:" syntax in relay specifications
583838032Speter		such as LUSER_RELAY.  This change permits the following
583938032Speter		syntaxes:  ``local:'' will send to the same user on the
584038032Speter		local machine (e.g., in a mailertable entry for "host",
584138032Speter		``local:'' will cause an address addressed to user@host to
584238032Speter		go to user on the local machone).  ``local:user'' will send
584338032Speter		to the named user on the local machine.  ``local:user@host''
584438032Speter		is equivalent to ``local:user'' (the host is ignored).  In
584538032Speter		all cases, the original user@host is passed in $@ (i.e., the
584638032Speter		detail information).  Inspired by a report from Michael Fuhr.
584738032Speter	CONFIG: Strip quotes from the first word of an "error:" host
584838032Speter		indication.  This lets you set (for example) the LUSER_RELAY
584938032Speter		to be ``error:\"5.1.1\" Your Message Here''.  Note the use
585038032Speter		of the \" so that the resulting string is properly quoted.
585138032Speter		Problem noted by Gregory Neil Shapiro of WPI.
585290792Sgshapiro	OP.ME: documentation was inconsistent about whether sendmail did a
585338032Speter		NOOP or a RSET to probe the connection (it does a RSET).
585438032Speter		Inconsistency noted by Deeran Peethamparam.
585538032Speter	OP.ME: insert additional blank pages so it will print properly on
585638032Speter		a duplex printer.  From Matthew Black of Cal State University,
585738032Speter		Long Beach.
585838032Speter
585938032Speter8.8.4/8.8.4	1996/12/02
586038032Speter	SECURITY: under some circumstances, an attacker could get additional
586138032Speter		permissions by hard linking to files that were group
586238032Speter		writable by the attacker.  The solution is to disallow any
586338032Speter		files that have hard links -- this will affect .forward,
586438032Speter		:include:, and output files.  Problem noted by Terry
586538032Speter		Kyriacopoulos of Interlog Internet Services.  As a
586638032Speter		workaround, set UnsafeGroupWrites -- always a good idea.
586738032Speter	SECURITY: the TryNullMXList (w) option should not be safe -- if it
586838032Speter		is, it is possible to do a denial-of-service attack on
586938032Speter		MX hosts that rely on the use of the null MX list.  There
587038032Speter		is no danger if you have this option turned off (the default).
587138032Speter		Problem noted by Dan Bernstein.  Also, make the DontInitGroups
587238032Speter		unsafe.  I know of no specific attack against this, although
587338032Speter		a denial-of-service attack is probably possible, but in theory
587438032Speter		you should not be able to safely tweak anything that affects
587538032Speter		the permissions that are used when mail is delivered.
587638032Speter	Purgestat could go into an infinite loop if one of the host status
587738032Speter		directories somehow became empty.  Problem noted by Roy
587864562Sgshapiro		Mongiovi of Georgia Tech.
587938032Speter	Processes got "lost" when counting children due to a race condition.
588038032Speter		This caused "proc_list_probe: lost pid" messages to be logged.
588138032Speter		Problem noted by several people.
588238032Speter	On systems with System V SIGCLD child signal semantics (notably AIX
588338032Speter		and HP-UX), mail transactions would print the message "451
588438032Speter		SMTP-MAIL: lost child: No child processes".  Problem noted
588538032Speter		by several people.
588638032Speter	Miscellaneous compiler warnings on picky compilers (or when setting
588738032Speter		gcc to high warning levels).  From Tom Moore of NCR Corp.
588838032Speter	SMTP protocol errors, and most errors on MAIL FROM: lines should
588938032Speter		not be persistent between runs, since they are based on the
589038032Speter		message rather than the host.  Problem noted by Matt Dillon
589138032Speter		of Best Internet Communications.
589238032Speter	The F=7 flag was ignored on SMTP mailers.  Problem noted by Tom Moore
589338032Speter		of NCR (a.k.a., AT&T Global Information Solutions).
589438032Speter	Avoid the possibility of having a child daemon run to completion
589538032Speter		(including closing the SMTP socket) before the parent has
589638032Speter		had a chance to close the socket; this can cause the parent
589738032Speter		to hang for a long time waiting for the socket to drain.
589838032Speter		Patch from Don Lewis of TDK Semiconductor.
589938032Speter	If the fork() failed in a queue run, the queue runners would not be
590038032Speter		rescheduled (so queue runs would stop).  Patch from Don Lewis.
590138032Speter	Some error conditions in ETRN could cause output without an SMTP
590238032Speter		status code.  Problem noted by Don Lewis.
590338032Speter	Multiple :maildrop addresses in the user database didn't work properly.
590438032Speter		Patch from Roy Mongiovi of Georgia Tech.
590538032Speter	Add ".db" automatically onto any user database spec that does not
590638032Speter		already have it; this is for consistency with makemap, the
590738032Speter		K line, and the documentation.  Inconsistency pointed out
590838032Speter		by Roy Mongiovi.
590938032Speter	Allow sendmail to be properly called in nohup mode.  Patch from
591038032Speter		Kyle Jones of UUNET.
591138032Speter	Change ETRN to ignore but still update host status files; previously
591238032Speter		it would ignore them and not save the updated status, which
591338032Speter		caused stale information to be maintained.  Based on a patch
591438032Speter		from Christopher Davis of Kapor Enterprises Inc.  Also, have
591538032Speter		ETRN ignore the MinQueueAge option.
591638032Speter	Patch long term host status to recover more gracefully from an empty
591738032Speter		host status file condition.  Patch from NAKAMURA Motonori
591838032Speter		of Kyoto University.
591938032Speter	Several patches to signal handling code to fix potential race
592038032Speter		conditions from Don Lewis.
592138032Speter	Make it possible to compile with -DDAEMON=0 (previously it had some
592238032Speter		compile errors).  This turns DAEMON, QUEUE, and SMTP into
592338032Speter		0/1 compilation flags.  Note that DAEMON is an obsolete
592438032Speter		compile flag; use NETINET instead.  Solution based on a
592538032Speter		patch from Bryan Costales.
592638032Speter	PORTABILITY FIXES:
592738032Speter		AIX4: getpwnam() and getpwuid() do a sequential scan of the
592838032Speter			/etc/security/passwd file when called as root.  This
592938032Speter			is very slow on some systems.  To speed it up, use the
593038032Speter			(undocumented) _getpw{nam,uid}_shadow() routines.
593138032Speter			Patch from Chris Thomas of UCLA/OAC Systems Group.
593238032Speter		SCO 5.x: include -lprot in the Makefile.  Patch from Bill
593338032Speter			Glicker of Burrelle's Information Service.
593438032Speter		NEWS-OS 4.x: need a definition for MODE_T to compile.  Patch
593538032Speter			from Makoto MATSUSHITA of Osaka University.
593638032Speter		SunOS 4.0.3: compile problems.  Patches from Andrew Cole of
593738032Speter			Leeds University and SASABE Tetsuro of the University
593838032Speter			of Tokyo.
593938032Speter		DG/UX 5.4.4.11 from Brian J. Murrell of InterLinx Support
594038032Speter			Services, Inc.
594138032Speter		Domain/OS from Don (Truck) Lewis of TDK Semiconductor Corp.
594238032Speter			I believe this to have only been a problem if you
594338032Speter			compiled with -DUSE_VENDOR_CF_PATH -- another reason
594438032Speter			to stick with /etc/sendmail.cf as your One True Path.
594538032Speter		Digital UNIX (OSF/1 on Alpha) load average computation from
594638032Speter			Martin Laubach of the Technischen Universit�t Wien.
594738032Speter	CONFIG: change default Received: line to be multiple lines rather
594838032Speter		than one long one.  By popular demand.
594938032Speter	MAIL.LOCAL: warnings weren't being logged on some systems.  Patch
595038032Speter		from Jerome Berkman of U.C. Berkeley.
595138032Speter	MAKEMAP: be sure to zero hinfo to avoid cruft that can cause runs
595238032Speter		to take a very long time.  Problem noted by Yoshiro YONEYA
595338032Speter		of NTT Software Corporation.
595438032Speter	CONTRIB: add etrn.pl, contributed by John Beck.
595538032Speter	NEW FILES:
595638032Speter		contrib/etrn.pl
595738032Speter
595871345Sgshapiro8.8.3/8.8.3	1996/11/17
595971345Sgshapiro	SECURITY: it was possible to get a root shell by lying to sendmail
596071345Sgshapiro		about argv[0] and then sending it a signal.  Problem noted
596138032Speter		by Leshka Zakharoff <leshka@leshka.chuvashia.su> on the
596238032Speter		best-of-security list.
596338032Speter	Log sendmail binary version number in "Warning: .cf version level
596438032Speter		(%d) exceeds program functionality (%d) message" -- this
596538032Speter		should make it clearer to people that they are running
596638032Speter		the wrong binary.
596738032Speter	Fix a problem that occurs when you open an SMTP connection and then
596838032Speter		do one or more ETRN commands followed by a MAIL command; at
596938032Speter		the end of the DATA phase sendmail would incorrectly report
597038032Speter		"451 SMTP-MAIL: lost child: No child processes".  Problem
597138032Speter		noted by Eric Bishop of Virginia Tech.
597238032Speter	When doing text-based host canonification (typically /etc/hosts
597338032Speter		lookup), a null host name would match any /etc/hosts entry
597438032Speter		with space at the end of the line.  Problem noted by Steve
597538032Speter		Hubert of the University of Washington, Seattle.
597638032Speter	7 to 8 bit BASE64 MIME conversions could duplicate bits of text.
597738032Speter		Problem reported by Tom Smith of Digital Equipment Corp.
597838032Speter	Increase the size of the DNS answer buffer -- the standard UDP packet
597938032Speter		size PACKETSZ (512) is not sufficient for some nameserver
598038032Speter		answers containing very many resource records.  The resolver
598138032Speter		may also switch to TCP and retry if it detects UDP packet
598238032Speter		overflow.  Also, allow for the fact that the resolver
598338032Speter		routines res_query and res_search return the size of the
598438032Speter		*un*truncated answer in case the supplied answer buffer it
598538032Speter		not big enough to accommodate the entire answer.  Patch from
598638032Speter		Eric Wassenaar.
598738032Speter	Improvements to MaxDaemonChildren code.  If you think you have too
598838032Speter		many children, probe the ones you have to verify that they
598938032Speter		are still around.  Suggested by Jared Mauch of CICnet, Inc.
599038032Speter		Also, do this probe before growing the vector of children
599138032Speter		pids; this previously caused the vector to grow indefinitely
599238032Speter		due to a race condition.  Problem reported by Kyle Jones of
599338032Speter		UUNET.
599438032Speter	On some architectures, <db.h> (from the Berkeley DB library) defines
599538032Speter		O_EXLOCK to zero; this fools the map compilation code into
599638032Speter		thinking that it can avoid race conditions by locking on open.
599738032Speter		Change it to check for O_EXLOCK non-zero.  Problem noted by
599838032Speter		Leif Erlingsson of Data Lege.
599938032Speter	Always call res_init() on startup (if compiled in, of course) to
600038032Speter		allow the sendmail.cf file to tweak resolver flags; without
600138032Speter		it, flag tweaks in ResolverOptions are ignored.  Patch from
600238032Speter		Andrew Sun of Merrill Lynch.
600338032Speter	Improvements to host status printing code.  Suggested by Steve Hubert
600438032Speter		of the University of Washington, Seattle.
600538032Speter	Change MinQueueAge option processing to do the check for the job age
600638032Speter		when reading the queue file, rather than at the end; this
600738032Speter		avoids parsing the addresses, which can do DNS lookups.
600838032Speter		Problem noted by John Beck of InReference, Inc.
600938032Speter	When MIME was being 7->8 bit decoded, "From " lines weren't being
601038032Speter		properly escaped.  Problem noted by Peter Nilsson of the
601138032Speter		University of Linkoping.
601238032Speter	In some cases, sendmail would retain root permissions during queue
601338032Speter		runs even if RunAsUser was set.  Problem noted by Mark
601438032Speter		Thomas of Mark G. Thomas Consulting.
601538032Speter	If the F=l flag was set on an SMTP mailer to indicate that it is
601638032Speter		actually local delivery, and NOTIFY=SUCCESS is specified in
601738032Speter		the envelope, and the receiving SMTP server speaks DSN, then
601838032Speter		the DSN would be both generated locally and propagated to the
601938032Speter		other end.
602038032Speter	The U= mailer field didn't correctly extract the group id if the
602138032Speter		user id was numeric.  Problem noted by Kenneth Herron of
602264562Sgshapiro		MCI Telecommunications Communications.
602338032Speter	If a message exceeded the fixed maximum size on input, the body of
602438032Speter		the message was included in the bounce.  Note that this did
602538032Speter		not occur if it exceeded the maximum _output_ size.  Problem
602638032Speter		reported by Kyle Jones of UUNET.
602738032Speter	PORTABILITY FIXES:
602838032Speter		AIX4: 4.1 doesn't have a working setreuid(2); change the
602938032Speter			AIX4 defines to use seteuid(2) instead, which
603038032Speter			works on 4.1 as well as 4.2.  Problem noted by
603138032Speter			H�kan Lindholm of interAF, Sweden.
603238032Speter		AIX4: use tzname[] vector to determine time zone name.
603338032Speter			Patch from NAKAMURA Motonori of Kyoto University.
603438032Speter		MkLinux: add Makefile.Linux.ppc and OSTYPE(mklinux) support.
603538032Speter			Contributed by Paul DuBois <dubois@primate.wisc.edu>.
603638032Speter		Solaris: kstat(3k) support for retrieving the load average.
603738032Speter			This adds the LA_KSTAT definition for LA_TYPE.
603838032Speter			The outline of the implementation was contributed
603938032Speter			by Michael Tokarev of Telecom Service, JSC, Moscow.
604038032Speter		HP-UX 10.0 gripes about the (perfectly legal!) forward
604138032Speter			declaration of struct rusage at the top of conf.h;
604238032Speter			change it to only be included if you are using gcc,
604338032Speter			which is apparently the only compiler that requires
604438032Speter			it in the first place.  Problem noted by Jeff
604538032Speter			Earickson of Colby College.
604638032Speter		IRIX: don't default to using gcc.  IRIX is a civilized
604738032Speter			operating system that comes with a decent compiler
604838032Speter			by default.  Problem noted by Barry Bouwsma and
604938032Speter			Kari Hurtta.
605038032Speter	CONFIG: specify F=9 as default in FEATURE(local_procmail) for
605138032Speter		consistency with other local mailers.  Inconsistency
605238032Speter		pointed out by Teddy Hogeborn <teddy@fukt.hk-r.se>.
605338032Speter	CONFIG: if the "limited best mx" feature is used (to reduce DNS
605438032Speter		overhead) as part of the bestmx_is_local feature, the
605538032Speter		domain part was dropped from the name.  Patch from Steve
605638032Speter		Hubert of the University of Washington, Seattle.
605738032Speter	CONFIG: catch addresses of the form "user@.dom.ain"; these could
605838032Speter		end up being translated to the null host name, which would
605938032Speter		return any entry in /etc/hosts that had a space at the end
606038032Speter		of the line.  Problem noted by Steve Hubert of the
606138032Speter		University of Washington, Seattle.
606238032Speter	CONFIG: add OSTYPE(aix4).  From Michael Sofka of Rensselaer
606338032Speter		Polytechnic Institute.
606438032Speter	MAKEMAP: tweak hash and btree parameters for better performance.
606538032Speter		Patch from Matt Dillon of Best Internet Communications.
606638032Speter	NEW FILES:
606738032Speter		src/Makefiles/Makefile.Linux.ppc
606838032Speter		cf/ostype/aix4.m4
606938032Speter		cf/ostype/mklinux.m4
607038032Speter
607138032Speter8.8.2/8.8.2	1996/10/18
607238032Speter	SECURITY: fix a botch in the 7-bit MIME patch; the previous patch
607338032Speter		changed the code but didn't fix the problem.
607438032Speter	PORTABILITY FIXES:
607538032Speter		Solaris: Don't use the system getusershell(3); it can
607638032Speter			apparently corrupt the heap in some circumstances.
607738032Speter			Problem found by Ken Pizzini of Spry, Inc.
607838032Speter	OP.ME: document several mailer flags that were accidentally omitted
607938032Speter		from this document.  These flags were F=d, F=j, F=R, and F=9.
608038032Speter	CONFIG: no changes.
608138032Speter
608238032Speter8.8.1/8.8.1	1996/10/17
608338032Speter	SECURITY: unset all environment variables that the resolver will
608438032Speter		examine during queue runs and daemon mode.  Problem noted
608538032Speter		by Dan Bernstein of the University of Illinois at Chicago.
608638032Speter	SECURITY: in some cases an illegal 7-bit MIME-encoded text/plain
608738032Speter		message could overflow a buffer if it was converted back
608838032Speter		to 8 bits.  This caused core dumps and has the potential
608938032Speter		for a remote attack.  Problem first noted by Gregory Shapiro
609038032Speter		of WPI.
609138032Speter	Avoid duplicate deliveries of error messages on systems that don't
609238032Speter		have flock(2) support.  Patch from Motonori Nakamura of
609338032Speter		Kyoto University.
609438032Speter	Ignore null FallBackMX (V) options.  If this option is null (as
609538032Speter		opposed to undefined) it can cause "null signature" syserrs
609638032Speter		on illegal host names.
609738032Speter	If a Base64 encoded text/plain message has no trailing newline in
609838032Speter		the encoded text, conversion back to 8 bits will drop the
609938032Speter		final line.  Problem noted by Pierre David.
610038032Speter	If running with a RunAsUser, sendmail would give bogus "cannot
610138032Speter		setuid" (or seteuid, or setreuid) messages on some systems.
610238032Speter		Problem pointed out by Jordan Mendelson of Web Services, Inc.
610338032Speter	Always print error messages in -bv mode -- previously, -bv would
610438032Speter		be absolutely silent on errors if the error mode was sent
610538032Speter		to (say) mail-back.  Problem noted by Kyle Jones of UUNET.
610638032Speter	If -qI/R/S is set (or the ETRN command is used), ignore all long
610738032Speter		term host status.  This is necessary because it is common
610838032Speter		to do this when you know a host has just come back up.
610938032Speter	Disallow duplicate HELO/EHLO commands as required by RFC 1651 section
611038032Speter		4.2.  Excessive permissiveness noted by Lee Flight of the
611138032Speter		University of Leicester.
611238032Speter	If a service (such as NIS) is specified as the last entry in the
611338032Speter		service switch, but that service is not compiled in, sendmail
611438032Speter		would return a temporary failure when an entry was not found
611538032Speter		in the map.  This caused the message to be queued instead of
611638032Speter		bouncing immediately.  Problem noted by Harry Edmon of the
611738032Speter		University of Washington.
611838032Speter	PORTABILITY FIXES:
611938032Speter		Solaris 2.3 had compilation problems in conf.c.  Several
612038032Speter			people pointed this out.
612164562Sgshapiro		NetBSD from Charles Hannum of MIT.
612238032Speter		AIX4 improvements based on info from Steve Bauer of South
612338032Speter			Dakota School of Mines & Technology.
612438032Speter	CONFIG: ``error:code message'' syntax was broken in virtusertable.
612538032Speter		Patch from Gil Kloepfer Jr.
612638032Speter	CONFIG: if FEATURE(nocanonify) was specified, hosts in $=M (set
612738032Speter		using MASQUERADE_DOMAIN) were not masqueraded unless they
612838032Speter		were also in $=w.  Problem noted by Zoltan Basti of
612938032Speter		Softec.
613038032Speter	MAIL.LOCAL: patches to compile and link cleanly on AIX.  Based
613138032Speter		on a patch from Eric Hagberg of Morgan Stanley.
613238032Speter	MAIL.LOCAL: patches to compile on NEXTSTEP.  From Patrick Nolan
613338032Speter		of Stanford via Robert La Ferla.
613438032Speter
613538032Speter8.8.0/8.8.0	1996/09/26
613638032Speter	Under some circumstances, Bcc: headers would not be properly
613738032Speter		deleted.  Pointed out by Jonathan Kamens of OpenVision.
613838032Speter	Log a warning if the sendmail daemon is invoked without a full
613938032Speter		pathname, which prevents "kill -1" from working.  I was
614038032Speter		urged to put this in by Andrey A. Chernov of DEMOS (Russia).
614138032Speter	Fix small buffer overflow.  Since the data in this buffer was not
614238032Speter		read externally, there was no security problem (and in fact
614338032Speter		probably wouldn't really overflow on most compilers).  Pointed
614438032Speter		out by KIZU takashi of Osaka University.
614538032Speter	Fix problem causing domain literals such as [1.2.3.4] to be ignored
614638032Speter		if a FallbackMXHost was specified in the configuration file
614738032Speter		-- all mail would be sent to the fallback even if the original
614838032Speter		host was accessible.  Pointed out by Munenari Hirayama of
614938032Speter		NSC (Japan).
615038032Speter	A message that didn't terminate with a newline would (sometimes) not
615138032Speter		have the trailing "." added properly in the SMTP dialogue,
615238032Speter		causing SMTP to hang.  Patch from Per Hedeland of Ericsson.
615338032Speter	The DaemonPortOptions suboption to bind to a particular address was
615438032Speter		incorrect and nonfunctional due to a misunderstanding of the
615538032Speter		semantics of binding on a passive socket.  Patch from
615638032Speter		NIIBE Yutaka of Mitsubishi Research Institute.
615738032Speter	Increase the number of MX hosts for a single name to 100 to better
615838032Speter		handle the truly huge service providers such as AOL, which
615938032Speter		has 13 at the moment (and climbing).  In order to avoid
616038032Speter		trashing memory, the buffer for all names has only been
616138032Speter		slightly increased in size, to 12.8K from 10.2K -- this means
616238032Speter		that if a single name had 100 MX records, the average size
616338032Speter		of those records could not exceed 128 bytes.  Requested by
616438032Speter		Brad Knowles of America On Line.
616538032Speter	Restore use of IDENT returns where the OSTYPE field equals "OTHER".
616638032Speter		Urged by Dan Bernstein of U.C. Berkeley.
616738032Speter	Print q_statdate and q_specificity in address structure debugging
616838032Speter		printout.
616938032Speter	Expand MCI structure flag bits for debugging output.
617038032Speter	Support IPv6-style domain literals, which can have colons between
617138032Speter		square braces.
617238032Speter	Log open file descriptors for the "cannot dup" messages in deliver();
617338032Speter		this is an attempt to track down a bug that one person seems
617438032Speter		to be having (it may be a Solaris bug!).
617538032Speter	DSN NOTIFY parameters were not properly propagated across queue runs;
617638032Speter		this caused the NOTIFY info to sometimes be lost.  Problem
617738032Speter		pointed out by Claus Assmann of the
617838032Speter		Christian-Albrechts-University of Kiel.
617938032Speter	The statistics gathered in the sendmail.st file were too high; in
618038032Speter		some cases failures (e.g., user unknown or temporary failure)
618138032Speter		would count as a delivery as far as the statistics were
618238032Speter		concerned.  Problem noted by Tom Moore of AT&T GIS.
618338032Speter	Systems that don't have flock() would not send split envelopes in
618438032Speter		the initial run.  Problem pointed out by Leonard Zubkoff of
618538032Speter		Dandelion Digital.
618638032Speter	Move buffer overflow checking -- these primarily involve distrusting
618738032Speter		results that may come from NIS and DNS.
618838032Speter	4.4-BSD-derived systems, including FreeBSD, NetBSD, and BSD/OS didn't
618938032Speter		include <paths.h> and hence had the wrong pathnames for a few
619038032Speter		things like /var/tmp.  Reported by Matthew Green.
619138032Speter	Conditions were reversed for the Priority: header, resulting in all
619238032Speter		values being interpreted as non-urgent except for non-urgent,
619338032Speter		which was interpreted as normal.  Patch from Bryan Costales.
619438032Speter	The -o (optional) flag was being ignored on hash and btree maps
619538032Speter		since 8.7.2.  Fix from Bryan Costales.
619638032Speter	Content-Types listed in class "q" will always be encoded as
619738032Speter		Quoted-Printable (or more accurately, will never be encoded
619838032Speter		as base64).  The class can have primary types (e.g., "text")
619938032Speter		or full types (e.g., "text/plain").  Based on a suggestion by
620038032Speter		Marius Olafsson of the University of Iceland.
620138032Speter	Define ${envid} to be the original envelope id (from the ESMTP DSN
620238032Speter		dialogue) so it can be passed to programs in mailers.
620338032Speter	Define ${bodytype} to be the body type (from the -B flag or the
620438032Speter		BODY= ESMTP parameter) so it can be passed to programs in
620538032Speter		mailers.
620638032Speter	Cause the VRFY command to return 252 instead of 250 unless the F=q
620738032Speter		flag is set in the mailer descriptor.  Suggested by John
620838032Speter		Myers of CMU.
620938032Speter	Implement ESMTP ETRN command to flush the queue for a specific host.
621038032Speter		The command takes a host name; data for that host is
621138032Speter		immediately (and asynchronously) flushed.  Because this shares
621238032Speter		the -qR implementation, other hosts may be attempted, but
621338032Speter		there should be no security implications.  Implementation
621438032Speter		from John Beck of InReference, Inc.  See RFC 1985 for details.
621538032Speter	Add three new command line flags to pass in DSN parameters: -V envid
621638032Speter		(equivalent to ENVID=envid on the MAIL command), -R ret
621738032Speter		(equivalent to RET=ret on the MAIL command), and -Nnotify
621838032Speter		(equivalent to NOTIFY=notify on the RCPT command).  Note
621938032Speter		that the -N flag applies to all recipients; there is no way
622038032Speter		to specify per-address notifications on the command line,
622138032Speter		nor is there an equivalent for the ORCPT= per-address
622238032Speter		parameter.
622338032Speter	Restore LogLevel option to be safe (it can only be increased);
622438032Speter		apparently I went into paranoid mode between 8.6 and 8.7
622538032Speter		and made it unsafe.  Pointed out by Dabe Murphy of the
622638032Speter		University of Maryland.
622738032Speter	New logging on log level 15:  all SMTP traffic.  Patches from
622838032Speter		Andrew Gross of San Diego Supercomputer Center.
622938032Speter	NetInfo property value searching code wasn't stopping when it found
623038032Speter		a match.  This was causing the wrong values to be found (and
623138032Speter		had a memory leak).  Found by Bastian Schleuter of TU-Berlin.
623238032Speter	Add new F=0 (zero) mailer flag to turn off MX lookups.  It was pointed
623338032Speter		out by Bill Wisner of Electronics for Imaging that you can't
623464562Sgshapiro		use the bracket address form for the MAIL_HUB macro, since
623538032Speter		that causes the brackets to remain in the envelope recipient
623638032Speter		address used for delivery.  The simple fix (stripping off the
623738032Speter		brackets in the config file) breaks the use of IP literal
623838032Speter		addresses.  This flag will solve that problem.
623938032Speter	Add MustQuoteChars option.  This is a list of characters that must
624038032Speter		be quoted if they are found in the phrase part of an address
624138032Speter		(that is, the full name part).  The characters @,;:\()[] are
624238032Speter		always in this list and cannot be removed.  The default is
624338032Speter		this list plus . and ' to match RFC 822.
624438032Speter	Add AllowBogusHELO option; if set, sendmail will allow HELO commands
624564562Sgshapiro		that do not include a host name for back compatibility with
624638032Speter		some stupid SMTP clients.  Setting this violates RFC 1123
624738032Speter		section 5.2.5.
624838032Speter	Add MaxDaemonChildren option; if this is set, sendmail will start
624938032Speter		rejecting connections if it has more than this many
625038032Speter		outstanding children accepting mail.  Note that you may
625138032Speter		see more processes than this because of outgoing mail; this
625238032Speter		is for incoming connections only.
625338032Speter	Add ConnectionRateThrottle option.  If set to a positive value, the
625438032Speter		number of incoming SMTP connections that will be permitted
625538032Speter		in a single second is limited to this number.  Connections are
625638032Speter		not refused during this time, just deferred.  The intent is to
625738032Speter		flatten out demand so that load average limiting can kick in.
625838032Speter		It is less radical than MaxDaemonChildren, which will stop
625938032Speter		accepting connections even if all the connections are idle
626038032Speter		(e.g., due to connection caching).
626138032Speter	Add Timeout.hoststatus option.  This interval (defaulting to 30m)
626238032Speter		specifies how long cached information about the state of a
626338032Speter		host will be kept before they are considered stale and the
626438032Speter		host is retried.  If you are using persistent host status
626538032Speter		(i.e., the HostStatusDirectory option is set) this will apply
626638032Speter		between runs; otherwise, it applies only within a single queue
626738032Speter		run and hence is useful only for hosts that have large queues
626838032Speter		that take a very long time to run.
626938032Speter	Add SingleLineFromHeader option.  If set, From: headers are coerced
627038032Speter		into being a single line even if they had newlines in them
627138032Speter		when read.  This is to get around a botch in Lotus Notes.
627238032Speter	Text class maps were totally broken -- if you ever retrieved the last
627338032Speter		item in a table it would be truncated.  Problem noted by
627438032Speter		Gregory Neil Shapiro of WPI.
627538032Speter	Extend the lines printed by the mailq command (== the -bp flag) when
627638032Speter		-v is given to 120 characters; this allows more information
627738032Speter		to be displayed.  Suggested by Gregory Neil Shapiro of WPI.
627838032Speter	Allow macro definitions (`D' lines) with unquoted commas; previously
627938032Speter		this was treated as end-of-input.  Problem noted by Bryan
628038032Speter		Costales.
628138032Speter	The RET= envelope parameter (used for DSNs) wasn't properly written
628238032Speter		to the queue file.  Fix from John Hughes of Atlantic
628338032Speter		Technologies, Inc.
628438032Speter	Close /var/tmp/dead.letter after a successful write -- otherwise
628538032Speter		if this happens in a queue run it can cause nasty delays.
628638032Speter		Problem noted by Mark Horton of AT&T.
628738032Speter	If userdb entries pointed to userdb entries, and there were multiple
628838032Speter		values for a given key, the database cursor would get
628938032Speter		trashed by the recursive call.  Problem noted by Roy Mongiovi
629038032Speter		of Georgia Tech.  Fixed by reading all the values and creating
629138032Speter		a comma-separated list; thus, the -v output will be somewhat
629238032Speter		different for this case.
629338032Speter	Fix buffer allocation problem with Hesiod-based userdb maps when
629438032Speter		HES_GETMAILHOST is defined.  Based on a patch by Betty Lee
629538032Speter		of Stanford University.
629638032Speter	When envelopes were split due to aliases with owner- aliases, and
629738032Speter		there was some error on one of the lists, more than one of
629864562Sgshapiro		the owners would get the message.  Problem pointed out by
629938032Speter		Roy Mongiovi of Georgia Tech.
630038032Speter	Detect excessive recursion in macro expansions, e.g., $X defined
630138032Speter		in terms of $Y which is defined in terms of $X.  Problem
630238032Speter		noted by Bryan Costales; patch from Eric Wassenaar.
630338032Speter	When using F=U to get "ugly UUCP" From_ lines, a buffer could in
630438032Speter		some cases get trashed causing bogus From_ lines.  Fix from
630538032Speter		Kyle Jones of UUNET.
630638032Speter	When doing load average initialization, if the nlist call for avenrun
630738032Speter		failed, the second and subsequent lookups wouldn't notice
630838032Speter		that fact causing bogus load averages to be returned.  Noted
630938032Speter		by Casper Dik of Sun Holland.
631038032Speter	Fix problem with incompatibility with some versions of inet_aton that
631138032Speter		have changed the return value to unsigned, so a check for an
631238032Speter		error return of -1 doesn't work.  Use INADDR_NONE instead.
631338032Speter		This could cause mail to addresses such as [foo.com] to bounce
631438032Speter		or get dropped.  Problem noted by Christophe Wolfhugel of the
631538032Speter		Pasteur Institute.
631638032Speter	DSNs were inconsistent if a failure occurred during the DATA phase
631738032Speter		rather than the RCPT phase: the Action: would be correct, but
631838032Speter		the detailed status information would be wrong.  Problem noted
631938032Speter		by Bob Snyder of General Electric Company.
632038032Speter	Add -U command line flag and the XUSR ESMTP extension, both indicating
632138032Speter		that this is the initial MUA->MTA submission.  The flag current
632238032Speter		does nothing, but in future releases (when MUAs start using
632338032Speter		these flags) it will probably turn on things like DNS
632438032Speter		canonification.
632538032Speter	Default end-of-line string (E= specification on mailer [M] lines)
632638032Speter		to \r\n on SMTP mailers.  Default remains \n on non-SMTP
632738032Speter		mailers.
632838032Speter	Change the internal definition for the *file* and *include* mailers
632938032Speter		to have $u in the argument vectors so that they aren't
633038032Speter		misinterpreted as SMTP mailers and thus use \r\n line
633138032Speter		termination.  This will affect anyone who has redefined
633238032Speter		either of these in their configuration file.
633338032Speter	Don't assume that IDENT servers close the connection after a query;
633438032Speter		responses can be newline terminated.  From Terry Kennedy of
633538032Speter		St. Peter's College.
633638032Speter	Avoid core dumps on erroneous configuration files that have
633738032Speter		$#mailer with nothing following.  From Bryan Costales.
633838032Speter	Avoid null pointer dereference with high debug values in unlockqueue.
633938032Speter		Fix from Randy Martin of Clemson University.
634038032Speter	Fix possible buffer overrun when expanding very large macros.  Fix
634138032Speter		from Kyle Jones of UUNET.
634238032Speter	After 25 EXPN or VRFY commands, start pausing for a second before
634338032Speter		processing each one.  This avoids a certain form of denial
634438032Speter		of service attack.  Potential attack pointed out by Bryan
634538032Speter		Costales.
634638032Speter	Allow new named (not numbered!) config file rules to do validity
634738032Speter		checking on SMTP arguments: check_mail for MAIL commands and
634838032Speter		check_rcpt for RCPT commands.  These rulesets can do anything
634938032Speter		they want; their result is ignored unless they resolve to the
635038032Speter		$#error mailer, in which case the indicated message is printed
635138032Speter		and the command is rejected.  Similarly, the check_compat
635238032Speter		ruleset is called before delivery with "from_addr $| to_addr"
635338032Speter		(the $| is a meta-symbol used to separate the two addresses);
635438032Speter		it can give a "this sender can't send to this recipient"
635538032Speter		notification.  Note that this patch allows $| to stand alone
635638032Speter		in rulesets.
635738032Speter	Define new macros ${client_name}, ${client_addr}, and ${client_port}
635838032Speter		that have the name, IP address, and port number (respectively)
635938032Speter		of the SMTP client (that is, the entity at the other end of
636038032Speter		the connection.  These can be used in (e.g.) check_rcpt to
636138032Speter		verify that someone isn't trying to relay mail through your
636238032Speter		host inappropriately.  Be sure to use the deferred evaluation
636338032Speter		form, for example $&{client_name}, to avoid having these bound
636438032Speter		when sendmail reads the configuration file.
636538032Speter	Add new config file rule check_relay to check the incoming connection
636638032Speter		information.  Like check_compat, it is passed the host name
636738032Speter		and host address separated by $| and can reject connections
636838032Speter		on that basis.
636938032Speter	Allow IDA-style recursive function calls.  Code contributed by Mark
637038032Speter		Lovell and Paul Vixie.
637138032Speter	Eliminate the "No ! in UUCP From address!" message" -- instead, create
637238032Speter		a virtual UUCP address using either a domain address or the $k
637338032Speter		macro.  Based on code contributed by Mark Lovell and Paul
637438032Speter		Vixie.
637538032Speter	Add Stanford LDAP map.  Requires special libraries that are not
637638032Speter		included with sendmail.  Contributed by Booker C. Bense
637738032Speter		<bbense@networking.stanford.edu>; contact him for support.
637838032Speter		See also the src/READ_ME file.
637938032Speter	Allow -dANSI to turn on ANSI escape sequences in debug output; this
638038032Speter		puts metasymbols (e.g., $+) in reverse video.  Really useful
638138032Speter		only for debugging deep bits of code where it is important to
638238032Speter		distinguish between the single-character metasymbol $+ and the
638338032Speter		two characters $, +.
638438032Speter	Changed ruleset 89 (executed in dumpstate()) to a named ruleset,
638538032Speter		debug_dumpstate.
638638032Speter	Add new UnsafeGroupWrites option; if set, .forward and :include:
638738032Speter		files that are group writable are considered "unsafe" -- that
638838032Speter		is, programs and files referenced from such files are not
638938032Speter		valid recipients.
639038032Speter	Delete bogosity test for FallBackMX host; this prevented it to be a
639138032Speter		name that was not in DNS or was a domain-literal.  Problem
639238032Speter		noted by Tom May.
639338032Speter	Change the introduction to error messages to more clearly delineate
639438032Speter		permanent from temporary failures; if both existed in a
639538032Speter		single message it could be confusing.  Suggested by John
639638032Speter		Beck of InReference, Inc.
639738032Speter	The IngoreDot (i) option didn't work for lines that were terminated
639838032Speter		with CRLF.  Problem noted by Ted Stockwell of Secure
639938032Speter		Computing Corporation.
640038032Speter	Add a heuristic to improve the handling of unbalanced `<' signs in
640138032Speter		message headers.  Problem reported by Matt Dillon of Best
640238032Speter		Internet Communications.
640338032Speter	Check for bogus characters in the 0200-0237 range; since these are
640438032Speter		used internally, very strange errors can occur if those
640538032Speter		characters appear in headers.  Problem noted by Anders Gertz
640638032Speter		of Lysator.
640738032Speter	Implement 7 -> 8 bit MIME conversions.  This only takes place if the
640838032Speter		recipient mailer has the F=9 flag set, and only works on
640938032Speter		text/plain body types.  Code contributed by Marius Olafsson
641038032Speter		of the University of Iceland.
641138032Speter	Special case "postmaster" name so that it is always treated as lower
641238032Speter		case in alias files regardless of configuration settings;
641338032Speter		this prevents some potential problems where "Postmaster" or
641438032Speter		"POSTMASTER" might not match "postmaster".  In most cases
641538032Speter		this change is a no-op.
641638032Speter	The -o map flag was ignored for text maps.  Problem noted by Bryan
641738032Speter		Costales.
641838032Speter	The -a map flag was ignored for dequote maps.  Problem noted by
641938032Speter		Bryan Costales.
642038032Speter	Fix core dump when a lookup of a class "prog" map returns no
642138032Speter		response.  Patch from Bryan Costales.
642238032Speter	Log instances where sendmail is deferring or rejecting connections
642338032Speter		on LogLevel 14.  Suggested by Kyle Jones of UUNET.
642438032Speter	Include port number in process title for network daemons.  Suggested
642538032Speter		by Kyle Jones of UUNET.
642638032Speter	Send ``double bounces'' (errors that occur when sending an error
642738032Speter		message) to the address indicated in the DoubleBounceAddress
642838032Speter		option (default: postmaster).  Previously they were always
642938032Speter		sent to postmaster.  Suggested by Kyle Jones of UUNET.
643038032Speter	Add new mode, -bD, that acts like -bd in all respects except that
643138032Speter		it runs in foreground.  This is useful for using with a
643238032Speter		wrapper that "watches" system services.  Suggested by Kyle
643338032Speter		Jones of UUNET.
643438032Speter	Fix botch in spacing around (parenthesized) comments in addresses
643538032Speter		when the comment comes before the address.  Patch from
643638032Speter		Motonori Nakamura of Kyoto University.
643738032Speter	Use the prefix "Postmaster notify" on the Subject: lines of messages
643838032Speter		that are being bounced to postmaster, rather than "Returned
643938032Speter		mail".  This permits the person who is postmaster more
644038032Speter		easily determine what messages are to their role as
644138032Speter		postmaster versus bounces to mail they actually sent.  Based
644238032Speter		on a suggestion by Motonori Nakamura.
644338032Speter	Add new value "time" for QueueSortOrder option; this causes the queue
644438032Speter		to be sorted strictly by the time of submission.  Note that
644538032Speter		this can cause very bad behavior over slow lines (because
644638032Speter		large jobs will tend to delay small jobs) and on nodes with
644738032Speter		heavy traffic (because old things in the queue for hosts that
644838032Speter		are down delay processing of new jobs).  Also, this does not
644938032Speter		guarantee that jobs will be delivered in submission order
645038032Speter		unless you also set DeliveryMode=queue.  In general, it should
645138032Speter		probably only be used on the command line, and only in
645238032Speter		conjunction with -qRhost.domain.  In fact, there are very few
645338032Speter		cases where it should be used at all.  Based on an
645438032Speter		implementation by Motonori Nakamura.
645538032Speter	If a map lookup in ruleset 5 returns tempfail, queue the message in
645638032Speter		the same manner as other rulesets.  Previously a temporary
645738032Speter		failure in ruleset 5 was ignored.  Patch from Booker Bense
645838032Speter		of Stanford University.
645938032Speter	Don't proceed to the next MX host if an SMTP MAIL command returns a
646038032Speter		5yz (permanent failure) code.  The next MX host will still be
646138032Speter		tried if the connection cannot be opened in the first place
646238032Speter		or if the MAIL command returns a 4yz (temporary failure) code.
646338032Speter		(It's hard to know what to do here, since neither RFC 974 nor
646438032Speter		RFC 1123 specify when to proceed to the next MX host.)
646538032Speter		Suggested by Jonathan Kamens of OpenVision, Inc.
646638032Speter	Add new "-t" flag for map definitions (the "K" line in the .cf file).
646738032Speter		This causes map lookups that get a temporary failure (e.g.,
646838032Speter		name server failure) to _not_ defer the delivery of the
646938032Speter		message.  This should only be used if your configuration file
647038032Speter		is prepared to do something sensible in this case.  Based on
647138032Speter		an idea by Gregory Shapiro of WPI.
647238032Speter	Fix problem finding network interface addresses.  Patch from
647338032Speter		Motonori Nakamura.
647438032Speter	Don't reject qf entries that are not owned by your effective uid if
647538032Speter		you are not running set-user-ID; this makes management of
647638032Speter		certain kinds of firewall setups difficult.  Patch
647738032Speter		suggested by Eamonn Coleman of Qualcomm.
647838032Speter	Add persistent host status.  This keeps the information normally
647938032Speter		maintained within a single queue run in disk files that are
648038032Speter		shared between sendmail instances.  The HostStatusDirectory
648138032Speter		is the directory in which the information is maintained.  If
648238032Speter		not set, persistent host status is turned off.  If not a full
648338032Speter		pathname, it is relative to the queue directory.  A common
648438032Speter		value is ".hoststat".
648538032Speter		There are also two new operation modes:
648638032Speter		  * -bh prints the status of hosts that have had recent
648738032Speter		    connections.
648838032Speter		  * -bH purges the host statuses.  No attempt is made to save
648938032Speter		    recent status information.
649038032Speter		This feature was originally written by Paul Vixie of Vixie
649138032Speter		Enterprises for KJS and adapted for V8 by Mark Lovell of
649238032Speter		Bigrock Consulting.  Paul's funding of Mark and Mark's patience
649338032Speter		with my insistence that things fit cleanly into the V8
649438032Speter		framework is gratefully appreciated.
649538032Speter	New SingleThreadDelivery option (requires HostStatusDirectory to
649638032Speter		operate).  Avoids letting two sendmails on the local machine
649738032Speter		open connections to the same remote host at the same time.
649838032Speter		This reduces load on the other machine, but can cause mail to
649938032Speter		be delayed (for example, if one sendmail is delivering a huge
650038032Speter		message, other sendmails won't be able to send even small
650138032Speter		messages).  Also, it requires another file descriptor (for the
650238032Speter		lock file) per connection, so you may have to reduce
650338032Speter		ConnectionCacheSize to avoid running out of per-process
650438032Speter		file descriptors.  Based on the persistent host status code
650538032Speter		contributed by Paul Vixie and Mark Lovell.
650638032Speter	Allow sending to non-simple files (e.g., /dev/null) even if the
650738032Speter		SafeFileEnvironment option is set.  Problem noted by Bryan
650838032Speter		Costales.
650938032Speter	The -qR flag mistakenly matched flags in the "R" line of the queue
651038032Speter		file.  Problem noted by Bryan Costales.
651138032Speter	If a job was aborted using the interrupt signal (e.g., control-C from
651238032Speter		the keyboard), on some occasions an empty df file would be
651338032Speter		left around; these would collect in the queue directory.
651438032Speter		Problem noted by Bryan Costales.
651538032Speter	Change the makesendmail script to enhance the search for Makefiles
651638032Speter		based on release number.  For example, on SunOS 5.5.1, it will
651738032Speter		search for Makefile.SunOS.5.5.1, Makefile.SunOS.5.5, and then
651838032Speter		Makefile.SunOS.5.x (in addition to the other rules, e.g.,
651938032Speter		adding $arch).  Problem noted by Jason Mastaler of Atlanta
652038032Speter		Webmasters.
652138032Speter	When creating maps using "newaliases", always map the keys to lower
652238032Speter		case when creating the map unless the -f flag is specified on
652338032Speter		the map itself.  Previously this was done based on the F=u
652438032Speter		flag in the local mailer, which meant you could create aliases
652538032Speter		that you could never access.  Problem noted by Bob Wu of DEC.
652638032Speter	When a job was read from the queue, the bits causing notification on
652738032Speter		failure or delay were always set.  This caused those
652838032Speter		notifications to be sent even if NOTIFY=NEVER had been
652938032Speter		specified.  Problem noted by Steve Hubert of the University
653038032Speter		of Washington, Seattle.
653138032Speter	Add new configurable routine validate_connection (in conf.c).  This
653238032Speter		lets you decide if you are willing to accept traffic from
653338032Speter		this host.  If it returns FALSE, all SMTP commands will return
653438032Speter		"550 Access denied".  -DTCPWRAPPERS will include support for
653538032Speter		TCP wrappers; you will need to add -lwrap to the link line.
653638032Speter		(See src/READ_ME for details.)
653738032Speter	Don't include the "THIS IS A WARNING MESSAGE ONLY" banner on postmaster
653838032Speter		bounces.  Some people seemed to think that this could be
653938032Speter		confusing (even though it is true).  Suggested by Motonori
654038032Speter		Nakamura.
654138032Speter	Add new RunAsUser option; this causes sendmail to do a setuid to that
654238032Speter		user early in processing to avoid potential security problems.
654338032Speter		However, this means that all .forward and :include: files must
654438032Speter		be readable by that user, and all files to be written must be
654538032Speter		writable by that user and all programs will be executed by that
654638032Speter		user.  It is also incompatible with the SafeFileEnvironment
654738032Speter		option.  In other words, it may not actually add much to
654838032Speter		security.  However, it should be useful on firewalls and other
654938032Speter		places where users don't have accounts and the aliases file is
655038032Speter		well constrained.
655138032Speter	Add Timeout.iconnect.  This is like Timeout.connect except it is used
655238032Speter		only on the first attempt to delivery to an address.  It could
655338032Speter		be set to be lower than Timeout.connect on the principle that
655438032Speter		the mail should go through quickly to responsive hosts; less
655538032Speter		responsive hosts get to wait for the next queue run.
655638032Speter	Fix a problem on Solaris that occasionally causes programs
655738032Speter		(such as vacation) to hang with their standard input connected
655838032Speter		to a UDP port.  It also created some signal handling problems.
655938032Speter		The problems turned out to be an interaction between vfork(2)
656038032Speter		and some of the libraries, particularly NIS/NIS+.  I am
656138032Speter		indebted to Tor Egge <tegge@idt.ntnu.no> for this fix.
656238032Speter	Change user class map to do the same matching that actual delivery
656338032Speter		will do instead of just a /etc/passwd lookup.  This adds
656438032Speter		fuzzy matching to the user map.  Patch from Dan Oscarsson.
656538032Speter	The Timeout.* options are not safe -- they can be used to create a
656638032Speter		denial-of-service attack.  Problem noted by Christophe
656738032Speter		Wolfhugel.
656838032Speter	Don't send PostmasterCopy messages in the event of a "delayed"
656938032Speter		notification.  Suggested by Barry Bouwsma.
657038032Speter	Don't advertise "VERB" ESMTP extension if the "noexpn" privacy
657138032Speter		option is set, since this disables VERB mode.  Suggested
657238032Speter		by John Hawkinson of MIT.
657338032Speter	Complain if the QueueDirectory (Q) option is not set.  Problem noted
657438032Speter		by Motonori Nakamura of Kyoto University.
657538032Speter	Only queue messages on transient .forward open failures if there
657638032Speter		were no successful opens.  The previous behavior caused it
657738032Speter		to queue even if a "fall back" .forward was found.  Problem
657838032Speter		noted by Ann-Kian Yeo of the Dept. of Information Systems
657938032Speter		and Computer Science (DISCS), NUS, Singapore.
658038032Speter	Don't do 8->7 bit conversions when bouncing a MIME message that
658138032Speter		is bouncing because of a MIME error during 8->7 bit conversion;
658238032Speter		the encapsulated message will bounce again, causing a loop.
658338032Speter		Problem noted by Steve Hubert of the University of Washington.
658438032Speter	Create xf (transcript) files using the TempFileMode option value
658538032Speter		instead of 0644.  Suggested by Ann-Kian Yeo of the
658638032Speter		National University of Singapore.
658738032Speter	Print errors if setgid/setuid/etc. fail during delivery.  This helps
658838032Speter		detect cases where DefaultUid is set to something that the
658938032Speter		system can't cope with.
659038032Speter	PORTABILITY FIXES:
659138032Speter		Support for AIX/RS 2.2.1 from Mark Whetzel of Western
659238032Speter			Atlas International.
659338032Speter		Patches for Intel Paragon OSF/1 1.3 from Leo Bicknell
659438032Speter			<bicknell@ufp.org>.
659538032Speter		On DEC OSF/1 3.2 and earlier, the MatchGECOS code would only
659638032Speter			work on the first recipient of a message due to a
659738032Speter			bug in the getpwent family.  If this is something you
659838032Speter			use, you can define DEC_OSF_BROKEN_GETPWENT=1 for a
659938032Speter			workaround.  From Maximum Entropy of Sanford C.
660038032Speter			Bernstein and Associates.
660138032Speter		FreeBSD 1.1.5.1 uname -r returns a string containing
660238032Speter			parentheses, which breaks makesendmail.  Reported
660338032Speter			by Piero Serini <piero@strider.ibenet.it>.
660438032Speter		Sequent DYNIX/ptx 4.0.2 patches from Jack Woolley of
660538032Speter			Systems and Computer Technology Corporation.
660638032Speter		Solaris 2.x: omit the UUCP grade parameter (-g flag) because
660738032Speter			it is system-dependent.  Problem noted by J.J. Bailey
660843730Speter			of Bailey Computer Consulting.
660938032Speter		Pyramid NILE running DC/OSx support from Earle F. Ake of
661038032Speter			Hassler Communication Systems Technology, Inc.
661138032Speter		HP-UX 10.x compile glitches, reported by Anne Brink of the
661238032Speter			U.S. Army and James Byrne of Harte & Lyne Limited.
661338032Speter		NetBSD from Matthew Green of the NetBSD crew.
661438032Speter		SCO 5.x from Keith Reynolds of SCO.
661538032Speter		IRIX 6.2 from Robert Tarrall of the University of
661638032Speter			Colorado and Kari Hurtta of the Finnish Meteorological
661738032Speter			Institute.
661838032Speter		UXP/DS (Fujitsu/ICL DS/90 series) support from Diego R.
661938032Speter			Lopez, CICA (Seville).
662038032Speter		NCR SVR4 MP-RAS 3.x support from Tom Moore of NCR.
662138032Speter		PTX 3.2.0 from Kenneth Stailey of the US Department of Labor
662238032Speter			Employment Standards Administration.
662338032Speter		Altos System V (5.3.1) from Tim Rice of Multitalents.
662438032Speter		Concurrent Systems Corporation Maxion from Donald R. Laster
662538032Speter			Jr.
662638032Speter		NetInfo maps (improved debugging and multi-valued aliases)
662738032Speter			from Adrian Steinmann of Steinmann Consulting.
662838032Speter		ConvexOS 11.5 (including SecureWare C2 and the Share Scheduler)
662938032Speter			from Eric Schnoebelen of Convex.
663038032Speter		Linux 2.0 mail.local patches from Horst von Brand.
663138032Speter		NEXTSTEP 3.x compilation from Robert La Ferla.
663238032Speter		NEXTSTEP 3.x code changes from Allan J. Nathanson of NeXT.
663338032Speter		Solaris 2.5 configuration fixes for mail.local by Jim Davis
663438032Speter			of the University of Arizona.
663538032Speter		Solaris 2.5 has a working setreuid.  Noted by David Linn of
663638032Speter			Vanderbilt University.
663738032Speter		Solaris changes for praliases, makemap, mailstats, and smrsh.
663890792Sgshapiro			Previously you had to add -DSOLARIS in Makefile.dist;
663980785Sgshapiro			this auto-detects.  Based on a patch from Randall
664080785Sgshapiro			Winchester of the University of Maryland.
664138032Speter	CONFIG: add generic-nextstep3.3.mc file.  Contributed by
664238032Speter		Robert La Ferla of Hot Software.
664338032Speter	CONFIG: allow mailertables to resolve to ``error:code message''
664438032Speter		(where "code" is an exit status) on domains (previously
664538032Speter		worked only on hosts).  Patch from Cor Bosman of Xs4all
664638032Speter		Foundation.
664738032Speter	CONFIG: hooks for IPv6-style domain literals.
664838032Speter	CONFIG: predefine ALIAS_FILE and change the prototype file so that
664938032Speter		if it is undefined the AliasFile option is never set; this
665038032Speter		should be transparent for most everyone.  Suggested by John
665138032Speter		Myers of CMU.
665238032Speter	CONFIG: add FEATURE(limited_masquerade).  Without this feature, any
665338032Speter		domain listed in $=w is masqueraded.  With it, only those
665438032Speter		domains listed in a MASQUERADE_DOMAIN macro are masqueraded.
665538032Speter	CONFIG: add FEATURE(masquerade_entire_domain).  This causes
665638032Speter		masquerading specified by MASQUERADE_DOMAIN to apply to all
665738032Speter		hosts under those domains as well as the domain headers
665838032Speter		themselves.  For example, if a configuration had
665938032Speter		MASQUERADE_DOMAIN(foo.com), then without this feature only
666064562Sgshapiro		foo.com would be masqueraded; with it, *.foo.com would be
666138032Speter		masqueraded as well.  Based on an implementation by Richard
666238032Speter		(Pug) Bainter of U. Texas.
666338032Speter	CONFIG: add FEATURE(genericstable) to do a more general rewriting of
666438032Speter		outgoing addresses.  Defaults to ``hash -o /etc/genericstable''.
666538032Speter		Keys are user names; values are outgoing mail addresses.  Yes,
666638032Speter		this does overlap with the user database, and figuring out
666738032Speter		just when to use which one may be tricky.  Based on code
666838032Speter		contributed by Richard (Pug) Bainter of U. Texas with updates
666938032Speter		from Per Hedeland of Ericsson.
667038032Speter	CONFIG: add FEATURE(virtusertable) to do generalized rewriting of
667138032Speter		incoming addresses.  Defaults to ``hash -o /etc/virtusertable''.
667238032Speter		Keys are either fully qualified addresses or just the host
667338032Speter		part (with the @ sign).  For example, a table containing:
667438032Speter			info@foo.com	foo-info
667538032Speter			info@bar.com	bar-info
667638032Speter			@baz.org	jane@elsewhere.net
667738032Speter		would send all mail destined for info@foo.com to foo-info
667838032Speter		(which is presumably an alias), mail addressed to info@bar.com
667938032Speter		to bar-info, and anything addressed to anyone at baz.org will
668038032Speter		be sent to jane@elsewhere.net.  The names foo.com, bar.com,
668138032Speter		and baz.org must all be in $=w.  Based on discussions with
668238032Speter		a great many people.
668338032Speter	CONFIG: add nullclient configurations to define SMTP_MAILER_FLAGS.
668438032Speter		Suggested by Richard Bainter.
668538032Speter	CONFIG: add FAX_MAILER_ARGS to tweak the arguments passed to the
668638032Speter		"fax" mailer.
668738032Speter	CONFIG: allow mailertable entries to resolve to local:user; this
668838032Speter		passes the original user@host in to procmail-style local
668938032Speter		mailers as the "detail" information to allow them to do
669038032Speter		additional clever processing.  From Joe Pruett of
669138032Speter		Teleport Corporation.  Delivery to the original user can
669238032Speter		be done by specifying "local:" (with nothing after the colon).
669338032Speter	CONFIG: allow any context that takes "mailer:domain" to also take
669438032Speter		"mailer:user@domain" to force mailing to the given user;
669538032Speter		"local:user" can also be used to do local delivery.  This
669638032Speter		applies on *_RELAY and in the mailertable entries.  Based
669738032Speter		on a suggestion by Ribert Kiessling of Easynet.
669838032Speter	CONFIG: Allow FEATURE(bestmx_is_local) to take an argument that
669938032Speter		limits the possible domains; this reduces the number of DNS
670038032Speter		lookups required to support this feature.  For example,
670138032Speter		FEATURE(bestmx_is_local, my.site.com) limits the lookups
670238032Speter		to domains under my.site.com.  Code contributed by Anthony
670338032Speter		Thyssen <anthony@cit.gu.edu.au>.
670438032Speter	CONFIG: LOCAL_RULESETS introduces any locally defined rulesets,
670538032Speter		such as the check_rcpt ruleset.  Suggested by Gregory Shapiro
670638032Speter		of WPI.
670738032Speter	CONFIG: MAILER_DEFINITIONS introduces any mailer definitions, in the
670838032Speter		event you have to define local mailers.  Suggested by
670938032Speter		Gregory Shapiro of WPI.
671038032Speter	CONFIG: fix cases where a three- (or more-) stage route-addr could
671138032Speter		be misinterpreted as a list:...; syntax.  Based on a patch by
671238032Speter		Vlado Potisk <Vlado_Potisk@tempest.sk>.
671338032Speter	CONFIG: Fix masquerading of UUCP addresses when the UUCP relay is
671438032Speter		remotely connected.  The address host!user was being
671538032Speter		converted to host!user@thishost instead of host!user@uurelay.
671638032Speter		Problem noted by William Gianopoulos of Raytheon Company.
671738032Speter	CONFIG: add confTO_ICONNECT to set Timeout.iconnect.
671838032Speter	CONFIG: change FEATURE(redirect) message from "User not local" to
671938032Speter		"User has moved"; the former wording was confusing if the
672038032Speter		new address is still on the local host.  Based on a suggestion
672138032Speter		by Andreas Luik.
672238032Speter	CONFIG: add support in FEATURE(nullclient) for $=E (exposed users).
672338032Speter		However, the class is not pre-initialized to contain root.
672438032Speter		Suggested by Gregory Neil Shapiro.
672538032Speter	CONTRIB: Remove XLA code at the request of the author, Christophe
672638032Speter		Wolfhugel.
672738032Speter	CONTRIB: Add re-mqueue.pl, contributed by Paul Pomes of Qualcomm.
672838032Speter	MAIL.LOCAL: make it possible to compile mail.local on Solaris.  Note
672938032Speter		well: this produces a slightly different mailbox format (no
673038032Speter		Content-Length: headers), file ownerships and modes are
673143730Speter		different (not owned by group mail; mode 600 instead of 660),
673238032Speter		and the local mailer flags will have to be tweaked (make them
673338032Speter		match bsd4.4) in order to use this mailer.  Patches from Paul
673438032Speter		Hammann of the Missouri Research and Education Network.
673538032Speter	MAIL.LOCAL: in some cases it could return EX_OK even though there
673638032Speter		was a delivery error, such as if the ownership on the file
673738032Speter		was wrong or the mode changed between the initial stat and
673838032Speter		the open.  Problem reported by William Colburn of the New
673943730Speter		Mexico Institute of Mining and Technology.
674038032Speter	MAILSTATS: handle zero length files more reliably.  Patch from Bryan
674138032Speter		Costales.
674238032Speter	MAILSTATS: add man page contributed by Keith Bostic of BSDI.
674338032Speter	MAKEMAP: The -d flag (to allow duplicate keys) to a btree map wasn't
674438032Speter		honored.  Fix from Michael Scott Shappe.
674538032Speter	PRALIASES: add man page contributed by Keith Bostic of BSDI.
674638032Speter	NEW FILES:
674738032Speter		src/Makefiles/Makefile.AIX.2
674838032Speter		src/Makefiles/Makefile.IRIX.6.2
674938032Speter		src/Makefiles/Makefile.maxion
675038032Speter		src/Makefiles/Makefile.NCR.MP-RAS.3.x
675138032Speter		src/Makefiles/Makefile.SCO.5.x
675238032Speter		src/Makefiles/Makefile.UXPDSV20
675338032Speter		mailstats/mailstats.8
675438032Speter		praliases/praliases.8
675538032Speter		cf/cf/generic-nextstep3.3.mc
675638032Speter		cf/feature/genericstable.m4
675738032Speter		cf/feature/limited_masquerade.m4
675838032Speter		cf/feature/masquerade_entire_domain.m4
675938032Speter		cf/feature/virtusertable.m4
676038032Speter		cf/ostype/aix2.m4
676138032Speter		cf/ostype/altos.m4
676238032Speter		cf/ostype/maxion.m4
676338032Speter		cf/ostype/solaris2.ml.m4
676438032Speter		cf/ostype/uxpds.m4
676538032Speter		contrib/re-mqueue.pl
676638032Speter	DELETED FILES:
676738032Speter		src/Makefiles/Makefile.Solaris
676838032Speter		contrib/xla/README
676938032Speter		contrib/xla/xla.c
677038032Speter	RENAMED FILES:
677138032Speter		src/Makefiles/Makefile.NCR3000 =>	Makefile.NCR.MP-RAS.2.x
677238032Speter		src/Makefiles/Makefile.SCO.3.2v4.2 =>	Makefile.SCO.4.2
677338032Speter		src/Makefiles/Makefile.UXPDS =>		Makefile.UXPDSV10
677438032Speter		src/Makefiles/Makefile.NeXT =>		Makefile.NeXT.2.x
677538032Speter		src/Makefiles/Makefile.NEXTSTEP =>	Makefile.NeXT.3.x
677638032Speter
677738032Speter8.7.6/8.7.3	1996/09/17
677838032Speter	SECURITY: It is possible to force getpwuid to fail when writing the
677938032Speter		queue file, causing sendmail to fall back to running programs
678038032Speter		as the default user.  This is not exploitable from off-site.
678138032Speter		Workarounds include using a unique user for the DefaultUser
678238032Speter		(old u & g options) and using smrsh as the local shell.
678338032Speter	SECURITY: fix some buffer overruns; in at least one case this allows
678438032Speter		a local user to get root.  This is not known to be exploitable
678538032Speter		from off-site.  The workaround is to disable chfn(1) commands.
678638032Speter
678738032Speter8.7.5/8.7.3	1996/03/04
678838032Speter	Fix glitch in 8.7.4 when putting certain internal lines; this can
678938032Speter		in some case cause connections to hang or messages to have
679038032Speter		extra spaces in odd places.  Patch from Eric Wassenaar;
679138032Speter		reports from Eric Hall of Chiron Corporation, Stephen
679238032Speter		Hansen of Stanford University, Dean Gaudet of HotWired,
679338032Speter		and others.
679438032Speter
679538032Speter8.7.4/8.7.3	1996/02/18
679638032Speter	SECURITY: In some cases it was still possible for an attacker to
679738032Speter		insert newlines into a queue file, thus allowing access to
679838032Speter		any user (except root).
679938032Speter	CONFIG: no changes -- it is not a bug that the configuration
680038032Speter		version number is unchanged.
680138032Speter
680238032Speter8.7.3/8.7.3	1995/12/03
680338032Speter	Fix botch in name server timeout in RCPT code; this problem caused
680438032Speter		two responses in SMTP, which breaks things horribly.  Fix
680538032Speter		from Gregory Neil Shapiro of WPI.
680638032Speter	Verify that L= value on M lines cannot be negative, which could cause
680738032Speter		negative array subscripting.  Not a security problem since
680838032Speter		this has to be in the config file, but it could have caused
680938032Speter		core dumps.  Pointed out by Bryan Costales.
681038032Speter	Fix -d21 debug output for long macro names.  Pointed out by Bryan
681138032Speter		Costales.
681238032Speter	PORTABILITY FIXES:
681338032Speter		SCO doesn't have ftruncate.  From Bill Aten of Computerizers.
681438032Speter		IBM's version of arpa/nameser.h defaults to the wrong byte
681538032Speter			order.  Tweak it to work properly.  Based on fixes
681638032Speter			from Fletcher Mattox of UTexas and Betty Lee of
681738032Speter			Stanford University.
681838032Speter	CONFIG: add confHOSTS_FILE m4 variable to set HostsFile option.
681938032Speter		Deficiency pointed out by Bryan Costales of ICSI.
682038032Speter
682138032Speter8.7.2/8.7.2	1995/11/19
682238032Speter	REALLY fix the backslash escapes in SmtpGreetingMessage,
682338032Speter		OperatorChars, and UnixFromLine options.  They were not
682438032Speter		properly repaired in 8.7.1.
682538032Speter	Completely delete the Bcc: header if and only if there are other
682638032Speter		valid recipient headers (To:, Cc: or Apparently-To:, the
682738032Speter		last being a historic botch, of course).  If Bcc: is the
682838032Speter		only recipient header in the message, its value is tossed,
682938032Speter		but the header name is kept.  The old behavior (always keep
683038032Speter		the header name and toss the value) allowed primary recipients
683138032Speter		to see that a Bcc: went to _someone_.
683238032Speter	Include queue id on ``Authentication-Warning: <host>: <user> set
683338032Speter		sender to <address> using -f'' syslog messages.  Suggested
683438032Speter		by Kari Hurtta.
683538032Speter	If a sequence or switch map lookup entry gets a tempfail but then
683638032Speter		continues on to another map type, but the name is not found,
683738032Speter		return a temporary failure from the sequence or switch map.
683838032Speter		For example, if hosts search ``dns files'' and DNS fails
683938032Speter		with a tempfail, the hosts map will go on and search files,
684038032Speter		but if it fails the whole thing should be a tempfail, not
684138032Speter		a permanent (host unknown) failure, even though that is the
684238032Speter		failure in the hosts.files map.  This error caused hard
684338032Speter		bounces when it should have requeued.
684438032Speter	Aliases to files such as /users/bar/foo/inbox, with /users/bar/foo
684538032Speter		owned by bar mode 700 and inbox being set-user-ID bar stopped
684638032Speter		working properly due to excessive paranoia.  Pointed out by
684738032Speter		John Hawkinson of Panix.
684838032Speter	An SMTP RCPT command referencing a host that gave a nameserver
684938032Speter		timeout would return a 451 command (8.6 accepted it and
685038032Speter		queued it locally).  Revert to the 8.6 behavior in order
685138032Speter		to simplify queue management for clustered systems.  Suggested
685238032Speter		by Gregory Neil Shapiro of WPI.  The same problem could break
685338032Speter		MH, which assumes that the SMTP session will succeed (tsk, tsk
685438032Speter		-- mail gets lost!); this was pointed out by Stuart Pook of
685538032Speter		Infobiogen.
685638032Speter	Fix possible buffer overflow in munchstring().  This was not a security
685738032Speter		problem because you couldn't specify any argument to this
685838032Speter		without first giving up root privileges, but it is still a
685938032Speter		good idea to avoid future problems.  Problem noted by John
686038032Speter		Hawkinson and Sam Hartman of MIT.
686138032Speter	``452 Out of disk space for temp file'' messages weren't being
686238032Speter		printed.  Fix from David Perlin of Nanosoft.
686338032Speter	Don't advertise the ESMTP DSN extension if the SendMimeErrors option
686438032Speter		is not set, since this is required to get the actual DSNs
686538032Speter		created.  Problem pointed out by John Gardiner Myers of CMU.
686638032Speter	Log permission problems that cause .forward and :include: files to
686738032Speter		be untrusted or ignored on log level 12 and higher.  Suggested
686838032Speter		by Randy Martin of Clemson University.
686938032Speter	Allow user ids in U= clauses of M lines to have hyphens and
687038032Speter		underscores.
687138032Speter	Fix overcounting of recipients -- only happened when sending to an
687238032Speter		alias.  Pointed out by Mark Andrews of SGI and Jack Woolley
687338032Speter		of Systems and Computer Technology Corporation.
687438032Speter	If a message is sent to an address that fails, the error message that
687538032Speter		is returned could show some extraneous "success" information
687638032Speter		included even if the user did not request success notification,
687738032Speter		which was confusing.  Pointed out by Allan Johannesen of WPI.
687838032Speter	Config files that had no AliasFile definition were defaulting to
687938032Speter		using /etc/aliases; this caused problems with nullclient
688038032Speter		configurations.  Change it back to the 8.6 semantics of
688138032Speter		having no local alias file unless it is declared.  Problem
688238032Speter		noted by Charles Karney of Princeton University.
688338032Speter	Fix compile problem if NOTUNIX is defined.  Pointed out by Bryan
688438032Speter		Costales of ICSI.
688538032Speter	Map lookups of class "userdb" maps were always case sensitive; they
688638032Speter		should be controlled by the -f flag like other maps.  Pointed
688738032Speter		out by Bjart Kvarme <bjart.kvarme@usit.uio.no>.
688838032Speter	Fix problem that caused some addresses to be passed through ruleset 5
688938032Speter		even when they were tagged as "sticky" by prefixing the
689038032Speter		address with an "@".  Patch from Thomas Dwyer III of Michigan
689138032Speter		Technological University.
689238032Speter	When converting a message to Quoted-Printable, prevent any lines with
689338032Speter		dots alone on a line by themselves.  This is because of the
689438032Speter		preponderance of broken mailers that still get this wrong.
689538032Speter		Code contributed by Per Hedeland of Ericsson.
689638032Speter	Fix F{macro}/file construct -- it previously did nothing.  Pointed
689738032Speter		out by Bjart Kvarme of USIT/UiO (Norway).
689838032Speter	Announce whether a cached connection is SMTP or ESMTP (in -v mode).
689938032Speter		Requested by Allan Johannesen.
690038032Speter	Delete check for text format of alias files -- it should be legal
690138032Speter		to have the database format of the alias files without the
690238032Speter		text version.  Problem pointed out by Joe Rhett of Navigist,
690338032Speter		Inc.
690438032Speter	If "Ot" was specified with no value, the TZ variable was not properly
690538032Speter		imported from the environment.  Pointed out by Frank Crawford
690638032Speter		<frank@ansto.gov.au>.
690738032Speter	Some architectures core dumped on "program" maps that didn't have
690838032Speter		extra arguments.  Patch from Booker C. Bense of Stanford
690938032Speter		University.
691038032Speter	Queue run processes would re-spawn daemons when given a SIGHUP; only
691138032Speter		the parent should do this.  Fix from Brian Coan of the
691238032Speter		Association for Progressive Communications.
691338032Speter	If MinQueueAge was set and a message was considered but not run
691438032Speter		during a queue run and the Timeout.queuereturn interval was
691538032Speter		reached, a "timed out" error message would be returned that
691638032Speter		didn't include the failed address (and claimed to be a warning
691738032Speter		even though it was fatal).  The fix is to not return such
691838032Speter		messages until they are actually tried, i.e., in the next
691938032Speter		MinQueueAge interval.  Problem noted by Rein Tollevik of
692038032Speter		SINTEF RUNIT, Oslo.
692138032Speter	Add HES_GETMAILHOST compile flag to support MIT Hesiod distributions
692238032Speter		that have the hes_getmailhost() routine.  DEC Hesiod
692338032Speter		distributions do not have this routine.  Based on a patch
692438032Speter		from Betty Lee of Stanford University.
692538032Speter	Extensive cleanups to map open code to handle a locking race condition
692638032Speter		in ndbm, hash, and btree format database files on some (most
692738032Speter		non-4.4-BSD based) OS architectures.  This should solve the
692838032Speter		occasional "user unknown" problem during alias rebuilds that
692938032Speter		has plagued me for quite some time.  Based on a patch from
693038032Speter		Thomas Dwyer III of Michigan Technological University.
693138032Speter	PORTABILITY FIXES:
693238032Speter		Solaris: Change location of newaliases and mailq from
693338032Speter			/usr/ucb to /usr/bin to match Sun settings.  From
693438032Speter			James B. Davis of TCI.
693538032Speter		DomainOS: Makefile.DomainOS doesn't require -ldbm.  From
693638032Speter			Don Lewis of Silicon Systems.
693738032Speter		HP-UX 10: rename Makefile.HP-UX.10 => Makefile.HP-UX.10.x
693838032Speter			so that the makesendmail script will find it.  Pointed
693938032Speter			out by Richard Allen of the University of Iceland.
694064562Sgshapiro			Also, use -Aa -D_HPUX_SOURCE instead of -Ae, which
694138032Speter			isn't supported on all compilers.
694238032Speter		UXPDS: compilation fixes from Diego R. Lopez.
694338032Speter	CONFIG: FAX mailer wasn't setting .FAX as a pseudo-domain unless
694438032Speter		you also had a FAX_RELAY.  From Thomas.Tornblom@Hax.SE.
694538032Speter	CONFIG: Minor glitch in S21 -- attachment of local domain name
694638032Speter		didn't have trailing dot.  From Jim Hickstein of Teradyne.
694738032Speter	CONFIG: Fix best_mx_is_local feature to allow nested addresses such as
694838032Speter		user%host@thishost.  From Claude Scarpelli of Infobiogen
694938032Speter		(France).
695064562Sgshapiro	CONFIG: OSTYPE(hpux10) failed to define the location of the help file.
695138032Speter		Pointed out by Hannu Martikka of Nokia Telecommunications.
695238032Speter	CONFIG: Diagnose some inappropriate ordering in configuration files,
695338032Speter		such as FEATURE(smrsh) listed after MAILER(local).  Based on
695438032Speter		a bug report submitted by Paul Hoffman of Proper Publishing.
695538032Speter	CONFIG: Make OSTYPE files consistently not override settings that
695638032Speter		have already been set.  Previously it worked differently
695738032Speter		for different files.
695864562Sgshapiro	CONFIG: Change relay mailer to do masquerading like 8.6 did.  My take
695938032Speter		is that this is wrong, but the change was causing problems
696038032Speter		for some people.  From Per Hedeland of Ericsson.
696138032Speter	CONTRIB: bitdomain.c patch from John Gardiner Myers <jgm+@CMU.EDU>;
696238032Speter		portability changes for Posix environments (no functional
696338032Speter		changes).
696438032Speter
696564562Sgshapiro8.7.1/8.7.1	1995/10/01
696638032Speter	Old macros that have become options (SmtpGreetingMessage,
696738032Speter		OperatorChars, and UnixFromLine) didn't allow backslash
696838032Speter		escapes in the options, where they previously had.  Bug
696938032Speter		pointed out by John Hawkinson of MIT.
697038032Speter	Fix strange case of an executable called by a program map that
697138032Speter		returns a value but also a non-zero exit status; this
697238032Speter		would give contradictory results in the higher level; in
697338032Speter		particular, the default clause in the map lookup would be
697438032Speter		ignored.  Change to ignore the value if the program returns
697538032Speter		non-zero exit status.  From Tom Moore of AT&T GIS.
697638032Speter	Shorten parameters passed to syslog() in some contexts to avoid a
697738032Speter		bug in many vendors' implementations of that routine.  Although
697838032Speter		this isn't really a bug in sendmail per se, and my solution
697938032Speter		has to assume that syslog() has at least a 1K buffer size
698038032Speter		internally (I know some vendors have shortened this
698138032Speter		dramatically -- they're on their own), sendmail is a popular
698238032Speter		target.  Also, limit the size of %s arguments in sprintf.
698338032Speter		These both have possible security implications.  Solutions
698464562Sgshapiro		suggested by Casper Dik of Sun's Network Security Group
698538032Speter		(Holland), Mark Seiden, and others.
698638032Speter	Fix a problem that might cause a non-standard -B (body type)
698738032Speter		parameter to be passed to the next server with undefined
698838032Speter		results.  This could have security implications.
698938032Speter	If a filesystem was at > 100% utilization, the freediskspace()
699038032Speter		routine incorrectly returned an error rather than zero.
699138032Speter		Problem noted by G. Paul Ziemba of Alantec.
699243730Speter	Change MX sort order so that local hostnames (those in $=w) always
699338032Speter		sort first within a given preference.  This forces the bestmx
699438032Speter		map to always return the local host first, if it is included
699538032Speter		in the list of highest priority MX records.  From K. Robert
699638032Speter		Elz.
699738032Speter	Avoid some possible null pointer dereferences.  Fixes from Randy
699838032Speter		Martin <WOLF@CLEMSON.EDU>
699938032Speter	When sendmail starts up on systems that have no fully qualified
700038032Speter		domain name (FQDN) anywhere in the first matching host map
700138032Speter		(e.g., /etc/hosts if the hosts service searches "files dns"),
700238032Speter		sendmail would sleep to try to find a FQDN, which it really
700338032Speter		really needs.  This has been changed to fall through to the
700438032Speter		next map type if it can't find a FQDN -- i.e., if the hosts
700538032Speter		file doesn't have a FQDN, it will try dns even though the
700638032Speter		short name was found in /etc/hosts.  This is probably a crock,
700738032Speter		but many people have hosts files without FQDNs.  Remember:
700890792Sgshapiro		domain names are your friends.
700938032Speter	Log a high-priority message if you can't find your FQDN during startup.
701038032Speter		Suggested by Simon Barnes of Schlumberger Limited.
701138032Speter	When using Hesiod, initialize it early to improve error reporting.
701238032Speter		Patch from Don Lewis of Silicon Systems, Inc.
701343730Speter	Apparently at least some versions of Linux have a 90 !minute! TCP
701438032Speter		connection timeout in the kernel.  Add a new "connect" timeout
701538032Speter		to limit this time.  Defaults to zero (use whatever the
701638032Speter		kernel provides).  Based on code contributed by J.R. Oldroyd
701738032Speter		of TerraNet.
701838032Speter	Under some circumstances, a failed message would not be properly
701938032Speter		removed from the queue, causing tons of bogus error messages.
702038032Speter		(This fix eliminates the problematic EF_KEEPQUEUE flag.)
702138032Speter		Problem noted by Allan E Johannesen and Gregory Neil Shapiro
702238032Speter		of WPI.
702338032Speter	PORTABILITY FIXES:
702438032Speter		On IRIX 5.x, there was an inconsistency in the setting
702538032Speter			of sendmail.st location.  Change the Makefile to
702643730Speter			install it in /var/sendmail.st to match the OSTYPE
702738032Speter			file and SGI standards.  From Andre
702838032Speter			<andre@curry.zfe.siemens.de>.
702938032Speter		Support for Fujitsu/ICL UXP/DS (For the DS/90 Series)
703038032Speter			from Diego R. Lopez <drlopez@cica.es>.
703138032Speter		Linux compilation patches from J.R. Oldroyd of TerraNet, Inc.
703238032Speter		LUNA 2 Mach patches from Motonori Nakamura.
703338032Speter		SunOS Makefile was including -ldbm, which is for the old
703438032Speter			dbm library.  The ndbm library is part of libc.
703538032Speter	CONFIG: avoid bouncing ``user@host.'' (note trailing dot) with
703638032Speter		``local configuration error'' in nullclient configuration.
703738032Speter		Patch from Gregory Neil Shapiro of WPI.
703838032Speter	CONFIG: don't allow an alias file in nullclient configurations --
703938032Speter		since all addresses are relayed, they give errors during
704038032Speter		rebuild.  Suggested by Per Hedeland of Ericsson.
704138032Speter	CONFIG: local mailer on Solaris 2 should always get a -f flag because
704238032Speter		otherwise the F=S causes the From_ line to imply that root is
704338032Speter		the sender.  Problem pointed out by Claude Scarpelli of
704438032Speter		Infobiogen (France).
704538032Speter	NEW FILES:
704638032Speter		cf/feature/use_ct_file.m4 (omitted from 8.7 by mistake)
704738032Speter		src/Makefiles/Makefile.KSR (omitted from 8.7 by mistake)
704838032Speter		src/Makefiles/Makefile.UXPDS
704938032Speter
705038032Speter8.7/8.7		1995/09/16
705138032Speter	Fix a problem that could cause sendmail to run out of file
705238032Speter		descriptors due to a trashed data structure after a
705338032Speter		vfork.  Fix from Brian Coan of the Institute for
705438032Speter		Global Communications.
705538032Speter	Change the VRFY response if you have disabled VRFY -- some
705638032Speter		people seemed to think that it was too rude.
705738032Speter	Avoid reference to uninitialized file descriptor if HASFLOCK
705838032Speter		was not defined.  This was used "safely" in the sense
705938032Speter		that it only did a stat, but it would have set the
706038032Speter		map modification time improperly.  Problem pointed out
706138032Speter		by Roy Mongiovi of Georgia Tech.
706238032Speter	Clean up the Subject: line on warning messages and return
706338032Speter		receipts so that they don't say "Returned mail:"; this
706438032Speter		can be confusing.
706538032Speter	Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
706638032Speter		useful enough to make it worthwhile printing on "-d".
706738032Speter	Avoid logging alias statistics every time you read the alias
706838032Speter		file on systems with no database method compiled in.
706938032Speter	If you have a name with a trailing dot, and you try looking it
707038032Speter		up using gethostbyname without the dot (for /etc/hosts
707138032Speter		compatibility), be sure to turn off RES_DEFNAMES and
707238032Speter		RES_DNSRCH to avoid finding the wrong name accidentally.
707338032Speter		Problem noted by Charles Amos of the University of
707438032Speter		Maryland.
707538032Speter	Don't do timeouts in collect if you are not running SMTP.
707638032Speter		There is nothing that says you can't have a long
707738032Speter		running program piped into sendmail (possibly via
707838032Speter		/bin/mail, which just execs sendmail).  Problem reported
707938032Speter		by Don "Truck" Lewis of Silicon Systems.
708038032Speter	Try gethostbyname() even if the DNS lookup fails iff option I
708138032Speter		is not set.  This allows you to have hosts listed in
708238032Speter		NIS or /etc/hosts that are not known to DNS.  It's normally
708338032Speter		a bad idea, but can be useful on firewall machines.  This
708438032Speter		should really be broken out on a separate flag, I suppose.
708538032Speter	Avoid compile warnings against BIND 4.9.3, which uses function
708638032Speter		prototypes.  From Don Lewis of Silicon Systems.
708738032Speter	Avoid possible incorrect diagnosis of DNS-related errors caused
708838032Speter		by things like attempts to resolve uucp names using
708938032Speter		$[ ... $] -- the fix is to clear h_errno at appropriate
709038032Speter		times.  From Kyle Jones of UUNET.
709138032Speter	SECURITY: avoid denial-of-service attacks possible by destroying
709238032Speter		the alias database file by setting resource limits low.
709338032Speter		This involves adding two new compile-time options:
709438032Speter		HASSETRLIMIT (indicating that setrlimit(2) support is
709538032Speter		available) and HASULIMIT (indicating that ulimit(2) support
709638032Speter		is available -- the Release 3 form is used).  The former
709738032Speter		is assumed on BSD-based systems, the latter on System
709838032Speter		V-based systems.  Attack noted by Phil Brandenberger of
709938032Speter		Swarthmore University.
710038032Speter	New syntaxes in test (-bt) mode:
710138032Speter		``.Dmvalue'' will define macro "m" to "value".
710238032Speter		``.Ccvalue'' will add "value" to class "c".
710338032Speter		``=Sruleset'' will dump the contents of the indicated
710438032Speter			ruleset.
710538032Speter		``=M'' will display the known mailers.
710638032Speter		``-ddebug-spec'' is equivalent to the command-line
710738032Speter			-d debug flag.
710838032Speter		``$m'' will print the value of macro $m.
710938032Speter		``$=c'' will print the contents of class $=c.
711038032Speter		``/mx host'' returns the MX records for ``host''.
711138032Speter		``/parse address'' will parse address, returning the value of
711238032Speter			crackaddr (essentially, the comment information)
711338032Speter			and the parsed address.
711438032Speter		``/try mailer address'' will rewrite address into the form
711538032Speter			it will have when presented to the indicated mailer.
711638032Speter		``/tryflags flags'' will set flags used by parsing.  The
711738032Speter			flags can be `H' for header or `E' for envelope,
711838032Speter			and `S' for sender or `R' for recipient.  These
711938032Speter			can be combined, so `HR' sets flags for header
712038032Speter			recipients.
712138032Speter		``/canon hostname'' will try to canonify hostname and
712238032Speter			return the result.
712338032Speter		``/map mapname key'' will look up `key' in the indicated
712438032Speter			`mapname' and return the result.
712538032Speter	Somewhat better handling of UNIX-domain socket addresses -- it
712638032Speter		should show the pathname rather than hex bytes.
712738032Speter	Restore ``-ba'' mode -- this reads a file from stdin and parses
712864562Sgshapiro		the header for envelope sender information and uses
712938032Speter		CR-LF as message terminators.  It was thought to be
713038032Speter		obsolete (used only for Arpanet NCP protocols), but it
713138032Speter		turns out that the UK ``Grey Book'' protocols require
713238032Speter		that functionality.
713338032Speter	Fix a fix in previous release -- if gethostname and gethostbyname
713438032Speter		return a name without dots, and if an attempt to canonify
713538032Speter		that name fails, wait one minute and try again.  This can
713638032Speter		result in an extra 60 second delay on startup if your system
713738032Speter		hostname (as returned by hostname(1)) has no dot and no names
713838032Speter		listed in /etc/hosts or your NIS map have a dot.
713938032Speter	Check for proper domain name on HELO and EHLO commands per
714038032Speter		RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
714138032Speter		of Michigan Technological University.
714238032Speter	Relax chownsafe rules slightly -- old version said that if you
714338032Speter		can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
714438032Speter		if fpathconf returned EINVAL or ENOSYS), assume that
714538032Speter		chown is not safe.  The new version falls back to whether
714638032Speter		you are on a BSD system or not.  This is important for
714738032Speter		SunOS, which apparently always returns one of those
714838032Speter		error codes.  This impacts whether you can mail to files
714938032Speter		or not.
715038032Speter	Syntax errors such as unbalanced parentheses in the configuration
715138032Speter		file could be omitted if you had "Oem" prior to the
715238032Speter		syntax error in the config file.  Change to always print
715338032Speter		the error message.  It was especially weird because it
715438032Speter		would cause a "warning" message to be sent to the Postmaster
715538032Speter		for every message sent (but with no transcript).  Problem
715638032Speter		noted by Gregory Paris of Motorola.
715738032Speter	Rewrite collect and putbody to handle full 8-bit data, including
715838032Speter		zero bytes.  These changes are internally extensive, but
715938032Speter		should have minimal impact on external function.
716038032Speter	Allow full words for option names -- if the option letter is
716138032Speter		(apparently) a space, then take the word following -- e.g.,
716238032Speter			O MatchGECOS=TRUE
716338032Speter		The full list of old and new names is as follows:
716438032Speter			7	SevenBitInput
716538032Speter			8	EightBitMode
716638032Speter			A	AliasFile
716738032Speter			a	AliasWait
716838032Speter			B	BlankSub
716938032Speter			b	MinFreeBlocks/MaxMessageSize
717038032Speter			C	CheckpointInterval
717138032Speter			c	HoldExpensive
717238032Speter			D	AutoRebuildAliases
717338032Speter			d	DeliveryMode
717438032Speter			E	ErrorHeader
717538032Speter			e	ErrorMode
717638032Speter			f	SaveFromLine
717738032Speter			F	TempFileMode
717838032Speter			G	MatchGECOS
717938032Speter			H	HelpFile
718038032Speter			h	MaxHopCount
718138032Speter			i	IgnoreDots
718238032Speter			I	ResolverOptions
718338032Speter			J	ForwardPath
718438032Speter			j	SendMimeErrors
718538032Speter			k	ConnectionCacheSize
718638032Speter			K	ConnectionCacheTimeout
718738032Speter			L	LogLevel
718838032Speter			l	UseErrorsTo
718938032Speter			m	MeToo
719038032Speter			n	CheckAliases
719138032Speter			O	DaemonPortOptions
719238032Speter			o	OldStyleHeaders
719338032Speter			P	PostmasterCopy
719438032Speter			p	PrivacyOptions
719538032Speter			Q	QueueDirectory
719638032Speter			q	QueueFactor
719738032Speter			R	DontPruneRoutes
719838032Speter			r, T	Timeout
719938032Speter			S	StatusFile
720038032Speter			s	SuperSafe
720138032Speter			t	TimeZoneSpec
720238032Speter			u	DefaultUser
720338032Speter			U	UserDatabaseSpec
720438032Speter			V	FallbackMXHost
720538032Speter			v	Verbose
720638032Speter			w	TryNullMXList
720738032Speter			x	QueueLA
720838032Speter			X	RefuseLA
720938032Speter			Y	ForkEachJob
721038032Speter			y	RecipientFactor
721138032Speter			z	ClassFactor
721238032Speter			Z	RetryFactor
721364562Sgshapiro		The old macros that passed information into sendmail have
721438032Speter		been changed to options; those correspondences are:
721538032Speter			$e	SmtpGreetingMessage
721638032Speter			$l	UnixFromLine
721738032Speter			$o	OperatorChars
721838032Speter			$q	(deleted -- not necessary)
721938032Speter		To avoid possible problems with an older sendmail,
722038032Speter		configuration level 6 is accepted by this version of
722138032Speter		sendmail; any config file using the new names should
722238032Speter		specify "V6" in the configuration.
722338032Speter	Change address parsing to properly note that a phrase before a
722438032Speter		colon and a trailing semicolon are essentially the same
722538032Speter		as text outside of angle brackets (i.e., sendmail should
722638032Speter		treat them as comments).  This is to handle the
722738032Speter		``group name: addr1, addr2, ..., addrN;'' syntax (it will
722838032Speter		assume that ``group name:'' is a comment on the first
722938032Speter		address and the ``;'' is a comment on the last address).
723038032Speter		This requires config file support to get right.  It does
723138032Speter		understand that :: is NOT this syntax, and can be turned
723238032Speter		off completely by setting the ColonOkInAddresses option.
723338032Speter	Level 6 config files added with new mailer flags:
723438032Speter		    A	Addresses are aliasable.
723538032Speter		    i	Do udb rewriting on envelope as well as header
723638032Speter			sender lines.  Applies to the from address mailer
723738032Speter			flags rather than the recipient mailer flags.
723838032Speter		    j	Do udb rewriting on header recipient addresses.
723938032Speter			Applies to the sender mailer flags rather than the
724038032Speter			recipient mailer flags.
724138032Speter		    k	Disable check for loops when doing HELO command.
724238032Speter		    o	Always run as the mail recipient, even on local
724338032Speter			delivery.
724438032Speter		    w	Check for an /etc/passwd entry for this user.
724538032Speter		    5	Pass addresses through ruleset 5.
724638032Speter		    :	Check for :include: on this address.
724738032Speter		    |	Check for |program on this address.
724838032Speter		    /	Check for /file on this address.
724938032Speter		    @	Look up sender header addresses in the user
725038032Speter			database.  Applies to the mailer flags for the
725138032Speter			mailer corresponding to the envelope sender
725238032Speter			address, rather than to recipient mailer flags.
725338032Speter		Pre-level 6 configuration files set A, w, 5, :, |, /, and @
725438032Speter		on the "local" mailer, the o flag on the "prog" and "*file*"
725538032Speter		mailers, and the ColonOkInAddresses option.
725638032Speter	Eight-to-seven bit MIME conversions.  This borrows ideas from
725738032Speter		John Beck of Hewlett-Packard, who generously contributed
725838032Speter		their implementation to me, which I then didn't use (see
725938032Speter		mime.c for an explanation of why).  This adds the
726038032Speter		EightBitMode option (a.k.a. `8') and an F=8 mailer flag
726138032Speter		to control handling of 8-bit data.  These have to cope with
726238032Speter		two types of 8-bit data: unlabelled 8-bit data (that is,
726338032Speter		8-bit data that is entered without declaring it as 8-bit
726438032Speter		MIME -- technically this is illegal according to the
726538032Speter		specs) and labelled 8-bit data (that is, it was declared
726638032Speter		as 8BITMIME in the ESMTP session or by using the
726738032Speter		-B8BITMIME command line flag).  If the F=8 mailer flag is
726838032Speter		set then 8-bit data is sent to non-8BITMIME machines
726938032Speter		instead of converting to 7 bit (essentially using
727038032Speter		just-send-8 semantics).  The values for EightBitMode are:
727138032Speter		    m	convert unlabelled 8-bit input to 8BITMIME, and do
727238032Speter			any necessary conversion of 8BITMIME to 7BIT
727338032Speter			(essentially, the full MIME option).
727438032Speter		    p	pass unlabelled 8-bit input, but convert labelled
727538032Speter			8BITMIME input to 7BIT as required (default).
727638032Speter		    s	strict adherence: reject unlabelled 8-bit input,
727738032Speter			convert 8BITMIME to 7BIT as required.  The F=8
727838032Speter			flag is ignored.
727938032Speter		Unlabelled 8-bit data is rejected in mode `s' regardless of
728038032Speter			the setting of F=8.
728138032Speter	Add new internal class 'n', which is the set of MIME Content-Types
728238032Speter		which can not be 8 to 7 bit encoded because of other
728338032Speter		considerations.  Types "multipart/*" and "message/*" are
728438032Speter		never directly encoded (although their components can be).
728538032Speter	Add new internal class 's', which is the set of subtypes of the
728638032Speter		MIME message/* content type that can be treated as though
728738032Speter		they are an RFC822 message.  It is predefined to have
728838032Speter		"rfc822".  Suggested By Kari Hurtta.
728938032Speter	Add new internal class 'e'.  This is the set of MIME
729038032Speter		Content-Transfer-Encodings that can be converted to
729138032Speter		a seven bit format (Quoted-Printable or Base64).  It is
729238032Speter		preinitialized to contain "7bit", "8bit", and "binary".
729338032Speter	Add C=charset mailer parameter and the the DefaultCharSet option (no
729438032Speter		short name) to set the default character set to use in the
729538032Speter		Content-Type: header when doing encoding of an 8-bit message
729638032Speter		which isn't marked as MIME into MIME format.  If the C=
729738032Speter		parameter is set on the Envelope From address, use that as
729838032Speter		the default encoding; else use the DefaultCharSet option.
729938032Speter		If neither is set, it defaults to "unknown-8bit" as
730038032Speter		suggested by RFC 1428 section 3.
730138032Speter	Allow ``U=user:group'' field in mailer definition to set a default
730238032Speter		user and group that a mailer will be executed as.  This
730338032Speter		overrides the 'u' and 'g' options, and if the `F=S' flag is
730438032Speter		also set, it is the uid/gid that will always be used (that
730538032Speter		is, the controlling address is ignored).  The values may be
730638032Speter		numeric or symbolic; if only a symbolic user is given (no
730738032Speter		group) that user's default group in the passwd file is used
730838032Speter		as the group.  Based on code donated by Chip Rosenthal of
730938032Speter		Unicom.
731038032Speter	Allow `u' option to also accept user:group as a value, in the same
731138032Speter		fashion as the U= mailer option.
731238032Speter	Add the symbolic time zone name in the Arpanet format dates (as
731338032Speter		a comment).  This adds a new compile-time configuration
731438032Speter		flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
731538032Speter		of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
731638032Speter		of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
731738032Speter		*tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
731838032Speter		timezone()), or TZ_NONE (don't include the comment).  Code
731938032Speter		from Chip Rosenthal.
732038032Speter	The "Timeout" option (formerly "r") is extended to allow suboptions.
732138032Speter		For example,
732238032Speter		    O Timeout.helo = 2m
732338032Speter		There are also two new suboptions "queuereturn" and
732438032Speter		"queuewarn"; these subsume the old T option.  Thus, to
732538032Speter		set them both the preferred new syntax is
732638032Speter		    O Timeout.queuereturn = 5d
732738032Speter		    O Timeout.queuewarn = 4h
732838032Speter	Sort queue by host name instead of by message priority if the
732938032Speter		QueueSortOrder option (no short name) is set is set to
733038032Speter		``host''.  This makes better use of the connection cache,
733138032Speter		but may delay more ``interactive'' messages behind large
733238032Speter		backlogs under some circumstances.  This is probably a
733338032Speter		good option if you have high speed links or don't do lots
733438032Speter		of ``batch'' messages, but less good if you are using
733538032Speter		something like PPP on a 14.4 modem.  Based on code
733638032Speter		contributed by Roy Mongiovi of Georgia Tech (my main
733738032Speter		contribution was to make it configurable).
733838032Speter	Save i-number of df file in qf file to simplify rebuilding of queue
733938032Speter		after disastrous disk crash.  Suggested by Kyle Jones of
734038032Speter		UUNET; closely based on code from KJS DECWRL code written
734138032Speter		by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
734238032Speter		are NOT back compatible with 8.6 -- that is, you can convert
734338032Speter		from 8.6 to 8.7, but not the other direction.
734438032Speter	Add ``F=d'' mailer flag to disable all use of angle brackets in
734538032Speter		route-addrs in envelopes; this is because in some cases
734638032Speter		they can be sent to the shell, which interprets them as
734738032Speter		I/O redirection.
734838032Speter	Don't include error file (option E) with return-receipts; this
734938032Speter		can be confusing.
735038032Speter	Don't send "Warning: cannot send" messages to owner-* or
735138032Speter		*-request addresses.  Suggested by Christophe Wolfhugel
735238032Speter		of the Institut Pasteur, Paris.
735338032Speter	Allow -O command line flag to set long form options.
735438032Speter	Add "MinQueueAge" option to set the minimum time between attempts
735538032Speter		to run the queue.  For example, if the queue interval
735638032Speter		(-q value) is five minutes, but the minimum queue age
735738032Speter		is fifteen minutes, jobs won't be tried more often than
735838032Speter		once every fifteen minutes.  This can be used to give
735938032Speter		you more responsiveness if your delivery mode is set to
736038032Speter		queue-only.
736138032Speter	Allow "fileopen" timeout (default: 60 seconds) for opening
736238032Speter		:include: and .forward files.
736338032Speter	Add "-k", "-v", and "-z" flags to map definitions; these set the
736438032Speter		key field name, the value field name, and the field
736538032Speter		delimiter.  The field delimiter can be a single character
736638032Speter		or the sequence "\t" or "\n" for tab or newline.
736743730Speter		These are for use by NIS+ and similar access methods.
736838032Speter	Change maps to always strip quotes before lookups; the -q flag
736938032Speter		turns off this behavior.  Suggested by Motonori Nakamura.
737038032Speter	Add "nisplus" map class.  Takes -k and -v flags to choose the
737138032Speter		key and value field names respectively.  Code donated by
737238032Speter		Sun Microsystems.
737338032Speter	Add "hesiod" map class.  The "file name" is used as the
737438032Speter		"HesiodNameType" parameter to hes_resolve(3).  Returns the
737538032Speter		first value found for the match.  Code donated by Scott
737638032Speter		Hutton of Indiana University.
737738032Speter	Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
737838032Speter		specify the name of the property that is searched as the
737938032Speter		key and a -v flag to specify the name of the property that
738038032Speter		is returned as the value (defaults to "members").  The
738138032Speter		default map is "/aliases".  Some code based on code
738238032Speter		contributed by Robert La Ferla of Hot Software.
738338032Speter	Add "text" map class.  This does slow, linear searches through
738438032Speter		text files.  The -z flag specifies a column delimiter
738538032Speter		(defaults to any sequence of white space), the -k flag
738638032Speter		sets the key column number, and the -v flag sets the
738738032Speter		value column number.  Lines beginning with `#' are treated
738838032Speter		as comments.
738938032Speter	Add "program" map class to execute arbitrary programs.  The search
739038032Speter		key is presented as the last argument; the output is one
739138032Speter		line read from the programs standard output.  Exit statuses
739238032Speter		are from sysexits.h.
739338032Speter	Add "sequence" map class -- searches maps in sequence until it
739438032Speter		finds a match.  For example, the declarations:
739538032Speter		    Kmap1 ...
739638032Speter		    Kmap2 ...
739738032Speter		    Kmapseq sequence map1 map2
739838032Speter		defines a map "mapseq" that first searches map1; if the
739938032Speter		value is found it is returned immediately, otherwise
740038032Speter		map2 is searched and the value returned.
740138032Speter	Add "switch" map class.  This is much like "sequence" except that
740238032Speter		the ordering is fetched from an external file, usually
740338032Speter		the system service switch.  The parameter is the name of
740438032Speter		the service to switch on, and the maps that it will use
740538032Speter		are the name of the switch map followed by ".service_type".
740638032Speter		For example, if the declaration of the map is
740738032Speter		    Ksample switch hosts
740838032Speter		and the system service switch specifies that hosts are
740938032Speter		looked up using dns and nis in that order, then this is
741038032Speter		equivalent to
741138032Speter		    Ksample sequence sample.dns sample.nis
741238032Speter		The subordinate maps (sample.*) must already be defined.
741338032Speter	Add "user" map class -- looks up users using getpwnam.  Takes a
741438032Speter		"-v field" flag on the definition that tells what passwd
741538032Speter		entry to return -- legal values are name, passwd, uid, gid,
741638032Speter		gecos, dir, and shell.  Generally expected to be used with
741738032Speter		the -m (matchonly) flag.
741838032Speter	Add "bestmx" map class -- returns the best MX value for the host
741938032Speter		listed as the value.  If there are several "best" MX records
742038032Speter		for this host, one will be chosen at random.
742138032Speter	Add "userdb" map class -- looks up entries in the user database.
742238032Speter		The "file name" is actually the tag that will be used,
742338032Speter		typically "mailname".  If there are multiple entries
742438032Speter		matching the name, the one chosen is undefined.
742538032Speter	Add multiple queue timeouts (both return and warning).  These are
742638032Speter		set by the Precedence: or Priority: header fields to one of
742738032Speter		three values.  If a Priority: is set and has value "normal",
742838032Speter		"urgent", or "non-urgent" the corresponding timeouts are
742938032Speter		used.  If no priority is set, the Precedence: is consulted;
743038032Speter		if negative, non-urgent timeouts are used; if greater than
743138032Speter		zero, urgent timeouts are used.  Otherwise, normal timeouts
743238032Speter		are used.  The timeouts are set by setting the six timeouts
743338032Speter		queue{warn,return}.{urgent,normal,non-urgent}.
743438032Speter	Fix problem when a mail address is resolved to a $#error mailer
743538032Speter		with a temporary failure indication; it works in SMTP,
743638032Speter		but when delivering locally the mail is silently discarded.
743738032Speter		This patch, from Kyle Jones of UUNET, bounces it instead
743838032Speter		of queueing it (queueing is very hard).
743938032Speter	When using /etc/hosts or NIS-style lookups, don't assume that
744038032Speter		the first name in the list is the best one -- instead,
744138032Speter		search for the first one with a dot.  For example, if
744238032Speter		an /etc/hosts entry reads
744338032Speter		    128.32.149.68	mammoth mammoth.CS.Berkeley.EDU
744438032Speter		this change will use the second name as the canonical
744538032Speter		machine name instead of the initial, unqualified name.
744638032Speter	Change dequote map to replace spaces in quoted text with a value
744738032Speter		indicated by the -s flag on the dequote map definition.
744838032Speter		For example, ``Mdequote dequote -s_'' will change
744938032Speter		"Foo Bar" into an unquoted Foo_Bar instead of leaving it
745038032Speter		quoted (because of the space character).  Suggested by Dan
745138032Speter		Oscarsson for use in X.400 addresses.
745238032Speter	Implement long macro names as ${name}; long class names can
745338032Speter		be similarly referenced as $={name} and $~{name}.
745438032Speter		Definitions are (e.g.) ``D{name}value''.  Names that have
745538032Speter		a leading lower case letter or punctuation characters are
745638032Speter		reserved for internal use by sendmail; i.e., config files
745738032Speter		should use names that begin with a capital letter.  Based
745838032Speter		on code contributed by Dan Oscarsson.
745938032Speter	Fix core dump if getgrgid returns a null group list (as opposed
746038032Speter		to an empty group list, that is, a pointer to a list
746138032Speter		with no members).  Fix from Andrew Chang of Sun Microsystems.
746238032Speter	Fix possible core dump if malloc fails -- if the malloc in xalloc
746338032Speter		failed, it called syserr which called newstr which called
746438032Speter		xalloc....  The newstr is now avoided for "panic" messages.
746538032Speter		Reported by Stuart Kemp of James Cook University.
746638032Speter	Improve connection cache timeouts; previously, they were not even
746738032Speter		checked if you were delivering to anything other than an
746838032Speter		IPC-connected host, so a series of (say) local mail
746938032Speter		deliveries could cause cached connections to be open
747038032Speter		much longer than the specified timeout.
747138032Speter	If an incoming message exceeds the maximum message size, stop
747238032Speter		writing the incoming bytes to the queue data file, since
747338032Speter		this can fill your mqueue partition -- this is a possible
747438032Speter		denial-of-service attack.
747538032Speter	Don't reject all numeric local user names unless HESIOD is
747638032Speter		defined.  It turns out that Posix allows all-numeric
747738032Speter		user names.  Fix from Tony Sanders of BSDI.
747838032Speter	Add service switch support.  If the local OS has a service
747938032Speter		switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
748038032Speter		on DEC systems) that will be used; otherwise, it falls back
748138032Speter		to using a local mechanism based on the ServiceSwitchFile
748238032Speter		option (default: /etc/service.switch).  For example, if the
748338032Speter		service switch lists "files" and "nis" for the aliases
748438032Speter		service, that will be the default lookup order.  the "files"
748538032Speter		("local" on DEC) service type expands to any alias files
748638032Speter		you listed in the configuration file, even if they aren't
748738032Speter		actually file lookups.
748838032Speter	Option I (NameServerOptions) no longer sets the "UseNameServer"
748938032Speter		variable which tells whether or not DNS should be considered
749038032Speter		canonical.  This is now determined based on whether or not
749138032Speter		"dns" is in the service list for "hosts".
749238032Speter	Add preliminary support for the ESMTP "DSN" extension (Delivery
749338032Speter		Status Notifications).  DSN notifications override
749438032Speter		Return-Receipt-To: headers, which are bogus anyhow --
749538032Speter		support for them has been removed.
749638032Speter	Add T=mts-name-type/address-type/diagnostic-type keyletter to mailer
749738032Speter		definitions to define the types used in DSN returns for
749838032Speter		MTA names, addresses, and diagnostics respectively.
749938032Speter	Extend heuristic to force running in ESMTP mode to look for the
750038032Speter		five-character string "ESMTP" anywhere in the 220 greeting
750138032Speter		message (not just the second line).  This is to provide
750238032Speter		better compatibility with other ESMTP servers.
750338032Speter	Print sequence number of job when running the queue so you can
750438032Speter		easily see how much progress you have made.  Suggested
750538032Speter		by Peter Wemm of DIALix.
750638032Speter	Map newlines to spaces in logged message-ids; some versions of
750738032Speter		syslog truncate the rest of the line after newlines.
750838032Speter		Suggested by Fletcher Mattox of U. Texas.
750938032Speter	Move up forking for job runs so that if a message is split into
751038032Speter		multiple envelopes you don't get "fork storms" -- this
751138032Speter		also improves the connection cache utilization.
751238032Speter	Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
751338032Speter		the purposes of refusing to send error returns.  Suggested
751438032Speter		by Motonori Nakamura of Ritsumeikan University.
751538032Speter	Relax rules on when a file can be written when referenced from
751638032Speter		the aliases file: use the default uid/gid instead of the
751738032Speter		real uid/gid.  This allows you to create a file owned by
751838032Speter		and writable only by the default uid/gid that will work
751938032Speter		all the time (without having the set-user-ID bit set).  Change
752038032Speter		suggested by Shau-Ping Lo and Andrew Cheng of Sun
752138032Speter		Microsystems.
752238032Speter	Add "DialDelay" option (no short name) to provide an "extra"
752338032Speter		delay for dial on demand systems.  If this is non-zero
752438032Speter		and a connect fails, sendmail will wait this long and
752538032Speter		then try again.  If it takes longer than the kernel
752638032Speter		timeout interval to establish the connection, this
752738032Speter		option can give the network software time to establish
752838032Speter		the link.  The default units are seconds.
752938032Speter	Move logging of sender information to be as early as possible;
753038032Speter		previously, it could be delayed a while for SMTP mail
753138032Speter		sent to aliases.  Suggested by Brad Knowles of the
753243730Speter		Defense Information Systems Agency.
753338032Speter	Call res_init() before setting RES_DEBUG; this is required by
753438032Speter		BIND 4.9.3, or so I'm told.  From Douglas Anderson of
753538032Speter		the National Computer Security Center.
753638032Speter	Add xdelay= field in logs -- this is a transaction delay, telling
753738032Speter		you how long it took to deliver to this address on the
753838032Speter		last try.  It is intended to be used for sorting mailing
753938032Speter		lists to favor "quick" addresses.  Provided for use by
754038032Speter		the mailprio scripts (see below).
754138032Speter	If a map cannot be opened, and that map is non-optional, and
754238032Speter		an address requires that map for resolution, queue the
754338032Speter		map instead of bouncing it.  This involves creating a
754438032Speter		pseudo-class of maps called "bogus-map" -- if a required
754538032Speter		map cannot be opened, the class is changed to bogus-map;
754638032Speter		all queries against bogus-map return "tempfail".  The
754738032Speter		bogus-map class is not directly accessible.  A sample
754838032Speter		implementation was donated by Jem Taylor of Glasgow
754938032Speter		University Computing Service.
755038032Speter	Fix a possible core dump when mailing to a program that talks
755138032Speter		SMTP on its standard input.  Fix from Keith Moore of
755238032Speter		the University of Kentucky.
755338032Speter	Make it possible to resolve filenames to $#local $: @ /filename;
755438032Speter		previously, the "@" would cause it to not be recognized
755538032Speter		as a file.  Problem noted by Brian Hill of U.C. Davis.
755638032Speter	Accept a -1 signal to re-exec the daemon.  This only works if
755738032Speter		argv[0] is a full path to sendmail.
755838032Speter	Fix bug in "addr=..." field in O option on little-endian machines
755938032Speter		-- the network number wasn't being converted to network
756038032Speter		byte order.  Patch from Kurt Lidl of Pix Technologies
756138032Speter		Corporation.
756238032Speter	Pre-initialize the resolver early on; this is to avoid a bug with
756338032Speter		BIND 4.9.3 that can cause the _res.retry field to get
756438032Speter		reset to zero, causing all name server lookups to time
756538032Speter		out.  Fix from Matt Day of Artisoft.
756638032Speter	Restore T line (trusted users) in config file -- but instead of
756738032Speter		locking out the -f flag, they just tell whether or not
756838032Speter		an X-Authentication-Warning: will be added.  This really
756938032Speter		just creates new entries in class 't', so "Ft/file/name"
757038032Speter		can be used to read trusted user names from a file.
757138032Speter		Trusted users are also allowed to execute programs even
757238032Speter		if they have a shell that isn't in /etc/shells.
757338032Speter	Improve NEWDB alias file rebuilding so it will create them
757438032Speter		properly if they do not already exist.  This had been
757538032Speter		a MAYBENEXTRELEASE feature in 8.6.9.
757638032Speter	Check for @:@ entry in NIS maps before starting up to avoid
757738032Speter		(but not prevent, sigh) race conditions.  This ought to
757838032Speter		be handled properly in ypserv, but isn't.  Suggested by
757938032Speter		Michael Beirne of Motorola.
758038032Speter	Refuse connections if there isn't enough space on the filesystem
758138032Speter		holding the queue.  Contributed by Robert Dana of Wolf
758238032Speter		Communications.
758338032Speter	Skip checking for directory permissions in the path to a file
758438032Speter		when checking for file permissions iff setreuid()
758538032Speter		succeeded -- it is unnecessary in that case.  This avoids
758638032Speter		significant performance problems when looking for .forward
758738032Speter		files.  Based on a suggestion by Win Bent of USC.
758838032Speter	Allow symbolic ruleset names.  Syntax can be "Sname" to get an
758938032Speter		arbitrary ruleset number assigned or "Sname = integer"
759038032Speter		to assign a specific ruleset number.  Reference is
759164562Sgshapiro		$>name_or_number.  Names can be composed of alphas, digits,
759238032Speter		underscore, or hyphen (first character must be non-numeric).
759338032Speter	Allow -o flag on AliasFile lines to make the alias file optional.
759438032Speter		From Bryan Costales of ICSI.
759538032Speter	Add NoRecipientAction option to handle the case where there is
759638032Speter		no legal recipient header in the message.  It can take
759738032Speter		on values:
759838032Speter		  None			Leave the message as is.  The
759938032Speter					message will be passed on even
760038032Speter					though it is in technically
760138032Speter					illegal syntax.
760238032Speter		  Add-To		Add a To: header with any
760338032Speter					recipients that it can find from
760438032Speter					the envelope.  This risks exposing
760538032Speter					Bcc: recipients.
760638032Speter		  Add-Apparently-To	Add an Apparently-To: header.  This
760738032Speter					has almost no redeeming social value,
760838032Speter					and is provided only for back
760938032Speter					compatibility.
761038032Speter		  Add-To-Undisclosed	Add a header reading
761138032Speter					To: undisclosed-recipients:;
761238032Speter					which will have the effect of
761338032Speter					making the message legal without
761438032Speter					exposing Bcc: recipients.
761538032Speter		  Add-Bcc		To add an empty Bcc: header.
761638032Speter					There is a chance that mailers down
761738032Speter					the line will delete this header,
761838032Speter					which could cause exposure of Bcc:
761938032Speter					recipients.
762038032Speter		The default is NoRecipientAction=None.
762138032Speter	Truncate (rather than delete) Bcc: lines in the header.  This
762238032Speter		should prevent later sendmails (at least, those that don't
762338032Speter		themselves delete Bcc:) from considering this message to
762438032Speter		be non-conforming -- although it does imply that non-blind
762538032Speter		recipients can see that a Bcc: was sent, albeit not to whom.
762638032Speter	Add SafeFileEnvironment option.  If declared, files named as delivery
762738032Speter		targets must be regular files in addition to the regular
762838032Speter		checks.  Also, if the option is non-null then it is used as
762938032Speter		the name of a directory that is used as a chroot(2)
763038032Speter		environment for the delivery; the file names listed in an
763138032Speter		alias or forward should include the name of this root.
763238032Speter		For example, if you run with
763338032Speter			O SafeFileEnvironment=/arch
763438032Speter		then aliases should reference "/arch/rest/of/path".  If a
763538032Speter		value is given, sendmail also won't try to save to
763638032Speter		/usr/tmp/dead.letter (instead it just leaves the job in the
763738032Speter		queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
763838032Speter	Support -A flag for alias files; this will comma concatenate like
763938032Speter		entries.  For example, given the aliases:
764038032Speter			list: member1
764138032Speter			list: member2
764238032Speter		and an alias file declared as:
764338032Speter			OAhash:-A /etc/aliases
764438032Speter		the final alias inserted will be "list: member1,member2";
764538032Speter		without -A you will get an error on the second and subsequent
764638032Speter		alias for "list".  Contributed by Bryan Costales of ICSI.
764738032Speter	Line-buffer transcript file.  Suggested by Liudvikas Bukys.
764838032Speter	Fix a problem that could cause very long addresses to core dump in
764938032Speter		some special circumstances.  Problem pointed out by Allan
765038032Speter		Johannesen.
765138032Speter	(Internal change.)  Change interface to expand() (macro expansion)
765238032Speter		to be simpler and more consistent.
765338032Speter	Delete check for funny qf file names.  This didn't really give
765438032Speter		any extra security and caused some people some problems.
765538032Speter		(If you -really- want this, define PICKY_QF_NAME_CHECK
765638032Speter		at compile time.)  Suggested by Kyle Jones of UUNET.
765738032Speter	(Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
765838032Speter		merge with DSN code; this is simpler and more consistent.
765938032Speter		This may affect some people who have written their own
766038032Speter		checkcompat() routine.
766138032Speter	(Internal change.)  Eliminate `D' line in qf file.  The df file
766238032Speter		is now assumed to be the same name as the qf file (with
766338032Speter		the `q' changed to a `d', of course).
766438032Speter	Avoid forking for delivery if all recipient mailers are marked as
766538032Speter		"expensive" -- this can be a major cost on some systems.
766638032Speter		Essentially, this forces sendmail into "queue only" mode
766738032Speter		if all it is going to do is queue anyway.
766838032Speter	Avoid sending a null message in some rather unusual circumstances
766938032Speter		(specifically, the RCPT command returns a temporary
767038032Speter		failure but the connection is lost before the DATA
767138032Speter		command).  Fix from Scott Hammond of Secure Computing
767238032Speter		Corporation.
767338032Speter	Change makesendmail to use a somewhat more rational naming scheme:
767438032Speter		Makefiles and obj directories are named $os.$rel.$arch,
767538032Speter		where $os is the operating system (e.g., SunOS), $rel is
767638032Speter		the release number (e.g., 5.3), and $arch is the machine
767738032Speter		architecture (e.g., sun4).  Any of these can be omitted,
767838032Speter		and anything after the first dot in a release number can
767938032Speter		be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
768038032Speter		version used $os.$arch.$rel and was rather less general.
768138032Speter	Change makesendmail to do a "make depend" in the target directory
768290792Sgshapiro		when it is being created.  This involves adding an empty
768338032Speter		"depend:" entry in most Makefiles.
768438032Speter	Ignore IDENT return value if the OSTYPE field returns "OTHER",
768538032Speter		as indicated by RFC 1413.  Pointed out by Kari Hurtta
768638032Speter		of the Finnish Meteorological Institute.
768738032Speter	Fix problem that could cause multiple responses to DATA command
768838032Speter		on header syntax errors (e.g., lines beginning with colons).
768938032Speter		Problem noted by Jens Thomassen of the University of Oslo.
769038032Speter	Don't let null bytes in headers cause truncation of the rest of
769138032Speter		the header.
769238032Speter	Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
769338032Speter	Increase timeouts on message data puts to allow time for receivers
769438032Speter		to canonify addresses in headers on the fly.  This is still
769538032Speter		a rather ugly heuristic.  From Motonori Nakamura.
769638032Speter	Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
769738032Speter		records are not used when canonifying names, and when MX
769838032Speter		lookups are done for addressing they must be fully
769938032Speter		qualified.  This is useful if you have a wildcard MX record,
770038032Speter		although it may cause other problems.  In general, don't use
770138032Speter		wildcard MX records.  Patch from Motonori Nakamura.
770238032Speter	Eliminate default two-line SMTP greeting message.  Instead of
770338032Speter		adding an extra "ESMTP spoken here" line, the word "ESMTP"
770438032Speter		is added between the first and second word of the first
770538032Speter		line of the greeting message (i.e., immediately after the
770638032Speter		host name).  This eliminates the need for the BROKEN_SMTP_PEERS
770738032Speter		compile flag.  Old sendmails won't see the ESMTP, but that's
770838032Speter		acceptable because SIZE was the only useful extension that
770938032Speter		old sendmails understand.
771038032Speter	Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
771138032Speter		invoked state dumps.  From Masaharu Onishi.
771238032Speter	Allow on-line comments in .forward and :include: files; they are
771338032Speter		introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
771438032Speter		is a space or a tab.  This is intended for native
771538032Speter		representation of non-ASCII sets such as Japanese, where
771638032Speter		existing encodings would be unreadable or would lose
771738032Speter		data -- for example,
771838032Speter		 <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
771938032Speter					(romanized/less information)
772038032Speter		 <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
772138032Speter					      =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
772238032Speter					(with MIME encoding, not human readable)
772338032Speter		 <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
772438032Speter					(native encoding with ISO-2022-JP)
772538032Speter		The last form is human readable in the Japanese environment.
772638032Speter		Based on a fix from (surprise!) Motonori Nakamura.
772738032Speter	Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
772838032Speter		messages to that host; these are most frequently associated
772938032Speter		with addresses rather than the host, with the exception of
773038032Speter		421 (service shutting down).  The effect was to cause queues
773138032Speter		to sometimes take an excessive time to flush.  Reported by
773238032Speter		Robert Sargent of Southern Geographics Technologies and
773338032Speter		Eric Prestemon of American University.
773438032Speter	Add Nice=N mailer option to set the niceness at which a mailer will
773538032Speter		run.  This is actually a relative niceness (that is, an
773638032Speter		increment on the background value).
773738032Speter	Log queue runs that are skipped due to high loads.  They are logged
773838032Speter		at LOG_INFO priority iff the log level is > 8.  Contributed
773938032Speter		by Bruce Nagel of Data General.
774038032Speter	Allow the error mailer to accept a DSN-style error status code
774138032Speter		instead of an sysexits status code in the host part.
774238032Speter		Anything with a dot will be interpreted as a DSN-style code.
774338032Speter	Add new mailer flag: F=3 will tell translations to Quoted-Printable
774438032Speter		to encode characters that might be munged by an EBCDIC system
774538032Speter		in addition to the set required by RFC 1521.  The additional
774638032Speter		characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
774738032Speter		(Think of "IBM 360" as the mnemonic for this flag.)
774838032Speter	Change check for mailing to files to look for a pathname of [FILE]
774938032Speter		rather than looking for the mailer named *file*.  The mapping
775038032Speter		of leading slashes still goes to the *file* mailer.  This
775138032Speter		allows you to implement the *file* mailer as a separate
775238032Speter		program, for example, to insert a Content-Length: header
775338032Speter		or do special security policy.  However, note that the usual
775438032Speter		initial checking for the file permissions is still done, and
775538032Speter		the program in question needs to be very careful about how
775638032Speter		it does the file write to avoid security problems.
775738032Speter	Be able to read ~root/.forward even if the path isn't accessible to
775838032Speter		regular users.  This is disrecommended because sendmail
775938032Speter		sometimes does not run as root (e.g., when an unsafe option
776038032Speter		is specified on the command line), but should otherwise be
776138032Speter		safe because .forward files must be owned by the user for
776238032Speter		whom mail is being forwarded, and cannot be a symbolic link.
776338032Speter		Suggested by Forrest Aldrich of Wang Laboratories.
776438032Speter	Add new "HostsFile" option that is the pathname to the /etc/hosts
776538032Speter		file.  This is used for canonifying hostnames when the
776638032Speter		service type is "files".
776738032Speter	Implement programs on F (read class from file) line.  The syntax is
776838032Speter		Fc|/path/to/program to read the output from the program
776938032Speter		into class "c".
777038032Speter	Probe the network interfaces to find alternate names for this
777138032Speter		host.  Requires the SIOCGIFCONF ioctl call.  Code
777238032Speter		contributed by SunSoft.
777338032Speter	Add "E" configuration line to set or propagate environment
777438032Speter		variables into children.  "E<envar>" will propagate
777538032Speter		the named variable from the environment when sendmail
777638032Speter		was invoked into any children it calls; "E<envar>=<value>"
777738032Speter		sets the named variable to the indicated value.  Any
777838032Speter		variables not explicitly named will not be in the child
777938032Speter		environment.  However, sendmail still forces an
778038032Speter		"AGENT=sendmail" environment variable, in part to enforce
778138032Speter		at least one environment variable, since many programs and
778238032Speter		libraries die horribly if this is not guaranteed.
778338032Speter	Change heuristic for rebuilding both NEWDB and NDBM versions of
778438032Speter		alias databases -- new algorithm looks for the substring
778538032Speter		"/yp/" in the file name.  This is more portable and involves
778638032Speter		less overhead.  Suggested by Motonori Nakamura.
778738032Speter	Dynamically allocate the queue work list so that you don't lose
778838032Speter		jobs in large queue runs.  The old QUEUESIZE compile parameter
778938032Speter		is replaced by QUEUESEGSIZE (the unit of allocation, which
779038032Speter		should not need to be changed) and the MaxQueueRunSize option,
779138032Speter		which is the absolute maximum number of jobs that will ever
779238032Speter		be handled in a single queue run.  Based on code contributed
779338032Speter		by Brian Coan of the Institute for Global Communications.
779438032Speter	Log message when a message is dropped because it exceeds the maximum
779538032Speter		message size.  Suggested by Leo Bicknell of Virginia Tech.
779638032Speter	Allow trusted users (those on a T line or in $=t) to use -bs without
779738032Speter		an X-Authentication-Warning: added.  Suggested by Mark Thomas
779838032Speter		of Mark G. Thomas Consulting.
779938032Speter	Announce state of compile flags on -d0.1 (-d0.10 throws in the
780038032Speter		OS-dependent defines).  The old semantic of -d0.1 to not
780138032Speter		run the daemon in background has been moved to -d99.100,
780238032Speter		and the old 52.5 flag (to avoid disconnect() from closing
780338032Speter		all output files) has been moved to 52.100.  This makes
780438032Speter		things more consistent (flags below .100 don't change
780538032Speter		semantics) and separates out the backgrounding so that
780638032Speter		it doesn't happen automatically on other unrelated debugging
780738032Speter		flags.
780838032Speter	If -t is used but no addresses are found in the header, give an
780938032Speter		error message rather than just doing nothing.  Fix from
781038032Speter		Motonori Nakamura.
781138032Speter	On systems (like SunOS) where the effective gid is not necessarily
781238032Speter		included in the group list returned by getgroups(), the
781338032Speter		`restrictmailq' option could sometimes cause an authorized
781438032Speter		user to not be able to use `mailq'.  Fix from Charles Hannum
781538032Speter		of MIT.
781638032Speter	Allow symbolic service names for [IPC] mailers.  Suggested by
781738032Speter		Gerry Magennis of Logica International.
781838032Speter	Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
781938032Speter		when running DNS.  For example, if the name FTP.Foo.ORG is
782038032Speter		a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
782138032Speter		the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
782238032Speter		if this option is not set, or "FTP.Foo.ORG" if it is set.
782338032Speter		This is technically illegal under RFC 822 and 1123, but the
782438032Speter		IETF is moving toward legalizing it.  Note that turning on
782538032Speter		this option is not sufficient to guarantee that a downstream
782638032Speter		neighbor won't rewrite the address for you.
782738032Speter	Add "-m" flag to makesendmail script -- this tells you what object
782838032Speter		directory and Makefile it will use, but doesn't actually do
782938032Speter		the make.
783038032Speter	Do some additional checking on the contents of the qf file to try
783138032Speter		to detect attacks against the qf file.  In particular,
783238032Speter		abort on any line beginning "From ", and add an "end of
783338032Speter		file" line -- any data after that line is prohibited.
783438032Speter	Always use /etc/sendmail.cf, regardless of the arbitrary vendor
783538032Speter		choices.  This can be overridden in the Makefile by using
783638032Speter		either -DUSE_VENDOR_CF_PATH to get the vendor location
783738032Speter		(to the extent that we know it) or by defining
783838032Speter		_PATH_SENDMAILCF (which is a "hard override").  This allows
783938032Speter		sendmail 8 to have more consistent installation instructions.
784038032Speter	Allow macros on `K' line in config file.  Suggested by Andrew Chang
784138032Speter		of Sun Microsystems.
784238032Speter	Improved symbol table hash function from Eric Wassenaar.  This one
784338032Speter		is at least 50% faster.
784438032Speter	Fix problem that didn't notice that timeout on file open was a
784538032Speter		transient error.  Fix from Larry Parmelee of Cornell
784638032Speter		University.
784738032Speter	Allow comments (lines beginning with a `#') in files read for
784838032Speter		classes.  Suggested by Motonori Nakamura.
784938032Speter	Make SIGINT (usually ^C) in test mode return to the prompt instead
785038032Speter		of dropping out entirely.  This makes testing some of the
785138032Speter		name server lookups easier to deal with when there are
785238032Speter		hung servers.  From Motonori Nakamura.
785338032Speter	Add new ${opMode} macro that is set to the current operation mode
785438032Speter		(e.g., `s' for -bs, `t' for -bt, etc.).  Suggested by
785538032Speter		Claude Marinier <MARINIER@emp.ewd.dreo.dnd.ca>.
785638032Speter	Add new delivery mode (Odd) that defers all map lookups to queue runs.
785738032Speter		Kind of like queue-only mode (Odq) except it tries to avoid
785838032Speter		any external service requests; for dial-on-demand hosts that
785938032Speter		want to minimize DNS lookups when mail is being queued.  For
786038032Speter		this to work you will also have to make sure that gethostbyname
786138032Speter		of your local host name does not do a DNS lookup.
786238032Speter	Improved handling of "out of space" conditions from John Myers of
786338032Speter		Carnegie Mellon.
786438032Speter	Improved security for mailing to files on systems that have fchmod(2)
786538032Speter		support.
786638032Speter	Improve "cannot send message for N days" message -- now says "could
786738032Speter		not send for past N days".  Suggested by Tom Moore of AT&T
786838032Speter		Global Information Solutions.
786938032Speter	Less misleading Subject: line on messages sent to postmaster only.
787038032Speter		From Motonori Nakamura.
787138032Speter	Avoid duplicate error messages on bad command line flags.  From
787238032Speter		Motonori Nakamura.
787338032Speter	Better error message for case where ruleset 0 falls off the end
787438032Speter		or otherwise does not resolve to a canonical triple.
787538032Speter	Fix a problem that could cause multiple bounce messages if a bad
787638032Speter		address was sent along with a good address to an SMTP
787738032Speter		site where that SMTP site returned a 4yz code in response
787838032Speter		to the final dot of the data.  Problem reported by David
787938032Speter		James of British Telecom.
788038032Speter	Add "volatile" declarations so that gcc -O2 will work.  Patches
788138032Speter		from Alexander Dupuy of System Management ARTS.
788238032Speter	Delete duplicates in MX lists -- believe it or not, there are sites
788338032Speter		that list the same host twice in an MX list.  This deletion
788438032Speter		only works on adjacent preferences, so an MX list that
788538032Speter		had A=5, B=10, A=15 would leave both As, but one that had
788638032Speter		A=5, A=10, B=15 would reduce to A, B.  This is intentional,
788738032Speter		just in case there is something weird I haven't thought of.
788838032Speter		Suggested by Barry Shein of Software Tool & Die.
788938032Speter	SECURITY: .forward files cannot be symbolic links.  If they are,
789038032Speter		a bad guy can read your private files.
789138032Speter	PORTABILITY FIXES:
789238032Speter		Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
789338032Speter		System V Release 4 from Motonori Nakamura of Ritsumeikan
789438032Speter			University.  This expands the disk size
789538032Speter			checking to include all (?) SVR4 configurations.
789638032Speter		System V Release 4 from Kimmo Suominen -- initgroups(3)
789738032Speter			and setrlimit(2) are both available.
789838032Speter		System V Release 4 from sob@sculley.ffg.com -- some versions
789938032Speter			apparently "have EX_OK defined in other headerfiles."
790038032Speter		Linux Makefile typo.
790138032Speter		Linux getusershell(3) is broken in Slackware 2.0 --
790238032Speter			from Andrew Pam of Xanadu Australia.
790338032Speter		More Linux tweaking from John Kennedy of California State
790438032Speter			University, Chico.
790538032Speter		Cray changes from Eric Wassenaar:  ``On Cray, shorts,
790638032Speter			ints, and longs are all 64 bits, and all structs
790738032Speter			are multiples of 64 bits.  This means that the
790838032Speter			sizeof operator returns only multiples of 8.
790938032Speter			This requires adaptation of code that really
791038032Speter			deals with 32 bit or 16 bit fields, such as IP
791138032Speter			addresses or nameserver fields.''
791238032Speter		DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
791338032Speter			get the old behavior, use -DDGUX_5_4_2.
791438032Speter		DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
791538032Speter			variable to fix bogus /bin/mail behavior.
791638032Speter		Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
791738032Speter			This also cleans up some System V Release 4 compile
791838032Speter			problems.
791938032Speter		Solaris 2: sendmail.cw file should be in /etc/mail to
792038032Speter			match all the other configuration files.  Fix
792138032Speter			from Glenn Barry of Emory University.
792238032Speter		Solaris 2.3: compile problem in conf.c.  Fix from Alain
792338032Speter			Nissen of the University of Liege, Belgium.
792438032Speter		Ultrix: freespace calculation was incorrect.  Fix from
792538032Speter			Takashi Kizu of Osaka University.
792638032Speter		SVR4: running in background gets a SIGTTOU because the
792738032Speter			emulation code doesn't realize that "getpeername"
792838032Speter			doesn't require reading the file.  Fix from Peter
792938032Speter			Wemm of DIALix.
793038032Speter		Solaris 2.3: due to an apparent bug in the socket emulation
793138032Speter			library, sockets can get into a "wedged" state where
793238032Speter			they just return EPROTO; closing and re-opening the
793338032Speter			socket clears the problem.  Fix from Bob Manson
793438032Speter			of Ohio State University.
793538032Speter		Hitachi 3050R & 3050RX running HI-UX/WE2: portability
793638032Speter			fixes from Akihiro Hashimoto ("Hash") of Chiba
793738032Speter			University.
793838032Speter		AIX changes to allow setproctitle to work from Rainer Sch�pf
793938032Speter			of Zentrum f�r Datenverarbeitung der Universit�t
794038032Speter			Mainz.
794138032Speter		AIX changes for load average from Ed Ravin of NASA/Goddard.
794238032Speter		SCO Unix from Chip Rosenthal of Unicom (code was using the
794338032Speter			wrong statfs call).
794438032Speter		ANSI C fixes from Adam Glass (NetBSD project).
794538032Speter		Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
794638032Speter			University.
794738032Speter		DG-UX fixes from Bruce Nagel of Data General.
794838032Speter		IRIX64 updates from Mark Levinson of the University of
794938032Speter			Rochester Medical Center.
795038032Speter		Altos System V (``the first UNIX/XENIX merge the Altos
795138032Speter			did for their Series 1000 & Series 2000 line;
795238032Speter			their merged code was licensed back to AT&T and
795338032Speter			Microsoft and became System V release 3.2'') from
795438032Speter			Tim Rice <timr@crl.com>.
795538032Speter		OSF/1 running on Intel Paragon from Jeff A. Earickson
795638032Speter			<jeff@ssd.intel.com> of Intel Scalable Systems
795738032Speter			Division.
795838032Speter		Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
795938032Speter			<janet@dialix.oz.au>.
796038032Speter		System V Release 4 (statvfs semantic fix) from Alain
796138032Speter			Durand of I.M.A.G.
796238032Speter		HP-UX 10.x multiprocessor load average changes from
796338032Speter			Scott Hutton and Jeff Sumler of Indiana University.
796438032Speter		Cray CSOS from Scott Bolte of Cray Computer Corporation.
796538032Speter		Unicos 8.0 from Douglas K. Rand of the University of North
796638032Speter			Dakota, Scientific Computing Center.
796738032Speter		Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
796838032Speter		ConvexOS 11.0 from Christophe Wolfhugel.
796938032Speter		IRIX 4.0.5 from David Ashton-Reader of CADcentre.
797038032Speter		ISC UNIX from J. J. Bailey.
797138032Speter		HP-UX 9.xx on the 8xx series machines from Remy Giraud
797238032Speter			of Meteo France.
797338032Speter		HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
797438032Speter		IRIX 5.2 and 5.3 from Kari E. Hurtta.
797538032Speter		FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
797638032Speter		Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
797738032Speter		Omron LUNA unios-b, mach from Motonori Nakamura.
797838032Speter		NEC EWS-UX/V 4.2 from Motonori Nakamura.
797938032Speter		NeXT 2.1 from Bryan Costales.
798038032Speter		AUX patch thanks to Mike Erwin of Apple Computer.
798138032Speter		HP-UX 10.0 from John Beck of Hewlett-Packard.
798238032Speter		Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
798338032Speter			non-DEC resolver.  Suggested by Allan Johannesen.
798438032Speter		UnixWare 2.0 fixes from Petr Lampa of the Technical
798538032Speter			University of Brno (Czech Republic).
798638032Speter		KSR OS 1.2.2 support from Todd Miller of the University
798738032Speter			of Colorado.
798838032Speter		UX4800 support from Kazuhisa Shimizu of NEC.
798938032Speter	MAKEMAP: allow -d flag to allow insertion of duplicate aliases
799038032Speter		in type ``btree'' maps.  The semantics of this are undefined
799138032Speter		for regular maps, but it can be useful for the user database.
799238032Speter	MAKEMAP: lock database file while rebuilding to avoid sendmail
799338032Speter		lookups while the rebuild is going on.  There is a race
799438032Speter		condition between the open(... O_TRUNC ...) and the lock
799538032Speter		on the file, but it should be quite small.
799638032Speter	SMRSH: sendmail restricted shell added to the release.  This can
799738032Speter		be used as an alternative to /bin/sh for the "prog" mailer,
799838032Speter		giving the local administrator more control over what
799938032Speter		programs can be run from sendmail.
800038032Speter	MAIL.LOCAL: add this local mailer to the tape.  It is not really
800138032Speter		part of the release proper, and isn't fully supported; in
800238032Speter		particular, it does not run on System V based systems and
800338032Speter		never will.
800438032Speter	CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
800538032Speter		to allow rmail to compile on systems that don't have
800638032Speter		function prototypes and systems that don't have snprintf.
800738032Speter	CONTRIB: add the "mailprio" scripts that will help you sort mailing
800838032Speter		lists by transaction delay times so that addresses that
800938032Speter		respond quickly get sent first.  This is to prevent very
801038032Speter		sluggish servers from delaying other peoples' mail.
801138032Speter		Contributed by Tony Sanders of BSDI.
801238032Speter	CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
801338032Speter		of BSDI.  This has a lot of comments to help people out.
801438032Speter	CONFIG: Don't have .mc files include(../m4/cf.m4) -- instead,
801538032Speter		put this on the m4 command line.  On GNU m4 (which
801638032Speter		supports the __file__ primitive) you can run m4 in an
801738032Speter		arbitrary directory -- use either:
801838032Speter			m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
801938032Speter		or
802038032Speter			m4 -I${CFDIR} m4/cf.m4 config.mc > config.cf
802138032Speter		On other versions of m4 that don't support __file__, you
802238032Speter		can use:
802338032Speter			m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ...
802438032Speter		(Note the trailing slash on the _CF_DIR_ definition.)
802538032Speter		Old versions of m4 will default to _CF_DIR_=.. for back
802638032Speter		compatibility.
802738032Speter	CONFIG: fix mail from <> so it will properly convert to
802838032Speter		MAILER-DAEMON on local addresses.
802938032Speter	CONFIG: fix code that was supposed to catch colons in host
803038032Speter		names.  Problem noted by John Gardiner Myers of CMU.
803138032Speter	CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
803238032Speter		From Paul Riddle of the University of Maryland, Baltimore
803338032Speter		County.
803438032Speter	CONFIG: Catch and reject "." as a host address.
803538032Speter	CONFIG: Generalize domaintable to look up all domains, not
803638032Speter		just unqualified ones.
803738032Speter	CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
803838032Speter		was never used and didn't work anyway.
803938032Speter	CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
804038032Speter		and d on all mailers in the UUCP class.
804138032Speter	CONFIG: Allow "user+detail" to be aliased specially: it will first
804238032Speter		look for an alias for "user+detail", then for "user+*", and
804338032Speter		finally for "user".  This is intended for forwarding mail
804438032Speter		for system aliases such as root and postmaster to a
804538032Speter		centralized hub.
804638032Speter	CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
804738032Speter	CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
804838032Speter		The F=8 flag is also set on the "relay" mailer, since
804938032Speter		this is expected to be another sendmail.
805038032Speter	CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
805138032Speter		the name of the UUCP_RELAY -- in some cases, this is the
805238032Speter		wrong value (e.g., when we have local UUCP connections),
805338032Speter		and this can create unreplyable addresses.  From Chip
805438032Speter		Rosenthal of Unicom.
805538032Speter	CONFIG: add confRECEIVED_HEADER to change the format of the
805638032Speter		Received: header inserted into all messages.  Suggested by
805738032Speter		Gary Mills of the University of Manitoba.
805838032Speter	CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
805938032Speter		to get the old behavior.  I did this upon observing
806038032Speter		that almost everyone needed this feature, and that the
806138032Speter		concept I was trying to make happen didn't work with
806238032Speter		some user agents anyway.  FEATURE(notsticky) still works,
806338032Speter		but it is a no-op.
806438032Speter	CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
806538032Speter		names are sent, rather than immediately diagnosing them
806638032Speter		as User Unknown.
806738032Speter	CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
806838032Speter		and RELAY_MAILER_ARGS to set the arguments for the
806938032Speter		indicated mailers.  All default to "IPC $h".  Patch from
807038032Speter		Larry Parmelee of Cornell University.
807138032Speter	CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
807238032Speter		on the client side" and F=P to get an appropriate
807338032Speter		return-path.  From Kimmo Suominen.
807438032Speter	CONFIG: add FEATURE(local_procmail) to use the procmail program
807538032Speter		as the local mailer.  For addresses of the form "user+detail"
807643730Speter		the "detail" part is passed to procmail via the -a flag.
807738032Speter		Contributed by Kimmo Suominen.
807843730Speter	CONFIG: add MAILER(procmail) to add an interface to procmail for
807938032Speter		use from mailertables.  This lets you execute arbitrary
808038032Speter		procmail scripts.  Contributed by Kimmo Suominen.
808138032Speter	CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
808238032Speter	CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
808338032Speter		Paul Southworth of CICNet Systems Support.
808438032Speter	CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
808538032Speter		This causes the null return path to be rewritten as
808638032Speter		MAILER-DAEMON; otherwise UUCP gets horribly confused.
808738032Speter		From Michael Hohmuth of Technische Universitat Dresden.
808838032Speter	CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
808938032Speter		list us as the best possible MX record to be treated as
809038032Speter		though they were local (essentially, assume that they
809138032Speter		are included in $=w).  This can cause additional DNS
809238032Speter		traffic, but is easier to administer if this fits your
809338032Speter		local model.  It does not work reliably if there are
809438032Speter		multiple hosts that share the best MX preference.
809538032Speter		Code contributed by John Oleynick of Rutgers.
809638032Speter	CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
809738032Speter		SHell) instead of /bin/sh as the program used for delivery
809838032Speter		to programs.  If an argument is included, it is used as
809938032Speter		the path to smrsh; otherwise, /usr/local/etc/smrsh is
810038032Speter		assumed.
810138032Speter	CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
810238032Speter		size of messages to the local and procmail mailers
810338032Speter		respectively.  Contributed by Brad Knowles of the Defense
810438032Speter		Information Systems Agency.
810538032Speter	CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
810638032Speter		(just like text outside of angle brackets) in order to
810738032Speter		properly deal with ``group: addr1, ... addrN;'' syntax.
810838032Speter	CONFIG: Require OSTYPE macro (the defaults really don't apply to
810938032Speter		any real systems any more) and tweak the DOMAIN macro
811038032Speter		so that it is less likely that users will accidentally use
811138032Speter		the Berkeley defaults.  Also, create some generic files
811238032Speter		that really can be used in the real world.
811338032Speter	CONFIG: Add new configuration macros to set character sets for
811438032Speter		messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
811538032Speter		SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
811638032Speter	CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
811738032Speter		The old name will still be accepted for a while at least.
811838032Speter	CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
811938032Speter		mail (.DECNET pseudo-domain or node::user) will be sent.
812038032Speter		As with all relays, it can be ``mailer:hostname''.  Suggested
812138032Speter		by Scott Hutton.
812238032Speter	CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
812338032Speter		by Barb Dijker of Labyrinth Computer Services.
812438032Speter	CONFIG: change confCHECK_ALIASES to default to False -- it has poor
812538032Speter		performance for large alias files, and this confused many
812638032Speter		people.
812738032Speter	CONFIG: Add confCF_VERSION to append local information to the
812838032Speter		configuration version number displayed during SMTP startup.
812938032Speter	CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
813038032Speter		would only work when locally addressed.  Fix from
813138032Speter		Edvard Tuinder of Cistron Internet Services.
813238032Speter	CONFIG: use ${opMode} to avoid error on .REDIRECT addresses if option
813338032Speter		"n" (CheckAliases) is set when rebuilding alias database.
813438032Speter		Based on code contributed by Claude Marinier.
813538032Speter	CONFIG: Allow mailertable to have values of the form
813638032Speter		``error:code message''.  The ``code'' is a status code
813738032Speter		derived from the sysexits codes -- e.g., NOHOST or UNAVAILABLE.
813838032Speter		Contributed by David James <dwj@agw.bt.co.uk>.
813938032Speter	CONFIG: add MASQUERADE_DOMAIN(domain list) to extend the list of
814038032Speter		sender domains that will be replaced with the masquerade name.
814138032Speter		These domains will not be treated as local, but if mail passes
814238032Speter		through with sender addresses in those domains they will be
814338032Speter		replaced by the masquerade name.  These can also be specified
814438032Speter		in a file using MASQUERADE_DOMAIN_FILE(filename).
814538032Speter	CONFIG: add FEATURE(masquerade_envelope) to masquerade the envelope
814638032Speter		as well as the header.  Substantial improvements to this
814738032Speter		code were contributed by Per Hedeland.
814838032Speter	CONFIG: add MAILER(phquery) to define a new "ph" mailer; this can be
814938032Speter		accessed from a mailertable to do CCSO ph lookups.  Contributed
815038032Speter		by Kimmo Suominen.
815138032Speter	CONFIG: add MAILER(cyrus) to define a new Cyrus mailer; this can be
815238032Speter		used to define cyrus and cyrusbb mailers (for IMAP support).
815338032Speter		Contributed by John Gardiner Myers of Carnegie Mellon.
815438032Speter	CONFIG: add confUUCP_MAILER to select default mailer to use for
815538032Speter		UUCP addressing.  Suggested by Tom Moore of AT&T GIS.
815638032Speter	NEW FILES:
815738032Speter		cf/cf/cs-hpux10.mc
815838032Speter		cf/cf/cs-solaris2.mc
815938032Speter		cf/cf/cyrusproto.mc
816038032Speter		cf/cf/generic-bsd4.4.mc
816138032Speter		cf/cf/generic-hpux10.mc
816238032Speter		cf/cf/generic-hpux9.mc
816338032Speter		cf/cf/generic-osf1.mc
816438032Speter		cf/cf/generic-solaris2.mc
816538032Speter		cf/cf/generic-sunos4.1.mc
816638032Speter		cf/cf/generic-ultrix4.mc
816738032Speter		cf/cf/huginn.cs.mc
816838032Speter		cf/domain/berkeley-only.m4
816938032Speter		cf/domain/generic.m4
817038032Speter		cf/feature/bestmx_is_local.m4
817138032Speter		cf/feature/local_procmail.m4
817238032Speter		cf/feature/masquerade_envelope.m4
817338032Speter		cf/feature/smrsh.m4
817438032Speter		cf/feature/stickyhost.m4
817538032Speter		cf/feature/use_ct_file.m4
817638032Speter		cf/m4/cfhead.m4
817738032Speter		cf/mailer/cyrus.m4
817838032Speter		cf/mailer/mail11.m4
817938032Speter		cf/mailer/phquery.m4
818038032Speter		cf/mailer/procmail.m4
818138032Speter		cf/ostype/amdahl-uts.m4
818238032Speter		cf/ostype/bsdi2.0.m4
818338032Speter		cf/ostype/hpux10.m4
818438032Speter		cf/ostype/irix5.m4
818538032Speter		cf/ostype/isc4.1.m4
818638032Speter		cf/ostype/ptx2.m4
818738032Speter		cf/ostype/unknown.m4
818838032Speter		contrib/bsdi.mc
818938032Speter		contrib/mailprio
819038032Speter		contrib/rmail.oldsys.patch
819138032Speter		mail.local/mail.local.0
819238032Speter		makemap/makemap.0
819338032Speter		smrsh/README
819438032Speter		smrsh/smrsh.0
819538032Speter		smrsh/smrsh.8
819638032Speter		smrsh/smrsh.c
819738032Speter		src/Makefiles/Makefile.CSOS
819838032Speter		src/Makefiles/Makefile.EWS-UX_V
819938032Speter		src/Makefiles/Makefile.HP-UX.10
820038032Speter		src/Makefiles/Makefile.IRIX.5.x
820138032Speter		src/Makefiles/Makefile.IRIX64
820238032Speter		src/Makefiles/Makefile.ISC
820338032Speter		src/Makefiles/Makefile.KSR
820438032Speter		src/Makefiles/Makefile.NEWS-OS.4.x
820538032Speter		src/Makefiles/Makefile.NEWS-OS.6.x
820638032Speter		src/Makefiles/Makefile.NEXTSTEP
820738032Speter		src/Makefiles/Makefile.NonStop-UX
820838032Speter		src/Makefiles/Makefile.Paragon
820938032Speter		src/Makefiles/Makefile.SCO.3.2v4.2
821038032Speter		src/Makefiles/Makefile.SunOS.5.3
821138032Speter		src/Makefiles/Makefile.SunOS.5.4
821238032Speter		src/Makefiles/Makefile.SunOS.5.5
821338032Speter		src/Makefiles/Makefile.UNIX_SV.4.x.i386
821438032Speter		src/Makefiles/Makefile.uts.systemV
821538032Speter		src/Makefiles/Makefile.UX4800
821638032Speter		src/aliases.0
821738032Speter		src/mailq.0
821838032Speter		src/mime.c
821964562Sgshapiro		src/newaliases.0
822038032Speter		src/sendmail.0
822138032Speter		test/t_seteuid.c
822243730Speter	RENAMED FILES:
822338032Speter		cf/cf/alpha.mc =>		cf/cf/s2k-osf1.mc
822438032Speter		cf/cf/chez.mc =>		cf/cf/chez.cs.mc
822538032Speter		cf/cf/hpux-cs-exposed.mc =>	cf/cf/cs-hpux9.mc
822638032Speter		cf/cf/osf1-cs-exposed.mc =>	cf/cf/cs-osf1.mc
822738032Speter		cf/cf/s2k.mc =>			cf/cf/s2k-ultrix4.mc
822838032Speter		cf/cf/sunos4.1-cs-exposed.mc =>	cf/cf/cs-sunos4.1.mc
822938032Speter		cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
823038032Speter		cf/cf/vangogh.mc =>		cf/cf/vangogh.cs.mc
823138032Speter		cf/domain/Berkeley.m4 =>	cf/domain/Berkeley.EDU.m4
823238032Speter		cf/domain/cs-exposed.m4 =>	cf/domain/CS.Berkeley.EDU.m4
823338032Speter		cf/domain/eecs-hidden.m4 =>	cf/domain/EECS.Berkeley.EDU.m4
823438032Speter		cf/domain/s2k.m4 =>		cf/domain/S2K.Berkeley.EDU.m4
823538032Speter		cf/ostype/hpux.m4 =>		cf/ostype/hpux9.m4
823638032Speter		cf/ostype/irix.m4 =>		cf/ostype/irix4.m4
823738032Speter		cf/ostype/ultrix4.1.m4 =>	cf/ostype/ultrix4.m4
823838032Speter		src/Makefile.* =>		src/Makefiles/Makefile.*
823938032Speter		src/Makefile.AUX =>		src/Makefiles/Makefile.A-UX
824038032Speter		src/Makefile.BSDI =>		src/Makefiles/Makefile.BSD-OS
824138032Speter		src/Makefile.DGUX =>		src/Makefiles/Makefile.dgux
824238032Speter		src/Makefile.RISCos =>		src/Makefiles/Makefile.UMIPS
824338032Speter		src/Makefile.SunOS.4.0.3 =>	src/Makefiles/Makefile.SunOS.4.0
824438032Speter	OBSOLETED FILES:
824538032Speter		cf/cf/cogsci.mc
824638032Speter		cf/cf/cs-exposed.mc
824738032Speter		cf/cf/cs-hidden.mc
824838032Speter		cf/cf/hpux-cs-hidden.mc
824938032Speter		cf/cf/knecht.mc
825038032Speter		cf/cf/osf1-cs-hidden.mc
825138032Speter		cf/cf/sunos3.5-cs-exposed.mc
825238032Speter		cf/cf/sunos3.5-cs-hidden.mc
825338032Speter		cf/cf/sunos4.1-cs-hidden.mc
825438032Speter		cf/cf/ultrix4.1-cs-hidden.mc
825538032Speter		cf/domain/cs-hidden.m4
825638032Speter		contrib/rcpt-streaming
825738032Speter		src/Makefiles/Makefile.SunOS.5.x
825838032Speter
825938032Speter8.6.13/8.6.12	1996/01/25
826038032Speter	SECURITY: In some cases it was still possible for an attacker to
826138032Speter		insert newlines into a queue file, thus allowing access to
826238032Speter		any user (except root).
826338032Speter	CONFIG: no changes -- it is not a bug that the configuration
826438032Speter		version number is unchanged.
826538032Speter
826638032Speter8.6.12/8.6.12	1995/03/28
826738032Speter	Fix to IDENT code (it was getting the size of the reply buffer
826838032Speter		too small, so nothing was ever accepted).  Fix from several
826938032Speter		people, including Allan Johannesen, Shane Castle of the
827038032Speter		Boulder County Information Services, and Jeff Smith of
827138032Speter		Warwick University (all arrived within a few hours of
827238032Speter		each other!).
827338032Speter	Fix a problem that could cause large jobs to run out of
827438032Speter		file descriptors on systems that use vfork() rather
827538032Speter		than fork().
827638032Speter
827738032Speter8.6.11/8.6.11	1995/03/08
827838032Speter	The ``possible attack'' message would be logged more often
827938032Speter		than necessary if you are using Pine as a user agent.
828038032Speter	The wrong host would be reported in the ``possible attack''
828138032Speter		message when attempted from IDENT.
828238032Speter	In some cases the syslog buffer could be overflowed when
828338032Speter		reporting the ``possible attack'' message.  This can
828438032Speter		cause denial of service attacks.  Truncate the message
828538032Speter		to 80 characters to prevent this problem.
828638032Speter	When reading the IDENT response a loop is needed around the
828738032Speter		read from the network to ensure that you don't get
828838032Speter		partial lines.
828938032Speter	Password entries without any shell listed (that is, a null
829038032Speter		shell) wouldn't match as "ok".  Problem noted by
829138032Speter		Rob McMahon.
829238032Speter	When running BIND 4.9.x a problem could occur because the
829338032Speter		_res.options field is initialized differently than it
829438032Speter		was historically -- this requires that sendmail call
829538032Speter		res_init before it tweaks any bits.
829643730Speter	Fix an incompatibility in openxscript() between the file open mode
829738032Speter		and the stdio mode passed to fdopen.  This caused UnixWare
829838032Speter		2.0 to have conniptions.  Fix from Martin Sohnius of
829938032Speter		Novell Labs Europe.
830038032Speter	Fix problem with static linking of local getopt routine when
830138032Speter		using GNU's ld command.  Fix from John Kennedy of
830238032Speter		Cal State Chico.
830338032Speter	It was possible to turn off privacy flags.  Problem noted by
830438032Speter		*Hobbit*.
830538032Speter	Be more paranoid about writing files.  Suggestions by *Hobbit*
830638032Speter		and Liudvikas Bukys.
830738032Speter	MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
830838032Speter		from Spider Boardman.
830938032Speter	CONFIG: No changes (version number only, to keep it in sync
831038032Speter		with the binaries).
831138032Speter
831238032Speter8.6.10/8.6.10	1995/02/10
831338032Speter	SECURITY: Diagnose bogus values to some command line flags that
831438032Speter		could allow trash to get into headers and qf files.
831538032Speter	Validate the name of the user returned by the IDENT protocol.
831638032Speter		Some systems that really dislike IDENT send intentionally
831738032Speter		bogus information.  Problem pointed out by Michael Bushnell
831838032Speter		of the Free Software Foundation.  Has some security
831938032Speter		implications.
832038032Speter	Fix a problem causing error messages about DNS problems when
832138032Speter		the host name contained a percent sign to act oddly
832238032Speter		because it was passed as a printf-style format string.
832338032Speter		In some cases this could cause core dumps.
832438032Speter	Avoid possible buffer overrun in returntosender() if error
832538032Speter		message is quite long.  From Fletcher Mattox of the
832638032Speter		University of Texas.
832738032Speter	Fix a problem that would silently drop "too many hops" error
832838032Speter		messages if and only if you were sending to an alias.
832938032Speter		From Jon Giltner of the University of Colorado and
833038032Speter		Dan Harton of Oak Ridge National Laboratory.
833138032Speter	Fix a bug that caused core dumps on some systems if -d11.2 was
833238032Speter		set and e->e_message was null.  Fix from Bruce Nagel of
833338032Speter		Data General.
833438032Speter	Fix problem that can still cause df files to be left around
833538032Speter		after "hop count exceeded" messages.  Fix from Andrew
833638032Speter		Chang and Shau-Ping Lo of SunSoft.
833738032Speter	Fix a problem that can cause buffer overflows on very long
833838032Speter		user names (as might occur if you piped to a program
833938032Speter		with a lot of arguments).
834038032Speter	Avoid returning an error and re-queueing if the host signature
834138032Speter		is null; this can occur on addresses like ``user@.''.
834238032Speter		Problem noted by Wesley Craig and the University of
834338032Speter		Michigan.
834438032Speter	Avoid possible calls to malloc(0) if MCI caching is turned
834538032Speter		off.  Bug fix from Pierre David of the Laboratoire
834638032Speter		Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
834738032Speter		Universite de Versailles - St Quentin, and Jacky
834838032Speter		Thibault.
834938032Speter	Make a local copy of the line being sent via senttolist() -- in
835038032Speter		some cases, buffers could get trashed by map lookups
835138032Speter		causing it to do unexpected things.  This also simplifies
835238032Speter		some of the map code.
835338032Speter	CONFIG: No changes (version number only, to keep it in sync
835438032Speter		with the binaries).
835538032Speter
835638032Speter8.6.9/8.6.9	1994/04/19
835738032Speter	Do all mail delivery completely disconnected from any terminal.
835838032Speter		This provides consistency with daemon delivery and
835938032Speter		may have some security implications.
836038032Speter	Make sure that malloc doesn't get called with zero size,
836138032Speter		since that fails on some systems.  Reported by Ed
836238032Speter		Hill of the University of Iowa.
836338032Speter	Fix multi-line values for $e (SMTP greeting message).  Reported
836438032Speter		by Mike O'Connor of Ford Motor Company.
836538032Speter	Avoid syserr if no NIS domain name is defined, but the map it
836638032Speter		is trying to open is optional.  From Win Bent of USC.
836738032Speter	Changes for picky compilers from Ed Gould of Digital Equipment.
836838032Speter	Hesiod support for UDB from Todd Miller of the University of
836938032Speter		Colorado.  Use "hesiod" as the service name in the U
837038032Speter		option.
837138032Speter	Fix a problem that failed to set the "authentic" host name (that
837238032Speter		is, the one derived from the socket info) if you called
837338032Speter		sendmail -bs from inetd.  Based on code contributed by
837438032Speter		Todd Miller (this problem was also reported by Guy Helmer
837538032Speter		of Dakota State University).  This also fixes a related
837638032Speter		problem reported by Liudvikas Bukys of the University of
837738032Speter		Rochester.
837838032Speter	Parameterize "nroff -h" in all the Makefiles so people with
837938032Speter		variant versions can use them easily.  Suggested by
838038032Speter		Peter Collinson of Hillside Systems.
838138032Speter	SMTP "MAIL" commands with multiple ESMTP parameters required two
838238032Speter		spaces between parameters instead of one.  Reported by
838338032Speter		Valdis Kletnieks of Virginia Tech.
838438032Speter	Reduce the number of system calls during message collection by
838538032Speter		using global timeouts around the collect() loop.  This
838638032Speter		code was contributed by Eric Wassenaar.
838738032Speter	If the initial hostname name gathering results in a name
838838032Speter		without a dot (usually caused by NIS misconfiguration)
838938032Speter		and BIND is compiled in, directly access DNS to get
839038032Speter		the canonical name.  This should make life easier for
839138032Speter		Solaris systems.  If it still can't be resolved, and
839238032Speter		if the name server is listed as "required", try again
839338032Speter		in 30 seconds.  If that also fails, exit immediately to
839438032Speter		avoid bogus "config error: mail loops back to myself"
839538032Speter		messages.
839638032Speter	Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
839738032Speter		message to explain how much space was available and
839838032Speter		sound a bit less threatening.  Suggested by Stan Janet
839938032Speter		of the National Institute of Standards and Technology.
840038032Speter	If mail is delivered to an alias that has an owner, deliver any
840138032Speter		requested return-receipt immediately, and strip the
840238032Speter		Return-Receipt-To: header from the subsequent message.
840338032Speter		This prevents a certain class of denial of service
840438032Speter		attack, arguably gives more reasonable semantics, and
840538032Speter		moves things more towards what will probably become a
840638032Speter		network standard.  Suggested by Christopher Davis of
840738032Speter		Kapor Enterprises.
840838032Speter	Add a "noreceipts" privacy flag to turn off all return receipts
840938032Speter		without recompiling.
841038032Speter	Avoid printing ESMTP parameters as part of the error message
841138032Speter		if there are errors during parsing.  This change is
841238032Speter		purely cosmetic.
841338032Speter	Avoid sending out error messages during the collect phase of
841438032Speter		SMTP; there is an MVS mailer from UCLA that gets
841538032Speter		confused by this.  Of course, I think it's their bug....
841638032Speter	Check for the $j macro getting undefined, losing a dot, or getting
841738032Speter		lost from $=w in the daemon before accepting a connection;
841838032Speter		if it is, it dumps state, prints a LOG_ALERT message,
841938032Speter		and drops core for debugging.  This is an attempt to
842038032Speter		track down a bug that I thought was long since gone.
842138032Speter		If you see this, please forward the log fragment to
842264562Sgshapiro		sendmail@sendmail.ORG.
842338032Speter	Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
842438032Speter		with -DOLD_NEWDB=0 on the command line.  From Christophe
842538032Speter		Wolfhugel.
842638032Speter	Instead of trying to truncate the listen queue for the server
842738032Speter		SMTP port when the load average is too high, just close
842838032Speter		the port completely and reopen it later as needed.
842964562Sgshapiro		This ensures that the other end gets a quick "connection
843038032Speter		refused" response, and that the connection can be
843138032Speter		recovered later.  In particular, some socket emulations
843238032Speter		seem to get confused if you tweak the listen queue
843338032Speter		size around and can never start listening to connections
843438032Speter		again.  The down side is that someone could start up
843538032Speter		another daemon process in the interim, so you could
843638032Speter		have multiple daemons all not listening to connections;
843738032Speter		this could in turn cause the sendmail.pid file to be
843838032Speter		incorrect.  A better approach might be to accept the
843938032Speter		connection and give a 421 code, but that could break
844064562Sgshapiro		other mailers in mysterious ways and have paging behavior
844138032Speter		implications.
844238032Speter	Fix a glitch in TCP-level debugging that caused flag 16.101 to
844338032Speter		set debugging on the wrong socket.  From Eric Wassenaar.
844438032Speter	When creating a df* temporary file, be sure you truncate any
844538032Speter		existing data in the file -- otherwise system crashes
844638032Speter		and the like could result in extra data being sent.
844738032Speter	DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
844838032Speter		doc directory.  This includes some additional
844938032Speter		information.
845038032Speter	CONFIG: change UUCP rules to never add $U! or $k! on the front
845138032Speter		of recipient envelope addresses.  This should have been
845238032Speter		handled by the $&h trick, but broke if people were
845338032Speter		mixing domainized and UUCP addresses.  They should
845438032Speter		probably have converted all the way over to uucp-uudom
845538032Speter		instead of uucp-{new,old}, but the failure mode was to
845638032Speter		loop the mail, which was bad news.
845738032Speter	Portability fixes:
845838032Speter		Newer BSDI systems (several people).
845938032Speter		Older BSDI systems from Christophe Wolfhugel.
846038032Speter		Intergraph CLIX, from Paul Southworth of CICNet.
846138032Speter		UnixWare, from Evan Champion.
846238032Speter		NetBSD from Adam Glass.
846338032Speter		Solaris from Quentin Campbell of the University of
846438032Speter			Newcastle upon Tyne.
846538032Speter		IRIX from Dean Cookson and Bill Driscoll of Mitre
846638032Speter			Corporation.
846738032Speter		NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
846838032Speter		SunOS (it has setsid() and setvbuf() calls) from
846938032Speter			Jonathan Kamens of OpenVision Technologies.
847038032Speter		HP-UX from Tor Lillqvist.
847138032Speter	New Files:
847238032Speter		src/Makefile.CLIX
847338032Speter		src/Makefile.NCR3000
847438032Speter		doc/changes/Makefile
847564562Sgshapiro		doc/changes/changes.me
847638032Speter		doc/changes/changes.ps
847738032Speter
847838032Speter8.6.8/8.6.6	1994/03/21
847938032Speter	SECURITY: it was possible to read any file as root using the
848038032Speter		E (error message) option.  Reported by Richard Jones;
848138032Speter		fixed by Michael Corrigan and Christophe Wolfhugel.
848238032Speter
848338032Speter8.6.7/8.6.6	1994/03/14
848438032Speter	SECURITY: it was possible to get root access by using weird
848538032Speter		values to the -d flag.  Thanks to Alain Durand of
848638032Speter		INRIA for forwarding me the notice from the bugtraq
848738032Speter		list.
848838032Speter
848938032Speter8.6.6/8.6.6	1994/03/13
849038032Speter	SECURITY: the ability to give files away on System V-based
849138032Speter		systems proved dangerous -- don't run as the owner
849238032Speter		of a :include: file on a system that allows giveaways.
849338032Speter		Unfortunately, this also applies to determining a
849438032Speter		valid shell.
849538032Speter	IMPORTANT: Previous versions weren't expiring old connections
849638032Speter		in the connection cache for a long time under some
849738032Speter		circumstances.  This could result in resource exhaustion,
849838032Speter		both at your end and at the other end.  This checks the
849938032Speter		connections for timeouts much more frequently.  From
850038032Speter		Doug Anderson of NCSC.
850138032Speter	Fix a glitch that snuck in that caused programs to be run as
850238032Speter		the sender instead of the recipient if the mail was
850338032Speter		from a local user to another local user.  From
850438032Speter		Motonori Nakamura of Kyoto University.
850538032Speter	Fix "wildcard" on /etc/shells matching -- instead of looking
850638032Speter		for "*", look for "/SENDMAIL/ANY/SHELL/".  From
850738032Speter		Bryan Costales of ICSI.
850838032Speter	Change the method used to declare the "statfs" availability;
850938032Speter		instead of HASSTATFS and/or HASUSTAT with a ton of
851038032Speter		tweaking in conf.c, there is a single #define called
851138032Speter		SFS_TYPE which takes on one of six values (SFS_NONE
851238032Speter		for no statfs availability, SFS_USTAT for the ustat(2)
851338032Speter		syscall, SFS_4ARGS for a four argument statfs(2) call,
851438032Speter		and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
851538032Speter		statfs(2) call with the declarations in <sys/vfs.h>,
851638032Speter		<sys/mount.h>, or <sys/statfs.h> respectively).
851738032Speter	Fix glitch in NetInfo support that could return garbage if
851838032Speter		there was no "/locations/sendmail" property.  From
851964562Sgshapiro		David Meyer of the University of Virginia.
852038032Speter	Change HASFLOCK from defined/not-defined to a 0/1 definition
852138032Speter		to allow Linux to turn it off even though it is a
852238032Speter		BSD-like system.
852338032Speter	Allow setting of "ident" timeout to zero to turn off the ident
852438032Speter		protocol entirely.
852538032Speter	Make 7-bit stripping local to a connection (instead of to a
852638032Speter		mailer); this allows you to specify that SMTP is a
852738032Speter		7-bit channel, but revert to 8-bit should it advertise
852838032Speter		that it supports 8BITMIME.  You still have to specify
852938032Speter		mailer flag 7 to get this stripping at all.
853038032Speter	Improve makesendmail script so it handles more cases automatically.
853138032Speter	Tighten up restrictions on taking ownership of :include: files
853238032Speter		to avoid problems on systems that allow you to give away
853338032Speter		files.
853438032Speter	Fix a problem that made it impossible to rebuild the alias
853538032Speter		file if it was on a read-only file system.  From
853638032Speter		Harry Edmon of the University of Washington.
853738032Speter	Improve MX randomization function.  From John Gardiner Myers
853838032Speter		of CMU.
853938032Speter	Fix a minor glitch causing a bogus message to be printed (used
854038032Speter		%s instead of %d in a printf string for the line number)
854138032Speter		when a bad queue file was read.  From Harry Edmon.
854238032Speter	Allow $s to remain NULL on locally generated mail.  I'm not
854338032Speter		sure this is necessary, but a lot of people have complained
854438032Speter		about it, and there is a legitimate question as to whether
854538032Speter		"localhost" is legal as an 822-style domain.
854638032Speter	Fix a problem with very short line lengths (mailer L= flag) in
854738032Speter		headers.  This causes a leading space to be added onto
854838032Speter		continuation lines (including in the body!), and also
854938032Speter		tries to wrap headers containing addresses (From:, To:,
855038032Speter		etc) intelligently at the shorter line lengths.  Problem
855138032Speter		Reported by Lars-Johan Liman of SUNET Operations Center.
855238032Speter	Log the real user name when logging syserrs, since these can have
855338032Speter		security implications.  Suggested by several people.
855438032Speter	Fix address logging of cached connections -- it used to always
855538032Speter		log the numeric address as zero.  This is a somewhat
855638032Speter		bogus implementation in that it does an extra system
855738032Speter		call, but it should be an inexpensive one.  Fix from
855838032Speter		Motonori Nakamura.
855938032Speter	Tighten up handling of short syslog buffers even more -- there
856038032Speter		were cases where the outgoing relay= name was too long
856138032Speter		to share a line with delay= and mailer= logging.
856238032Speter	Limit the overhead on split envelopes to one open file descriptor
856338032Speter		per envelope -- previously the overhead was three
856438032Speter		descriptors.  This was in response to a problem reported
856538032Speter		by P{r (Pell) Emanuelsson.
856638032Speter	Fixes to better handle the case of unexpected connection closes;
856738032Speter		this redirects the output to the transcript so the info
856838032Speter		is not lost.  From Eric Wassenaar.
856938032Speter	Fix potential string overrun if you macro evaluate a string that
857038032Speter		has a naked $ at the end.  Problem noted by James Matheson
857138032Speter		<jmrm@eng.cam.ac.uk>.
857238032Speter	Make default error number on $#error messages 553 (``Requested
857338032Speter		action not taken: mailbox name not allowed'') instead of
857438032Speter		501 (``Syntax error in parameters or arguments'') to
857538032Speter		avoid bogus "protocol error" messages.
857638032Speter	Strip off any existing trailing dot on names during $[ ... $]
857738032Speter		lookup.  This prevents it from ending up with two dots
857838032Speter		on the end of dot terminated names.  From Wesley Craig
857938032Speter		of the University of Michigan and Bryan Costales of ICSI.
858038032Speter	Clean up file class reading so that the debugging information is
858138032Speter		more informative.  It hadn't been using setclass, so you
858238032Speter		didn't see the class items being added.
858338032Speter	Avoid core dump if you are running a version of sendmail where
858438032Speter		NIS is compiled in, and you specify an NIS map, but
858538032Speter		NIS is not running.  Fix from John Oleynick of
858638032Speter		Rutgers.
858738032Speter	Diagnose bizarre case where res_search returns a failure value,
858838032Speter		but sets h_errno to a success value.
858938032Speter	Make sure that "too many hops" messages are considered important
859038032Speter		enough to send an error to the Postmaster (that is, the
859138032Speter		address specified in the P option).  This fix should
859238032Speter		help problems that cause the df file to be left around
859338032Speter		sometimes -- unfortunately, I can't seem to reproduce
859438032Speter		the problem myself.
859538032Speter	Avoid core dump (null pointer reference) on EXPN command; this
859638032Speter		only occurred if your log level was set to 10 or higher
859738032Speter		and the target account was an alias or had a .forward file.
859838032Speter		Problem noted by Janne Himanka.
859938032Speter	Avoid "denial of service" attacks by someone who is flooding your
860038032Speter		SMTP port with bad commands by shutting the connection
860138032Speter		after 25 bad commands are issued.  From Kyle Jones of
860238032Speter		UUNET.
860343730Speter	Fix core dump on error messages with very long "to" buffers;
860438032Speter		fmtmsg overflows the message buffer.  Fixed by trimming
860538032Speter		the to address to 203 characters.  Problem reported by
860638032Speter		John Oleynick.
860738032Speter	Fix configuration for HASFLOCK -- there were some spots where
860838032Speter		a #ifndef was incorrectly #ifdef.  Pointed out by
860938032Speter		George Baltz of the University of Maryland.
861038032Speter	Fix a typo in savemail() that could cause the error message To:
861138032Speter		lists to be incorrect in some places.  From Motonori
861238032Speter		Nakamura.
861338032Speter	Fix a glitch that can cause duplicate error messages on split
861438032Speter		envelopes where an address on one of the lists has a
861538032Speter		name server failure.  Fix from Voradesh Yenbut of the
861638032Speter		University of Washington.
861738032Speter	Fix possible bogus pointer reference on ESMTP parameters that
861838032Speter		don't have an ``=value'' part.
861938032Speter	CNAME loops caused an error message to be generated, but also
862038032Speter		re-queued the message.  Changed to just re-queue the
862138032Speter		message (it's really hard to just bounce it because
862238032Speter		of the weird way the name server works in the presence
862338032Speter		of CNAME loops).  Problem noted by James M.R.Matheson
862438032Speter		of Cambridge University.
862538032Speter	Avoid giving ``warning: foo owned process doing -bs'' messages
862638032Speter		if they use ``MAIL FROM:<foo>'' where foo is their true
862738032Speter		user name.  Suggested by Andreas Stolcke of ICSI.
862838032Speter	Change the NAMED_BIND compile flag to be a 0/1 flag so you can
862938032Speter		override it easily in the Makefile -- that is, you can
863038032Speter		turn it off using -DNAMED_BIND=0.
863138032Speter	If a gethostbyname(...) of an address with a trailing dot fails,
863238032Speter		try it without the trailing dot.  This is because if
863338032Speter		you have a version of gethostbyname() that falls back
863438032Speter		to NIS or the /etc/hosts file it will fail to find
863538032Speter		perfectly reasonable names that just don't happen to
863638032Speter		be dot terminated in the hosts file.  You don't want to
863738032Speter		strip the dot first though because we're trying to ensure
863838032Speter		that country names that match one of your subdomains get
863938032Speter		a chance.
864038032Speter	PRALIASES: fix bogus output on non-null-terminated strings.
864164562Sgshapiro		From Bill Gianopoulos of Raytheon.
864238032Speter	CONFIG: Avoid rewriting anything that matches $w to be $j.
864338032Speter		This was in code intended to only catch the self-literal
864438032Speter		address (that is, [1.2.3.4], where 1.2.3.4 is your
864538032Speter		IP address), but the code was broken.  However, it will
864664562Sgshapiro		still do this if $M is defined; this is necessary to
864738032Speter		get client configurations to work (sigh).  Note that this
864838032Speter		means that $M overrides :mailname entries in the user
864938032Speter		database!  Problem noted by Paul Southworth.
865038032Speter	CONFIG: Fix definition of Solaris help file location.  From
865138032Speter		Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
865264562Sgshapiro	CONFIG: Fix bug that broke news.group.USENET mappings.
865338032Speter	CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
865438032Speter		and USENET_MAILER_MAX to tweak the maximum message
865538032Speter		size for various mailers.
865638032Speter	CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
865738032Speter		instead of assuming that it is "inews" for consistency
865838032Speter		with other mailers.  From Michael Corrigan of UC San Diego.
865938032Speter	CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
866038032Speter		qualify the address in the SMTP envelope as user@{relay|hub}
866138032Speter		instead of user@$j.  From Bill Wisner of The Well.
866238032Speter	CONFIG: Fix route-addr syntax in nullrelay configuration set.
866338032Speter	CONFIG: Don't turn off case mapping of user names in the local
866438032Speter		mailer for IRIX.  This was different than most every other
866538032Speter		system.
866638032Speter	CONFIG: Avoid infinite loops on certainly list:; syntaxes in
866738032Speter		envelope.  Noted by Thierry Besancon
866838032Speter		<besancon@excalibur.ens.fr>.
866938032Speter	CONFIG: Don't include -z by default on uux line -- most systems
867038032Speter		don't want it set by default.  Pointed out by Philippe
867138032Speter		Michel of Thomson CSF.
867238032Speter	CONFIG: Fix some bugs with mailertables -- for example, if your
867338032Speter		host name was foo.bar.ray.com and you matched against
867438032Speter		".ray.com", the old implementation bound %1 to "bar"
867538032Speter		instead of "foo.bar".  Also, allow "." in the mailertable
867638032Speter		to match anything -- essentially, take over SMART_HOST.
867738032Speter		This also moves matching of explicit local host names
867838032Speter		before the mailertable so they don't have to be special
867938032Speter		cased in the mailertable data.  Reported by Bill
868038032Speter		Gianopoulos of Raytheon; the fix for the %1 binding
868138032Speter		problem was contributed by Nicholas Comanos of the
868238032Speter		University of Sydney.
868338032Speter	CONFIG: Don't include "root" in class $=L (users to deliver
868438032Speter		locally, even if a hub or relay exists) by default.
868538032Speter		This is because of the known bug where definition of
868638032Speter		both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
868738032Speter		both and deliver into the local mailbox.
868838032Speter	CONFIG: Move up bitdomain and uudomain handling so that they
868938032Speter		are done before .UUCP class matching; uudomain was
869038032Speter		reported as ineffective before.  This also frees up
869138032Speter		diversion 8 for future use.  Problem reported by Kimmo
869238032Speter		Suominen.
869338032Speter	CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
869438032Speter		into host names.  As pointed out by Jonathan Kamens,
869538032Speter		these are often used because either the forward or reverse
869638032Speter		mapping is broken; this translation makes it broken again.
869738032Speter	DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
869838032Speter		Suominen.
869938032Speter	Portability fixes:
870038032Speter		Unicos from David L. Kensiski of Sterling Software.
870138032Speter		DomainOS from Don Lewis of Silicon Systems.
870238032Speter		GNU m4 1.0.3 from Karst Koymans of Utrecht University.
870338032Speter		Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
870438032Speter		NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
870538032Speter		BSD/386 from Tony Sanders of BSDI.
870638032Speter		Apollo from Eric Wassenaar.
870738032Speter		DGUX from Doug Anderson.
870838032Speter		Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
870938032Speter	NEW FILES:
871038032Speter		src/Makefile.DomainOS
871138032Speter		src/Makefile.PTX
871238032Speter		src/Makefile.SunOS.5.1
871338032Speter		src/Makefile.SunOS.5.2
871438032Speter		src/Makefile.SunOS.5.x
871538032Speter		src/mailq.1
871638032Speter		cf/ostype/domainos.m4
871738032Speter		doc/op/Makefile
871838032Speter		doc/intro/Makefile
871938032Speter		doc/usenix/Makefile
872038032Speter
872138032Speter8.6.5/8.6.5	1994/01/13
872238032Speter	Security fix:  /.forward could be owned by anyone (the test
872338032Speter		to allow root to own any file was backwards).  From
872438032Speter		Bob Campbell at U.C. Berkeley.
872538032Speter	Security fix: group ids were not completely set when programs
872638032Speter		were invoked.  This caused programs to have group
872738032Speter		permissions they should not have had (usually group
872838032Speter		daemon instead of their own group).  In particular,
872938032Speter		Perl scripts would refuse to run.
873038032Speter	Security: check to make sure files that are written are not
873138032Speter		symbolic links (at least under some circumstances).
873238032Speter		Although this does not respond to a specific known
873338032Speter		attack, it's just a good idea.  Suggested by
873438032Speter		Christian Wettergren.
873538032Speter	Security fix: if a user had an NFS mounted home directory on
873638032Speter		a system with a restricted shell listed in their
873738032Speter		/etc/passwd entry, they could still execute any
873838032Speter		program by putting that in their .forward file.
873938032Speter		This fix prevents that by insisting that their shell
874038032Speter		appear in /etc/shells before allowing a .forward to
874138032Speter		execute a program or write a file.  You can disable
874238032Speter		this by putting "*" in /etc/shells.  It also won't
874338032Speter		permit world-writable :include: files to reference
874438032Speter		programs or files (there's no way to disable this).
874538032Speter		These behaviors are only one level deep -- for
874638032Speter		example, it is legal for a world-writable :include:
874738032Speter		file to reference an alias that writes a file, on
874838032Speter		the assumption that the alias file is well controlled.
874938032Speter	Security fix: root was not treated suspiciously enough when
875038032Speter		looking into subdirectories.  This would potentially
875138032Speter		allow a cracker to examine files that were publicly
875238032Speter		readable but in a non-publicly searchable directory.
875338032Speter	Fix a problem that causes an error on QUIT on a cached
875438032Speter		connection to create problems on the current job.
875538032Speter		These are typically unrelated, so errors occur in
875638032Speter		the wrong place.
875738032Speter	Reset CurrentLA in sendall() -- this makes sendmail queue
875838032Speter		runs more responsive to load average, and fixes a
875938032Speter		problem that ignored the load average in locally
876038032Speter		generated mail.  From Eric Wassenaar.
876138032Speter	Fix possible core dump on aliases with null LHS.  From
876238032Speter		John Orthoefer of BB&N.
876338032Speter	Revert to using flock() whenever possible -- there are just
876438032Speter		too many bugs in fcntl() locking, particularly over
876538032Speter		NFS, that cause sendmail to fail in perverse ways.
876638032Speter	Fix a bug that causes the connection cache to get confused
876738032Speter		when sending error messages.  This resulted in
876838032Speter		"unexpected close" messages.  It should fix itself
876938032Speter		on the following queue run.  Problem noted by
877038032Speter		Liudvikas Bukys of the University of Rochester.
877138032Speter	Include $k in $=k as documented in the Install & Op Guide.
877238032Speter		This seems odd, but it was documented....  From
877338032Speter		Michael Corrigan of UCSD.
877438032Speter	Fix problem that caused :include:s from alias files to be
877538032Speter		forced to be owned by root instead of daemon
877638032Speter		(actually DefUid).  From Tim Irvin.
877738032Speter	Diagnose unrecognized I option values -- from Mortin Forssen
877838032Speter		of the Chalmers University of Technology.
877938032Speter	Make "error" mailer work consistently when there is no error
878038032Speter		code associated with it -- previously it returned OK
878138032Speter		even though there was a real problem.  Now it assumes
878238032Speter		EX_UNAVAILABLE.
878338032Speter	Fix bug that caused the last header line of messages that had
878438032Speter		no body and which were terminated with EOF instead of
878538032Speter		"." to be discarded.  Problem noted by Liudvikas Bukys.
878638032Speter	Fix core dump on SMTP mail to programs that failed -- it tried
878738032Speter		to go to a "next MX host" when none existed, causing
878838032Speter		a core dump.  From der Mouse at McGill University.
878938032Speter	Change IDENTPROTO from a defined/not defined to a 0/1 switch;
879038032Speter		this makes it easier to turn it off (using
879138032Speter		-DIDENTPROTO=0 in the Makefile).  From der Mouse.
879238032Speter	Fix YP_MASTER_NAME store to use the unupdated result of
879338032Speter		gethostname() (instead of myhostname(), which tries
879438032Speter		to fully qualify the name) to be consistent with
879538032Speter		SunOS.  If your hostname is unqualified, this fixes
879638032Speter		transfers to slave servers.  Bug noted by Keith
879738032Speter		McMillan of Ameritech Services, Inc.
879838032Speter	Fix Ultrix problem: gethostbyname() can return a very large
879938032Speter		(> 500) h_length field, which causes the sockaddr
880038032Speter		to be trashed.  Use the size of the sockaddr instead.
880138032Speter		Fix from Bob Manson of Ohio State.
880238032Speter	Don't assume "-a." on host lookups if NAMED_BIND is not
880338032Speter		defined -- this confuses gethostbyname on hosts
880438032Speter		file lookups, which doesn't understand the trailing
880538032Speter		dot convention.
880638032Speter	Log SMTP server subprocesses that die with a signal instead
880738032Speter		of from a clean exit.
880838032Speter	If you don't have option "I" set, don't assume that a DNS
880938032Speter		"host unknown" message is authoritative -- it
881038032Speter		might still be found in /etc/hosts.
881138032Speter	Fix a problem that would cause Deferred: messages to be sent
881238032Speter		as the subject of an error message, even though the
881338032Speter		actual cause of a message was more severe than that.
881438032Speter		Problem noted by Chris Seabrook of OSSI.
881538032Speter	Fix race condition in DBM alias file locking.  From Kyle
881638032Speter		Jones of UUNET.
881738032Speter	Limit delivery syslog line length to avoid bugs in some
881838032Speter		versions of syslog(3).  This adds a new compile time
881938032Speter		variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
882038032Speter		University, which is in turn derived from IDA.
882138032Speter	Fix quotes inside of comments in addresses -- previously
882238032Speter		it insisted that they be balanced, but the 822 spec
882338032Speter		says that they should be ignored.
882438032Speter	Dump open file state to syslog upon receiving SIGUSR1 (for
882538032Speter		debugging).  This also evaluates ruleset 89, if set
882638032Speter		(with the null input), and logs the result.  This
882738032Speter		should be used sparingly, since the rewrite process
882838032Speter		is not reentrant.
882938032Speter	Change -qI, -qR, and -qS flags to be case-insensitive as
883038032Speter		documented in the Bat Book.
883138032Speter	If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
883238032Speter		return an error message and did not requeue the message.
883338032Speter		Fix based on code from Roland Dirlewanger of
883438032Speter		Reseau Regional Aquarel, Bordeaux, France.
883538032Speter	Fix a problem that caused a seg fault if you got a 421 error
883638032Speter		code during some parts of connection initialization.
883738032Speter		I've only seen this when talking to buggy mailers on
883838032Speter		the other end, but it shouldn't give a seg fault in
883938032Speter		any case.  From Amir Plivatsky.
884038032Speter	Fix core dump caused by a ruleset call that returns null.
884138032Speter		Fix from Bryan Costales of ICSI.
884238032Speter	Full-Name: field was being ignored.  Fix from Motonori Nakamura
884338032Speter		of Kyoto University.
884438032Speter	Fix a possible problem with very long input lines in setproctitle.
884538032Speter		From P{r Emanuelsson.
884638032Speter	Avoid putting "This is a warning message" out on return receipts.
884738032Speter		Suggested by Douglas Anderson.
884838032Speter	Detect loops caused by recursive ruleset calls.  Suggested by
884938032Speter		Bryan Costales.
885038032Speter	Initialize non-alias maps during alias rebuilds -- they may be
885138032Speter		needed for parsing.  Problem noted by Douglas Anderson.
885238032Speter	Log sender address even if no message was collected in SMTP
885338032Speter		(e.g., if all RCPTs failed).  Suggested by Motonori
885438032Speter		Nakamura.
885538032Speter	Don't reflect the owner-list contents into the envelope sender
885638032Speter		address if the value contains ", :, /, or | (to avoid
885738032Speter		illegal addresses appearing there).
885838032Speter	Efficiency hack for toktype macro -- from Craig Partridge of
885938032Speter		BB&N.
886038032Speter	Clean up DNS error printing so that a host name is always
886138032Speter		included.
886238032Speter	Remember to set $i during queue runs.  Reported by Stephen
886338032Speter		Campbell of Dartmouth University.
886438032Speter	If the environment variable HOSTALIASES is set, use it during
886538032Speter		canonification as the name of a file with per-user host
886638032Speter		translations so that headers are properly mapped.  Reported
886738032Speter		by Anne Bennett of Concordia University.
886838032Speter	Avoid printing misleading error message if SMTP mailer (not
886938032Speter		using [IPC]) should die on a core dump.
887038032Speter	Avoid incorrect diagnosis of "file 1 closed" when it is caused
887138032Speter		by the other end closing the connection.  From
887238032Speter		Dave Morrison of Oracle.
887338032Speter	Improve several of the error messages printed by "mailq"
887438032Speter		to include a host name or other useful information.
887538032Speter	Add NetInfo preliminary support for NeXT systems.  From Vince
887638032Speter		DeMarco.
887738032Speter	Fix a glitch that sometimes caused :include:s that pointed to
887838032Speter		NFS filesystems that were down to give an "aliasing/
887938032Speter		forwarding loop broken" message instead of queueing
888038032Speter		the message for retry.  Noted by William C Fenner of
888138032Speter		the NRL Connection Machine Facility.
888238032Speter	Fix a problem that could cause a core dump if the input sequence
888338032Speter		had (or somehow acquired) a \231 character.
888464562Sgshapiro	Make sure that route-addrs always have <angle brackets> around
888538032Speter		them in non-SMTP envelopes (SMTP envelopes already do
888638032Speter		this properly).
888738032Speter	Avoid weird headers on unbalanced punctuation of the form:
888838032Speter		``Joe User <user)'' -- this caused reference to the
888938032Speter		null macro.  Fix from Rick McCarty of IO.COM.
889038032Speter	Fix a problem that caused an alias "user: user@local.host" to
889138032Speter		not have the QNOTREMOTE bit set; this caused configs
889238032Speter		to act as if FEATURE(notsticky) was defined even when
889338032Speter		it was not.  The effect of the problem was to make it
889438032Speter		very hard to to set up satellite sites that had a few
889538032Speter		local accounts, with everything else forwarded to a
889638032Speter		corporate hub.  Reported by Detlef Drewanz of the
889738032Speter		University of Rostock and Mark Frost of NCD.
889838032Speter	Change queuing to not call rulesets 3, {1 or 2}, 4 on header
889938032Speter		addresses.  This is more efficient (fewer name server
890038032Speter		calls) and fixes certain unusual configurations, such
890138032Speter		as those that have ruleset 4 do something that is
890238032Speter		non-idempotent unless a mailer-specific ruleset did
890338032Speter		something else.  Problem reported by Brian J. Coan
890438032Speter		of the Institute for Global Communications.
890538032Speter	Fix the "obsolete argument" routine in main to better understand
890638032Speter		new arguments.  For example, if you used ``sendmail
890738032Speter		-C config -v -q'' it would choke on the -q because
890843730Speter		the -C would stop looking for old-format arguments.
890938032Speter	Fix the code that was intended to allow two users to forward their
891038032Speter		mail to the same program and have them appear unique.
891138032Speter	Portability fixes for:
891238032Speter		SCO UNIX from Murray Kucherawy.
891338032Speter		SCO Open Server 3.2v4 from Philippe Brand.
891438032Speter		System V Release 4 from Rick Ellis and others.
891538032Speter		OSF/1 from Steve Campbell.
891638032Speter		DG/UX from Ben Mesander of the USGS and Bryan Curnutt
891738032Speter			of Stoner Associates.
891838032Speter		Motorola SysV88 from Kevin Johnson of Motorola.
891938032Speter		Solaris 2.3 from Casper H.S. Dik of the University
892038032Speter			of Amsterdam and John Caruso of University
892138032Speter			of Maryland.
892238032Speter		FreeBSD from Ollivier Robert.
892338032Speter		NetBSD from Adam Glass.
892438032Speter		TitanOS from Kate Hedstrom of Rutgers University.
892538032Speter		Irix from Bryan Curnutt.
892638032Speter		Dynix from Jim Davis of the University of Arizona.
892738032Speter		RISC/os.
892838032Speter		Linux from John Kennedy of California State University
892938032Speter			at Chico.
893038032Speter		Solaris 2.x from Tony Boner of the U.S. Air Force.
893138032Speter		NEXTSTEP 3.x from Vince DeMarco.
893238032Speter		HP-UX from various people.  NOTA BENE:  the location
893338032Speter			of the config file has moved to /usr/lib
893438032Speter			to match the HP-UX version of sendmail.
893538032Speter	CONFIG: Don't do any recipient rewriting on relay mailer;
893638032Speter		since this is intended only for internal use, the
893738032Speter		usual RFC 821/822/1123 rules can be relaxed.  The
893838032Speter		main point of this is to avoid munging (ugh) UUCP
893938032Speter		addresses when relaying internally.
894038032Speter	CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
894138032Speter		syntax addresses delivered via UUCP.  Solution
894238032Speter		provided by Peter Wemm.
894338032Speter	CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
894438032Speter		zero; it caused double @ signs in addresses.  From
894538032Speter		Irving Reid of the University of Toronto.
894638032Speter	CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
894738032Speter		from Markku Toijala of ICL Personal Systems Oy.
894838032Speter	CONFIG: Add trailing "." on pseudo-domains for consistency;
894938032Speter		this fixes a problem (noted by Al Whaley of Sunnyside)
895038032Speter		that made it hard to recognize your own pseudodomain
895138032Speter		names.
895238032Speter	CONFIG: catch "@host" syntax errors (i.e., null local-parts)
895338032Speter		rather than letting them get "local configuration
895438032Speter		error"s.  Problem noted by John Gardiner Myers.
895538032Speter	CONFIG: add uucp-uudom mailer variant, based on code posted
895638032Speter		by Spider Boardman <spider@Orb.Nashua.NH.US>; this
895738032Speter		has uucp-dom semantics but old UUCP syntax.  This
895838032Speter		also permits "uucp-old" as an alias for "uucp" and
895938032Speter		"uucp-new" as a synonym for "suucp" for consistency.
896038032Speter	CONFIG: add POP mailer support (from Kimmo Suominen
896138032Speter		<kim@grendel.lut.fi>).
896238032Speter	CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
896338032Speter	CONFIG: fix bug caused with domain literal addresses (e.g.,
896438032Speter		``[128.32.131.12]'') when FEATURE(allmasquerade)
896538032Speter		was set; it would get an additional @masquerade.host
896638032Speter		added to the address.  Problem noted by Peter Wan
896738032Speter		of Georgia Tech.
896838032Speter	CONFIG: make sure that the local UUCP name is in $=w.  From
896938032Speter		Jim Murray of Stratus.
897038032Speter	CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
897138032Speter		mailer flag.  Briefly, if you are sending to host
897238032Speter		"foo", then it rewrites "foo!...!baz" to "...!baz",
897338032Speter		"foo!baz" remains "foo!baz", and anything else has
897438032Speter		the local name prepended.
897538032Speter	CONFIG: portability fixes for HP-UX.
897638032Speter	DOC: several minor problems fixed in the Install & Op Guide.
897738032Speter	MAKEMAP: fix core dump problem on lines that are too long or
897838032Speter		which lack newline.  From Mark Delany.
897938032Speter	MAILSTATS: print sums of columns (total messages & kbytes
898038032Speter		in and out of the system).  From Tom Ferrin of UC
898138032Speter		San Francisco Computer Graphics Lab.
898238032Speter	SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
898338032Speter		On HP-UX, /etc/sendmail.cf has been moved to
898438032Speter			/usr/lib/sendmail.cf to match HP sendmail.
898538032Speter		Permissions have been tightened up on world-writable
898638032Speter			:include: files and accounts that have shells
898738032Speter			that are not listed in /etc/shells.  This may
898838032Speter			cause some .forward files that have worked
898938032Speter			before to start failing.
899038032Speter		SIGUSR1 dumps some state to the log.
899138032Speter	NEW FILES:
899238032Speter		src/Makefile.DGUX
899338032Speter		src/Makefile.Dynix
899438032Speter		src/Makefile.FreeBSD
899538032Speter		src/Makefile.Mach386
899638032Speter		src/Makefile.NetBSD
899738032Speter		src/Makefile.RISCos
899838032Speter		src/Makefile.SCO
899938032Speter		src/Makefile.SVR4
900038032Speter		src/Makefile.Titan
900138032Speter		cf/mailer/pop.m4
900238032Speter		cf/ostype/bsdi1.0.m4
900338032Speter		cf/ostype/dgux.m4
900438032Speter		cf/ostype/dynix3.2.m4
900538032Speter		cf/ostype/sco3.2.m4
900638032Speter		makemap/Makefile.dist
900738032Speter		praliases/Makefile.dist
900838032Speter
900938032Speter8.6.4/8.6.4	1993/10/31
901038032Speter	Repair core-dump problem (write to read-only memory segment)
901138032Speter		if you fall back to the return-to-Postmaster case in
901238032Speter		savemail.  Problem reported by Richard Liu.
901338032Speter	Immediately diagnose bogus sender addresses in SMTP.  This
901438032Speter		makes quite certain that crackers can't use this
901538032Speter		class of attack.
901638032Speter	Reliability Fix:  check return value from fclose() and fsync()
901738032Speter		in a few critical places.
901838032Speter	Minor problem in initsys() that reversed a condition for
901938032Speter		redirecting the output channel on queue runs.  It's
902038032Speter		not clear this code even does anything.  From Eric
902138032Speter		Wassenaar of the Dutch National Institute for Nuclear
902238032Speter		and High-Energy Physics.
902338032Speter	Fix some problems that caused queue runs to do "too much work",
902438032Speter		such as double-reading the Errors-To: header.  From
902538032Speter		Eric Wassenaar.
902638032Speter	Error messages on writing the temporary file (including the
902738032Speter		data file) were getting suppressed in SMTP -- this
902838032Speter		fix causes them to be properly reported.  From Eric
902938032Speter		Wassenaar.
903038032Speter	Some changes to support AF_UNIX sockets -- this will only
903138032Speter		really become relevant in the next release, but some
903238032Speter		people need it for local patches.  From Michael
903338032Speter		Corrigan of UC San Diego.
903438032Speter	Use dynamically allocated memory (instead of static buffers)
903538032Speter		for macros defined in initsys() and settime(); since
903638032Speter		these can have different values depending on which
903738032Speter		envelope they are in.  From Eric Wassenaar.
903838032Speter	Improve logging to show ctladdr on to= logging; this tells you
903938032Speter		what uid/gid processes ran as.
904038032Speter	Fix a problem that caused error messages to be discarded if
904138032Speter		the sender address was unparseable for some reason;
904238032Speter		this was supposed to fall back to the "return to
904338032Speter		postmaster" case.
904438032Speter	Improve aliaswait backoff algorithm.
904538032Speter	Portability patches for Linux (8.6.3 required another header
904638032Speter		file) (from Karl London) and SCO UNIX.
904738032Speter	CONFIG: patch prog mailer to not strip host name off of envelope
904838032Speter		addresses (so that it matches local again).  From
904938032Speter		Christopher Davis.
905038032Speter	CONFIG: change uucp-dom mailer so that "<>" translates to $n;
905138032Speter		this prevents uux from seeing lines with null names like
905238032Speter		``From   Sat Oct 30 14:55:31 1993''.  From Motonori
905338032Speter		Nakamura of Kyoto University.
905438032Speter	CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
905538032Speter		it shouldn't fail miserably.  From Motonori Nakamura.
905638032Speter
905738032Speter8.6.2/8.6.2	1993/10/15
905838032Speter	Put a "successful delivery" message in the transcript for
905938032Speter		addresses that get return-receipts.
906038032Speter	Put a prominent "this is only a warning" message in warning
906138032Speter		messages -- some people don't read carefully enough
906238032Speter		and end up sending the message several times.
906338032Speter	Include reason for temporary failure in the "warning" return
906438032Speter		message.  Currently, it just says "cannot send for
906538032Speter		four hours".
906638032Speter	Fix the "Original message received" time generated for
906738032Speter		returntosender messages.  It was previously listed as
906838032Speter		the current time.  Bug reported by Eric Hagberg of
906938032Speter		Cornell University Medical College.
907038032Speter	If there is an error when writing the body of a message,
907138032Speter		don't send the trailing dot and wait for a response
907238032Speter		in sender SMTP, as this could cause the connection to
907338032Speter		hang up under some bizarre circumstances.  From Eric
907438032Speter		Wassenaar.
907538032Speter	Fix some server SMTP synchronization problems caused when
907638032Speter		connections fail during message collection.  From
907738032Speter		Eric Wassenaar.
907838032Speter	Fix a problem that can cause srvrsmtp to reject mail if the
907938032Speter		name server is down -- it accepts the RCPT but rejects
908038032Speter		the DATA command.  Problem reported by Jim Murray of
908138032Speter		Stratus.
908238032Speter	Fix a problem that can cause core dumps if the config file
908338032Speter		incorrectly resolves to a null hostname.  Reported by
908438032Speter		Allan Johannesen of WPI.
908538032Speter	Non-root use of -C flag, dangerous -f flags, and use of -oQ
908638032Speter		by non-root users were not put into
908738032Speter		X-Authentication-Warning:s as intended because the
908838032Speter		config file hadn't set the PrivacyOptions yet.  Fix
908938032Speter		from Sven-Ove Westberg of the University of Lulea.
909038032Speter	Under very odd circumstances, the alias file rebuild code
909138032Speter		could get confused as to whether a database was
909238032Speter		open or not.
909338032Speter	Check "vendor code" on the end of V lines -- this is
909438032Speter		intended to provide a hook for vendor-specific
909538032Speter		configuration syntax.  (This is a "new feature",
909638032Speter		but I've made an exception to my rule in a belief
909738032Speter		that this is a highly exceptional case.)
909838032Speter	Portability fixes for DG/UX (from Douglas Anderson of NCSC),
909938032Speter		SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
910038032Speter		(from Jon Forrest of UC Berkeley)
910138032Speter	CONFIG: fix ``mailer:host'' form of UUCP relay naming.
910238032Speter
910338032Speter8.6.1/8.6	1993/10/08
910438032Speter	Portability fixes for A/UX and Encore UMAX V.
910538032Speter	Fix error message handling -- if you had a name server down
910638032Speter		causing an error during parsing, that message was never
910738032Speter		propagated to the queue file.
910838032Speter
910938032Speter8.6/8.6		1993/10/05
911038032Speter	Configuration cleanup: make it easier to undo IDENTPROTO in
911138032Speter		conf.h (other systems have the same bug).
911238032Speter	If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
911338032Speter		getdtablesize() instead of sysconf(); a disturbingly
911438032Speter		large number of systems defined _SC_OPEN_MAX in the
911538032Speter		header files but don't have the syscall.
911638032Speter	Another patch to really truly ignore MX records in getcanonname
911738032Speter		if trymx == FALSE.
911838032Speter	Fix problem that caused the "250 IAA25499 Message accepted for
911938032Speter		delivery" message to be omitted if there was an error
912038032Speter		in the header of the message (e.g., a bad Errors-To:
912138032Speter		line).  Pointed out by Michael Corrigan of UCSD.
912238032Speter	Announce name of host we are chatting when we get errors; this
912338032Speter		is an IDA-ism suggested by Christophe Wolfhugel.
912438032Speter	Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
912538032Speter		Australian Artificial Intelligence Institute), SCO Unix
912638032Speter		(from Murray Kucherawy of Hookup Communication Corp.),
912738032Speter		NeXT (from Vince DeMarco and myself), Linux (from
912838032Speter		Karl London <karl@borg.demon.co.uk>), BSDI (from
912938032Speter		Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
913038032Speter		Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
913138032Speter	Some changes to get around gcc optimizer bugs.  From Takahiro
913238032Speter		Kanbe.
913338032Speter	Fix error recovery in queueup if another tf file of the same
913438032Speter		name already exists.  Problem stumbled over by Bill
913538032Speter		Wisner of The Well.
913638032Speter	Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
913738032Speter		Problem noted by Keith McMillan of Ameritech Services.
913838032Speter	Deal with group permissions properly when opening .forward and
913938032Speter		:include: files.  This relaxes the 8.1C restrictions
914038032Speter		slightly more.  This includes proper setting of groups
914138032Speter		when reading :include: files, allowing you to read some
914238032Speter		files that you should be able to read but have previously
914338032Speter		been denied unless you owned them or they had "other"
914438032Speter		read permission.
914538032Speter	Make certain that $j is in $=w (after the .cf is read) so that
914638032Speter		if the user is forced to override some silly system,
914738032Speter		MX suppression will still work.
914838032Speter	Fix a couple of efficiency problems where newstr was double-
914938032Speter		calling expensive routines.  In at least one case, it
915038032Speter		wasn't guaranteed that they would always return the
915138032Speter		same result.  Problem noted by Christophe Wolfhugel.
915238032Speter	Fix null pointer dereference in putoutmsg -- only on an error
915338032Speter		condition from a non-SMTP mailer.  From Motonori
915438032Speter		Nakamura.
915538032Speter	Macro expand "C" line class definitions before scanning so that
915638032Speter		"CX $Z" works.
915738032Speter	Fix problem that caused error message to be sent while still
915838032Speter		trying to send the original message if the connection
915938032Speter		is closed during a DATA command after getting an error
916038032Speter		on an RCPT command (pretty obscure).  Problem reported
916138032Speter		by John Myers of CMU.
916238032Speter	Fix reply to NOOP to be 250 instead of 200 -- this is a long
916338032Speter		term bug.
916438032Speter	Fix a nasty bug causing core dumps when returning the "warning:
916538032Speter		cannot deliver for N hours -- will keep trying" message;
916638032Speter		it only occurred if you had PostmasterCopy set and
916738032Speter		only on some architectures.  Although sendmail would
916838032Speter		keep trying, it would send error messages on each
916938032Speter		queue interval.  This is an important fix.
917038032Speter	Allow u and g options to take user and group names respectively.
917138032Speter	Don't do a chdir into the queue directory in -bt mode to make
917264562Sgshapiro		ruleset testing a bit easier.
917338032Speter	Don't allow users to turn off logging (using -oL) on the command
917438032Speter		line -- command line can only raise, not lower, logging
917538032Speter		level.
917638032Speter	Set $u to the original recipient on the SMTP transaction or on
917738032Speter		the command line.  This is only done if there is exactly
917838032Speter		one recipient.  Technically, this does not meet the
917938032Speter		specs, because it does not guarantee a domain on the
918038032Speter		address.
918138032Speter	Fix a problem that dumped error messages on bad addresses if
918238032Speter		you used the -t flag.  Problem noted by Josh Smith of
918338032Speter		Harvey Mudd College.
918438032Speter	Given an address such as ``<foo> <bar>'', auto-quote the first
918538032Speter		``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
918638032Speter		avoid the problem of people who use angle brackets in
918738032Speter		their full name information.
918838032Speter	Fix a null pointer dereference if you set option "l", have
918938032Speter		an Errors-To: header in the message, and have Errors-To:
919038032Speter		defined in the config file H lines.  From J.R. Oldroyd.
919138032Speter	Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
919238032Speter		wrong when compiling.  Suggested by Rick McCarty of TI.
919338032Speter	Fix a problem that could pass negative SIZE parameter if the
919438032Speter		df file got lost; this would cause servers to always
919538032Speter		give a temporary failure, making the problem even worse.
919638032Speter		Problem noted by Allan Johannesen of WPI.
919738032Speter	Add "ident" timeout (one of the "r" option selectors) for IDENT
919838032Speter		protocol timeouts (30s default).  Requested by Murray
919938032Speter		Kucherawy of HookUp Communication Corp. to handle bogus
920038032Speter		PC TCP/IP implementations.
920138032Speter	Change $w default definition to be just the first component of
920238032Speter		the domain name on config level 5.  The $j macro defaults
920338032Speter		to the FQDN; $m remains as before.  This lets well-behaved
920438032Speter		config files use any of the short, long, or subdomain
920538032Speter		names.
920638032Speter	Add makesendmail script in src to try to automate multi-architecture
920738032Speter		builds.  I know, this is sub-optimal, but it is still
920838032Speter		helpful.
920938032Speter	Fix very obscure race condition that can cause a queue run to
921038032Speter		get a queue file for an already completed job.  This
921138032Speter		problem has existed for years.  Problem noted by the
921238032Speter		long suffering Allan Johannesen of WPI.
921338032Speter	Fix a problem that caused the raw sender name to be passed to
921438032Speter		udbsender instead of the canonified name -- this caused
921538032Speter		it to sometimes miss records that it should have found.
921638032Speter	Relax check of name on HELO packet so that a program using -bs
921738032Speter		that claims to be itself works properly.
921838032Speter	Restore rewriting of $: part of address through 2, R, 4 in
921938032Speter		buildaddr -- this requires passing a lot of flags to get
922064562Sgshapiro		it right.  Unlike old versions, this ONLY rewrites
922138032Speter		recipient addresses, not sender addresses.
922238032Speter	Fix a bug that caused core dumps in config files that cannot
922338032Speter		resolve /file/name style addresses.  Fix from Jonathan
922438032Speter		Kamens of OpenVision Technologies.
922538032Speter	Fix problem with fcntl locking that can cause error returns to
922638032Speter		be lost if the lock is lost; this required fully
922738032Speter		queueing everything, dropping the envelope (so errors
922838032Speter		would get returned), and then re-reading the queue from
922938032Speter		scratch.
923038032Speter	Fix a problem that caused aliases that redefine an otherwise
923138032Speter		true address to still send to the original address
923238032Speter		if and only if the alias failed in certain bizarre
923338032Speter		ways (e.g, if they pointed at a list:; syntax address).
923438032Speter		Problem pointed out by Jonathan Kamens.
923538032Speter	Remove support for frozen configuration files.  They caused
923638032Speter		more trouble than it was worth.
923738032Speter	Fix problem that can cause error messages to get ignored when
923838032Speter		using both -odb and -t flags.  Problem noted by Rob
923938032Speter		McNicholas at U.C. Berkeley.
924038032Speter	Include all "normal" variations on hostname in $=w.  For example,
924138032Speter		if the host name is vangogh.cs.berkeley.edu, $=w will
924238032Speter		contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
924338032Speter	Add "restrictqrun" privacy flag -- without this, anyone can run
924438032Speter		the queue.
924538032Speter	Reset SmtpPhase global on initial connection creation so that
924638032Speter		messages don't come out with stale information.
924738032Speter	Pass an "ext" argument to lockfile so that error/log messages
924838032Speter		will properly reflect the true filename being locked.
924938032Speter	Put all [...] address forms into $=w -- this eliminates the need
925038032Speter		for MAXIPADDR in conf.h.  Suggested by John Gardiner
925143730Speter		Myers of CMU.
925238032Speter	Fix a bug that can cause qf files to be left around even after
925338032Speter		an SMTP RSET command.  Problem and fix from Michael
925438032Speter		Corrigan.
925538032Speter	Don't send a PostmasterCopy to errors when the Precedence: is
925638032Speter		negative.  Error reports still go to the envelope
925738032Speter		sender address.
925838032Speter	Add LA_SHORT for load averages.
925938032Speter	Lock sendmail.st file when posting statistics.
926038032Speter	Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
926138032Speter		set the size of the TCP send and receive buffers; if you
926238032Speter		run over a slow slip line you may need to set these down
926338032Speter		(although it would be better to fix the SLIP implementation
926438032Speter		so that it's not necessary to recompile every program
926538032Speter		that does bulk data transfer).
926664562Sgshapiro	Allow null defaults on $( ... $) lookups.  Problem reported by
926738032Speter		Amir Plivatsky.
926838032Speter	Diagnose crufty S and V config lines.  This resulted from an
926938032Speter		observation that some people were using the SITE macro
927038032Speter		without the SITECONFIG macro first, which was causing
927138032Speter		bogus config files that were not caught.
927264562Sgshapiro	Fix makemap -f flag to turn off case folding (it was turning it
927338032Speter		on instead).  THIS IS A USER VISIBLE CHANGE!!!
927438032Speter	Fix a problem that caused multiple error messages to be sent if
927538032Speter		you used "sendmail -t -oem -odb", your system uses fcntl
927638032Speter		locking, and one of the recipient addresses is unknown.
927738032Speter	Reset uid earlier in include() so that recursive .forwards or
927838032Speter		:include:s don't use the wrong uid.
927938032Speter	If file descriptor 0, 1, or 2 was closed when sendmail was
928038032Speter		called, the code to recover the descriptor was broken.
928138032Speter		This sometimes (only sometimes) caused problems with the
928238032Speter		alias file.  Fix from Motonori Nakamura.
928338032Speter	Fix a problem that caused aliaswait to go into infinite recursion
928438032Speter		if the @:@ metasymbol wasn't found in the alias file.
928538032Speter	Improve error message on newaliases if database files cannot be
928638032Speter		opened or if running with no database format defined.
928738032Speter	Do a better estimation of the size of error messages when NoReturn
928838032Speter		is set.  Problem noted by P{r (Pell) Emanuelsson.
928938032Speter	Fix a problem causing the "c" option (don't connect to expensive
929038032Speter		mailers) to be ignored in SMTP.  Problem noted and the
929138032Speter		solution suggested by Robert Elz of The University of
929238032Speter		Melbourne.
929338032Speter	Improve connection caching algorithm by passing "[host]" to
929438032Speter		hostsignature, which strips the square brackets and
929538032Speter		returns the real name.  This allows mailertable entries
929638032Speter		to match regular entries.
929738032Speter	Re-enable Return-Receipt-To: -- people seem to want this stupid
929838032Speter		feature, even if it doesn't work right.
929938032Speter	Catch and log attempts to try the "wiz" command in server SMTP.
930038032Speter		This also ups the log level from LOG_NOTICE to LOG_CRIT.
930138032Speter	Be more generous at assigning $z to the home directory -- do this
930238032Speter		for programs that are specified through a .forward file.
930338032Speter		Fix from Andrew Chang of Sun Microsystems.
930438032Speter	Always save a fatal error message in preference to a non-fatal
930538032Speter		error message so that the "subject" line of return
930638032Speter		messages is the best possible.
930738032Speter	CONFIG: reduce the number of quotes needed to quote configuration
930838032Speter		parameters with commas: two quotes should work now, e.g.,
930938032Speter		define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
931038032Speter	CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
931138032Speter		connections (domain-ized UUCP).
931238032Speter	CONFIG: fix bug in default maps (-o must be before database file
931338032Speter		name).  Pointed out by Christophe Wolfhugel.
931438032Speter	CONFIG: add FEATURE(nodns) to state that we are not relying on
931538032Speter		DNS.  This would presumably be used in UUCP islands.
931638032Speter	CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
931738032Speter	CONFIG: log $u in Received: line.  This is in technical violation
931838032Speter		of the standards, since it doesn't guarantee a domain
931938032Speter		on the address.
932038032Speter	CONFIG: don't assume "m" in local mailer flags -- this means that
932138032Speter		if you redefine LOCAL_MAILER_FLAGS you will have to include
932238032Speter		the "m" flag should you want it.  Apparently some Solaris 2.2
932338032Speter		installations can't handle multiple local recipients.
932438032Speter		Problem noted by Josh Smith.
932538032Speter	CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
932638032Speter	CONFIG: change default version level from 4 to 5.
932738032Speter	CONFIG: add FEATURE(nullclient) to create a config file that
932838032Speter		forwards all mail to a hub without ever looking at the
932943730Speter		addresses in any detail.
933038032Speter	CONFIG: properly strip mailer: information off of relays when
933138032Speter		used to change .BITNET form into %-hack form.
933238032Speter	CONFIG: fix a problem that caused infinite loops if presented
933338032Speter		with an address such as "!foo".
933438032Speter	CONFIG: check for self literal (e.g., [128.32.131.12]) even if
933538032Speter		the reverse "PTR" mapping is broken.  There's a better
933638032Speter		way to do this, but the change is fairly major and I
933738032Speter		want to hold it for another release.  Problem noted by
933838032Speter		Bret Marquis.
933938032Speter
934038032Speter8.5/8.5		1993/07/23
934138032Speter	Serious bug: if you used a command line recipient that was unknown
934238032Speter		sendmail would not send a return message (it was treating
934338032Speter		everything as though it had an SMTP-style client that
934438032Speter		would do the return itself).  Problem noted by Josh Smith.
934538032Speter	Change "trymx" option in getcanonname() to ignore all MX data,
934638032Speter		even during a T_ANY query.  This actually didn't break
934738032Speter		anything, because the only time you called getcanonname
934838032Speter		with !trymx was if you already knew there were no MX
934938032Speter		records, but it is somewhat cleaner.  From Motonori
935038032Speter		Nakamura.
935138032Speter	Don't call getcanonname from getmxrr if you already know there
935238032Speter		are no DNS records matching the name.
935338032Speter	Fix a problem causing error messages to always include "The
935438032Speter		original message was received ... from localhost".
935538032Speter		The correct original host information is now included.
935638032Speter	Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
935738032Speter		version of "test" doesn't have the -x flag).  Change it
935838032Speter		to use -f instead.  From John Myers.
935938032Speter	CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
936038032Speter		esmtp -- it should be smtp.
936138032Speter	CONFIG: send all relayed mail using confRELAY_MAILER (defaults
936238032Speter		to "relay" (a variant of "smtp") if MAILER(smtp) is used,
936338032Speter		else "suucp" if MAILER(uucp) is used, else "unknown");
936438032Speter		this cleans up the configs somewhat.  This fixes a serious
936538032Speter		problem that caused route-addrs to get mistaken as relays,
936638032Speter		pointed out by John Myers.  WARNING: this also causes
936738032Speter		the default on SMART_HOST to change from "suucp" to
936838032Speter		"relay" if you have MAILER(smtp) specified.
936938032Speter
937038032Speter8.4/8.4		1993/07/22
937138032Speter	Add option `w'.  If you receive a message that comes to you because
937238032Speter		you are the best (lowest preference) target of an MX, and
937338032Speter		you haven't explicitly recognized the source MX host in
937438032Speter		your .cf file, this option will cause you to try the target
937538032Speter		host directly (as if there were no MX for it at all).  If
937638032Speter		`w' is not set, this case is a configuration error.
937738032Speter		Beware: if `w' is set, senders may get bogus errors like
937838032Speter		"message timed out" or "host unknown" for problems that
937938032Speter		are really configuration errors.  This option is
938038032Speter		disrecommended, provided only for compatibility with
938138032Speter		UIUC sendmail.
938238032Speter	Fix a problem that caused the incoming socket to be left open
938338032Speter		when sendmail forks after the DATA command.  This caused
938438032Speter		calling systems to wait in FIN_WAIT_2 state until the
938538032Speter		entire list was processed and the child closed -- a
938638032Speter		potentially prodigious amount of time.  Problem noted
938738032Speter		by Neil Rickert.
938838032Speter	Fix problem (created in 6.64) that caused mail sent to multiple
938938032Speter		addresses, one of which was a bad address, to completely
939038032Speter		suppress the sending of the message.  This changes
939138032Speter		handling of EF_FATALERRS somewhat, and adds an
939238032Speter		EF_GLOBALERRS flag.  This also fixes a potential problem
939338032Speter		with duplicate error messages if there is a syntax error
939438032Speter		in the header of a message that isn't noticed until late
939538032Speter		in processing.  Original problem pointed out by Josh Smith
939638032Speter		of Harvey Mudd College.  This release includes quite a bit
939738032Speter		of dickering with error handling (see below).
939838032Speter	Back out SMTP transaction if MAIL gets nested 501 error.  This
939938032Speter		will only hurt already-broken software and should help
940038032Speter		humans.
940138032Speter	Fix a problem that broke aliases when neither NDBM nor NEWDB were
940238032Speter		compiled in.  It would never read the alias file.
940338032Speter	Repair unbalanced `)' and `>' (the "open" versions are already
940438032Speter		repaired).
940538032Speter	Logging of "done" in dropenvelope() was incorrect: it would
940638032Speter		log this even when the queue file still existed.  Change
940738032Speter		this to only log "done" (at log level 11) when the
940838032Speter		queue file is actually removed.  From John Myers.
940938032Speter	Log "lost connection" in server SMTP at log level 20 if there
941038032Speter		is no pending transaction.  Some senders just close the
941138032Speter		connection rather than sending QUIT.
941238032Speter	Fix a bug causing getmxrr to add a dot to the end of unqualified
941338032Speter		domains that do not have MX records -- this would cause
941438032Speter		the subsequent host name lookup to fail.  The problem
941538032Speter		only occurred if you had FEATURE(nocanonify) set.
941638032Speter		Problem noted by Rick McCarty of Texas Instruments.
941738032Speter	Fix invocation of setvbuf when passed a -X flag -- I had
941843730Speter		unwittingly used an ANSI C extension, and this caused
941938032Speter		core dumps on some machines.
942038032Speter	Diagnose self-destructive alias loops on RCPT as well as EXPN.
942138032Speter		Previously it just gave an empty send queue, which
942238032Speter		then gave either "Need RCPT (recipient)" at the DATA
942338032Speter		(confusing, since you had given an RCPT command which
942438032Speter		returned 250) or just dropped the email, depending on
942538032Speter		whether you were running VERBose mode.  Now it usually
942638032Speter		diagnoses this case as "aliasing/forwarding loop broken".
942738032Speter		Unfortunately, it still doesn't adequately diagnose
942838032Speter		some true error conditions.
942938032Speter	Add internal concept of "warning messages" using 6xx codes.
943038032Speter		These are not reported only to Postmaster.  Unbalanced
943138032Speter		parens, brackets, and quotes are printed as 653 codes.
943238032Speter		They are always mapped to 5xx codes before use in SMTP.
943338032Speter	Clean up error messages to tell both the actual address that
943438032Speter		failed and the alias they arose from.  This makes it
943538032Speter		somewhat easier to diagnose problems.  Difficulty noted
943638032Speter		by Motonori Nakamura.
943738032Speter	Fix a problem that inappropriately added a ctladdr to addresses
943838032Speter		that shouldn't have had one during a queue run.  This
943938032Speter		caused error messages to be handled differently during
944038032Speter		a queue run than a direct run.
944138032Speter	Don't print the qf name and line number if you get errors during
944238032Speter		the direct run of the queue from srvrsmtp -- this was
944338032Speter		just extra stuff for users to crawl through.
944438032Speter	Put command line flags on second line of pid file so you can
944538032Speter		auto-restart the daemon with all appropriate arguments.
944638032Speter		Use "kill `head -1 /etc/sendmail.pid`" to stop the
944738032Speter		daemon, and "eval `tail -1 /etc/sendmail.pid`" to
944838032Speter		restart it.
944938032Speter	Remove the ``setuid(getuid())'' in main -- this caused the
945038032Speter		IDENT daemon to screw up.  This required that I change
945138032Speter		HASSETEUID to HASSETREUID and complicate the mode
945238032Speter		changing somewhat because both Ultrix and SunOS seem
945338032Speter		to have a bug causing seteuid() to set the saved uid
945438032Speter		as well as the effective.  The program test/t_setreuid.c
945538032Speter		will test to see if your implementation of setreuid(2)
945638032Speter		is appropriately functional.
945738032Speter	The FallBackMX (option V) handling failed to properly identify
945838032Speter		fallback to yourself -- most of the code was there,
945938032Speter		but it wasn't being enabled.  Problem noted by Murray
946038032Speter		Kucherawy of the University of Waterloo.
946138032Speter	Change :include: open timeout from ETIMEDOUT to an internal
946238032Speter		code EOPENTIMEOUT; this avoids adding "during SmtpPhase
946338032Speter		with CurHostName" in error messages, which can be
946438032Speter		confusing.  Reported by Jonathan Kamens of OpenVision
946538032Speter		Technologies.
946638032Speter	Back out setpgrp (setpgid on POSIX systems) call to reset the
946738032Speter		process group id.  The original fix was to get around
946838032Speter		some problems with recalcitrant MUAs, but it breaks
946938032Speter		any call from a shell that creates a process group id
947038032Speter		different from the process id.  I could try to fix
947138032Speter		this by diddling the tty owner (using tcsetpgrp or
947238032Speter		equivalent) but this is too likely to break other
947338032Speter		things.
947438032Speter	Portability changes:
947538032Speter		Support -M as equivalent to -oM on Ultrix -- apparently
947664562Sgshapiro			DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
947738032Speter			instead of using standard flags.  Oh joy.  This
947838032Speter			behavior reported by Jon Giltner of University
947938032Speter			of Colorado.
948038032Speter		SGI IRIX  -- this includes several changes that should
948138032Speter			help other strict ANSI compilers.
948238032Speter		SCO Unix -- from Murray Kucherawy of HookUp Communication
948338032Speter			Corporation.
948438032Speter		Solaris running the Sun C compiler (which despite the
948538032Speter			documentation apparently doesn't define
948638032Speter			__STDC__ by default).
948738032Speter		ConvexOS from Eric Schnoebelen of Convex.
948838032Speter		Sony NEWS workstations and Omron LUNA workstations from
948938032Speter			Motonori Nakamura.
949038032Speter	CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
949138032Speter	CONFIG: delete `C' and `e' from default SMTP mailers flags;
949238032Speter		several people have made a good argument that this
949338032Speter		creates more problems than it solves (although this
949438032Speter		may prove painful in the short run).
949538032Speter	CONFIG: generalize all the relays to accept a "mailer:host"
949638032Speter		format.
949738032Speter	CONFIG: move local processing in ruleset 0 into a new ruleset
949838032Speter		98 (8 on old sendmail).  Domain literal [a.b.c.d]
949938032Speter		addresses are also passed through this ruleset.
950038032Speter	CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
950138032Speter		internet-style addresses would "fall off the end" of
950238032Speter		ruleset zero and be interpreted as local -- however,
950364562Sgshapiro		the angle brackets confused the recursive call.
950438032Speter		These are now diagnosed as "Unrecognized host name".
950538032Speter	CONFIG: USENET rules weren't included in S0 because of a mistaken
950638032Speter		ifdef(`_MAILER_USENET_') instead of
950738032Speter		ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
950838032Speter		of SINTEF RUNIT, Oslo.
950938032Speter	CONFIG: move up LOCAL_RULE_0 processing so that it happens very
951038032Speter		early in ruleset 0; this allows .mc authors to bypass
951138032Speter		things like the "short circuit" code for local addresses.
951238032Speter		Prompted by a comment by Bill Wisner of The Well.
951338032Speter	CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
951438032Speter		esmtp) to send SMTP mail.  This allows you to default
951538032Speter		to esmtp but use a mailertable or other override to
951638032Speter		deal with broken servers.  This logic was pointed out
951738032Speter		to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
951838032Speter	Changes to cf/sh/makeinfo.sh to make it portable to SVR4
951938032Speter		environments.  Ugly as sin.
952038032Speter
952138032Speter8.3/8.3		1993/07/13
952238032Speter	Fix setuid problems introduced in 8.2 that caused messages
952338032Speter		like "Cannot create qfXXXXXX: Invalid argument"
952438032Speter		or "Cannot reopen dfXXXXXX: Permission denied".  This
952538032Speter		involved a new compile flag "HASSETEUID" that takes
952638032Speter		the place of the old _POSIX_SAVED_IDS -- it turns out
952738032Speter		that the POSIX interface is broken enough to break
952838032Speter		some systems badly.  This includes some fixes for
952938032Speter		HP-UX.  Also fixes problems where the real uid is
953038032Speter		not reset properly on startup (from Neil Rickert).
953138032Speter	Fix a problem that caused timed out messages to not report the
953238032Speter		addresses that timed out.  Error messages are also more
953364562Sgshapiro		"user friendly".
953438032Speter	Drop required bandwidth on connections from 64 bytes/sec to
953538032Speter		16 bytes/sec.
953638032Speter	Further Solaris portability changes -- doesn't require the BSD
953738032Speter		compatibility library.  This also adds a new
953838032Speter		"HASGETDTABLESIZE" compile flag which can be used if
953938032Speter		you want to use getdtablesize(2) instead of sysconf(2).
954038032Speter		These are loosely based on changes from David Meyer at
954138032Speter		University of Oregon.  This now seems to work, at least
954238032Speter		for quick test cases.
954338032Speter	Fix a problem that can cause duplicate error messages to be
954438032Speter		sent if you are in SMTP, you send to multiple addresses,
954538032Speter		and at least one of those addresses is good and points
954638032Speter		to an account that has a .forward file (whew!).
954738032Speter	Fix a problem causing messages to be discarded if checkcompat()
954838032Speter		returned EX_TEMPFAIL (because it didn't properly mark
954938032Speter		the "to" address).  Problem noted by John Myers.
955038032Speter	Fix dfopen to return NULL if the open failed; I was depending
955138032Speter		on fdopen(-1) returning NULL, which isn't the case.  This
955238032Speter		isn't serious, but does result in weird error diagnoses.
955338032Speter		From Michael Corrigan.
955438032Speter	CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
955538032Speter		messages sent through UUCP-family mailers.  Suggested
955638032Speter		by Bill Wisner of The Well.
955738032Speter	CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
955838032Speter		include a "uucp-dom" mailer that uses domain-style
955938032Speter		addressing.  Suggested by Bill Wisner.
956038032Speter	CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
956138032Speter		LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
956238032Speter		Christophe Wolfhugel.
956338032Speter	CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
956438032Speter
956538032Speter8.2/8.2		1993/07/11
956638032Speter	Don't drop out on config file parse errors in -bt mode.
956738032Speter	On older configuration files, assume option "l" (use Errors-To
956838032Speter		header) for back compatibility.  NOTE:  this DOES NOT
956938032Speter		imply an endorsement of the Errors-To: header in any way.
957038032Speter	Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
957138032Speter	Don't log errors on EHLO -- it isn't a "real" error for an old
957238032Speter		SMTP server to give an error on this command, and
957338032Speter		logging it in the transcript can be confusing.  Fix
957438032Speter		from Bill Wisner.
957538032Speter	IRIX compatibility changes provided by Dan Rich
957638032Speter		<drich@sandman.lerc.nasa.gov>.
957738032Speter	Solaris 2 compatibility changes.  Provided by Bob Cunningham
957838032Speter		<bob@kahala.soest.hawaii.edu>, John Oleynick
957938032Speter		<juo@klinzhai.rutgers.edu>
958038032Speter	Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
958138032Speter		move usersmtp (smtpinit and smtpmailfrom) to -d18 to
958238032Speter		match the other flags in that file.
958338032Speter	Flush transcript before fork in mailfile().  From Eric Wassenaar.
958438032Speter	Save h_errno in mci struct and improve error message display.
958538032Speter		Changes from Eric Wassenaar.
958638032Speter	Open /dev/null for the transcript if the create of the xf file
958738032Speter		failed; this avoids at least one possible null pointer
958838032Speter		reference in very weird cases.  From Eric Wassenaar.
958938032Speter	Clean up statistics gathering; it was over-reporting because of
959038032Speter		forks.  From Eric Wassenaar.
959138032Speter	Fix problem that causes old Return-Path: line to override new
959238032Speter		Return-Path: line (conf.c needs H_FORCE to avoid
959338032Speter		re-using old value).  From Motonori Nakamura.
959438032Speter	Fix broken -m flag in K definition -- even if -m (match only)
959538032Speter		was specified, it would still replace the key with the
959638032Speter		value.  Noted by Rick McCarty of Texas Instruments.
959738032Speter	If the name server timed out over several days, no "timed out"
959838032Speter		message would ever be sent back.  The timeout code
959938032Speter		has been moved from markfailure() to dropenvelope()
960038032Speter		so that all such failures should be diagnosed.  Pointed
960138032Speter		out by Christophe Wolfhugel and others.
960238032Speter	Relax safefile() constraints: directories in an include or
960338032Speter		forward path must be readable by self if the controlling
960438032Speter		user owns the entry, readable by all otherwise (e.g.,
960538032Speter		when reading your .forward file, you have to own and
960638032Speter		have X permission in it; everyone needs X permission in
960738032Speter		the root and directories leading up to your home);
960838032Speter		include files must be readable by anyone, but need not
960938032Speter		be owned by you.
961038032Speter	If _POSIX_SAVED_IDS is defined, setuid to the owner before
961138032Speter		reading a .forward file; this gets around some problems
961238032Speter		on NFS mounts if root permission is not exported and
961338032Speter		the user's home directory isn't x'able.
961438032Speter	Additional NeXT portability enhancements from Axel Zinser.
961538032Speter	Additional HP-UX portability enhancements from Brian Bullen.
961638032Speter	Add a timeout around SMTP message writes; this assumes you can
961738032Speter		get throughput of at least 64 bytes/second.  Note that
961838032Speter		this does not impact the "datafinal" default, which
961938032Speter		is separate; this is just intended to work around
962038032Speter		network clogs that will occur before the final dot
962138032Speter		is sent.  From Eric Wassenaar.
962238032Speter	Change map code to set the "include null" flag adaptively --
962338032Speter		it initially tries both, but if it finds anything
962438032Speter		matching without a null it never tries again with a
962538032Speter		null and vice versa.  If -N is specified, it never
962638032Speter		tries without the null and creates new maps with a
962738032Speter		null byte.  If -O is specified, it never tries with
962838032Speter		the null (for efficiency).  If -N and -O are specified,
962938032Speter		you get -NO (get it?) lookup at all, so this would
963038032Speter		be a bad idea.  If you don't specify either -N or -O,
963138032Speter		it adapts.
963238032Speter	Fix recognition of "same from address" so that MH submissions
963338032Speter		will insert the appropriate full name information;
963438032Speter		this used to work and got broken somewhere along the
963538032Speter		way.
963638032Speter	Some changes to eliminate some unnecessary SYSERRs in the
963738032Speter		log.  For example, if you lost a connection, don't
963838032Speter		bother reporting that fact on the connection you lost.
963938032Speter	Add some "extended debugging" flags to try to track down
964038032Speter		why we get occasional problems with file descriptor
964143730Speter		one being closed when execing a mailer; it seems to
964238032Speter		only happen when there has been another error in the
964338032Speter		same transaction.  This requires XDEBUG, defined
964438032Speter		by default in conf.h.
964538032Speter	Add "-X filename" command line flag, which logs both sides of
964638032Speter		all SMTP transactions.  This is intended ONLY for
964738032Speter		debugging bad implementations of other mailers; start
964838032Speter		it up, send a message from a mailer that is failing,
964938032Speter		and then kill it off and examine the indicated log.
965038032Speter		This output is not intended to be particularly human
965138032Speter		readable.  This also adds the HASSETVBUF compile
965238032Speter		flag, defaulted on if your compiler defines __STDC__.
965338032Speter	CONFIG: change SMART_HOST to override an SMTP mailer.  If you
965438032Speter		have a local net that should get direct connects, you
965538032Speter		will need to use LOCAL_NET_CONFIG to catch these hosts.
965638032Speter		See cf/README for an example.
965738032Speter	CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
965838032Speter		sites that don't use the -d flag.
965938032Speter	CONFIG: hide recipient addresses as well as sender addresses
966038032Speter		behind $M if FEATURE(allmasquerade) is specified; this
966138032Speter		has been requested by several people, but can break
966238032Speter		local aliases.  For example, if you mail to "localalias"
966338032Speter		this will be rewritten as "localalias@masqueradehost";
966438032Speter		although initial delivery will work, replies will be
966538032Speter		broken.  Use it sparingly.
966638032Speter	CONFIG: add FEATURE(domaintable).  This maps unqualified domains
966738032Speter		to qualified domains in headers.  I believe this is
966838032Speter		largely equivalent to the IDA feature of the same name.
966938032Speter	CONFIG: use $U as UUCP name instead of $k.  This permits you
967038032Speter		to override the "system name" as your UUCP name --
967138032Speter		in particular, to use domain-ized UUCP names.  From
967238032Speter		Bill Wisner of The Well.
967338032Speter	CONFIG: create new mailer "esmtp" that always tries EHLO
967438032Speter		first.  This is currently unused in the config files,
967538032Speter		but could be used in a mailertable entry.
967638032Speter
967738032Speter8.1C/8.1B	1993/06/27
967838032Speter	Serious security bug fix: it was possible to read any file on
967938032Speter		the system, regardless of ownership and permissions.
968038032Speter	If a subroutine returns a fully qualified address, return it
968138032Speter		immediately instead of feeding it back into rewriting.
968238032Speter		This fixes a problem with mailertable lookups.
968338032Speter	CONFIG: fix some M4 frotz (concat => CONCAT)
968464562Sgshapiro
968538032Speter8.1B/8.1A	1993/06/12
968638032Speter	Serious bug fix: pattern matching backup algorithm stepped by
968738032Speter		two tokens in classes instead of one.  Found by Claus
968838032Speter		Assmann at University of Kiel, Germany.
968938032Speter
969038032Speter8.1A/8.1A	1993/06/08
969138032Speter	Another mailertable fix....
969238032Speter
969338032Speter8.1/8.1		1993/06/07
969438032Speter	4.4BSD freeze.  No semantic changes.
969538032Speter