166352Seric			SENDMAIL RELEASE NOTES
2*69857Seric	     @(#)RELEASE_NOTES	8.7.Beta (Berkeley) 06/10/95
366352Seric
466352SericThis listing shows the version of the sendmail binary, the version
566352Sericof the sendmail configuration files, the date of release, and a
666352Sericsummary of the changes in that release.
766352Seric
869632Seric8.7/8.7		95/xx/xx	CURRENTLY IN BETA PRERELEASE!!!
969632Seric	Fix a problem that could cause sendmail to run out of file
1069632Seric		descriptors due to a trashed data structure after a
1169632Seric		vfork.  Fix from Brian Coan of the Institute for
1269632Seric		Global Communications.
1369632Seric	Change the VRFY response if you have disabled VRFY -- some
1469632Seric		people seemed to think that it was too rude.
1569632Seric	Avoid reference to uninitialized file descriptor if HASFLOCK
1669632Seric		was not defined.  This was used "safely" in the sense
1769632Seric		that it only did a stat, but it would have set the
1869632Seric		map modification time improperly.  Problem pointed out
1969632Seric		by Roy Mongiovi of Georgia Tech.
2069632Seric	Clean up the Subject: line on warning messages and return
2169632Seric		receipts so that they don't say "Returned mail:"; this
2269632Seric		can be confusing.
2369632Seric	Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
2469632Seric		useful enough to make it worthwhile printing on "-d".
2569632Seric	Avoid logging alias statistics every time you read the alias
2669632Seric		file on systems with no database method compiled in.
2769632Seric	If you have a name with a trailing dot, and you try looking it
2869632Seric		up using gethostbyname without the dot (for /etc/hosts
2969632Seric		compatibility), be sure to turn off RES_DEFNAMES and
3069632Seric		RES_DNSRCH to avoid finding the wrong name accidently.
3169632Seric		Problem noted by Charles Amos of the University of
3269632Seric		Maryland.
3369632Seric	Don't do timeouts in collect if you are not running SMTP.
3469632Seric		There is nothing that says you can't have a long
3569632Seric		running program piped into sendmail (possibly via
3669632Seric		/bin/mail, which just execs sendmail).  Problem reported
3769632Seric		by Don "Truck" Lewis of Silicon Systems.
3869632Seric	Try gethostbyname() even if the DNS lookup fails iff option I
3969632Seric		is not set.  This allows you to have hosts listed in
4069632Seric		NIS or /etc/hosts that are not known to DNS.  It's normally
4169632Seric		a bad idea, but can be useful on firewall machines.  This
4269632Seric		should really be broken out on a separate flag, I suppose.
4369632Seric	Avoid compile warnings against BIND 4.9.3, which uses function
4469632Seric		prototypes.  From Don Lewis of Silicon Systems.
4569632Seric	Avoid possible incorrect diagnosis of DNS-related errors caused
4669632Seric		by things like attempts to resolve uucp names using
4769632Seric		$[ ... $] -- the fix is to clear h_errno at appropriate
4869632Seric		times.  From Kyle Jones of UUNET.
4969632Seric	SECURITY: avoid denial-of-service attacks possible by destroying
5069632Seric		the alias database file by setting resource limits low.
5169632Seric		This involves adding two new compile-time options:
5269632Seric		HASSETRLIMIT (indicating that setrlimit(2) support is
5369632Seric		available) and HASULIMIT (indicating that ulimit(2) support
5469632Seric		is available -- the Release 3 form is used).  The former
5569632Seric		is assumed on BSD-based systems, the latter on System
5669632Seric		V-based systems.  Attack noted by Phil Brandenberger of
5769632Seric		Swarthmore University.
5869632Seric	New syntaxes in test (-bt) mode:
5969632Seric		``.Dmvalue'' will define macro "m" to "value".
6069632Seric		``.Ccvalue'' will add "value" to class "c".
6169632Seric		``.Sruleset'' will dump the contents of the indicated
6269632Seric			ruleset.
6369632Seric		``-ddebug-spec'' is equivalent to the command-line
6469632Seric			-d debug flag.
6569632Seric		``$m'' will print the value of macro "m".
6669632Seric		``/mx host'' returns the MX records for ``host''.
6769632Seric		``/try address'' will parse address, returning the value of
6869632Seric			crackaddr (essentially, the comment information)
6969632Seric			and the parsed address (the same as -bv).
7069632Seric	Somewhat better handling of UNIX-domain socket addresses -- it
7169632Seric		should show the pathname rather than hex bytes.
7269632Seric	Restore ``-ba'' mode -- this reads a file from stdin and parses
7369632Seric		the header for envelope sender information and uses
7469632Seric		CR-LF as message terminators.  It was thought to be
7569632Seric		obsolete (used only for Arpanet NCP protocols), but it
7669632Seric		turns out that the UK ``Grey Book'' protocols require
7769632Seric		that functionality.
7869632Seric	Fix a fix in previous release -- if gethostname and gethostbyname
7969632Seric		return a name without dots, and if a DNS lookup of that
8069632Seric		name fails, wait one minute and try again even if DNS
8169632Seric		not specified in the config file -- the problem is that
8269632Seric		this code is executed before the config file is read.
8369632Seric		This can result in an extra 60 second delay on startup
8469632Seric		if (1) you have DNS compiled in, (2) you are not running
8569632Seric		DNS, (3) your system hostname (as returned by hostname(1))
8669632Seric		has no dot, AND (4) the canonical name listed in /etc/hosts
8769632Seric		or your NIS map has no dot.
8869632Seric	Check for proper domain name on HELO and EHLO commands per
8969632Seric		RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
9069632Seric		of Michigan Technological University.
9169632Seric	Relax chownsafe rules slightly -- old version said that if you
9269632Seric		can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
9369632Seric		if fpathconf returned EINVAL or ENOSYS), assume that
9469632Seric		chown is not safe.  The new version falls back to whether
9569632Seric		you are on a BSD system or not.  This is important for
9669632Seric		SunOS, which apparently always returns one of those
9769632Seric		error codes.  This impacts whether you can mail to files
9869632Seric		or not.
9969632Seric	Syntax errors such as unbalanced parentheses in the configuration
10069632Seric		file could be omitted if you had "Oem" prior to the
10169632Seric		syntax error in the config file.  Change to always print
10269632Seric		the error message.  It was especially wierd because it
10369632Seric		would cause a "warning" message to be sent to the Postmaster
10469632Seric		for every message sent (but with no transcript).  Problem
10569632Seric		noted by Gregory Paris of Motorola.
10669632Seric	Rewrite collect and putbody to handle full 8-bit data, including
10769632Seric		zero bytes.  These changes are internally extensive, but
10869632Seric		should have minimal impact on external function.
10969632Seric	Allow full words for option names -- if the option letter is
11069632Seric		(apparently) a space, then take the word following -- e.g.,
11169632Seric			O MatchGECOS=TRUE
11269632Seric		The full list of old and new names is as follows:
11369632Seric			7	SevenBitInput
11469632Seric			8	EightBitMode
11569632Seric			A	AliasFile
11669632Seric			a	AliasWait
11769632Seric			B	BlankSub
11869632Seric			b	MinFreeBlocks/MaxMessageSize
11969632Seric			C	CheckpointInterval
12069632Seric			c	HoldExpensive
12169632Seric			D	AutoRebuildAliases
12269632Seric			d	DeliveryMode
12369632Seric			E	ErrorHeader
12469632Seric			e	ErrorMode
12569632Seric			f	SaveFromLine
12669632Seric			F	TempFileMode
12769632Seric			G	MatchGECOS
12869632Seric			H	HelpFile
12969632Seric			h	MaxHopCount
13069632Seric			i	IgnoreDots
13169632Seric			I	ResolverOptions
13269632Seric			J	ForwardPath
13369632Seric			j	SendMimeErrors
13469632Seric			k	ConnectionCacheSize
13569632Seric			K	ConnectionCacheTimeout
13669632Seric			L	LogLevel
13769632Seric			l	UseErrorsTo
13869632Seric			m	MeToo
13969632Seric			n	CheckAliases
14069632Seric			O	DaemonPortOptions
14169632Seric			o	OldStyleHeaders
14269632Seric			P	PostmasterCopy
14369632Seric			p	PrivacyOptions
14469632Seric			Q	QueueDirectory
14569632Seric			q	QueueFactor
14669632Seric			R	DontPruneRoutes
14769632Seric			r, T	Timeout
14869632Seric			S	StatusFile
14969632Seric			s	SuperSafe
15069632Seric			t	TimeZoneSpec
15169632Seric			u	DefaultUser
15269632Seric			U	UserDatabaseSpec
15369632Seric			V	FallbackMXhost
15469632Seric			v	Verbose
15569632Seric			w	TryNullMXList
15669632Seric			x	QueueLA
15769632Seric			X	RefuseLA
15869632Seric			Y	ForkEachJob
15969632Seric			y	RecipientFactor
16069632Seric			z	ClassFactor
16169632Seric			Z	RetryFactor
16269632Seric		To avoid possible problems with an older sendmail,
16369632Seric		configuration level 6 is accepted by this version of
16469632Seric		sendmail; any config file using the new names should
16569632Seric		specify "V6" in the configuration.
16669632Seric	Change address parsing to properly note that a phrase before a
16769632Seric		colon and a trailing semicolon are essentially the same
16869632Seric		as text outside of angle brackets (i.e., sendmail should
16969632Seric		treat them as comments).  This is to handle the
17069632Seric		``group name: addr1, addr2, ..., addrN;'' syntax (it will
17169632Seric		assume that ``group name:'' is a comment on the first
17269632Seric		address and the ``;'' is a comment on the last address).
17369632Seric		This requires config file support to get right.  It does
17469632Seric		understand that :: is NOT this syntax, and can be turned
17569632Seric		off completely by setting the ColonOkInAddresses option.
17669632Seric	Level 6 config files added with new mailer flags:
17769632Seric		    A	Addresses are aliasable.
17869632Seric		    i	Do udb rewriting on envelope as well as header
17969632Seric			sender lines.  Applies to the from address mailer
18069632Seric			flags rather than the recipient mailer flags.
18169632Seric		    j	Do udb rewriting on header recipient addresses.
18269632Seric			Applies to the sender mailer flags rather than the
18369632Seric			recipient mailer flags.
18469632Seric		    k	Disable check for loops when doing HELO command.
18569632Seric		    o	Always run as the mail recipient, even on local
18669632Seric			delivery.
18769632Seric		    w	Check for an /etc/passwd entry for this user.
18869632Seric		    5	Pass addresses through ruleset 5.
18969632Seric		    :	Check for :include: on this address.
19069632Seric		    |	Check for |program on this address.
19169632Seric		    /	Check for /file on this address.
19269632Seric		    @	Look up sender header addresses in the user
19369632Seric			database.  Applies to the mailer flags for the
19469632Seric			mailer corresponding to the envelope sender
19569632Seric			address, rather than to recipient mailer flags.
19669632Seric		Pre-level 6 configuration files set A, w, 5, :, |, /, and @
19769632Seric		on the "local" mailer, the o flag on the "prog" and "*file*"
19869632Seric		mailers, and the ColonOkInAddresses option.
19969632Seric	Eight-to-seven bit MIME conversions.  This borrows ideas from
20069632Seric		John Beck of Hewlett-Packard, who generously contributed
20169632Seric		their implementation to me, which I then didn't use (see
20269632Seric		mime.c for an explanation of why).  This adds the
20369632Seric		EightBitMode option (a.k.a. `8') and an F=8 mailer flag
20469632Seric		to control handling of 8-bit data.  These have to cope with
20569632Seric		two types of 8-bit data: unlabelled 8-bit data (that is,
20669632Seric		8-bit data that is entered without declaring it as 8-bit
20769632Seric		MIME -- technically this is illegal according to the
20869632Seric		specs) and labelled 8-bit data (that is, it was declared
20969632Seric		as 8BITMIME in the ESMTP session or by using the
21069632Seric		-B8BITMIME command line flag).  If the F=8 mailer flag is
21169632Seric		set then 8-bit data is sent to non-8BITMIME machines
21269632Seric		instead of converting to 7 bit (essentially using
21369632Seric		just-send-8 semantics).  The values for EightBitMode are:
21469632Seric		    m	convert unlabelled 8-bit input to 8BITMIME, and do
21569632Seric			any necessary conversion of 8BITMIME to 7BIT
21669632Seric			(essentially, the full MIME option).
21769632Seric		    p	pass unlabelled 8-bit input, but convert labelled
21869632Seric			8BITMIME input to 7BIT as required (default).
21969632Seric		    s	strict adherence: reject unlabelled 8-bit input,
22069632Seric			convert 8BITMIME to 7BIT as required.  The F=8
22169632Seric			flag is ignored.
22269632Seric		Unlabelled 8-bit data is rejected in mode `s' regardless of
22369632Seric			the setting of F=8.
22469632Seric	Add new internal class 'n', which is the set of MIME Content-Types
22569632Seric		which can not be 8 to 7 bit encoded because of other
22669632Seric		considerations.  Types "multipart/*" and "message/*" are
22769632Seric		never directly encoded (although their components can be).
22869632Seric	Add new internal class 'e'.  This is the set of MIME
22969632Seric		Content-Transfer-Encodings that can be converted to
23069632Seric		a seven bit format (Quoted-Printable or Base64).  It is
23169632Seric		preinitialized to contain "7bit", "8bit", and "binary".
23269632Seric	Add C=charset mailer parameter and the the DefaultCharSet option (no
23369632Seric		short name) to set the default character set to use in the
23469632Seric		Content-Type: header when doing encoding of an 8-bit message
23569632Seric		which isn't marked as MIME into MIME format.  If the C=
23669632Seric		parameter is set on the Envelope From address, use that as
23769632Seric		the default encoding; else use the DefaultCharSet option.
23869632Seric		If neither is set, it defaults to "unknown-8bit" as
23969632Seric		suggested by RFC 1428 section 3.
24069632Seric	Allow ``U=user:group'' field in mailer definition to set a default
24169632Seric		user and group that a mailer will be executed as.  This
24269632Seric		overrides the 'u' and 'g' options, and if the `F=S' flag is
24369632Seric		also set, it is the uid/gid that will always be used (that
24469632Seric		is, the controlling address is ignored).  The values may be
24569632Seric		numeric or symbolic; if only a symbolic user is given (no
24669632Seric		group) that user's default group in the passwd file is used
24769632Seric		as the group.  Based on code donated by Chip Rosenthal of
24869632Seric		Unicom.
24969632Seric	Allow `u' option to also accept user:group as a value, in the same
25069632Seric		fashion as the U= mailer option.
25169632Seric	Add the symbolic time zone name in the Arpanet format dates (as
25269632Seric		a comment).  This adds a new compile-time configuration
25369632Seric		flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
25469632Seric		of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
25569632Seric		of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
25669632Seric		*tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
25769632Seric		timezone()), or TZ_NONE (don't include the comment).  Code
25869632Seric		from Chip Rosenthal.
25969632Seric	The "Timeout" option (formerly "r") is extended to allow suboptions.
26069632Seric		For example,
26169632Seric		    O Timeout.helo = 2m
26269632Seric		There are also two new suboptions "queuereturn" and
26369632Seric		"queuewarn"; these subsume the old T option.  Thus, to
26469632Seric		set them both the preferred new syntax is
26569632Seric		    O Timeout.queuereturn = 5d
26669632Seric		    O Timeout.queuewarn = 4h
26769632Seric	Sort queue by host name instead of by message priority if the
26869632Seric		QueueSortOrder option (no short name) is set is set to
26969632Seric		``host''.  This makes better use of the connection cache,
27069632Seric		but may delay more ``interactive'' messages behind large
27169632Seric		backlogs under some circumstances.  This is probably a
27269632Seric		good option if you have high speed links or don't do lots
27369632Seric		of ``batch'' messages, but less good if you are using
27469632Seric		something like PPP on a 14.4 modem.  Based on code
27569632Seric		contributed by Roy Mongiovi of Georgia Tech (my main
27669632Seric		contribution was to make it configurable).
27769632Seric	Save i-number of df file in qf file to simplify rebuilding of queue
27869632Seric		after disasterous disk crash.  Suggested by Kyle Jones of
27969632Seric		UUNET; closely based on code from KJS DECWRL code written
28069632Seric		by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
28169632Seric		are NOT back compatible with 8.6 -- that is, you can convert
28269632Seric		from 8.6 to 8.7, but not the other direction.
28369632Seric	Add ``F=d'' mailer flag to disable all use of angle brackets in
28469632Seric		route-addrs in envelopes; this is because in some cases
28569632Seric		they can be sent to the shell, which interprets them as
28669632Seric		I/O redirection.
28769632Seric	Don't include error file (option E) with return-receipts; this
28869632Seric		can be confusing.
28969632Seric	Don't send "Warning: cannot send" messages to owner-* or
29069632Seric		*-request addresses.  Suggested by Christophe Wolfhugel
29169632Seric		of the Institut Pasteur, Paris.
29269632Seric	Allow -O command line flag to set long form options.
29369632Seric	Add "MinQueueAge" option to set the minimum time between attempts
29469632Seric		to run the queue.  For example, if the queue interval
29569632Seric		(-q value) is five minutes, but the minimum queue age
29669632Seric		is fifteen minutes, jobs won't be tried more often than
29769632Seric		once every fifteen minutes.  This can be used to give
29869632Seric		you more responsiveness if your delivery mode is set to
29969632Seric		queue-only.
30069632Seric	Allow "fileopen" timeout (default: 60 seconds) for opening
30169632Seric		:include: and .forward files.
30269632Seric	Add "-k", "-v", and "-z" flags to map definitions; these set the
30369632Seric		key field name, the value field name, and the field
30469632Seric		delimiter.  The field delimiter can be a single character
30569632Seric		or the sequence "\t" or "\n" for tab or newline.
30669632Seric		These are for use by NIS+ and similar access methods.
30769732Seric	Change maps to always strip quotes before lookups; the -q flag
30869732Seric		turns off this behaviour.  Suggested by Motonori Nakamura.
30969632Seric	Add "nisplus" map class.  Takes -k and -v flags to choose the
31069632Seric		key and value field names respectively.  Code donated by
31169632Seric		Sun Microsystems.
31269632Seric	Add "hesiod" map class.  The "file name" is used as the
31369632Seric		"HesiodNameType" parameter to hes_resolve(3).  Returns the
31469632Seric		first value found for the match.  Code donated by Scott
31569632Seric		Hutton of Indiana University.
31669632Seric	Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
31769632Seric		specify the name of the property that is searched as the
31869632Seric		key and a -v flag to specify the name of the property that
31969632Seric		is returned as the value (defaults to "members").  The
32069632Seric		default map is "/aliases".
32169632Seric	Add "text" map class.  This does slow, linear searches through
32269632Seric		text files.  The -z flag specifies a column delimiter
32369632Seric		(defaults to any sequence of white space), the -k flag
32469632Seric		sets the key column number, and the -v flag sets the
32569632Seric		value column number.  Lines beginning with `#' are treated
32669632Seric		as comments.
32769632Seric	Add "program" map class to execute arbitrary programs.  The search
32869632Seric		key is presented as the last argument; the output is one
32969632Seric		line read from the programs standard output.  Exit statuses
33069632Seric		are from sysexits.h.
33169632Seric	Add "sequence" map class -- searches maps in sequence until it
33269632Seric		finds a match.  For example, the declarations:
33369632Seric		    Kmap1 ...
33469632Seric		    Kmap2 ...
33569632Seric		    Kmapseq sequence map1 map2
33669632Seric		defines a map "mapseq" that first searches map1; if the
33769632Seric		value is found it is returned immediately, otherwise
33869632Seric		map2 is searched and the value returned.
33969632Seric	Add "switch" map class.  This is much like "sequence" except that
34069632Seric		the ordering is fetched from an external file, usually
34169632Seric		the system service switch.  The parameter is the name of
34269632Seric		the service to switch on, and the maps that it will use
34369632Seric		are this name followed by ".service_type".  For example,
34469632Seric		if the declaration of the map is
34569632Seric		    Ksample switch hosts
34669632Seric		and the system service switch specifies that hosts are
34769632Seric		looked up using dns and nis in that order, then this is
34869632Seric		equivalent to
34969632Seric		    Ksample sequence hosts.dns hosts.nis
35069632Seric		The subordinate maps must already be defined.
35169632Seric	Add "user" map class -- looks up users using getpwnam.  Takes a
35269632Seric		"-v field" flag on the definition that tells what passwd
35369632Seric		entry to return -- legal values are name, passwd, uid, gid,
35469632Seric		gecos, dir, and shell.  Generally expected to be used with
35569632Seric		the -m (matchonly) flag.
35669632Seric	Add "bestmx" map class -- returns the best MX value for the host
35769632Seric		listed as the value.  If there are several "best" MX records
35869632Seric		for this host, one will be chosen at random.
35969632Seric	Add "userdb" map class -- looks up entries in the user database.
36069632Seric		The "file name" is actually the tag that will be used,
36169632Seric		typically "mailname".  If there are multiple entries
36269632Seric		matching the name, the one chosen is undefined.
36369632Seric	Add multiple queue timeouts (both return and warning).  These are
36469632Seric		set by the Precedence: or Priority: header fields to one of
36569632Seric		three values.  If a Priority: is set and has value "normal",
36669632Seric		"urgent", or "non-urgent" the corresponding timeouts are
36769632Seric		used.  If no priority is set, the Precedence: is consulted;
36869632Seric		if negative, non-urgent timeouts are used; if greater than
36969632Seric		zero, urgent timeouts are used.  Otherwise, normal timeouts
37069632Seric		are used.  The timeouts are set by setting the six timeouts
37169632Seric		queue{warn,return}.{urgent,normal,non-urgent}.
37269632Seric	Fix problem when a mail address is resolved to a $#error mailer
37369632Seric		with a temporary failure indication; it works in SMTP,
37469632Seric		but when delivering locally the mail is silently discarded.
37569632Seric		This patch, from Kyle Jones of UUNET, bounces it instead
37669632Seric		of queueing it (queueing is very hard).
37769632Seric	When using /etc/hosts or NIS-style lookups, don't assume that
37869632Seric		the first name in the list is the best one -- instead,
37969632Seric		search for the first one with a dot.  For example, if
38069632Seric		an /etc/hosts entry reads
38169632Seric		    128.32.149.68	mammoth mammoth.CS.Berkeley.EDU
38269632Seric		this change will use the second name as the canonical
38369632Seric		machine name instead of the initial, unqualified name.
38469632Seric		This heuristic is only used for finding your own name on
38569632Seric		startup, when the system may not be fully configured yet.
38669632Seric	Change dequote map to replace spaces in quoted text with a value
38769632Seric		indicated by the -s flag on the dequote map definition.
38869632Seric		For example, ``Mdequote dequote -s_'' will change
38969632Seric		"Foo Bar" into an unquoted Foo_Bar instead of leaving it
39069632Seric		quoted (because of the space character).  Suggested by Dan
39169632Seric		Oscarsson for use in X.400 addresses.
39269632Seric	Implement long macro names as ${name}; long class names can
39369632Seric		be similarly referenced as $={name} and $~{name}.
39469632Seric		Definitions are (e.g.) ``D{name}value''.  Names that have
39569632Seric		a leading lower case letter or punctuation characters are
39669632Seric		reserved for internal use by sendmail; i.e., config files
39769632Seric		should use names that begin with a capital letter.  Based
39869632Seric		on code contributed by Dan Oscarsson.
39969632Seric	Fix core dump if getgrgid returns a null group list (as opposed
40069632Seric		to an empty group list, that is, a pointer to a list
40169632Seric		with no members).  Fix from Andrew Chang of Sun Microsystems.
40269632Seric	Fix possible core dump if malloc fails -- if the malloc in xalloc
40369632Seric		failed, it called syserr which called newstr which called
40469632Seric		xalloc....  The newstr is now avoided for "panic" messages.
40569632Seric		Reported by Stuart Kemp of James Cook University.
40669632Seric	Improve connection cache timeouts; previously, they were not even
40769632Seric		checked if you were delivering to anything other than an
40869632Seric		IPC-connected host, so a series of (say) local mail
40969632Seric		deliveries could cause cached connections to be open
41069632Seric		much longer than the specified timeout.
41169632Seric	If an incoming message exceeds the maximum message size, stop
41269632Seric		writing the incoming bytes to the queue data file, since
41369632Seric		this can fill your mqueue partition -- this is a possible
41469632Seric		denial-of-service attack.
41569632Seric	Don't reject all numeric local user names unless HESIOD is
41669632Seric		defined.  It turns out that Posix allows all-numeric
41769632Seric		user names.  Fix from Tony Sanders of BSDI.
41869632Seric	Add service switch support.  If the local OS has a service
41969791Seric		switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
42069791Seric		on DEC systems) that will be used; otherwise, it falls back
42169791Seric		to using a local mechanism based on the ServiceSwitchFile
42269791Seric		option (default: /etc/service.switch).  For example, if the
42369632Seric		service switch lists "files" and "nis" for the aliases
42469791Seric		service, that will be the default lookup order.  the "files"
42569791Seric		("local" on DEC) service type expands to any alias files
42669791Seric		you listed in the configuration file, even if they aren't
42769791Seric		actually file lookups.
42869632Seric	Option I (NameServerOptions) no longer sets the "UseNameServer"
42969632Seric		variable which tells whether or not DNS should be considered
43069632Seric		canonical.  This is now determined based on whether or not
43169632Seric		"dns" is in the service list for "hosts".
43269632Seric	Add preliminary support for the ESMTP "DSN" extension (Delivery
43369632Seric		Status Notifications).  This is not yet a standard
43469632Seric		and the implementation is for experimentation only.
43569632Seric		For this reason it only announces itself as "X-DSN-0"
43669632Seric		instead of "DSN".  DSN notifications override
43769632Seric		Return-Receipt-To:.
43869632Seric	Add T=mtstype keyletter to mailer definitions to define the value
43969632Seric		for the Final-MTS-Type: and Remote-MTS-Type: fields in the
44069632Seric		DSN-standard return message.
44169632Seric	Extend heuristic to force running in ESMTP mode to look for the
44269632Seric		six-character string "ESMTP " anywhere in the 220 greeting
44369632Seric		message (not just the second line).  This is to provide
44469632Seric		better compatibility with other ESMTP servers.
44569632Seric	Print sequence number of job when running the queue so you can
44669632Seric		easily see how much progress you have made.  Suggested
44769632Seric		by Peter Wemm of DIALix.
44869632Seric	Map newlines to spaces in logged message-ids; some versions of
44969632Seric		syslog truncate the rest of the line after newlines.
45069632Seric		Suggested by Fletcher Mattox of U. Texas.
45169632Seric	Move up forking for job runs so that if a message is split into
45269632Seric		multiple envelopes you don't get "fork storms" -- this
45369632Seric		also improves the connection cache utilization.
45469632Seric	Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
45569632Seric		the purposes of refusing to send error returns.  Suggested
45669632Seric		by Motonori Nakamura of Ritsumeikan University.
45769632Seric	Relax rules on when a file can be written when referenced from
45869632Seric		the aliases file: use the default uid/gid instead of the
45969632Seric		real uid/gid.  This allows you to create a file owned by
46069632Seric		and writable only by the default uid/gid that will work
46169632Seric		all the time (without having the setuid bit set).  Change
46269632Seric		suggested by Shau-Ping Lo and Andrew Cheng of Sun
46369632Seric		Microsystems.
46469632Seric	Add "DialDelay" option (no short name) to provide an "extra"
46569632Seric		delay for dial on demand systems.  If this is non-zero
46669632Seric		and a connect fails, sendmail will wait this long and
46769632Seric		then try again.  If it takes longer than the kernel
46869632Seric		timeout interval to establish the connection, this
46969632Seric		option can give the network software time to establish
47069632Seric		the link.  The default units are seconds.
47169632Seric	Move logging of sender information to be as early as possible;
47269632Seric		previously, it could be delayed a while for SMTP mail
47369632Seric		sent to aliases.  Suggested by Brad Knowles of the
47469632Seric		Defense Information Systems Agency.
47569632Seric	Call res_init() before setting RES_DEBUG; this is required by
47669632Seric		BIND 4.9.3, or so I'm told.  From Douglas Anderson of
47769632Seric		the National Computer Security Center.
47869632Seric	Add xdelay= field in logs -- this is a transaction delay, telling
47969632Seric		you how long it took to deliver to this address on the
48069632Seric		last try.  It is intended to be used for sorting mailing
48169632Seric		lists to favor "quick" addresses.  Provided for use by
48269632Seric		the mailprio scripts (see below).
48369632Seric	If a map cannot be opened, and that map is non-optional, and
48469632Seric		an address requires that map for resolution, queue the
48569632Seric		map instead of bouncing it.  This involves creating a
48669632Seric		pseudo-class of maps called "bogus-map" -- if a required
48769632Seric		map cannot be opened, the class is changed to bogus-map;
48869632Seric		all queries against bogus-map return "tempfail".  The
48969632Seric		bogus-map class is not directly accessible.  A sample
49069632Seric		implementation was donated by Jem Taylor of Glasgow
49169632Seric		University Computing Service.
49269632Seric	Don't make a bad ``MAIL FROM:'' address on one message blow away
49369632Seric		other messages to the same host later in the queue.
49469632Seric		Problem noted by Eric Prestemon of American University.
49569632Seric	Fix a possible core dump when mailing to a program that talks
49669632Seric		SMTP on its standard input.  Fix from Keith Moore of
49769632Seric		the University of Kentucky.
49869632Seric	Make it possible to resolve filenames to $#local $: @ /filename;
49969632Seric		previously, the "@" would cause it to not be recognized
50069632Seric		as a file.  Problem noted by Brian Hill of U.C. Davis.
50169632Seric	Accept a -1 signal to re-exec the daemon.  This only works if
50269632Seric		argv[0] is a full path to sendmail.
50369632Seric	Fix bug in "addr=..." field in O option on little-endian machines
50469632Seric		-- the network number wasn't being converted to network
50569632Seric		byte order.  Patch from Kurt Lidl of Pix Technologies
50669632Seric		Corporation.
50769632Seric	Pre-initialize the resolver early on; this is to avoid a bug with
50869632Seric		BIND 4.9.3 that can cause the _res.retry field to get
50969632Seric		reset to zero, causing all name server lookups to time
51069632Seric		out.  Fix from Matt Day of Artisoft.
51169632Seric	Restore T line (trusted users) in config file -- but instead of
51269632Seric		locking out the -f flag, they just tell whether or not
51369632Seric		an X-Authentication-Warning: will be added.  This really
51469632Seric		just creates new entries in class 't', so "Ft/file/name"
51569632Seric		can be used to read trusted user names from a file.
51669632Seric	Improve NEWDB alias file rebuilding so it will create them
51769632Seric		properly if they do not already exist.  This had been
51869632Seric		a MAYBENEXTRELEASE feature in 8.6.9.
51969632Seric	Check for @:@ entry in NIS maps before starting up to avoid
52069632Seric		(but not prevent, sigh) race conditions.  This ought to
52169632Seric		be handled properly in ypserv, but isn't.  Suggested by
52269632Seric		Michael Beirne of Motorola.
52369632Seric	Refuse connections if there isn't enough space on the filesystem
52469632Seric		holding the queue.  Contributed by Robert Dana of Wolf
52569632Seric		Communications.
52669632Seric	Skip checking for directory permissions in the path to a file
52769632Seric		when checking for file permissions iff setreuid()
52869632Seric		succeeded -- it is unnecessary in that case.  This avoids
52969632Seric		significant performance problems when looking for .forward
53069632Seric		files.  Based on a suggestion by Win Bent of USC.
53169632Seric	Allow symbolic ruleset names.  Syntax can be "Sname" to get an
53269632Seric		arbitrary ruleset number assigned or "Sname = integer"
53369632Seric		to assign a specific ruleset number.  Reference is
53469632Seric		$>name_or_number.  Names can be composed of alphas, digits,
53569632Seric		underscore, or hyphen (first character must be non-numeric).
53669632Seric	Allow -o flag on AliasFile lines to make the alias file optional.
53769632Seric		From Bryan Costales of ICSI.
53869632Seric	Add NoRecipientAction option to handle the case where there is
53969632Seric		no legal recipient header in the message.  It can take
54069632Seric		on values:
54169632Seric		  None			Leave the message as is.  The
54269632Seric					message will be passed on even
54369632Seric					though it is in technically
54469632Seric					illegal syntax.
54569632Seric		  Add-To		Add a To: header with any
54669632Seric					recipients that it can find from
54769632Seric					the envelope.  This risks exposing
54869632Seric					Bcc: recipients.
54969632Seric		  Add-Apparently-To	Add an Apparently-To: header.  This
55069632Seric					has almost no redeeming social value,
55169632Seric					and is provided only for back
55269632Seric					compatibility.
55369632Seric		  Add-To-Undisclosed	Add a header reading
55469632Seric					To: undisclosed-recipients:;
55569632Seric					which will have the effect of
55669632Seric					making the message legal without
55769632Seric					exposing Bcc: recipients.
55869632Seric		  Add-Bcc		To add an empty Bcc: header.
55969632Seric					There is a chance that mailers down
56069632Seric					the line will delete this header,
56169632Seric					which could cause exposure of Bcc:
56269632Seric					recipients.
56369632Seric		The default is NoRecipientAction=None.
56469632Seric	Truncate (rather than delete) Bcc: lines in the header.  This
56569632Seric		should prevent later sendmails (at least, those that don't
56669632Seric		themselves delete Bcc:) from considering this message to
56769632Seric		be non-conforming -- although it does imply that non-blind
56869632Seric		recipients can see that a Bcc: was sent, albeit not to whom.
56969632Seric	Add SafeFileEnvironment option.  If declared, files named as delivery
57069632Seric		targets must be regular files in addition to the regular
57169632Seric		checks.  Also, if the option is non-null then it is used as
57269632Seric		the name of a directory that is used as a chroot(2)
57369632Seric		environment for the delivery; the file names listed in an
57469632Seric		alias or forward should include the name of this root.
57569632Seric		For example, if you run with
57669632Seric			O SafeFileEnvironment=/arch
57769632Seric		then aliases should reference "/arch/rest/of/path".  If a
57869632Seric		value is given, sendmail also won't try to save to
57969632Seric		/usr/tmp/dead.letter (instead it just leaves the job in the
58069632Seric		queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
58169632Seric	Support -A flag for alias files; this will comma concatenate like
58269632Seric		entries.  For example, given the aliases:
58369632Seric			list: member1
58469632Seric			list: member2
58569632Seric		and an alias file declared as:
58669632Seric			OAhash:-A /etc/aliases
58769632Seric		the final alias inserted will be "list: member1,member2";
58869632Seric		without -A you will get an error on the second and subsequent
58969632Seric		alias for "list".  Contributed by Bryan Costales of ICSI.
59069632Seric	Line-buffer transcript file.  Suggested by Liudvikas Bukys.
59169632Seric	Fix a problem that could cause very long addresses to core dump in
59269632Seric		some special circumstances.  Problem pointed out by Allan
59369632Seric		Johannesen.
59469632Seric	(Internal change.)  Change interface to expand() (macro expansion)
59569632Seric		to be simpler and more consistent.
59669632Seric	Delete check for funny qf file names.  This didn't really give
59769632Seric		any extra security and caused some people some problems.
59869632Seric		(If you -really- want this, define PICKY_QF_NAME_CHECK
59969632Seric		at compile time.)  Suggested by Kyle Jones of UUNET.
60069632Seric	(Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
60169632Seric		merge with DSN code; this is simpler and more consistent.
60269632Seric		This may affect some people who have written their own
60369632Seric		checkcompat() routine.
60469632Seric	(Internal change.)  Eliminate `D' line in qf file.  The df file
60569632Seric		is now assumed to be the same name as the qf file (with
60669632Seric		the `q' changed to a `d', of course).
60769632Seric	Avoid forking for delivery if all recipient mailers are marked as
60869632Seric		"expensive" -- this can be a major cost on some systems.
60969632Seric		Essentially, this forces sendmail into "queue only" mode
61069632Seric		if all it is going to do is queue anyway.
61169632Seric	Avoid sending a null message in some rather unusual circumstances
61269632Seric		(specifically, the RCPT command returns a temporary
61369632Seric		failure but the connection is lost before the DATA
61469632Seric		command).  Fix from Scott Hammond of Secure Computing
61569632Seric		Corporation.
61669632Seric	Change makesendmail to use a somewhat more rational naming scheme:
61769632Seric		Makefiles and obj directories are named $os.$rel.$arch,
61869632Seric		where $os is the operating system (e.g., SunOS), $rel is
61969632Seric		the release number (e.g., 5.3), and $arch is the machine
62069632Seric		architecture (e.g., sun4).  Any of these can be omitted,
62169632Seric		and anything after the first dot in a release number can
62269632Seric		be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
62369632Seric		version used $os.$arch.$rel and was rather less general.
62469632Seric	Ignore IDENT return value if the OSTYPE field returns "OTHER",
62569632Seric		as indicated by RFC 1413.  Pointed out by Kari Hurtta
62669632Seric		of the Finnish Meteorological Institute.
62769632Seric	Fix problem that could cause multiple responses to DATA command
62869632Seric		on header syntax errors (e.g., lines beginning with colons).
62969632Seric		Problem noted by Jens Thomassen of the University of Oslo.
63069632Seric	Don't let null bytes in headers cause truncation of the rest of
63169632Seric		the header.
63269632Seric	Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
63369632Seric	Increase timeouts on message data puts to allow time for receivers
63469632Seric		to canonify addresses in headers on the fly.  This is still
63569632Seric		a rather ugly heuristic.  From Motonori Nakamura.
63669632Seric	Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
63769632Seric		records are not used when canonifying names.  This is
63869632Seric		useful if you have a wildcard MX record, although it
63969632Seric		may cause other problems.  In general, don't use wildcard
64069632Seric		MX records.  Patch from Motonori Nakamura.
64169632Seric	Eliminate default two-line SMTP greeting message.  Instead of
64269632Seric		adding an extra "ESMTP spoken here" line, the word "ESMTP"
64369632Seric		is added between the first and second word of the first
64469632Seric		line of the greeting message (i.e., immediately after the
64569632Seric		host name).  This eliminates the need for the BROKEN_SMTP_PEERS
64669632Seric		compile flag.  Old sendmails won't see the ESMTP, but that's
64769632Seric		acceptable because SIZE was the only useful extension that
64869632Seric		old sendmails understand.
64969632Seric	Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
65069632Seric		invoked state dumps.  From Masaharu Onishi.
65169632Seric	Allow on-line comments in .forward and :include: files; they are
65269632Seric		introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
65369632Seric		is a space or a tab.  This is intended for native
65469632Seric		representation of non-ASCII sets such as Japanese, where
65569632Seric		existing encodings would be unreadable or would lose
65669632Seric		data -- for example,
65769632Seric		 <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
65869632Seric					(romanized/less information)
65969632Seric		 <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
66069632Seric					      =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
66169632Seric					(with MIME encoding, not human readable)
66269632Seric		 <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
66369632Seric					(native encoding with ISO-2022-JP)
66469632Seric		The last form is human readable in the Japanese environment.
66569632Seric		Based on a fix from (surprise!) Motonori Nakamura.
66669632Seric	Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
66769632Seric		messages to that host; these are most frequently associated
66869632Seric		with addresses rather than the host, with the exception of
66969632Seric		421 (service shutting down).  The effect was to cause queues
67069632Seric		to sometimes take an excessive time to flush.  Reported by
67169632Seric		Robert Sargent of Southern Geographics Technologies.
67269632Seric	Add Nice=N mailer option to set the niceness at which a mailer will
67369632Seric		run.
67469632Seric	When looking for a default config file (that is, not specified using
67569632Seric		a -C flag), try a configuration file name extended by the
67669632Seric		binary version number -- e.g., sendmail.8.7.Alpha.9.cf,
67769632Seric		sendmail.8.7.Alpha.cf, sendmail.8.7.cf, sendmail.8.cf, and
67869632Seric		sendmail.cf in that order.  This should make it easier to
67969632Seric		test new versions in a shared environment.
68069632Seric	Log queue runs that are skipped due to high loads.  They are logged
68169632Seric		at LOG_INFO priority iff the log level is > 8.  Contributed
68269632Seric		by Bruce Nagel of Data General.
68369632Seric	Allow the error mailer to accept a DSN-style error status code
68469632Seric		instead of an sysexits status code in the host part.
68569632Seric		Anything with a dot will be interpreted as a DSN-style code.
68669632Seric	Add new mailer flag: F=3 will tell translations to Quoted-Printable
68769632Seric		to encode characters that might be munged by an EBCDIC system
68869632Seric		in addition to the set required by RFC 1521.  The additional
68969632Seric		characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
69069632Seric		(Think of "IBM 360" as the mnemonic for this flag.)
69169632Seric	Change check for mailing to files to look for a pathname of [FILE]
69269632Seric		rather than looking for the mailer named *file*.  The mapping
69369632Seric		of leading slashes still goes to the *file* mailer.  This
69469632Seric		allows you to implement the *file* mailer as a separate
69569632Seric		program, for example, to insert a Content-Length: header
69669632Seric		or do special security policy.  However, note that the usual
69769632Seric		initial checking for the file permissions is still done, and
69869632Seric		the program in question needs to be very careful about how
69969632Seric		it does the file write to avoid security problems.
70069632Seric	Be able to read ~root/.forward even if the path isn't accessible to
70169632Seric		regular users.  This is disrecommended because sendmail
70269632Seric		sometimes does not run as root (e.g., when an unsafe option
70369632Seric		is specified on the command line), but should otherwise be
70469632Seric		safe because .forward files must be owned by the user for
70569632Seric		whom mail is being forwarded, and cannot be a symbolic link.
70669632Seric		Suggested by Forrest Aldrich of Wang Laboratories.
70769632Seric	Add new "HostsFile" option that is the pathname to the /etc/hosts
70869632Seric		file.  This is used for canonifying hostnames when the
70969632Seric		service type is "files".
71069632Seric	Implement programs on F (read class from file) line.  The syntax is
71169632Seric		Fc|/path/to/program to read the output from the program
71269632Seric		into class "c".
71369632Seric	Probe the network interfaces to find alternate names for this
71469632Seric		host.  Requires the SIOCGIFCONF ioctl call.  Code
71569632Seric		contributed by SunSoft.
71669632Seric	Add "E" configuration line to set or propogate environment
71769632Seric		variables into children.  "E<envar>" will propogate
71869632Seric		the named variable from the environment when sendmail
71969632Seric		was invoked into any children it calls; "E<envar>=<value>"
72069632Seric		sets the named variable to the indicated value.  Any
72169632Seric		variables not explicitly named will not be in the child
72269632Seric		environment.  However, sendmail still forces an
72369632Seric		"AGENT=sendmail" environment variable, in part to enforce
72469632Seric		at least one environment variable, since many programs and
72569632Seric		libraries die horribly if this is not guaranteed.
72669664Seric	Change heuristic for rebuilding both NEWDB and NDBM versions of
72769664Seric		alias databases -- new algorithm looks for the substring
72869664Seric		"/yp/" in the file name.  This is more portable and involves
72969664Seric		less overhead.  Suggested by Motonori Nakamura.
73069732Seric	Dynamically allocate the queue work list so that you don't lose
73169732Seric		jobs in large queue runs.  The old QUEUESIZE compile parameter
73269732Seric		is replaced by QUEUESEGSIZE (the unit of allocation, which
73369732Seric		should not need to be changed) and the MaxQueueRunSize option,
73469732Seric		which is the absolute maximum number of jobs that will ever
73569732Seric		be handled in a single queue run.  Based on code contributed
73669732Seric		by Brian Coan of the Institute for Global Communications.
73769732Seric	Log message when a message is dropped because it exceeds the maximum
73869732Seric		message size.  Suggested by Leo Bicknell of Virginia Tech.
73969791Seric	Allow trusted users (those on a T line or in $=t) to use -bs without
74069791Seric		an X-Authentication-Warning: added.  Suggested by Mark Thomas
74169791Seric		of Mark G. Thomas Consulting.
742*69857Seric	Announce state of compile flags on -d0.1 (-d0.10 throws in the
743*69857Seric		OS-dependent defines).  The old semantic of -d0.1 to not
744*69857Seric		run the daemon in background has been moved to -d99.100,
745*69857Seric		and the old 52.5 flag (to avoid disconnect() from closing
746*69857Seric		all output files) has been moved to 52.100.  This makes
747*69857Seric		things more consistent (flags below .100 don't change
748*69857Seric		semantics) and separates out the backgrounding so that
749*69857Seric		IBM's SRC can be used.
750*69857Seric	If -t is used but no addresses are found in the header, give an
751*69857Seric		error message rather than just doing nothing.  Fix from
752*69857Seric		Motonori Nakamura.
753*69857Seric	On systems (like SunOS) where the effective gid is not necessarily
754*69857Seric		included in the group list returned by getgroups(), the
755*69857Seric		`restrictmailq' option could sometimes cause an authorized
756*69857Seric		user to not be able to use `mailq'.  Fix from Charles Hannum
757*69857Seric		of MIT.
758*69857Seric	Allow symbolic service names for [IPC] mailers.  Suggested by
759*69857Seric		Gerry Magennis of Logica International.
760*69857Seric	Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
761*69857Seric		when running DNS.  For example, if the name FTP.Foo.ORG is
762*69857Seric		a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
763*69857Seric		the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
764*69857Seric		if this option is not set, or "FTP.Foo.ORG" if it is set.
765*69857Seric		This is technically illegal under RFC 822 and 1123, but the
766*69857Seric		IETF is moving toward legalizing it.  Note that turning on
767*69857Seric		this option is not sufficient to guarantee that a downstream
768*69857Seric		neighbor won't rewrite the address for you.
76969632Seric	PORTABILITY FIXES:
77069632Seric		Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
77169632Seric		System V Release 4 from Motonori Nakamura of Ritsumeikan
77269632Seric			University.  This expands the disk size
77369632Seric			checking to include all (?) SVR4 configurations.
77469632Seric		System V Release 4 from Kimmo Suominen -- initgroups(3)
77569632Seric			and setrlimit(2) are both available.
77669632Seric		System V Release 4 from sob@sculley.ffg.com -- some versions
77769632Seric			apparently "have EX_OK defined in other headerfiles."
77869632Seric		Linux Makefile typo.
77969632Seric		Linux getusershell(3) is broken in Slackware 2.0 --
78069632Seric			from Andrew Pam of Xanadu Australia.
78169632Seric		More Linux tweaking from John Kennedy of California State
78269632Seric			University, Chico.
78369632Seric		Cray changes from Eric Wassenaar:  ``On Cray, shorts,
78469632Seric			ints, and longs are all 64 bits, and all structs
78569632Seric			are multiples of 64 bits.  This means that the
78669632Seric			sizeof operator returns only multiples of 8.
78769632Seric			This requires adaptation of code that really
78869632Seric			deals with 32 bit or 16 bit fields, such as IP
78969632Seric			addresses or nameserver fields.''
79069632Seric		DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
79169632Seric			get the old behaviour, use -DDGUX_5_4_2.
79269632Seric		DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
79369632Seric			variable to fix bogus /bin/mail behaviour.
79469632Seric		Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
79569632Seric			This also cleans up some System V Release 4 compile
79669632Seric			problems.
79769632Seric		Solaris 2: sendmail.cw file should be in /etc/mail to
79869632Seric			match all the other configuration files.  Fix
79969632Seric			from Glenn Barry of Emory University.
80069632Seric		Solaris 2.3: compile problem in conf.c.  Fix from Alain
80169632Seric			Nissen of the University of Liege, Belgium.
80269632Seric		Ultrix: freespace calculation was incorrect.  Fix from
80369632Seric			Takashi Kizu of Osaka University.
80469632Seric		SVR4: running in background gets a SIGTTOU because the
80569632Seric			emulation code doesn't realize that "getpeername"
80669632Seric			doesn't require reading the file.  Fix from Peter
80769632Seric			Wemm of DIALix.
80869632Seric		Solaris 2.3: due to an apparent bug in the socket emulation
80969632Seric			library, sockets can get into a "wedged" state where
81069632Seric			they just return EPROTO; closing and re-opening the
81169632Seric			socket clears the problem.  Fix from Bob Manson
81269632Seric			of Ohio State University.
81369632Seric		Hitachi 3050R & 3050RX running HI-UX/WE2: portability
81469632Seric			fixes from Akihiro Hashimoto ("Hash") of Chiba
81569632Seric			University.
81669632Seric		AIX changes to allow setproctitle to work from Rainer Sch�pf
81769632Seric			of Zentrum f�r Datenverarbeitung der Universit�t
81869632Seric			Mainz.
819*69857Seric		AIX changes for load average from Ed Ravin of NASA/Goddard.
82069632Seric		SCO Unix from Chip Rosenthal of Unicom (code was using the
82169632Seric			wrong statfs call).
82269632Seric		ANSI C fixes from Adam Glass (NetBSD project).
82369632Seric		Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
82469632Seric			University.
82569632Seric		DG-UX fixes from Bruce Nagel of Data General.
82669632Seric		IRIX64 updates from Mark Levinson of the University of
82769632Seric			Rochester Medical Center.
82869632Seric		Altos System V (``the first UNIX/XENIX merge the Altos
82969632Seric			did for their Series 1000 & Series 2000 line;
83069632Seric			their merged code was licenced back to AT&T and
83169632Seric			Microsoft and became System V release 3.2'') from
83269632Seric			Tim Rice <timr@crl.com>.
83369632Seric		OSF/1 running on Intel Paragon from Jeff A. Earickson
83469632Seric			<jeff@ssd.intel.com> of Intel Scalable Systems
83569632Seric			Divison.
83669632Seric		Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
83769632Seric			<janet@dialix.oz.au>.
83869632Seric		System V Release 4 (statvfs semantic fix) from Alain
83969632Seric			Durand of I.M.A.G.
84069632Seric		HP-UX 10.x multiprocessor load average changes from
84169632Seric			Scott Hutton and Jeff Sumler of Indiana University.
84269632Seric		Cray CSOS from Scott Bolte of Cray Computer Corporation.
84369632Seric		Unicos 8.0 from Douglas K. Rand of the University of North
84469632Seric			Dakota, Scientific Computing Center.
84569632Seric		Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
84669632Seric		ConvexOS 11.0 from Christophe Wolfhugel.
84769632Seric		IRIX 4.0.5 from David Ashton-Reader of CADcentre.
84869632Seric		ISC UNIX from J. J. Bailey.
84969632Seric		HP-UX 9.xx on the 8xx series machines from Remy Giraud
85069632Seric			of Meteo France.
85169632Seric		HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
85269632Seric		IRIX 5.2 and 5.3 from Kari E. Hurtta.
85369632Seric		FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
85469632Seric		Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
85569632Seric		Omron LUNA unios-b, mach from Motonori Nakamura.
85669632Seric		NEC EWS-UX/V 4.2 from Motonori Nakamura.
85769632Seric		NeXT 2.1 from Bryan Costales.
85869632Seric		AUX patch thanks to Mike Erwin of Apple Computer.
85969632Seric		HP-UX 10.0 from John Beck of Hewlett-Packard.
86069632Seric		Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
86169632Seric			non-DEC resolver.  Suggested by Allan Johannesen.
862*69857Seric		UnixWare 2.0 fixes from Petr Lampa of the Technical
863*69857Seric			University of Brno (Czech Republic).
86469632Seric	MAKEMAP: allow -d flag to allow insertion of duplicate aliases
86569632Seric		in type ``btree'' maps.  The semantics of this are undefined
86669632Seric		for regular maps, but it can be useful for the user database.
86769632Seric	MAKEMAP: lock database file while rebuilding to avoid sendmail
86869632Seric		lookups while the rebuild is going on.  There is a race
86969632Seric		condition between the open(... O_TRUNC ...) and the lock
87069632Seric		on the file, but it should be quite small.
87169632Seric	SMRSH: sendmail restricted shell added to the release.  This can
87269632Seric		be used as an alternative to /bin/sh for the "prog" mailer,
87369632Seric		giving the local administrator more control over what
87469632Seric		programs can be run from sendmail.
87569791Seric	MAIL.LOCAL: add this local mailer to the tape.  It is not really
87669791Seric		part of the release proper, and isn't fully supported; in
87769791Seric		particular, it does not run on System V based systems and
87869791Seric		never will.
87969632Seric	CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
88069632Seric		to allow rmail to compile on systems that don't have
88169632Seric		function prototypes and systems that don't have snprintf.
88269632Seric	CONTRIB: add the "mailprio" scripts that will help you sort mailing
88369632Seric		lists by transaction delay times so that addresses that
88469632Seric		respond quickly get sent first.  This is to prevent very
88569632Seric		sluggish servers from delaying other peoples' mail.
88669632Seric		Contributed by Tony Sanders of BSDI.
88769632Seric	CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
88869632Seric		of BSDI.  This has a lot of comments to help people out.
88969632Seric	CONFIG: fix mail from <> so it will properly convert to
89069632Seric		MAILER-DAEMON on local addresses.
89169632Seric	CONFIG: fix code that was supposed to catch colons in host
89269632Seric		names.  Problem noted by John Gardiner Myers of CMU.
89369632Seric	CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
89469632Seric		From Paul Riddle of the University of Maryland, Baltimore
89569632Seric		County.
89669632Seric	CONFIG: Catch and reject "." as a host address.
89769632Seric	CONFIG: Generalize domaintable to look up all domains, not
89869632Seric		just unqualified ones.
89969632Seric	CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
90069632Seric		was never used and didn't work anyway.
90169632Seric	CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
90269632Seric		and d on all mailers in the UUCP class.
90369632Seric	CONFIG: Allow "user+detail" to be aliased specially: it will first
90469632Seric		look for an alias for "user+detail", then for "user+*", and
90569632Seric		finally for "user".  This is intended for forwarding mail
90669632Seric		for system aliases such as root and postmaster to a
90769632Seric		centralized hub.
90869632Seric	CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
90969632Seric	CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
91069632Seric		The F=8 flag is also set on the "relay" mailer, since
91169632Seric		this is expected to be another sendmail.
91269632Seric	CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
91369632Seric		the name of the UUCP_RELAY -- in some cases, this is the
91469632Seric		wrong value (e.g., when we have local UUCP connections),
91569632Seric		and this can create unreplyable addresses.  From Chip
91669632Seric		Rosenthal of Unicom.
91769632Seric	CONFIG: add confRECEIVED_HEADER to change the format of the
91869632Seric		Received: header inserted into all messages. Suggested by
91969632Seric		Gary Mills of the University of Manitoba.
92069632Seric	CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
92169632Seric		to get the old behaviour.  I did this upon observing
92269632Seric		that almost everyone needed this feature, and that the
92369632Seric		concept I was trying to make happen didn't work with
92469632Seric		some user agents anyway.  FEATURE(notsticky) still works,
92569632Seric		but it is a no-op.
92669632Seric	CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
92769632Seric		names are sent, rather than immediately diagnosing them
92869632Seric		as User Unknown.
92969632Seric	CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
93069632Seric		and RELAY_MAILER_ARGS to set the arguments for the
93169632Seric		indicated mailers.  All default to "IPC $h".  Patch from
93269632Seric		Larry Parmelee of Cornell University.
93369632Seric	CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
93469632Seric		on the client side" and F=P to get an appropriate
93569632Seric		return-path.  From Kimmo Suominen.
93669632Seric	CONFIG: add FEATURE(local_procmail) to use the procmail program
93769632Seric		as the local mailer.  For addresses of the form "user+detail"
93869632Seric		the "detail" part is passed to procmail via the -a flag.
93969632Seric		Contributed by Kimmo Suominen.
94069632Seric	CONFIG: add MAILER(procmail) to add an interface to procmail for
94169632Seric		use from mailertables.  This lets you execute arbitrary
94269632Seric		procmail scripts.  Contributed by Kimmo Suominen.
94369632Seric	CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
94469632Seric	CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
94569632Seric		Paul Southworth of CICNet Systems Support.
94669632Seric	CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
94769632Seric		This causes the null return path to be rewritten as
94869632Seric		MAILER-DAEMON; otherwise UUCP gets horribly confused.
94969632Seric		From Michael Hohmuth of Technische Universitat Dresden.
95069632Seric	CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
95169632Seric		list us as the best possible MX record to be treated as
95269632Seric		though they were local (essentially, assume that they
95369632Seric		are included in $=w).  This can cause additional DNS
95469632Seric		traffic, but is easier to administer if this fits your
95569632Seric		local model.  It does not work reliably if there are
95669632Seric		multiple hosts that share the best MX preference.
95769632Seric		Code contributed by John Oleynick of Rutgers.
95869632Seric	CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
95969632Seric		SHell) instead of /bin/sh as the program used for delivery
96069632Seric		to programs.  If an argument is included, it is used as
96169632Seric		the path to smrsh; otherwise, /usr/local/etc/smrsh is
96269632Seric		assumed.
96369632Seric	CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
96469632Seric		size of messages to the local and procmail mailers
96569632Seric		respectively.  Contributed by Brad Knowles of the Defense
96669632Seric		Information Systems Agency.
96769632Seric	CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
96869632Seric		(just like text outside of angle brackets) in order to
96969632Seric		properly deal with ``group: addr1, ... addrN;'' syntax.
97069632Seric	CONFIG: Require OSTYPE macro (the defaults really don't apply to
97169632Seric		any real systems any more) and tweak the DOMAIN macro
97269632Seric		so that it is less likely that users will accidently use
97369632Seric		the Berkeley defaults.  Also, create some generic files
97469632Seric		that really can be used in the real world.
97569632Seric	CONFIG: Add new configuration macros to set character sets for
97669632Seric		messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
97769632Seric		SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
97869632Seric	CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
97969632Seric		The old name will still be accepted for a while at least.
98069632Seric	CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
98169632Seric		mail (.DECNET pseudo-domain or node::user) will be sent.
98269632Seric		As with all relays, it can be ``mailer:hostname''.  Suggested
98369632Seric		by Scott Hutton.
98469632Seric	CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
98569632Seric		by Barb Dijker of Labyrinth Computer Services.
98669664Seric	CONFIG: change confCHECK_ALIASES to default to False -- it has poor
98769664Seric		performance for large alias files, and this confused many
98869664Seric		people.
989*69857Seric	CONFIG: Add confCF_VERSION to append local information to the
990*69857Seric		configuration version number displayed during SMTP startup.
991*69857Seric	CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
992*69857Seric		would only work when locally addressed.  Fix from
993*69857Seric		Edvard Tuinder of Cistron Internet Services.
99469632Seric	NEW FILES:
99569632Seric		cf/cf/cs-hpux10.mc
99669632Seric		cf/cf/cs-solaris2.mc
99769632Seric		cf/cf/generic-hpux10.mc
99869632Seric		cf/cf/generic-hpux9.mc
99969632Seric		cf/cf/generic-osf1.mc
100069632Seric		cf/cf/generic-solaris2.mc
100169632Seric		cf/cf/generic-sunos4.1.mc
100269632Seric		cf/cf/generic-ultrix4.mc
100369632Seric		cf/cf/huginn.cs.mc
100469632Seric		cf/domain/berkeley-only.m4
100569632Seric		cf/domain/generic.m4
100669632Seric		cf/feature/bestmx_is_local.m4
100769632Seric		cf/feature/local_procmail.m4
100869632Seric		cf/feature/smrsh.m4
100969632Seric		cf/feature/stickydomain.m4
101069664Seric		cf/mailer/mail11.m4
101169632Seric		cf/mailer/procmail.m4
101269632Seric		cf/ostype/amdahl-uts.m4
101369632Seric		cf/ostype/hpux10.m4
101469632Seric		cf/ostype/ptx2.m4
101569632Seric		cf/ostype/unknown.m4
101669632Seric		contrib/bsdi.mc
101769632Seric		contrib/mailprio
101869632Seric		contrib/rmail.oldsys.patch
101969632Seric		smrsh/README
102069632Seric		smrsh/smrsh.8
102169632Seric		smrsh/smrsh.c
102269632Seric		src/Makefiles/Makefile.CSOS
102369664Seric		src/Makefiles/Makefile.EWS-UX_V
102469632Seric		src/Makefiles/Makefile.IRIX.5.x
102569632Seric		src/Makefiles/Makefile.IRIX64
102669632Seric		src/Makefiles/Makefile.ISC
102769664Seric		src/Makefiles/Makefile.NEWS-OS.4.x
102869664Seric		src/Makefiles/Makefile.NEWS-OS.6.x
102969632Seric		src/Makefiles/Makefile.NonStop-UX
103069632Seric		src/Makefiles/Makefile.Paragon
103169632Seric		src/Makefiles/Makefile.SunOS.5.3
103269632Seric		src/Makefiles/Makefile.SunOS.5.4
103369791Seric		src/Makefiles/Makefile.SunOS.5.5
1034*69857Seric		src/Makefiles/Makefile.UNIX_SV.4.x.i386
103569632Seric		src/Makefiles/Makefile.uts.systemV
103669632Seric		src/mime.c
103769664Seric		test/t_seteuid.c
103869632Seric	RENAMED FILES:
103969632Seric		cf/cf/alpha.mc =>		cf/cf/s2k-osf1.mc
104069632Seric		cf/cf/chez.mc =>		cf/cf/chez.cs.mc
104169632Seric		cf/cf/hpux-cs-exposed.mc =>	cf/cf/cs-hpux9.mc
104269632Seric		cf/cf/osf1-cs-exposed.mc =>	cf/cf/cs-osf1.mc
104369632Seric		cf/cf/s2k.mc =>			cf/cf/s2k-ultrix4.mc
104469632Seric		cf/cf/sunos4.1-cs-exposed.mc =>	cf/cf/cs-sunos4.1.mc
104569632Seric		cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
104669632Seric		cf/cf/vangogh.mc =>		cf/cf/vangogh.cs.mc
104769632Seric		cf/domain/Berkeley.m4 =>	cf/domain/Berkeley.EDU.m4
104869632Seric		cf/domain/cs-exposed.m4 =>	cf/domain/CS.Berkeley.EDU.m4
104969632Seric		cf/domain/eecs-hidden.m4 =>	cf/domain/EECS.Berkeley.EDU.m4
105069632Seric		cf/domain/s2k.m4 =>		cf/domain/S2K.Berkeley.EDU.m4
105169632Seric		cf/ostype/hpux.m4 =>		cf/ostype/hpux9.m4
105269632Seric		cf/ostype/ultrix4.1.m4 =>	cf/ostype/ultrix4.m4
105369632Seric		src/Makefile.* =>		src/Makefiles/Makefile.*
105469678Seric		src/Makefile.SunOS.4.0.3 =>	src/Makefiles/Makefile.SunOS.4.0
105569632Seric	OBSOLETED FILES:
105669632Seric		cf/cf/cogsci.mc
105769632Seric		cf/cf/cs-exposed.mc
105869632Seric		cf/cf/cs-hidden.mc
105969632Seric		cf/cf/hpux-cs-hidden.mc
106069632Seric		cf/cf/knecht.mc
106169632Seric		cf/cf/osf1-cs-hidden.mc
106269632Seric		cf/cf/sunos3.5-cs-exposed.mc
106369632Seric		cf/cf/sunos3.5-cs-hidden.mc
106469632Seric		cf/cf/sunos4.1-cs-hidden.mc
106569632Seric		cf/cf/ultrix4.1-cs-hidden.mc
106669632Seric		cf/domain/cs-hidden.m4
106769632Seric		contrib/rcpt-streaming
106869632Seric		src/Makefiles/Makefile.SunOS.5.x
106969632Seric
107068613Seric8.6.12/8.6.12	95/03/28
107168613Seric	Fix to IDENT code (it was getting the size of the reply buffer
107268613Seric		too small, so nothing was ever accepted).  Fix from several
107368613Seric		people, including Allan Johannesen, Shane Castle of the
107468613Seric		Boulder County Information Services, and Jeff Smith of
107568613Seric		Warwick University (all arrived within a few hours of
107668613Seric		each other!).
107768613Seric	Fix a problem that could cause large jobs to run out of
107868613Seric		file descriptors on systems that use vfork() rather
107968613Seric		than fork().
108068613Seric
108168503Seric8.6.11/8.6.11	95/03/08
108268503Seric	The ``possible attack'' message would be logged more often
108368503Seric		than necessary if you are using Pine as a user agent.
108468503Seric	The wrong host would be reported in the ``possible attack''
108568503Seric		message when attempted from IDENT.
108668503Seric	In some cases the syslog buffer could be overflowed when
108768503Seric		reporting the ``possible attack'' message.  This can
108868503Seric		cause denial of service attacks.  Truncate the message
108968503Seric		to 80 characters to prevent this problem.
109068503Seric	When reading the IDENT response a loop is needed around the
109168503Seric		read from the network to ensure that you don't get
109268503Seric		partial lines.
109368503Seric	Password entries without any shell listed (that is, a null
109468503Seric		shell) wouldn't match as "ok".  Problem noted by
109568503Seric		Rob McMahon.
109668503Seric	When running BIND 4.9.x a problem could occur because the
109768503Seric		_res.options field is initialized differently than it
109868503Seric		was historically -- this requires that sendmail call
109968503Seric		res_init before it tweaks any bits.
110068503Seric	Fix an incompatibility in openxscript() between the file open mode
110168503Seric		and the stdio mode passed to fdopen.  This caused UnixWare
110268503Seric		2.0 to have conniptions.  Fix from Martin Sohnius of
110368503Seric		Novell Labs Europe.
110468503Seric	Fix problem with static linking of local getopt routine when
110568503Seric		using GNU's ld command.  Fix from John Kennedy of
110668503Seric		Cal State Chico.
110768503Seric	It was possible to turn off privacy flags.  Problem noted by
110868503Seric		*Hobbit*.
110968503Seric	Be more paranoid about writing files.  Suggestions by *Hobbit*
111068503Seric		and Liudvikas Bukys.
111168503Seric	MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
111268503Seric		from Spider Boardman.
111368503Seric	CONFIG: No changes (version number only, to keep it in sync
111468503Seric		with the binaries).
111568503Seric
111668280Seric8.6.10/8.6.10	95/02/10
111768274Seric	SECURITY: Diagnose bogus values to some command line flags that
111868274Seric		could allow trash to get into headers and qf files.
111968274Seric	Validate the name of the user returned by the IDENT protocol.
112068274Seric		Some systems that really dislike IDENT send intentionally
112168274Seric		bogus information.  Problem pointed out by Michael Bushnell
112268274Seric		of the Free Software Foundation.  Has some security
112368274Seric		implications.
112468274Seric	Fix a problem causing error messages about DNS problems when
112568274Seric		the host name contained a percent sign to act oddly
112668274Seric		because it was passed as a printf-style format string.
112768274Seric		In some cases this could cause core dumps.
112868274Seric	Avoid possible buffer overrun in returntosender() if error
112968274Seric		message is quite ling.  From Fletcher Mattox of the
113068274Seric		University of Texas.
113168274Seric	Fix a problem that would silently drop "too many hops" error
113268274Seric		messages if and only if you were sending to an alias.
113368274Seric		From Jon Giltner of the University of Colorado and
113468274Seric		Dan Harton of Oak Ridge National Laboratory.
113568274Seric	Fix a bug that caused core dumps on some systems if -d11.2 was
113668274Seric		set and e->e_message was null.  Fix from Bruce Nagel of
113768274Seric		Data General.
113868274Seric	Fix problem that can still cause df files to be left around
113968274Seric		after "hop count exceeded" messages.  Fix from Andrew
114068274Seric		Chang and Shau-Ping Lo of SunSoft.
114168274Seric	Fix a problem that can cause buffer overflows on very long
114268274Seric		user names (as might occur if you piped to a program
114368274Seric		with a lot of arguments).
114468274Seric	Avoid returning an error and re-queueing if the host signature
114568274Seric		is null; this can occur on addresses like ``user@.''.
114668274Seric		Problem noted by Wesley Craig and the University of
114768274Seric		Michigan.
114868274Seric	Avoid possible calls to malloc(0) if MCI caching is turned
114968274Seric		off.  Bug fix from Pierre David of the Laboratoire
115068274Seric		Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
115168274Seric		Universite de Versailles - St Quentin, and Jacky
115268274Seric		Thibault.
115368274Seric	Make a local copy of the line being sent via senttolist() -- in
115468274Seric		some cases, buffers could get trashed by map lookups
115568274Seric		causing it to do unexpected things.  This also simplifies
115668274Seric		some of the map code.
115768503Seric	CONFIG: No changes (version number only, to keep it in sync
115868503Seric		with the binaries).
115968274Seric
116066956Seric8.6.9/8.6.9	94/04/19
116166920Seric	Do all mail delivery completely disconnected from any terminal.
116266920Seric		This provides consistency with daemon delivery and
116366920Seric		may have some security implications.
116466920Seric	Make sure that malloc doesn't get called with zero size,
116566920Seric		since that fails on some systems.  Reported by Ed
116666920Seric		Hill of the University of Iowa.
116766920Seric	Fix multi-line values for $e (SMTP greeting message).  Reported
116866920Seric		by Mike O'Connor of Ford Motor Company.
116966920Seric	Avoid syserr if no NIS domain name is defined, but the map it
117066920Seric		is trying to open is optional.  From Win Bent of USC.
117166920Seric	Changes for picky compilers from Ed Gould of Digital Equipment.
117266920Seric	Hesiod support for UDB from Todd Miller of the University of
117366920Seric		Colorado.  Use "hesiod" as the service name in the U
117466920Seric		option.
117566920Seric	Fix a problem that failed to set the "authentic" host name (that
117666920Seric		is, the one derived from the socket info) if you called
117766920Seric		sendmail -bs from inetd.  Based on code contributed by
117866920Seric		Todd Miller (this problem was also reported by Guy Helmer
117966920Seric		of Dakota State University).  This also fixes a related
118066996Seric		problem reported by Liudvikas Bukys of the University of
118166996Seric		Rochester.
118266920Seric	Parameterize "nroff -h" in all the Makefiles so people with
118366920Seric		variant versions can use them easily.  Suggested by
118466920Seric		Peter Collinson of Hillside Systems.
118566920Seric	SMTP "MAIL" commands with multiple ESMTP parameters required two
118666920Seric		spaces between parameters instead of one.  Reported by
118766920Seric		Valdis Kletnieks of Virginia Tech.
118866920Seric	Reduce the number of system calls during message collection by
118966920Seric		using global timeouts around the collect() loop.  This
119066920Seric		code was contributed by Eric Wassenaar.
119166920Seric	If the initial hostname name gathering results in a name
119266920Seric		without a dot (usually caused by NIS misconfiguration)
119366920Seric		and BIND is compiled in, directly access DNS to get
119466920Seric		the canonical name.  This should make life easier for
119566920Seric		Solaris systems.  If it still can't be resolved, and
119666920Seric		if the name server is listed as "required", try again
119766920Seric		in 30 seconds.  If that also fails, exit immediately to
119866920Seric		avoid bogus "config error: mail loops back to myself"
119966920Seric		messages.
120066920Seric	Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
120166920Seric		message to explain how much space was available and
120266920Seric		sound a bit less threatening.  Suggested by Stan Janet
120366920Seric		of the National Institute of Standards and Technology.
120466920Seric	If mail is delivered to an alias that has an owner, deliver any
120566920Seric		requested return-receipt immediately, and strip the
120666920Seric		Return-Receipt-To: header from the subsequent message.
120766920Seric		This prevents a certain class of denial of service
120866920Seric		attack, arguably gives more reasonable semantics, and
120966920Seric		moves things more towards what will probably become a
121066920Seric		network standard.  Suggested by Christopher Davis of
121166920Seric		Kapor Enterprises.
121266920Seric	Add a "noreceipts" privacy flag to turn off all return receipts
121366920Seric		without recompiling.
121466920Seric	Avoid printing ESMTP parameters as part of the error message
121566920Seric		if there are errors during parsing.  This change is
121666920Seric		purely cosmetic.
121766920Seric	Avoid sending out error messages during the collect phase of
121866920Seric		SMTP; there is an MVS mailer from UCLA that gets
121966920Seric		confused by this.  Of course, I think it's their bug....
122066920Seric	Check for the $j macro getting undefined, losing a dot, or getting
122166920Seric		lost from $=w in the daemon before accepting a connection;
122266920Seric		if it is, it dumps state, prints a LOG_ALERT message,
122366920Seric		and drops core for debugging.  This is an attempt to
122466920Seric		track down a bug that I thought was long since gone.
122566920Seric		If you see this, please forward the log fragment to
122666920Seric		sendmail@CS.Berkeley.EDU.
122766920Seric	Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
122866920Seric		with -DOLD_NEWDB=0 on the command line.  From Christophe
122966920Seric		Wolfhugel.
123066920Seric	Instead of trying to truncate the listen queue for the server
123166920Seric		SMTP port when the load average is too high, just close
123266920Seric		the port completely and reopen it later as needed.
123366920Seric		This ensures that the other end gets a quick "connection
123466920Seric		refused" response, and that the connection can be
123566920Seric		recovered later.  In particular, some socket emulations
123666920Seric		seem to get confused if you tweak the listen queue
123766920Seric		size around and can never start listening to connections
123866920Seric		again.  The down side is that someone could start up
123966920Seric		another daemon process in the interim, so you could
124066920Seric		have multiple daemons all not listening to connections;
124166920Seric		this could in turn cause the sendmail.pid file to be
124266920Seric		incorrect.  A better approach might be to accept the
124366920Seric		connection and give a 421 code, but that could break
124466920Seric		other mailers in mysterious ways and have paging behaviour
124566920Seric		implications.
124666920Seric	Fix a glitch in TCP-level debugging that caused flag 16.101 to
124766920Seric		set debugging on the wrong socket.  From Eric Wassenaar.
124866920Seric	When creating a df* temporary file, be sure you truncate any
124966920Seric		existing data in the file -- otherwise system crashes
125066920Seric		and the like could result in extra data being sent.
125166920Seric	DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
125266920Seric		doc directory.  This includes some additional
125366920Seric		information.
125466920Seric	CONFIG: change UUCP rules to never add $U! or $k! on the front
125566920Seric		of recipient envelope addresses.  This should have been
125666920Seric		handled by the $&h trick, but broke if people were
125766920Seric		mixing domainized and UUCP addresses.  They should
125866920Seric		probably have converted all the way over to uucp-uudom
125966920Seric		instead of uucp-{new,old}, but the failure mode was to
126066920Seric		loop the mail, which was bad news.
126166920Seric	Portability fixes:
126266920Seric		Newer BSDI systems (several people).
126366920Seric		Older BSDI systems from Christophe Wolfhugel.
126466920Seric		Intergraph CLIX, from Paul Southworth of CICNet.
126566920Seric		UnixWare, from Evan Champion.
126666920Seric		NetBSD from Adam Glass.
126766920Seric		Solaris from Quentin Campbell of the University of
126866920Seric			Newcastle upon Tyne.
126966920Seric		IRIX from Dean Cookson and Bill Driscoll of Mitre
127066920Seric			Corporation.
127169632Seric		NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
127266920Seric		SunOS (it has setsid() and setvbuf() calls) from
127366920Seric			Jonathan Kamens of OpenVision Technologies.
127466920Seric		HP-UX from Tor Lillqvist.
127566920Seric	New Files:
127666920Seric		src/Makefile.CLIX
127766920Seric		src/Makefile.NCR3000
127866920Seric		doc/changes/Makefile
127966920Seric		doc/changes/changes.me
128066920Seric		doc/changes/changes.ps
128166920Seric
128266432Seric8.6.8/8.6.6	94/03/21
128366432Seric	SECURITY: it was possible to read any file as root using the
128466432Seric		E (error message) option.  Reported by Richard Jones;
128566432Seric		fixed by Michael Corrigan and Christophe Wolfhugel.
128666432Seric
128766356Seric8.6.7/8.6.6	94/03/14
128866356Seric	SECURITY: it was possible to get root access by using wierd
128966356Seric		values to the -d flag.  Thanks to Alain Durand of
129066356Seric		INRIA for forwarding me the notice from the bugtraq
129166356Seric		list.
129266356Seric
129366352Seric8.6.6/8.6.6	94/03/13
129466352Seric	SECURITY: the ability to give files away on System V-based
129566352Seric		systems proved dangerous -- don't run as the owner
129666352Seric		of a :include: file on a system that allows giveaways.
129766352Seric		Unfortunately, this also applies to determining a
129866352Seric		valid shell.
129966352Seric	IMPORTANT: Previous versions weren't expiring old connections
130066352Seric		in the connection cache for a long time under some
130166352Seric		circumstances.  This could result in resource exhaustion,
130266352Seric		both at your end and at the other end.  This checks the
130366352Seric		connections for timeouts much more frequently.  From
130466352Seric		Doug Anderson of NCSC.
130566352Seric	Fix a glitch that snuck in that caused programs to be run as
130666352Seric		the sender instead of the recipient if the mail was
130766352Seric		from a local user to another local user.  From
130866352Seric		Motonori Nakamura of Kyoto University.
130966352Seric	Fix "wildcard" on /etc/shell matching -- instead of looking
131066352Seric		for "*", look for "/SENDMAIL/ANY/SHELL/".  From
131166352Seric		Bryan Costales of ICSI.
131266352Seric	Change the method used to declare the "statfs" availability;
131366352Seric		instead of HASSTATFS and/or HASUSTAT with a ton of
131466352Seric		tweaking in conf.c, there is a single #define called
131566352Seric		SFS_TYPE which takes on one of six values (SFS_NONE
131666352Seric		for no statfs availability, SFS_USTAT for the ustat(2)
131766352Seric		syscall, SFS_4ARGS for a four argument statfs(2) call,
131866352Seric		and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
131966352Seric		statfs(2) call with the declarations in <sys/vfs.h>,
132066352Seric		<sys/mount.h>, or <sys/statfs.h> respectively).
132166352Seric	Fix glitch in NetInfo support that could return garbage if
132266352Seric		there was no "/locations/sendmail" property.  From
132366352Seric		David Meyer of the University of Virginia.
132466352Seric	Change HASFLOCK from defined/not-defined to a 0/1 definition
132566352Seric		to allow Linux to turn it off even though it is a
132666352Seric		BSD-like system.
132766352Seric	Allow setting of "ident" timeout to zero to turn off the ident
132866352Seric		protocol entirely.
132966352Seric	Make 7-bit stripping local to a connection (instead of to a
133066352Seric		mailer); this allows you to specify that SMTP is a
133166352Seric		7-bit channel, but revert to 8-bit should it advertise
133266352Seric		that it supports 8BITMIME.  You still have to specify
133366352Seric		mailer flag 7 to get this stripping at all.
133466352Seric	Improve makesendmail script so it handles more cases automatically.
133566352Seric	Tighten up restrictions on taking ownership of :include: files
133666352Seric		to avoid problems on systems that allow you to give away
133766352Seric		files.
133866352Seric	Fix a problem that made it impossible to rebuild the alias
133966352Seric		file if it was on a read-only file system.  From
134066352Seric		Harry Edmon of the University of Washington.
134166352Seric	Improve MX randomization function.  From John Gardiner Myers
134266352Seric		of CMU.
134366352Seric	Fix a minor glitch causing a bogus message to be printed (used
134466352Seric		%s instead of %d in a printf string for the line number)
134566352Seric		when a bad queue file was read.  From Harry Edmon.
134666352Seric	Allow $s to remain NULL on locally generated mail.  I'm not
134766352Seric		sure this is necessary, but a lot of people have complained
134866352Seric		about it, and there is a legitimate question as to whether
134966352Seric		"localhost" is legal as an 822-style domain.
135066352Seric	Fix a problem with very short line lengths (mailer L= flag) in
135166352Seric		headers.  This causes a leading space to be added onto
135266352Seric		continuation lines (including in the body!), and also
135366352Seric		tries to wrap headers containing addresses (From:, To:,
135466352Seric		etc) intelligently at the shorter line lengths.  Problem
135566352Seric		Reported by Lars-Johan Liman of SUNET Operations Center.
135666352Seric	Log the real user name when logging syserrs, since these can have
135766352Seric		security implications.  Suggested by several people.
135866352Seric	Fix address logging of cached connections -- it used to always
135966352Seric		log the numeric address as zero.  This is a somewhat
136066352Seric		bogus implementation in that it does an extra system
136166352Seric		call, but it should be an inexpensive one.  Fix from
136266352Seric		Motonori Nakamura.
136366352Seric	Tighten up handling of short syslog buffers even more -- there
136466352Seric		were cases where the outgoing relay= name was too long
136566352Seric		to share a line with delay= and mailer= logging.
136666352Seric	Limit the overhead on split envelopes to one open file descriptor
136766352Seric		per envelope -- previously the overhead was three
136866352Seric		descriptors.  This was in response to a problem reported
136966352Seric		by P{r (Pell) Emanuelsson.
137066352Seric	Fixes to better handle the case of unexpected connection closes;
137166352Seric		this redirects the output to the transcript so the info
137266352Seric		is not lost.  From Eric Wassenaar.
137366352Seric	Fix potential string overrun if you macro evaluate a string that
137466352Seric		has a naked $ at the end.  Problem noted by James Matheson
137566352Seric		<jmrm@eng.cam.ac.uk>.
137666352Seric	Make default error number on $#error messages 553 (``Requested
137766352Seric		action not taken: mailbox name not allowed'') instead of
137866352Seric		501 (``Syntax error in parameters or arguments'') to
137966352Seric		avoid bogus "protocol error" messages.
138066352Seric	Strip off any existing trailing dot on names during $[ ... $]
138166352Seric		lookup.  This prevents it from ending up with two dots
138266352Seric		on the end of dot terminated names.  From Wesley Craig
138366352Seric		of the University of Michigan and Bryan Costales of ICSI.
138466352Seric	Clean up file class reading so that the debugging information is
138566352Seric		more informative.  It hadn't been using setclass, so you
138666352Seric		didn't see the class items being added.
138766352Seric	Avoid core dump if you are running a version of sendmail where
138866352Seric		NIS is compiled in, and you specify an NIS map, but
138966352Seric		NIS is not running.  Fix from John Oleynick of
139066352Seric		Rutgers.
139166352Seric	Diagnose bizarre case where res_search returns a failure value,
139266352Seric		but sets h_errno to a success value.
139366352Seric	Make sure that "too many hops" messages are considered important
139466352Seric		enough to send an error to the Postmaster (that is, the
139566352Seric		address specified in the P option).  This fix should
139666352Seric		help problems that cause the df file to be left around
139766352Seric		sometimes -- unfortunately, I can't seem to reproduce
139866352Seric		the problem myself.
139966352Seric	Avoid core dump (null pointer reference) on EXPN command; this
140066352Seric		only occurred if your log level was set to 10 or higher
140166352Seric		and the target account was an alias or had a .forward file.
140266352Seric		Problem noted by Janne Himanka.
140366352Seric	Avoid "denial of service" attacks by someone who is flooding your
140466352Seric		SMTP port with bad commands by shutting the connection
140566352Seric		after 25 bad commands are issued.  From Kyle Jones of
140666352Seric		UUNET.
140766352Seric	Fix core dump on error messages with very long "to" buffers;
140866352Seric		fmtmsg overflows the message buffer.  Fixed by trimming
140966352Seric		the to address to 203 characters.  Problem reported by
141066352Seric		John Oleynick.
141166352Seric	Fix configuration for HASFLOCK -- there were some spots where
141266352Seric		a #ifndef was incorrectly #ifdef.  Pointed out by
141366352Seric		George Baltz of the University of Maryland.
141466352Seric	Fix a typo in savemail() that could cause the error message To:
141566352Seric		lists to be incorrect in some places.  From Motonori
141666352Seric		Nakamura.
141766352Seric	Fix a glitch that can cause duplicate error messages on split
141866352Seric		envelopes where an address on one of the lists has a
141966352Seric		name server failure.  Fix from Voradesh Yenbut of the
142066352Seric		University of Washington.
142166352Seric	Fix possible bogus pointer reference on ESMTP parameters that
142266352Seric		don't have an ``=value'' part.
142366352Seric	CNAME loops caused an error message to be generated, but also
142466352Seric		re-queued the message.  Changed to just re-queue the
142566352Seric		message (it's really hard to just bounce it because
142666352Seric		of the wierd way the name server works in the presence
142766352Seric		of CNAME loops).  Problem noted by James M.R.Matheson
142866352Seric		of Cambridge University.
142966352Seric	Avoid giving ``warning: foo owned process doing -bs'' messages
143066352Seric		if they use ``MAIL FROM:<foo>'' where foo is their true
143166352Seric		user name.  Suggested by Andreas Stolcke of ICSI.
143266352Seric	Change the NAMED_BIND compile flag to be a 0/1 flag so you can
143366352Seric		override it easily in the Makefile -- that is, you can
143466352Seric		turn it off using -DNAMED_BIND=0.
143566352Seric	If a gethostbyname(...) of an address with a trailing dot fails,
143666352Seric		try it without the trailing dot.  This is because if
143766352Seric		you have a version of gethostbyname() that falls back
143866352Seric		to NIS or the /etc/hosts file it will fail to find
143966352Seric		perfectly reasonable names that just don't happen to
144066352Seric		be dot terminated in the hosts file.  You don't want to
144166352Seric		strip the dot first though because we're trying to ensure
144266352Seric		that country names that match one of your subdomains get
144366352Seric		a chance.
144466352Seric	PRALIASES: fix bogus output on non-null-terminated strings.
144566352Seric		From Bill Gianopoulos of Raytheon.
144666352Seric	CONFIG: Avoid rewriting anything that matches $w to be $j.
144766352Seric		This was in code intended to only catch the self-literal
144866352Seric		address (that is, [1.2.3.4], where 1.2.3.4 is your
144966352Seric		IP address), but the code was broken.  However, it will
145066352Seric		still do this if $M is defined; this is necessary to
145166352Seric		get client configurations to work (sigh).  Note that this
145266352Seric		means that $M overrides :mailname entries in the user
145366352Seric		database!  Problem noted by Paul Southworth.
145466352Seric	CONFIG: Fix definition of Solaris help file location.  From
145566352Seric		Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
145666352Seric	CONFIG: Fix bug that broke news.group.USENET mappings.
145766352Seric	CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
145866352Seric		and USENET_MAILER_MAX to tweak the maximum message
145966352Seric		size for various mailers.
146066352Seric	CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
146166352Seric		instead of assuming that it is "inews" for consistency
146266352Seric		with other mailers.  From Michael Corrigan of UC San Diego.
146366352Seric	CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
146466352Seric		qualify the address in the SMTP envelope as user@{relay|hub}
146566352Seric		instead of user@$j.  From Bill Wisner of The Well.
146666352Seric	CONFIG: Fix route-addr syntax in nullrelay configuration set.
146766352Seric	CONFIG: Don't turn off case mapping of user names in the local
146866352Seric		mailer for IRIX.  This was different than most every other
146966352Seric		system.
147066352Seric	CONFIG: Avoid infinite loops on certainly list:; syntaxes in
147166352Seric		envelope.  Noted by Thierry Besancon
147266352Seric		<besancon@excalibur.ens.fr>.
147366352Seric	CONFIG: Don't include -z by default on uux line -- most systems
147466352Seric		don't want it set by default.  Pointed out by Philippe
147566352Seric		Michel of Thomson CSF.
147666352Seric	CONFIG: Fix some bugs with mailertables -- for example, if your
147766352Seric		host name was foo.bar.ray.com and you matched against
147866352Seric		".ray.com", the old implementation bound %1 to "bar"
147966352Seric		instead of "foo.bar".  Also, allow "." in the mailertable
148066352Seric		to match anything -- essentially, take over SMART_HOST.
148166352Seric		This also moves matching of explicit local host names
148266352Seric		before the mailertable so they don't have to be special
148366352Seric		cased in the mailertable data.  Reported by Bill
148466352Seric		Gianopoulos of Raytheon; the fix for the %1 binding
148566352Seric		problem was contributed by Nicholas Comanos of the
148666352Seric		University of Sydney.
148766352Seric	CONFIG: Don't include "root" in class $=L (users to deliver
148866352Seric		locally, even if a hub or relay exists) by default.
148966352Seric		This is because of the known bug where definition of
149066352Seric		both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
149166352Seric		both and deliver into the local mailbox.
149266352Seric	CONFIG: Move up bitdomain and uudomain handling so that they
149366352Seric		are done before .UUCP class matching; uudomain was
149466352Seric		reported as ineffective before.  This also frees up
149566352Seric		diversion 8 for future use.  Problem reported by Kimmo
149666352Seric		Suominen.
149766352Seric	CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
149866352Seric		into host names.  As pointed out by Jonathan Kamens,
149966352Seric		these are often used because either the forward or reverse
150066352Seric		mapping is broken; this translation makes it broken again.
150166352Seric	DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
150266352Seric		Suominen.
150366352Seric	Portability fixes:
150466352Seric		Unicos from David L. Kensiski of Sterling Sofware.
150566352Seric		DomainOS from Don Lewis of Silicon Systems.
150666352Seric		GNU m4 1.0.3 from Karst Koymans of Utrecht University.
150766352Seric		Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
150866352Seric		NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
150966352Seric		BSD/386 from Tony Sanders of BSDI.
151066352Seric		Apollo from Eric Wassenaar.
151166352Seric		DGUX from Doug Anderson.
151266352Seric		Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
151366352Seric	NEW FILES:
151466352Seric		src/Makefile.DomainOS
151566352Seric		src/Makefile.PTX
151666352Seric		src/Makefile.SunOS.5.1
151766352Seric		src/Makefile.SunOS.5.2
151866352Seric		src/Makefile.SunOS.5.x
151966352Seric		src/mailq.1
152066352Seric		cf/ostype/domainos.m4
152166352Seric		doc/op/Makefile
152266352Seric		doc/intro/Makefile
152366352Seric		doc/usenix/Makefile
152466352Seric
152566348Seric8.6.5/8.6.5	94/01/13
152666348Seric	Security fix:  /.forward could be owned by anyone (the test
152766348Seric		to allow root to own any file was backwards).  From
152866348Seric		Bob Campbell at U.C. Berkeley.
152966348Seric	Security fix: group ids were not completely set when programs
153066348Seric		were invoked.  This caused programs to have group
153166348Seric		permissions they should not have had (usually group
153266348Seric		daemon instead of their own group).  In particular,
153366348Seric		Perl scripts would refuse to run.
153466348Seric	Security: check to make sure files that are written are not
153566348Seric		symbolic links (at least under some circumstances).
153666348Seric		Although this does not respond to a specific known
153766348Seric		attack, it's just a good idea.  Suggested by
153866348Seric		Christian Wettergren.
153966348Seric	Security fix: if a user had an NFS mounted home directory on
154066348Seric		a system with a restricted shell listed in their
154166348Seric		/etc/passwd entry, they could still execute any
154266348Seric		program by putting that in their .forward file.
154366348Seric		This fix prevents that by insisting that their shell
154466348Seric		appear in /etc/shells before allowing a .forward to
154566348Seric		execute a program or write a file.  You can disable
154666348Seric		this by putting "*" in /etc/shells.  It also won't
154766348Seric		permit world-writable :include: files to reference
154866348Seric		programs or files (there's no way to disable this).
154966348Seric		These behaviours are only one level deep -- for
155066348Seric		example, it is legal for a world-writable :include:
155166348Seric		file to reference an alias that writes a file, on
155266348Seric		the assumption that the alias file is well controlled.
155366348Seric	Security fix: root was not treated suspiciously enough when
155466348Seric		looking into subdirectories.  This would potentially
155566348Seric		allow a cracker to examine files that were publically
155666348Seric		readable but in a non-publically searchable directory.
155766348Seric	Fix a problem that causes an error on QUIT on a cached
155866348Seric		connection to create problems on the current job.
155966348Seric		These are typically unrelated, so errors occur in
156066348Seric		the wrong place.
156166348Seric	Reset CurrentLA in sendall() -- this makes sendmail queue
156266348Seric		runs more responsive to load average, and fixes a
156366348Seric		problem that ignored the load average in locally
156466348Seric		generated mail.  From Eric Wassenaar.
156566348Seric	Fix possible core dump on aliases with null LHS.  From
156666348Seric		John Orthoefer of BB&N.
156766348Seric	Revert to using flock() whenever possible -- there are just
156866348Seric		too many bugs in fcntl() locking, particularly over
156966348Seric		NFS, that cause sendmail to fail in perverse ways.
157066348Seric	Fix a bug that causes the connection cache to get confused
157166348Seric		when sending error messages.  This resulted in
157266348Seric		"unexpected close" messages.  It should fix itself
157366348Seric		on the following queue run.  Problem noted by
157466996Seric		Liudvikas Bukys of the University of Rochester.
157566348Seric	Include $k in $=k as documented in the Install & Op Guide.
157666348Seric		This seems odd, but it was documented....  From
157766348Seric		Michael Corrigan of UCSD.
157866348Seric	Fix problem that caused :include:s from alias files to be
157966348Seric		forced to be owned by root instead of daemon
158066348Seric		(actually DefUid).  From Tim Irvin.
158166348Seric	Diagnose unrecognized I option values -- from Mortin Forssen
158266348Seric		of the Chalmers University of Technology.
158366348Seric	Make "error" mailer work consistently when there is no error
158466348Seric		code associated with it -- previously it returned OK
158566348Seric		even though there was a real problem.  Now it assumes
158666348Seric		EX_UNAVAILABLE.
158766348Seric	Fix bug that caused the last header line of messages that had
158866348Seric		no body and which were terminated with EOF instead of
158966348Seric		"." to be discarded.  Problem noted by Liudvikas Bukys.
159066348Seric	Fix core dump on SMTP mail to programs that failed -- it tried
159166348Seric		to go to a "next MX host" when none existed, causing
159266348Seric		a core dump.  From der Mouse at McGill University.
159366348Seric	Change IDENTPROTO from a defined/not defined to a 0/1 switch;
159466348Seric		this makes it easier to turn it off (using
159566348Seric		-DIDENTPROTO=0 in the Makefile).  From der Mouse.
159666348Seric	Fix YP_MASTER_NAME store to use the unupdated result of
159766348Seric		gethostname() (instead of myhostname(), which tries
159866348Seric		to fully qualify the name) to be consistent with
159966348Seric		SunOS.  If your hostname is unqualified, this fixes
160066348Seric		transfers to slave servers.  Bug noted by Keith
160166348Seric		McMillan of Ameritech Services, Inc.
160266348Seric	Fix Ultrix problem: gethostbyname() can return a very large
160366348Seric		(> 500) h_length field, which causes the sockaddr
160466348Seric		to be trashed.  Use the size of the sockaddr instead.
160566348Seric		Fix from Bob Manson of Ohio State.
160666348Seric	Don't assume "-a." on host lookups if NAMED_BIND is not
160766348Seric		defined -- this confuses gethostbyname on hosts
160866348Seric		file lookups, which doesn't understand the trailing
160966348Seric		dot convention.
161066348Seric	Log SMTP server subprocesses that die with a signal instead
161166348Seric		of from a clean exit.
161266348Seric	If you don't have option "I" set, don't assume that a DNS
161366348Seric		"host unknown" message is authoritative -- it
161466348Seric		might still be found in /etc/hosts.
161566348Seric	Fix a problem that would cause Deferred: messages to be sent
161666348Seric		as the subject of an error message, even though the
161766348Seric		actual cause of a message was more severe than that.
161866348Seric		Problem noted by Chris Seabrook of OSSI.
161966348Seric	Fix race condition in DBM alias file locking.  From Kyle
162066348Seric		Jones of UUNET.
162166348Seric	Limit delivery syslog line length to avoid bugs in some
162266348Seric		versions of syslog(3).  This adds a new compile time
162366348Seric		variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
162466348Seric		University, which is in turn derived from IDA.
162566348Seric	Fix quotes inside of comments in addresses -- previously
162666348Seric		it insisted that they be balanced, but the 822 spec
162766348Seric		says that they should be ignored.
162866348Seric	Dump open file state to syslog upon receiving SIGUSR1 (for
162966348Seric		debugging).  This also evaluates ruleset 89, if set
163066348Seric		(with the null input), and logs the result.  This
163166348Seric		should be used sparingly, since the rewrite process
163266348Seric		is not reentrant.
163366348Seric	Change -qI, -qR, and -qS flags to be case-insensitive as
163466348Seric		documented in the Bat Book.
163566348Seric	If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
163666348Seric		return an error message and did not requeue the message.
163766348Seric		Fix based on code from Roland Dirlewanger of
163866348Seric		Reseau Regional Aquarel, Bordeaux, France.
163966348Seric	Fix a problem that caused a seg fault if you got a 421 error
164066348Seric		code during some parts of connection initialization.
164166348Seric		I've only seen this when talking to buggy mailers on
164266348Seric		the other end, but it shouldn't give a seg fault in
164366348Seric		any case.  From Amir Plivatsky.
164466348Seric	Fix core dump caused by a ruleset call that returns null.
164566348Seric		Fix from Bryan Costales of ICSI.
164666348Seric	Full-Name: field was being ignored.  Fix from Motonori Nakamura
164766348Seric		of Kyoto University.
164866348Seric	Fix a possible problem with very long input lines in setproctitle.
164966348Seric		From P{r Emanuelsson.
165066348Seric	Avoid putting "This is a warning message" out on return receipts.
165166348Seric		Suggested by Douglas Anderson.
165266348Seric	Detect loops caused by recursive ruleset calls.  Suggested by
165366348Seric		Bryan Costales.
165466348Seric	Initialize non-alias maps during alias rebuilds -- they may be
165566348Seric		needed for parsing.  Problem noted by Douglas Anderson.
165666348Seric	Log sender address even if no message was collected in SMTP
165766348Seric		(e.g., if all RCPTs failed).  Suggested by Motonori
165866348Seric		Nakamura.
165966348Seric	Don't reflect the owner-list contents into the envelope sender
166066348Seric		address if the value contains ", :, /, or | (to avoid
166166348Seric		illegal addresses appearing there).
166266348Seric	Efficiency hack for toktype macro -- from Craig Partridge of
166366348Seric		BB&N.
166466348Seric	Clean up DNS error printing so that a host name is always
166566348Seric		included.
166666348Seric	Remember to set $i during queue runs.  Reported by Stephen
166766348Seric		Campbell of Dartmouth University.
166866348Seric	If ${HOSTALIASES} is set, use it during canonification so that
166966348Seric		headers are properly mapped.  Reported by Anne Bennett
167066348Seric		of Concordia University.
167166348Seric	Avoid printing misleading error message if SMTP mailer (not
167266348Seric		using [IPC]) should die on a core dump.
167366348Seric	Avoid incorrect diagnosis of "file 1 closed" when it is caused
167466348Seric		by the other end closing the connection.  From
167566348Seric		Dave Morrison of Oracle.
167666348Seric	Improve several of the error messages printed by "mailq"
167766348Seric		to include a host name or other useful information.
167866348Seric	Add NetInfo preliminary support for NeXT systems.  From Vince
167966348Seric		DeMarco.
168066348Seric	Fix a glitch that sometimes caused :include:s that pointed to
168166348Seric		NFS filesystems that were down to give an "aliasing/
168266348Seric		forwarding loop broken" message instead of queueing
168366348Seric		the message for retry.  Noted by William C Fenner of
168466348Seric		the NRL Connection Machine Facility.
168566348Seric	Fix a problem that could cause a core dump if the input sequence
168666348Seric		had (or somehow acquired) a \231 character.
168766348Seric	Make sure that route-addrs always have <angle brackets> around
168866348Seric		them in non-SMTP envelopes (SMTP envelopes already do
168966348Seric		this properly).
169066348Seric	Avoid wierd headers on unbalanced punctuation of the form:
169166348Seric		``Joe User <user)'' -- this caused reference to the
169266348Seric		null macro.  Fix from Rick McCarty of IO.COM.
169366348Seric	Fix a problem that caused an alias "user: user@local.host" to
169466348Seric		not have the QNOTREMOTE bit set; this caused configs
169566348Seric		to act as if FEATURE(notsticky) was defined even when
169666348Seric		it was not.  The effect of the problem was to make it
169766348Seric		very hard to to set up satellite sites that had a few
169866348Seric		local accounts, with everything else forwarded to a
169966348Seric		corporate hub.  Reported by Detlef Drewanz of the
170066348Seric		University of Rostock and Mark Frost of NCD.
170166348Seric	Change queuing to not call rulesets 3, {1 or 2}, 4 on header
170266348Seric		addresses.  This is more efficient (fewer name server
170366348Seric		calls) and fixes certain unusual configurations, such
170466348Seric		as those that have ruleset 4 do something that is
170566348Seric		non-idempotent unless a mailer-specific ruleset did
170666348Seric		something else.  Problem reported by Brian J. Coan
170766348Seric		of the Institute for Global Communications.
170866348Seric	Fix the "obsolete argument" routine in main to better understand
170966348Seric		new arguments.  For example, if you used ``sendmail
171066348Seric		-C config -v -q'' it would choke on the -q because
171166348Seric		the -C would stop looking for old-format arguments.
171266348Seric	Fix the code that was intended to allow two users to forward their
171366348Seric		mail to the same program and have them appear unique.
171466348Seric	Portability fixes for:
171566348Seric		SCO UNIX from Murray Kucherawy.
171666348Seric		SCO Open Server 3.2v4 from Philippe Brand.
171766348Seric		System V Release 4 from Rick Ellis and others.
171866348Seric		OSF/1 from Steve Campbell.
171966348Seric		DG/UX from Ben Mesander of the USGS and Bryan Curnutt
172066348Seric			of Stoner Associates.
172166348Seric		Motorola SysV88 from Kevin Johnson of Motorola.
172266348Seric		Solaris 2.3 from Casper H.S. Dik of the University
172366348Seric			of Amsterdam and John Caruso of University
172466348Seric			of Maryland.
172566348Seric		FreeBSD from Ollivier Robert.
172666348Seric		NetBSD from Adam Glass.
172766348Seric		TitanOS from Kate Hedstrom of Rutgers University.
172866348Seric		Irix from Bryan Curnutt.
172966348Seric		Dynix from Jim Davis of the University of Arizona.
173066348Seric		RISC/os.
173166348Seric		Linux from John Kennedy of California State University
173266348Seric			at Chico.
173366348Seric		Solaris 2.x from Tony Boner of the U.S. Air Force.
173466348Seric		NEXTSTEP 3.x from Vince DeMarco.
173566348Seric		HP-UX from various people.  NOTA BENE:  the location
173666348Seric			of the config file has moved to /usr/lib
173766348Seric			to match the HP-UX version of sendmail.
173866348Seric	CONFIG: Don't do any recipient rewriting on relay mailer;
173966348Seric		since this is intended only for internal use, the
174066348Seric		usual RFC 821/822/1123 rules can be relaxed.  The
174166348Seric		main point of this is to avoid munging (ugh) UUCP
174266348Seric		addresses when relaying internally.
174366348Seric	CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
174466348Seric		syntax addresses delivered via UUCP.  Solution
174566348Seric		provided by Peter Wemm.
174666348Seric	CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
174766348Seric		zero; it caused double @ signs in addresses.  From
174866348Seric		Irving Reid of the University of Toronto.
174966348Seric	CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
175066348Seric		from Markku Toijala of ICL Personal Systems Oy.
175166348Seric	CONFIG: Add trailing "." on pseudo-domains for consistency;
175266348Seric		this fixes a problem (noted by Al Whaley of Sunnyside)
175366348Seric		that made it hard to recognize your own pseudodomain
175466348Seric		names.
175566348Seric	CONFIG: catch "@host" syntax errors (i.e., null local-parts)
175666348Seric		rather than letting them get "local configuration
175766348Seric		error"s.  Problem noted by John Gardiner Myers.
175866348Seric	CONFIG: add uucp-uudom mailer variant, based on code posted
175966348Seric		by Spider Boardman <spider@Orb.Nashua.NH.US>; this
176066348Seric		has uucp-dom semantics but old UUCP syntax.  This
176166348Seric		also permits "uucp-old" as an alias for "uucp" and
176266348Seric		"uucp-new" as a synonym for "suucp" for consistency.
176366348Seric	CONFIG: add POP mailer support (from Kimmo Suominen
176466348Seric		<kim@grendel.lut.fi>).
176566348Seric	CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
176666348Seric	CONFIG: fix bug caused with domain literal addresses (e.g.,
176766348Seric		``[128.32.131.12]'') when FEATURE(allmasquerade)
176866348Seric		was set; it would get an additional @masquerade.host
176966348Seric		added to the address.  Problem noted by Peter Wan
177066348Seric		of Georgia Tech.
177166348Seric	CONFIG: make sure that the local UUCP name is in $=w.  From
177266348Seric		Jim Murray of Stratus.
177366348Seric	CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
177466348Seric		mailer flag.  Briefly, if you are sending to host
177566348Seric		"foo", then it rewrites "foo!...!baz" to "...!baz",
177666348Seric		"foo!baz" remains "foo!baz", and anything else has
177766348Seric		the local name prepended.
177866348Seric	CONFIG: portability fixes for HP-UX.
177966348Seric	DOC: several minor problems fixed in the Install & Op Guide.
178066348Seric	MAKEMAP: fix core dump problem on lines that are too long or
178166348Seric		which lack newline.  From Mark Delany.
178266348Seric	MAILSTATS: print sums of columns (total messages & kbytes
178366348Seric		in and out of the system).  From Tom Ferrin of UC
178466348Seric		San Francisco Computer Graphics Lab.
178566348Seric	SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
178666348Seric		On HP-UX, /etc/sendmail.cf has been moved to
178766348Seric			/usr/lib/sendmail.cf to match HP sendmail.
178866348Seric		Permissions have been tightened up on world-writable
178966348Seric			:include: files and accounts that have shells
179066348Seric			that are not listed in /etc/shells.  This may
179166348Seric			cause some .forward files that have worked
179266348Seric			before to start failing.
179366348Seric		SIGUSR1 dumps some state to the log.
179466348Seric	NEW FILES:
179566348Seric		src/Makefile.DGUX
179666348Seric		src/Makefile.Dynix
179766348Seric		src/Makefile.FreeBSD
179866348Seric		src/Makefile.Mach386
179966348Seric		src/Makefile.NetBSD
180066348Seric		src/Makefile.RISCos
180166348Seric		src/Makefile.SCO
180266348Seric		src/Makefile.SVR4
180366348Seric		src/Makefile.Titan
180466348Seric		cf/mailer/pop.m4
180566348Seric		cf/ostype/bsdi1.0.m4
180666348Seric		cf/ostype/dgux.m4
180766348Seric		cf/ostype/dynix3.2.m4
180866348Seric		cf/ostype/sco3.2.m4
180966348Seric		makemap/Makefile.dist
181066348Seric		praliases/Makefile.dist
181166348Seric
181266347Seric8.6.4/8.6.4	93/10/31
181366347Seric	Repair core-dump problem (write to read-only memory segment)
181466347Seric		if you fall back to the return-to-Postmaster case in
181566347Seric		savemail.  Problem reported by Richard Liu.
181666347Seric	Immediately diagnose bogus sender addresses in SMTP.  This
181766347Seric		makes quite certain that crackers can't use this
181866347Seric		class of attack.
181966347Seric	Reliability Fix:  check return value from fclose() and fsync()
182066347Seric		in a few critical places.
182166347Seric	Minor problem in initsys() that reversed a condition for
182266347Seric		redirecting the output channel on queue runs.  It's
182366347Seric		not clear this code even does anything.  From Eric
182466347Seric		Wassenaar of the Dutch National Institute for Nuclear
182566347Seric		and High-Energy Physics.
182666347Seric	Fix some problems that caused queue runs to do "too much work",
182766347Seric		such as double-reading the Errors-To: header.  From
182866347Seric		Eric Wassenaar.
182966347Seric	Error messages on writing the temporary file (including the
183066347Seric		data file) were getting suppressed in SMTP -- this
183166347Seric		fix causes them to be properly reported.  From Eric
183266347Seric		Wassenaar.
183366347Seric	Some changes to support AF_UNIX sockets -- this will only
183466347Seric		really become relevant in the next release, but some
183566347Seric		people need it for local patches.  From Michael
183666347Seric		Corrigan of UC San Diego.
183766347Seric	Use dynamically allocated memory (instead of static buffers)
183866347Seric		for macros defined in initsys() and settime(); since
183966347Seric		these can have different values depending on which
184066347Seric		envelope they are in.  From Eric Wassenaar.
184166347Seric	Improve logging to show ctladdr on to= logging; this tells you
184266347Seric		what uid/gid processes ran as.
184366347Seric	Fix a problem that caused error messages to be discarded if
184466347Seric		the sender address was unparseable for some reason;
184566347Seric		this was supposed to fall back to the "return to
184666347Seric		postmaster" case.
184766347Seric	Improve aliaswait backoff algorithm.
184866347Seric	Portability patches for Linux (8.6.3 required another header
184966347Seric		file) (from Karl London) and SCO UNIX.
185066347Seric	CONFIG: patch prog mailer to not strip host name off of envelope
185166347Seric		addresses (so that it matches local again).  From
185266347Seric		Christopher Davis.
185366347Seric	CONFIG: change uucp-dom mailer so that "<>" translates to $n;
185466347Seric		this prevents uux from seeing lines with null names like
185566347Seric		``From   Sat Oct 30 14:55:31 1993''.  From Motonori
185666347Seric		Nakamura of Kyoto University.
185766347Seric	CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
185866347Seric		it shouldn't fail miserably.  From Motonori Nakamura.
185966347Seric
186066346Seric8.6.3/8.6.3	93/10/24
186166346Seric	IMPORTANT FIX: Fix several problems that caused open files to
186266346Seric		be "lost" during queue runs; this overflowed the open
186366346Seric		file table on large runs.  An assumption that fdopen
186466346Seric		always succeeds sometimes resulted in core dumps when
186566346Seric		this happens; sometimes the message is delivered twice,
186666346Seric		sometimes (probably) infinite times.  This problem in
186766346Seric		various form was reported by P{r (Pell) Emanuelsson and
186866346Seric		Robert Campbell of U.C. Berkeley.
186966346Seric	Special diagnosis of EMFILE error conditions -- it now prints
187066346Seric		the known open file descriptors so you can figure out
187166346Seric		what is consuming so much resources.
187266346Seric	Fix a couple of problems caused by early address parsing
187366346Seric		errors -- one caused it to return a "this is only a
187466346Seric		warning" when it really wasn't, and the other started
187566346Seric		parsing through a random pointer.  The first was
187666346Seric		noted by Eric Wassenaar.
187766346Seric	Fix an infinite loop problem caused by null components in the
187866346Seric		host signature.  Problem noted by Jan Sorensen.
187966346Seric	Be sure to reset the "current date" when sending an error
188066346Seric		message -- PostMasterCopy messages were being sent
188166346Seric		with an old Date: header.
188266346Seric	Fix a problem that caused duplicated mail when sendmail was
188366346Seric		(1) compiled without HASFLOCK, (2) you are sending to
188466346Seric		an alias that has an owner-* alias, (3) you execute
188566346Seric		sendmail with -t flag, (4) you run in -odb mode, and
188666346Seric		(5) the sender specifies both the alias name and
188766346Seric		another alias [i.e., the envelope is split], then
188866346Seric		duplicate messages are sent.  The problem description
188966346Seric		and one-line fix are from Motonori Nakamura of Kyoto
189066346Seric		University.
189166346Seric	Avoid a problem that causes error messages to be discarded
189266346Seric		in some cases -- this was the result of a "fix" to
189366346Seric		avoid duplicate error messages, but two are better
189466346Seric		than zero.  Reported by Tim Rylance.
189566346Seric	Fix a minor botch in checkfd012() -- fix from Dave Hill of
189666346Seric		Computervision R&D Ltd.
189766346Seric	Remove "X-Authentication-Warning: <user> set sender to <address>
189866346Seric		using -f" entirely -- it is far too eager to include
189966346Seric		this, and it is confusing folks.  I'll try to make it
190066346Seric		work "right" in 8.7.  Problem noted by Yoshitaka
190166346Seric		Tokugawa of dit Co., Ltd.
190266346Seric	Fix a race condition with the errno value in tick() and
190366346Seric		reapchild() -- this caused occasional misdiagnosis
190466346Seric		of problems.  Kyle Jones of UUNET helped this along.
190566346Seric	Repair rule loop-detection code.  From Michael Corrigan of
190666346Seric		U.C. San Diego.
190766346Seric	Fix a problem that caused sender domain addition (C mailer
190866346Seric		flag to be ignored if you use -odq or use -odb with
190966346Seric		a high load average.  Problem reported by Jim Murray
191066346Seric		of Stratus.
191166346Seric	Fix ident protocol on multi-homed machines.  It was not
191266346Seric		always using the correct interface.  Fix from J.R.
191366346Seric		Oldroyd of Opal.
191466346Seric	Previously, sendmail assumed that any SMTP greeting message
191566346Seric		that wasn't 2xx was a temporary failure -- it should
191666346Seric		only take 4xx as a temporary failure, and return a
191766346Seric		solid error message on anything else -- for example,
191866346Seric		to allow you to reject connections on a workstation
191966346Seric		that is MXed to a mail server.
192066346Seric	Portability enhancements for 386BSD/FreeBSD/NetBSD from
192166346Seric		Ollivier Robert.
192266346Seric	CONFIG: FEATURE(always_add_domain) didn't always add the domain;
192366346Seric		in particular, on local mail it modified the header sender
192466346Seric		but not the header recipient address(es).  Reported by
192566346Seric		Jeffrey Honig of Cornell University.  Also, strip
192666346Seric		any host from envelope recipient address(es), since
192766346Seric		local mailers don't understand host names -- this is
192866346Seric		to help mailertable entries.  From Christopher Davis.
192966346Seric	CONFIG: masquerading didn't apply to addresses that already
193066346Seric		had a domain.  This change replaces a local hostname
193166346Seric		by the masquerade name in the SMTP mailer (previously
193266346Seric		it only added the masquerade name if it didn't already
193366346Seric		have a domain name).  Several people complained about
193466346Seric		this.
193566346Seric
193666345Seric8.6.2/8.6.2	93/10/15
193766345Seric	Put a "successful delivery" message in the transcript for
193866345Seric		addresses that get return-receipts.
193966345Seric	Put a prominent "this is only a warning" message in warning
194066345Seric		messages -- some people don't read carefully enough
194166345Seric		and end up sending the message several times.
194266345Seric	Include reason for temporary failure in the "warning" return
194366345Seric		message.  Currently, it just says "cannot send for
194466345Seric		four hours".
194566345Seric	Fix the "Original message received" time generated for
194666345Seric		returntosender messages.  It was previously listed as
194766345Seric		the current time.  Bug reported by Eric Hagberg of
194866345Seric		Cornell University Medical College.
194966345Seric	If there is an error when writing the body of a message,
195066345Seric		don't send the trailing dot and wait for a response
195166345Seric		in sender SMTP, as this could cause the connection to
195266345Seric		hang up under some bizarre circumstances.  From Eric
195366345Seric		Wassenaar.
195466345Seric	Fix some server SMTP synchronization problems caused when
195566345Seric		connections fail during message collection.  From
195666345Seric		Eric Wassenaar.
195766345Seric	Fix a problem that can cause srvrsmtp to reject mail if the
195866345Seric		name server is down -- it accepts the RCPT but rejects
195966345Seric		the DATA command.  Problem reported by Jim Murray of
196066345Seric		Stratus.
196166345Seric	Fix a problem that can cause core dumps if the config file
196266345Seric		incorrectly resolves to a null hostname.  Reported by
196366345Seric		Allan Johannesen of WPI.
196466345Seric	Non-root use of -C flag, dangerous -f flags, and use of -oQ
196566345Seric		by non-root users were not put into
196666345Seric		X-Authentication-Warning:s as intended because the
196766345Seric		config file hadn't set the PrivacyFlags yet.  Fix
196866345Seric		from Sven-Ove Westberg of the University of Lulea.
196966345Seric	Under very odd circumstances, the alias file rebuild code
197066345Seric		could get confused as to whether a database was
197166345Seric		open or not.
197266345Seric	Check "vendor code" on the end of V lines -- this is
197366345Seric		intended to provide a hook for vendor-specific
197466345Seric		configuration syntax.  (This is a "new feature",
197566345Seric		but I've made an exception to my rule in a belief
197666345Seric		that this is a highly exceptional case.)
197766345Seric	Portability fixes for DG/UX (from Douglas Anderson of NCSC),
197866345Seric		SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
197966345Seric		(from Jon Forrest of UC Berkeley)
198066345Seric	CONFIG: fix ``mailer:host'' form of UUCP relay naming.
198166345Seric
198266344Seric8.6.1/8.6	93/10/08
198366344Seric	Portability fixes for A/UX and Encore UMAX V.
198466344Seric	Fix error message handling -- if you had a name server down
198566344Seric		causing an error during parsing, that message was never
198666344Seric		propogated to the queue file.
198766344Seric
198866343Seric8.6/8.6		93/10/05
198966343Seric	Configuration cleanup: make it easier to undo IDENTPROTO in
199066343Seric		conf.h (other systems have the same bug).
199166343Seric	If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
199266343Seric		getdtablesize() instead of sysconf(); a disturbingly
199366343Seric		large number of systems defined _SC_OPEN_MAX in the
199466343Seric		header files but don't have the syscall.
199566343Seric	Another patch to really truly ignore MX records in getcanonname
199666343Seric		if trymx == FALSE.
199766343Seric	Fix problem that caused the "250 IAA25499 Message accepted for
199866343Seric		delivery" message to be omitted if there was an error
199966343Seric		in the header of the message (e.g., a bad Errors-To:
200066343Seric		line).  Pointed out by Michael Corrigan of UCSD.
200166343Seric	Announce name of host we are chatting when we get errors; this
200266343Seric		is an IDA-ism suggested by Christophe Wolfhugel.
200366343Seric	Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
200466343Seric		Australian Artificial Intelligence Institute), SCO Unix
200566343Seric		(from Murray Kucherawy of Hookup Communication Corp.),
200666343Seric		NeXT (from Vince DeMarco and myself), Linux (from
200766343Seric		Karl London <karl@borg.demon.co.uk>), BSDI (from
200866343Seric		Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
200966343Seric		Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
201066343Seric	Some changes to get around gcc optimizer bugs.  From Takahiro
201166343Seric		Kanbe.
201266343Seric	Fix error recovery in queueup if another tf file of the same
201366343Seric		name already exists.  Problem stumbled over by Bill
201466343Seric		Wisner of The Well.
201566343Seric	Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
201666343Seric		Problem noted by Keith McMillan of Ameritech Services.
201766343Seric	Deal with group permissions properly when opening .forward and
201866343Seric		:include: files.  This relaxes the 8.1C restrictions
201966343Seric		slightly more.  This includes proper setting of groups
202066343Seric		when reading :include: files, allowing you to read some
202166343Seric		files that you should be able to read but have previously
202266343Seric		been denied unless you owned them or they had "other"
202366343Seric		read permission.
202466343Seric	Make certain that $j is in $=w (after the .cf is read) so that
202566343Seric		if the user is forced to override some silly system,
202666343Seric		MX suppression will still work.
202766343Seric	Fix a couple of efficiency problems where newstr was double-
202866343Seric		calling expensive routines.  In at least one case, it
202966343Seric		wasn't guaranteed that they would always return the
203066343Seric		same result.  Problem noted by Christophe Wolfhugel.
203166343Seric	Fix null pointer dereference in putoutmsg -- only on an error
203266343Seric		condition from a non-SMTP mailer.  From Motonori
203366343Seric		Nakamura.
203466343Seric	Macro expand "C" line class definitions before scanning so that
203566343Seric		"CX $Z" works.
203666343Seric	Fix problem that caused error message to be sent while still
203766343Seric		trying to send the original message if the connection
203866343Seric		is closed during a DATA command after getting an error
203966343Seric		on an RCPT command (pretty obscure).  Problem reported
204066343Seric		by John Myers of CMU.
204166343Seric	Fix reply to NOOP to be 250 instead of 200 -- this is a long
204266343Seric		term bug.
204366343Seric	Fix a nasty bug causing core dumps when returning the "warning:
204466343Seric		cannot deliver for N hours -- will keep trying" message;
204566343Seric		it only occurred if you had PostMasterCopy set and
204666343Seric		only on some architectures.  Although sendmail would
204766343Seric		keep trying, it would send error messages on each
204866343Seric		queue interval.  This is an important fix.
204966343Seric	Allow u and g options to take user and group names respectively.
205066343Seric	Don't do a chdir into the queue directory in -bt mode to make
205166343Seric		ruleset testing a bit easier.
205266343Seric	Don't allow users to turn off logging (using -oL) on the command
205366343Seric		line -- command line can only raise, not lower, logging
205466343Seric		level.
205566343Seric	Set $u to the original recipient on the SMTP transaction or on
205666343Seric		the command line.  This is only done if there is exactly
205766343Seric		one recipient.  Technically, this does not meet the
205866343Seric		specs, because it does not guarantee a domain on the
205966343Seric		address.
206066343Seric	Fix a problem that dumped error messages on bad addresses if
206166343Seric		you used the -t flag.  Problem noted by Josh Smith of
206266343Seric		Harvey Mudd College.
206366343Seric	Given an address such as ``<foo> <bar>'', auto-quote the first
206466343Seric		``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
206566343Seric		avoid the problem of people who use angle brackets in
206666343Seric		their full name information.
206766343Seric	Fix a null pointer dereference if you set option "l", have
206866343Seric		an Errors-To: header in the message, and have Errors-To:
206966343Seric		defined in the config file H lines.  From J.R. Oldroyd.
207066343Seric	Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
207166343Seric		wrong when compiling.  Suggested by Rick McCarty of TI.
207266343Seric	Fix a problem that could pass negative SIZE parameter if the
207366343Seric		df file got lost; this would cause servers to always
207466343Seric		give a temporary failure, making the problem even worse.
207566343Seric		Problem noted by Allan Johannesen of WPI.
207666343Seric	Add "ident" timeout (one of the "r" option selectors) for IDENT
207766343Seric		protocol timeouts (30s default).  Requested by Murray
207866343Seric		Kucherawy of HookUp Communication Corp. to handle bogus
207966343Seric		PC TCP/IP implementations.
208066343Seric	Change $w default definition to be just the first component of
208166343Seric		the domain name on config level 5.  The $j macro defaults
208266343Seric		to the FQDN; $m remains as before.  This lets well-behaved
208366343Seric		config files use any of the short, long, or subdomain
208466343Seric		names.
208566343Seric	Add makesendmail script in src to try to automate multi-architecture
208666343Seric		builds.  I know, this is sub-optimal, but it is still
208766343Seric		helpful.
208866343Seric	Fix very obscure race condition that can cause a queue run to
208966343Seric		get a queue file for an already completed job.  This
209066343Seric		problem has existed for years.  Problem noted by the
209166343Seric		long suffering Allan Johannesen of WPI.
209266343Seric	Fix a problem that caused the raw sender name to be passed to
209366343Seric		udbsender instead of the canonified name -- this caused
209466343Seric		it to sometimes miss records that it should have found.
209566343Seric	Relax check of name on HELO packet so that a program using -bs
209666343Seric		that claims to be itself works properly.
209766343Seric	Restore rewriting of $: part of address through 2, R, 4 in
209866343Seric		buildaddr -- this requires passing a lot of flags to get
209966343Seric		it right.  Unlike old versions, this ONLY rewrites
210066343Seric		recipient addresses, not sender addresses.
210166343Seric	Fix a bug that caused core dumps in config files that cannot
210266343Seric		resolve /file/name style addresses.  Fix from Jonathan
210366343Seric		Kamens of OpenVision Technologies.
210466343Seric	Fix problem with fcntl locking that can cause error returns to
210566343Seric		be lost if the lock is lost; this required fully
210666343Seric		queueing everything, dropping the envelope (so errors
210766343Seric		would get returned), and then re-reading the queue from
210866343Seric		scratch.
210966343Seric	Fix a problem that caused aliases that redefine an otherwise
211066343Seric		true address to still send to the original address
211166343Seric		if and only if the alias failed in certain bizarre
211266343Seric		ways (e.g, if they pointed at a list:; syntax address).
211366343Seric		Problem pointed out by Jonathan Kamens.
211466343Seric	Remove support for frozen configuration files.  They caused
211566343Seric		more trouble than it was worth.
211666343Seric	Fix problem that can cause error messages to get ignored when
211766343Seric		using both -odb and -t flags.  Problem noted by Rob
211866343Seric		McNicholas at U.C. Berkeley.
211966343Seric	Include all "normal" variations on hostname in $=w.  For example,
212066343Seric		if the host name is vangogh.cs.berkeley.edu, $=w will
212166343Seric		contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
212266343Seric	Add "restrictqrun" privacy flag -- without this, anyone can run
212366343Seric		the queue.
212466343Seric	Reset SmtpPhase global on initial connection creation so that
212566343Seric		messages don't come out with stale information.
212666343Seric	Pass an "ext" argument to lockfile so that error/log messages
212766343Seric		will properly reflect the true filename being locked.
212866343Seric	Put all [...] address forms into $=w -- this eliminates the need
212966343Seric		for MAXIPADDR in conf.h.  Suggested by John Gardiner
213066343Seric		Myers of CMU.
213166343Seric	Fix a bug that can cause qf files to be left around even after
213266343Seric		an SMTP RSET command.  Problem and fix from Michael
213366343Seric		Corrigan.
213466343Seric	Don't send a PostMasterCopy to errors when the Precedence: is
213566343Seric		negative.  Error reports still go to the envelope
213666343Seric		sender address.
213766343Seric	Add LA_SHORT for load averages.
213866343Seric	Lock sendmail.st file when posting statistics.
213966343Seric	Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
214066343Seric		set the size of the TCP send and receive buffers; if you
214166343Seric		run over a slow slip line you may need to set these down
214266343Seric		(although it would be better to fix the SLIP implementation
214366343Seric		so that it's not necessary to recompile every program
214466343Seric		that does bulk data transfer).
214566343Seric	Allow null defaults on $( ... $) lookups.  Problem reported by
214666343Seric		Amir Plivatsky.
214766343Seric	Diagnose crufty S and V config lines.  This resulted from an
214866343Seric		observation that some people were using the SITE macro
214966343Seric		without the SITECONFIG macro first, which was causing
215066343Seric		bogus config files that were not caught.
215166343Seric	Fix makemap -f flag to turn off case folding (it was turning it
215266343Seric		on instead).  THIS IS A USER VISIBLE CHANGE!!!
215366343Seric	Fix a problem that caused multiple error messages to be sent if
215466343Seric		you used "sendmail -t -oem -odb", your system uses fcntl
215566343Seric		locking, and one of the recipient addresses is unknown.
215666343Seric	Reset uid earlier in include() so that recursive .forwards or
215766343Seric		:include:s don't use the wrong uid.
215866343Seric	If file descriptor 0, 1, or 2 was closed when sendmail was
215966343Seric		called, the code to recover the descriptor was broken.
216066343Seric		This sometimes (only sometimes) caused problems with the
216166343Seric		alias file.  Fix from Motonori Nakamura.
216266343Seric	Fix a problem that caused aliaswait to go into infinite recursion
216366343Seric		if the @:@ metasymbol wasn't found in the alias file.
216466343Seric	Improve error message on newaliases if database files cannot be
216566343Seric		opened or if running with no database format defined.
216666343Seric	Do a better estimation of the size of error messages when NoReturn
216766343Seric		is set.  Problem noted by P{r (Pell) Emanuelsson.
216866343Seric	Fix a problem causing the "c" option (don't connect to expensive
216966343Seric		mailers) to be ignored in SMTP.  Problem noted and the
217066343Seric		solution suggested by Robert Elz of Munnari University.
217166343Seric	Improve connection caching algorithm by passing "[host]" to
217266343Seric		hostsignature, which strips the square brackets and
217366343Seric		returns the real name.  This allows mailertable entries
217466343Seric		to match regular entries.
217566343Seric	Re-enable Return-Receipt-To: -- people seem to want this stupid
217666343Seric		feature, even if it doesn't work right.
217766343Seric	Catch and log attempts to try the "wiz" command in server SMTP.
217866343Seric		This also ups the log level from LOG_NOTICE to LOG_CRIT.
217966343Seric	Be more generous at assigning $z to the home directory -- do this
218066343Seric		for programs that are specified through a .forward file.
218166343Seric		Fix from Andrew Chang of Sun Microsystems.
218266343Seric	Always save a fatal error message in preference to a non-fatal
218366343Seric		error message so that the "subject" line of return
218466343Seric		messages is the best possible.
218566343Seric	CONFIG: reduce the number of quotes needed to quote configuration
218666343Seric		parameters with commas: two quotes should work now, e.g.,
218766343Seric		define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
218866343Seric	CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
218966343Seric		connections (domain-ized UUCP).
219066343Seric	CONFIG: fix bug in default maps (-o must be before database file
219166343Seric		name).  Pointed out by Christophe Wolfhugel.
219266343Seric	CONFIG: add FEATURE(nodns) to state that we are not relying on
219366343Seric		DNS.  This would presumably be used in UUCP islands.
219466343Seric	CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
219566343Seric	CONFIG: log $u in Received: line.  This is in technical violation
219666343Seric		of the standards, since it doesn't guarantee a domain
219766343Seric		on the address.
219866343Seric	CONFIG: don't assume "m" in local mailer flags -- this means that
219966343Seric		if you redefine LOCAL_MAILER_FLAGS you will have to include
220066343Seric		the "m" flag should you want it.  Apparently some Solaris 2.2
220166343Seric		installations can't handle multiple local recipients.
220266343Seric		Problem noted by Josh Smith.
220366343Seric	CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
220466343Seric	CONFIG: change default version level from 4 to 5.
220566343Seric	CONFIG: add FEATURE(nullclient) to create a config file that
220666343Seric		forwards all mail to a hub without ever looking at the
220766343Seric		addresses in any detail.
220866343Seric	CONFIG: properly strip mailer: information off of relays when
220966343Seric		used to change .BITNET form into %-hack form.
221066343Seric	CONFIG: fix a problem that caused infinite loops if presented
221166343Seric		with an address such as "!foo".
221266343Seric	CONFIG: check for self literal (e.g., [128.32.131.12]) even if
221366343Seric		the reverse "PTR" mapping is broken.  There's a better
221466343Seric		way to do this, but the change is fairly major and I
221566343Seric		want to hold it for another release.  Problem noted by
221666343Seric		Bret Marquis.
221766343Seric
221866342Seric8.5/8.5		93/07/23
221966342Seric	Serious bug: if you used a command line recipient that was unknown
222066342Seric		sendmail would not send a return message (it was treating
222166342Seric		everything as though it had an SMTP-style client that
222266342Seric		would do the return itself).  Problem noted by Josh Smith.
222366342Seric	Change "trymx" option in getcanonname() to ignore all MX data,
222466342Seric		even during a T_ANY query.  This actually didn't break
222566342Seric		anything, because the only time you called getcanonname
222666342Seric		with !trymx was if you already knew there were no MX
222766342Seric		records, but it is somewhat cleaner.  From Motonori
222866342Seric		Nakamura.
222966342Seric	Don't call getcanonname from getmxrr if you already know there
223066342Seric		are no DNS records matching the name.
223166342Seric	Fix a problem causing error messages to always include "The
223266342Seric		original message was received ... from localhost".
223366342Seric		The correct original host information is now included.
223466342Seric	Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
223566342Seric		version of "test" doesn't have the -x flag).  Change it
223666342Seric		to use -f instead.  From John Myers.
223766342Seric	CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
223866342Seric		esmtp -- it should be smtp.
223966342Seric	CONFIG: send all relayed mail using confRELAY_MAILER (defaults
224066342Seric		to "relay" (a variant of "smtp") if MAILER(smtp) is used,
224166342Seric		else "suucp" if MAILER(uucp) is used, else "unknown");
224266342Seric		this cleans up the configs somewhat.  This fixes a serious
224366342Seric		problem that caused route-addrs to get mistaken as relays,
224466342Seric		pointed out by John Myers.  WARNING: this also causes
224566342Seric		the default on SMART_HOST to change from "suucp" to
224666342Seric		"relay" if you have MAILER(smtp) specified.
224766342Seric
224866341Seric8.4/8.4		93/07/22
224966341Seric	Add option `w'.  If you receive a message that comes to you because
225066341Seric		you are the best (lowest preference) target of an MX, and
225166341Seric		you haven't explicitly recognized the source MX host in
225266341Seric		your .cf file, this option will cause you to try the target
225366341Seric		host directly (as if there were no MX for it at all).  If
225466341Seric		`w' is not set, this case is a configuration error.
225566341Seric		Beware: if `w' is set, senders may get bogus errors like
225666341Seric		"message timed out" or "host unknown" for problems that
225766341Seric		are really configuration errors.  This option is
225866341Seric		disrecommended, provided only for compatibility with
225966341Seric		UIUC sendmail.
226066341Seric	Fix a problem that caused the incoming socket to be left open
226166341Seric		when sendmail forks after the DATA command.  This caused
226266341Seric		calling systems to wait in FIN_WAIT_2 state until the
226366341Seric		entire list was processed and the child closed -- a
226466341Seric		potentially prodigious amount of time.  Problem noted
226566341Seric		by Neil Rickert.
226666341Seric	Fix problem (created in 6.64) that caused mail sent to multiple
226766341Seric		addresses, one of which was a bad address, to completely
226866341Seric		suppress the sending of the message.  This changes
226966341Seric		handling of EF_FATALERRS somewhat, and adds an
227066341Seric		EF_GLOBALERRS flag.  This also fixes a potential problem
227166341Seric		with duplicate error messages if there is a syntax error
227266341Seric		in the header of a message that isn't noticed until late
227366341Seric		in processing.  Original problem pointed out by Josh Smith
227466341Seric		of Harvey Mudd College.  This release includes quite a bit
227566341Seric		of dickering with error handling (see below).
227666341Seric	Back out SMTP transaction if MAIL gets nested 501 error.  This
227766341Seric		will only hurt already-broken software and should help
227866341Seric		humans.
227966341Seric	Fix a problem that broke aliases when neither NDBM nor NEWDB were
228066341Seric		compiled in.  It would never read the alias file.
228166341Seric	Repair unbalanced `)' and `>' (the "open" versions are already
228266341Seric		repaired).
228366341Seric	Logging of "done" in dropenvelope() was incorrect: it would
228466341Seric		log this even when the queue file still existed.  Change
228566341Seric		this to only log "done" (at log level 11) when the
228666341Seric		queue file is actually removed.  From John Myers.
228766341Seric	Log "lost connection" in server SMTP at log level 20 if there
228866341Seric		is no pending transaction.  Some senders just close the
228966341Seric		connection rather than sending QUIT.
229066341Seric	Fix a bug causing getmxrr to add a dot to the end of unqualified
229166341Seric		domains that do not have MX records -- this would cause
229266341Seric		the subsequent host name lookup to fail.  The problem
229366341Seric		only occurred if you had FEATURE(nocanonify) set.
229466341Seric		Problem noted by Rick McCarty of Texas Instruments.
229566341Seric	Fix invocation of setvbuf when passed a -X flag -- I had
229666341Seric		unwittingly used an ANSI C extension, and this caused
229766341Seric		core dumps on some machines.
229866341Seric	Diagnose self-destructive alias loops on RCPT as well as EXPN.
229966341Seric		Previously it just gave an empty send queue, which
230066341Seric		then gave either "Need RCPT (recipient)" at the DATA
230166341Seric		(confusing, since you had given an RCPT command which
230266341Seric		returned 250) or just dropped the email, depending on
230366341Seric		whether you were running VERBose mode.  Now it usually
230466341Seric		diagnoses this case as "aliasing/forwarding loop broken".
230566341Seric		Unfortunately, it still doesn't adequately diagnose
230666341Seric		some true error conditions.
230766341Seric	Add internal concept of "warning messages" using 6xx codes.
230866341Seric		These are not reported only to Postmaster.  Unbalanced
230966341Seric		parens, brackets, and quotes are printed as 653 codes.
231066341Seric		They are always mapped to 5xx codes before use in SMTP.
231166341Seric	Clean up error messages to tell both the actual address that
231266341Seric		failed and the alias they arose from.  This makes it
231366341Seric		somewhat easier to diagnose problems.  Difficulty noted
231466341Seric		by Motonori Nakamura.
231566341Seric	Fix a problem that inappropriately added a ctladdr to addresses
231666341Seric		that shouldn't have had one during a queue run.  This
231766341Seric		caused error messages to be handled differently during
231866341Seric		a queue run than a direct run.
231966341Seric	Don't print the qf name and line number if you get errors during
232066341Seric		the direct run of the queue from srvrsmtp -- this was
232166341Seric		just extra stuff for users to crawl through.
232266341Seric	Put command line flags on second line of pid file so you can
232366341Seric		auto-restart the daemon with all appropriate arguments.
232466341Seric		Use "kill `head -1 /etc/sendmail.pid`" to stop the
232566341Seric		daemon, and "eval `tail -1 /etc/sendmail.pid`" to
232666341Seric		restart it.
232766341Seric	Remove the ``setuid(getuid())'' in main -- this caused the
232866341Seric		IDENT daemon to screw up.  This required that I change
232966341Seric		HASSETEUID to HASSETREUID and complicate the mode
233066341Seric		changing somewhat because both Ultrix and SunOS seem
233166341Seric		to have a bug causing seteuid() to set the saved uid
233266341Seric		as well as the effective.  The program test/t_setreuid.c
233366341Seric		will test to see if your implementation of setreuid(2)
233466341Seric		is appropriately functional.
233566341Seric	The FallBackMX (option V) handling failed to properly identify
233666341Seric		fallback to yourself -- most of the code was there,
233766341Seric		but it wasn't being enabled.  Problem noted by Murray
233866341Seric		Kucherawy of the University of Waterloo.
233966341Seric	Change :include: open timeout from ETIMEDOUT to an internal
234066341Seric		code EOPENTIMEOUT; this avoids adding "during SmtpPhase
234166341Seric		with CurHostName" in error messages, which can be
234266341Seric		confusing.  Reported by Jonathan Kamens of OpenVision
234366341Seric		Technologies.
234466341Seric	Back out setpgrp (setpgid on POSIX systems) call to reset the
234566341Seric		process group id.  The original fix was to get around
234666341Seric		some problems with recalcitrant MUAs, but it breaks
234766341Seric		any call from a shell that creates a process group id
234866341Seric		different from the process id.  I could try to fix
234966341Seric		this by diddling the tty owner (using tcsetpgrp or
235066341Seric		equivalent) but this is too likely to break other
235166341Seric		things.
235266341Seric	Portability changes:
235366341Seric		Support -M as equivalent to -oM on Ultrix -- apparently
235466341Seric			DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
235566341Seric			instead of using standard flags.  Oh joy.  This
235666341Seric			behaviour reported by Jon Giltner of University
235766341Seric			of Colorado.
235866341Seric		SGI IRIX  -- this includes several changes that should
235966341Seric			help other strict ANSI compilers.
236066341Seric		SCO Unix -- from Murray Kucherawy of HookUp Communication
236166341Seric			Corporation.
236266341Seric		Solaris running the Sun C compiler (which despite the
236366341Seric			documentation apparently doesn't define
236466341Seric			__STDC__ by default).
236566341Seric		ConvexOS from Eric Schnoebelen of Convex.
236666341Seric		Sony NEWS workstations and Omron LUNA workstations from
236766341Seric			Motonori Nakamura.
236866341Seric	CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
236966341Seric	CONFIG: delete `C' and `e' from default SMTP mailers flags;
237066341Seric		several people have made a good argument that this
237166341Seric		creates more problems than it solves (although this
237266341Seric		may prove painful in the short run).
237366341Seric	CONFIG: generalize all the relays to accept a "mailer:host"
237466341Seric		format.
237566341Seric	CONFIG: move local processing in ruleset 0 into a new ruleset
237666341Seric		98 (8 on old sendmail).  Domain literal [a.b.c.d]
237766341Seric		addresses are also passed through this ruleset.
237866341Seric	CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
237966341Seric		internet-style addresses would "fall off the end" of
238066341Seric		ruleset zero and be interpreted as local -- however,
238166341Seric		the angle brackets confused the recursive call.
238266341Seric		These are now diagnosed as "Unrecognized host name".
238366341Seric	CONFIG: USENET rules weren't included in S0 because of a mistaken
238466341Seric		ifdef(`_MAILER_USENET_') instead of
238566341Seric		ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
238666341Seric		of SINTEF RUNIT, Oslo.
238766341Seric	CONFIG: move up LOCAL_RULE_0 processing so that it happens very
238866341Seric		early in ruleset 0; this allows .mc authors to bypass
238966341Seric		things like the "short circuit" code for local addresses.
239066341Seric		Prompted by a comment by Bill Wisner of The Well.
239166341Seric	CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
239266341Seric		esmtp) to send SMTP mail.  This allows you to default
239366341Seric		to esmtp but use a mailertable or other override to
239466341Seric		deal with broken servers.  This logic was pointed out
239566341Seric		to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
239666341Seric	Changes to cf/sh/makeinfo.sh to make it portable to SVR4
239766341Seric		environments.  Ugly as sin.
239866341Seric
239966340Seric8.3/8.3		93/07/13
240066340Seric	Fix setuid problems introduced in 8.2 that caused messages
240166340Seric		like "Cannot create qfXXXXXX: Invalid argument"
240266340Seric		or "Cannot reopen dfXXXXXX: Permission denied".  This
240366340Seric		involved a new compile flag "HASSETEUID" that takes
240466340Seric		the place of the old _POSIX_SAVED_IDS -- it turns out
240566340Seric		that the POSIX interface is broken enough to break
240666340Seric		some systems badly.  This includes some fixes for
240766340Seric		HP-UX.  Also fixes problems where the real uid is
240866340Seric		not reset properly on startup (from Neil Rickert).
240966340Seric	Fix a problem that caused timed out messages to not report the
241066340Seric		addresses that timed out.  Error messages are also more
241166340Seric		"user friendly".
241266340Seric	Drop required bandwidth on connections from 64 bytes/sec to
241366340Seric		16 bytes/sec.
241466340Seric	Further Solaris portability changes -- doesn't require the BSD
241566340Seric		compatibility library.  This also adds a new
241666340Seric		"HASGETDTABLESIZE" compile flag which can be used if
241766340Seric		you want to use getdtablesize(2) instead of sysconf(2).
241866340Seric		These are loosely based on changes from David Meyer at
241966340Seric		University of Oregon.  This now seems to work, at least
242066340Seric		for quick test cases.
242166340Seric	Fix a problem that can cause duplicate error messages to be
242266340Seric		sent if you are in SMTP, you send to multiple addresses,
242366340Seric		and at least one of those addresses is good and points
242466340Seric		to an account that has a .forward file (whew!).
242566340Seric	Fix a problem causing messages to be discarded if checkcompat()
242666340Seric		returned EX_TEMPFAIL (because it didn't properly mark
242766340Seric		the "to" address).  Problem noted by John Myers.
242866340Seric	Fix dfopen to return NULL if the open failed; I was depending
242966340Seric		on fdopen(-1) returning NULL, which isn't the case.  This
243066340Seric		isn't serious, but does result in wierd error diagnoses.
243166340Seric		From Michael Corrigan.
243266340Seric	CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
243366340Seric		messages sent through UUCP-family mailers.  Suggested
243466340Seric		by Bill Wisner of The Well.
243566340Seric	CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
243666340Seric		include a "uucp-dom" mailer that uses domain-style
243766340Seric		addressing.  Suggested by Bill Wisner.
243866340Seric	CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
243966340Seric		LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
244066340Seric		Christophe Wolfhugel.
244166340Seric	CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
244266340Seric
244366339Seric8.2/8.2		93/07/11
244466339Seric	Don't drop out on config file parse errors in -bt mode.
244566339Seric	On older configuration files, assume option "l" (use Errors-To
244666339Seric		header) for back compatibility.  NOTE:  this DOES NOT
244766339Seric		imply an endorsement of the Errors-To: header in any way.
244866339Seric	Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
244966339Seric	Don't log errors on EHLO -- it isn't a "real" error for an old
245066339Seric		SMTP server to give an error on this command, and
245166339Seric		logging it in the transcript can be confusing.  Fix
245266339Seric		from Bill Wisner.
245366339Seric	IRIX compatibility changes provided by Dan Rich
245466339Seric		<drich@sandman.lerc.nasa.gov>.
245566339Seric	Solaris 2 compatibility changes.  Provided by Bob Cunningham
245666339Seric		<bob@kahala.soest.hawaii.edu>, John Oleynick
245766339Seric		<juo@klinzhai.rutgers.edu>
245866339Seric	Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
245966339Seric		move usersmtp (smtpinit and smtpmailfrom) to -d18 to
246066339Seric		match the other flags in that file.
246166339Seric	Flush transcript before fork in mailfile().  From Eric Wassenaar.
246266339Seric	Save h_errno in mci struct and improve error message display.
246366339Seric		Changes from Eric Wassenaar.
246466339Seric	Open /dev/null for the transcript if the create of the xf file
246566339Seric		failed; this avoids at least one possible null pointer
246666339Seric		reference in very wierd cases.  From Eric Wassenaar.
246766339Seric	Clean up statistics gathering; it was over-reporting because of
246866339Seric		forks.  From Eric Wassenaar.
246966339Seric	Fix problem that causes old Return-Path: line to override new
247066339Seric		Return-Path: line (conf.c needs H_FORCE to avoid
247166339Seric		re-using old value).  From Motonori Nakamura.
247266339Seric	Fix broken -m flag in K definition -- even if -m (match only)
247366339Seric		was specified, it would still replace the key with the
247466339Seric		value.  Noted by Rick McCarty of Texas Instruments.
247566339Seric	If the name server timed out over several days, no "timed out"
247666339Seric		message would ever be sent back.  The timeout code
247766339Seric		has been moved from markfailure() to dropenvelope()
247866339Seric		so that all such failures should be diagnosted.  Pointed
247966339Seric		out by Christophe Wolfhugel and others.
248066339Seric	Relax safefile() constraints: directories in an include or
248166339Seric		forward path must be readable by self if the controlling
248266339Seric		user owns the entry, readable by all otherwise (e.g.,
248366339Seric		when reading your .forward file, you have to own and
248466339Seric		have X permssion in it; everyone needs X permission in
248566339Seric		the root and directories leading up to your home);
248666339Seric		include files must be readable by anyone, but need not
248766339Seric		be owned by you.
248866339Seric	If _POSIX_SAVED_IDS is defined, setuid to the owner before
248966339Seric		reading a .forward file; this gets around some problems
249066339Seric		on NFS mounts if root permission is not exported and
249166339Seric		the user's home directory isn't x'able.
249266339Seric	Additional NeXT portability enhancements from Axel Zinser.
249366339Seric	Additional HP-UX portability enhancements from Brian Bullen.
249466339Seric	Add a timeout around SMTP message writes; this assumes you can
249566339Seric		get throughput of at least 64 bytes/second.  Note that
249666339Seric		this does not impact the "datafinal" default, which
249766339Seric		is separate; this is just intended to work around
249866339Seric		network clogs that will occur before the final dot
249966339Seric		is sent.  From Eric Wassenaar.
250066339Seric	Change map code to set the "include null" flag adaptively --
250166339Seric		it initially tries both, but if it finds anything
250266339Seric		matching without a null it never tries again with a
250366339Seric		null and vice versa.  If -N is specified, it never
250466339Seric		tries without the null and creates new maps with a
250566339Seric		null byte.  If -O is specified, it never tries with
250666339Seric		the null (for efficiency).  If -N and -O are specified,
250766339Seric		you get -NO (get it?) lookup at all, so this would
250866339Seric		be a bad idea.  If you don't specify either -N or -O,
250966339Seric		it adapts.
251066339Seric	Fix recognition of "same from address" so that MH submissions
251166339Seric		will insert the appropriate full name information;
251266339Seric		this used to work and got broken somewhere along the
251366339Seric		way.
251466339Seric	Some changes to eliminate some unnecessary SYSERRs in the
251566339Seric		log.  For example, if you lost a connection, don't
251666339Seric		bother reporting that fact on the connection you lost.
251766339Seric	Add some "extended debugging" flags to try to track down
251866339Seric		why we get occassional problems with file descriptor
251966339Seric		one being closed when execing a mailer; it seems to
252066339Seric		only happen when there has been another error in the
252166339Seric		same transaction.  This requires XDEBUG, defined
252266339Seric		by default in conf.h.
252366339Seric	Add "-X filename" command line flag, which logs both sides of
252466339Seric		all SMTP transactions.  This is intended ONLY for
252566339Seric		debugging bad implementations of other mailers; start
252666339Seric		it up, send a message from a mailer that is failing,
252766339Seric		and then kill it off and examine the indicated log.
252866339Seric		This output is not intended to be particularly human
252966339Seric		readable.  This also adds the HASSETVBUF compile
253066339Seric		flag, defaulted on if your compiler defines __STDC__.
253166339Seric	CONFIG: change SMART_HOST to override an SMTP mailer.  If you
253266339Seric		have a local net that should get direct connects, you
253366339Seric		will need to use LOCAL_NET_CONFIG to catch these hosts.
253466339Seric		See cf/README for an example.
253566339Seric	CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
253666339Seric		sites that don't use the -d flag.
253766339Seric	CONFIG: hide recipient addresses as well as sender addresses
253866339Seric		behind $M if FEATURE(allmasquerade) is specified; this
253966339Seric		has been requested by several people, but can break
254066339Seric		local aliases.  For example, if you mail to "localalias"
254166339Seric		this will be rewritten as "localalias@masqueradehost";
254266339Seric		although initial delivery will work, replies will be
254366339Seric		broken.  Use it sparingly.
254466339Seric	CONFIG: add FEATURE(domaintable).  This maps unqualified domains
254566339Seric		to qualified domains in headers.  I believe this is
254666339Seric		largely equivalent to the IDA feature of the same name.
254766339Seric	CONFIG: use $U as UUCP name instead of $k.  This permits you
254866339Seric		to override the "system name" as your UUCP name --
254966339Seric		in particular, to use domain-ized UUCP names.  From
255066339Seric		Bill Wisner of The Well.
255166339Seric	CONFIG: create new mailer "esmtp" that always tries EHLO
255266339Seric		first.  This is currently unused in the config files,
255366339Seric		but could be used in a mailertable entry.
255466339Seric
255566338Seric8.1C/8.1B	93/06/27
255666338Seric	Serious security bug fix: it was possible to read any file on
255766338Seric		the system, regardless of ownership and permissions.
255866338Seric	If a subroutine returns a fully qualified address, return it
255966338Seric		immediately instead of feeding it back into rewriting.
256066338Seric		This fixes a problem with mailertable lookups.
256166338Seric	CONFIG: fix some M4 frotz (concat => CONCAT)
256266338Seric
256366338Seric8.1B/8.1A	93/06/12
256466338Seric	Serious bug fix: pattern matching backup algorithm stepped by
256566338Seric		two tokens in classes instead of one.  Found by Claus
256666338Seric		Assmann at University of Kiel, Germany.
256766338Seric
256866338Seric8.1A/8.1A	93/06/08
256966338Seric	Another mailertable fix....
257066338Seric
257166338Seric8.1/8.1		93/06/07
257266338Seric	4.4BSD freeze.  No semantic changes.
257366338Seric
257466338Seric6.65/6.34	93/06/06
257566338Seric	Fix some lintish problems.
257666338Seric	Fix some cases where server SMTP behaved poorly when handed bogus
257766338Seric		input, pointed out by Eric Wassenaar.
257866338Seric	CONFIG: fix some more (sigh) mailertable bugs -- thanks to
257966338Seric		Motonori Nakamura of Kyoto University (again).
258066338Seric
258166338Seric6.64/6.33	93/06/05
258266338Seric	Don't send 050 (-v) information after the 250 response to a QUIT
258366338Seric		command in srvrsmtp -- clients usually close the connection
258466338Seric		at this point, and it causes bogus error messages.
258566338Seric	Don't send messages that have errors on input (such as unbalanced
258666338Seric		parentheses) during SMTP transactions, since a return
258766338Seric		message has (probably) already been sent.
258866338Seric	Give better diagnostics on timeouts during network reads, including
258966338Seric		information similar to the SMTP phase.
259066338Seric	Fix bug that caused SMTP messages to deliver synchronously; this
259166338Seric		happened after the DATA 250, and hence caused reading the
259266338Seric		next command to be delayed.
259366338Seric	Ignore Errors-To: header unless 'l' (lower case el) header is
259466338Seric		specified.  The Errors-To: header violates RFC 1123.
259566338Seric		Errors-To: was only needed to take the place of the
259666338Seric		envelope sender in the days when most Unix mailers
259766338Seric		didn't understand about the two kinds of senders.
259866338Seric	Don't send warning messages in response to automatically generated
259966338Seric		messages (that is, those From:<>).
260066338Seric	CONFIG: fix some rather stupid typos in the mailertable code
260166338Seric		pointed out by Motonori Nakamura of Kyoto University.
260266338Seric	CONFIG: add confUSE_ERRORS_TO configuration option.
260366338Seric	CONFIG: if ALWAYS_ADD_DOMAIN is selected, try to use $M
260466338Seric		(masquerade name) instead of $j.
260566338Seric	CONFIG: don't add dots to relay names (added in 6.29); it breaks
260666338Seric		several things, and can be simulated by dot terminating
260766338Seric		the names of relays.  For example, use:
260866338Seric			DBbit.net.relay.
260966338Seric		(note the trailing dot).
261066338Seric
261166338Seric6.63/6.32	93/06/01
261266338Seric	Fix prototypes to eliminate chars in argument lists -- some
261366338Seric		compilers are pissy about this.
261466338Seric	Log protocol ($r) and body type if set so we can determine if
261566338Seric		the adaptive algorithms are working.
261666338Seric	Pessimize on locking of database files (particularly for NEWDB
261766338Seric		databases) during opens.  There were problems with
261866338Seric		processes opening the file while it was rebuilt; since
261966338Seric		NEWDB caches heavily, the reader opened an empty file,
262066338Seric		which is an error.  If your system has the ability to
262166338Seric		lock atomically on open, this works properly; otherwise,
262266338Seric		there are race conditions.
262366338Seric	Check mod time on .pag file instead of .dir in NDBM aliases
262466338Seric		because the .dir file doesn't get updated for small
262566338Seric		alias files.  From John Gardiner Myers of CMU.
262666338Seric	More Solaris portability -- it now compiles on Solaris, but
262766338Seric		hangs up in gethostbyname().
262866338Seric	Move setting of RES_DEBUG flag before first myhostname() call
262966338Seric		so we can see name server traffic on that call.
263066338Seric	Fsync() queue files.
263166338Seric	Fix a problem that causes -bi to try to rebuild maps other than
263266338Seric		the alias file(s).
263366338Seric	Fix a problem that caused udb to reject entries from any but
263466338Seric		the first database listed.
263566338Seric	Rearrange doc subdirectory for 4.4BSD release tape.
263666338Seric	CONFIG: put $r into the Received line.  This was an oversight.
263766338Seric	CONFIG: fix typo (call to ruleset 99 should have been rulset 90).
263866338Seric	CONFIG: move "auxiliary" subroutines to be in ruleset 90-99
263966338Seric		range -- in the long run, single digit rulesets may
264066338Seric		become reserved for builtin use by sendmail.
264166338Seric	CONFIG: fix major problem that causes host aliases (that is,
264266338Seric		anything in $=w != $j) to not be recognized.  This has
264366338Seric		been around since 6.30.
264466338Seric
264566338Seric6.62/6.31	93/05/28
264666338Seric	BETA RELEASE
264766338Seric	Fix recursive syserr (if there is an error printing a syserr
264866338Seric		message).  This makes the code much less eager to consider
264966338Seric		a write error as serious.  This also includes some
265066338Seric		heuristics to be clever about closed connections.
265166338Seric	Lock NEWDB files during gets.  This requires version 1.5 or later
265266338Seric		of the db library.  If you have an older version, you
265366338Seric		can use -DOLD_NEWDB.  This will go away in a few weeks.
265466338Seric	Fix problem causing aliases that use host maps to get overwritten.
265566338Seric	Do appropriate byte swapping on port numbers in ident protocol
265666338Seric		code.  Fix from Allan Johannesen of WPI.
265766338Seric	Defer opening of map files to the same time as alias files so that
265866338Seric		the daemon will tend to pick up new versions more promptly.
265966338Seric	Prototype a bunch more functions.
266066338Seric	Some Solaris 2.1 changes (still doesn't link though).
266166338Seric	Try to simplify Makefiles by including more subordinate #defines
266266338Seric		in conf.h (based on OS type).
266366338Seric	CONFIG: check for domains if FEATURE(mailertable) is defined.
266466338Seric		For example, if the host name is "knecht.cs.berkeley.edu"
266566338Seric		it will search the following mailertable keys:
266666338Seric			knecht.cs.berkeley.edu
266766338Seric			.cs.berkeley.edu
266866338Seric			.berkeley.edu
266966338Seric			.edu
267066338Seric		This could be used to replace the special relays for bitnet
267166338Seric		and similar nets.
267266338Seric
267366338Seric6.61/6.30	93/05/24
267466338Seric	Fix problem that prevented appending dots on canonified host
267566338Seric		names.  This breaks tons of config files -- very
267666338Seric		important fix.
267766338Seric	Fix improper pointer dereference in response to HELO command.
267866338Seric	Fix core dump if debugging set in map_rewrite.
267966338Seric	CONFIG: add FEATURE(always_add_domain) to always attach the
268066338Seric		local domain (only impacts local mail).
268166338Seric	CONFIG: try to avoid turning names into $j -- although
268266338Seric		technically a host can only have one "canonical name",
268366338Seric		it seems to be common practice to have several.
268466338Seric
268566338Seric6.60/6.29	93/05/22
268666338Seric	Major change: merge alias databases with maps.  This expands and
268766338Seric		changes the map class interface but fixes a bunch of bugs.
268866338Seric		The important user-visible change is that the file name
268966338Seric		in a K line now does not include the ".db" extension; this
269066338Seric		is added automatically.  Also, the -d (NIS domain) flag is
269166338Seric		missing from the K config line; use @domain instead.
269266338Seric		When compiling, the *_MAP names are gone -- just compile
269366338Seric		in NDBM, NEWDB, and/or NIS support.
269466338Seric	Announce mailer/host/user triple on -bv flag -- from Brian
269566338Seric		Bullen of Stirling University.
269666338Seric	Don't send more than one line in response to HELO -- it confuses
269766338Seric		Pony Express, which then behaves very badly.  However,
269866338Seric		this change does send two line 220 greetings, with the
269966338Seric		second line reading "ESMTP spoken here".  The usersmtp
270066338Seric		module recognizes this and goes into ESMTP mode regardless
270166338Seric		of the setting of the "a" mailer flag.  Thus, "a" means
270266338Seric		"always try EHLO".
270366338Seric	AIX portability changes (thanks to Christophe Wolfhugel of
270466338Seric		Herve Schauer Consultants (Paris) for providing me with
270566338Seric		an INSA account for this purpose).  Lightly tested.  Use
270666338Seric		-D_AIX3.  This probably breaks compatibility with some
270766338Seric		older systems (e.g., 4.2bsd) but still works on SunOS
270866338Seric		4.1.2, Ultrix 4.2A, HP-UX 8.07, OSF/1 T1.3, and AIX 3.2.3.
270966338Seric	Fix a problem causing an error message loop if the output channel
271066338Seric		is hosed.
271166338Seric	Add the Makefiles that I use for various environments -- some are
271266338Seric		Berkeley make versions and some are old make versions.
271366338Seric		My makefile for the NeXT box has gotten lost, alas!
271466338Seric	PRALIASES: support for printing NEWDB databases.  From
271566338Seric		Michael J. Corrigan of U.C. San Diego.
271666338Seric	CONFIG: don't pass pseudo-domains to $[ ... $] (if you have
271766338Seric		a wildcard MX it can have wierd results).  From
271866338Seric		Christophe Wolfhugel.
271966338Seric	CONFIG: dot terminate relay hostnames in S0.  From Christophe
272066338Seric		Wolfhugel.
272166338Seric
272266338Seric6.59/6.28	93/05/13
272366338Seric	Log version with SMTP daemon startup message.
272466338Seric	Adjust setproctitle to work on NetBSD and BSD/386.
272566338Seric	Fix null pointer reference in MX fallback code.
272666338Seric	A bunch of minor fixes from Eric Wassenaar:
272766338Seric		If deliver cannot execv the mailer, return EX_OSERR
272866338Seric			instead of EX_TEMPFAIL (to give better
272966338Seric			error messages).
273066338Seric		Consistently malloc e_message.
273166338Seric		Catch degenerate case of calling returntosender()
273266338Seric			with an empty returnq.
273366338Seric		MIME reformatting.
273466338Seric
273566338Seric6.58/6.28	93/05/13
273666338Seric	Fix bug that can cause incorrect verbose display of user smtp
273766338Seric		messages.
273866338Seric	Disable SMTP VERB command if PRIV_NOEXPN is set (since this
273966338Seric		could reveal the same information.
274066338Seric	Allow failure when reading SMTP greeting message to go on to
274166338Seric		next MX host.
274266338Seric	Add "MIME-Version: 1.0" header if using MIME (this was NOT
274366338Seric		included in RFC 1344, but Bill King of Allan-Bradley
274466338Seric		Company forwarded me email from Nathaniel Borenstein
274566338Seric		claiming that it was an inadvertent omission).
274666338Seric	Don't use Content-Type: X-message-header.  According to John
274766338Seric		Myers of CMU, many MIME readers will completely ignore
274866338Seric		the data if they don't recognize it.  Instead, just
274966338Seric		add a blank line to make it a legal (empty) message.
275066338Seric	Fix problem causing dots to keep getting appended to cached
275166338Seric		hostnames.  This can cause buffer overrun conditions.
275266338Seric		The problem was found by Erik Forsberg of Retix,
275366338Seric		although I used a different bug fix than he provided.
275466338Seric	Fix parsing of split header/envelope rewriting specs -- from
275566338Seric		Eric Forsberg.
275666338Seric	Fix from Eric Wassenaar to correct To: lists in error messages.
275766338Seric
275866338Seric6.57/6.28	93/05/11
275966338Seric	Fix minor glitch causing extra ctladdrs to be output to queue
276066338Seric		file.  Just an annoyance.
276166338Seric	Cache results of name server canonification lookups to avoid
276266338Seric		backed up queue runs.
276366338Seric	Major rewrite of alias.c: considerable cleanup, plus sample
276466338Seric		(untested) support for NIS aliases.  The "A" option
276566338Seric		can now be a comma separated list (or be repeated) --
276666338Seric		that is, you can have multiple alias databases.  Each
276766338Seric		database can have the syntax ``class:file''; if no class
276866338Seric		is specified, the "implicit" class is assumed.  Implicit
276966338Seric		searches through a list of compiled in types -- hash,
277066338Seric		dbm, nis, and stab.  Alias files are searched in the
277166338Seric		order they are listed.  For example:
277266338Seric			OAhash:/etc/aliases.local,/etc/aliases
277366338Seric			OAnis:mail.aliases@my.nis.domain
277466338Seric		first searches the hash database /etc/aliases.local,
277566338Seric		then the regular /etc/aliases database, then the NIS
277666338Seric		map "mail.aliases" in the NIS domain "my.nis.domain".
277766338Seric	If in Verbose mode (probably from VERB command) run SMTP job
277866338Seric		in foreground and don't do RCPT optimizations.
277966338Seric	Add udb :mailsender as equivalent to owner- for regular aliases.
278066338Seric	Delete option 8; add option 7 that means the opposite.  That is,
278166338Seric		default to 8-bit mode; a special option is needed to
278266338Seric		force sendmail into 7 bit mode.
278366338Seric	Send error messages in encapsulated MIME format.
278466338Seric	New compile flag "NIS" that turns on NIS alias and NIS map
278566338Seric		support.
278666338Seric	Add "j" option to send error messages in MIME (RFC 1341)
278766338Seric		encapsulated message format per RFC 1344.  The
278866338Seric		syntax is pretty ugly if you don't have MIME-aware
278966338Seric		user agents.
279066338Seric	Clean up message handling (for display in mailq output).
279166338Seric	New setproctitle implementation for 4.4bsd.
279266338Seric	Create files (such as ~/dead.letter) using mode FileMode (the
279366338Seric		F option value) instead of 0666.
279466338Seric	Fix bug causing output of EXPN command to not be fully qualified.
279566338Seric		This may cause some problems with UUCP addresses that
279666338Seric		will require some config file assistance -- specifically,
279766338Seric		the $: part has to include the host name for this output
279866338Seric		to make sense.
279966338Seric	Fix a problem that sometimes diagnosed errors and still sent the
280066338Seric		message if the header syntax was bad.
280166338Seric	Fix a bug that caused an error message to be emailed when sendmail
280266338Seric		was operating in -bv mode.
280366338Seric	Add "ListenQueueSize" keyword to daemon options option (OO) to
280466338Seric		set the queue size parameter passed to listen().  You
280566338Seric		will normally have to tweak your kernel to up this.
280666338Seric	Strip spaces off of beginning of message-id before logging (in
280766338Seric		case it was folded across lines).
280866338Seric	Tweak compile flags in daemon.c -- there were some cases where
280966338Seric		it wouldn't work without NETINET.
281066338Seric	Change *file* mailer to output all the usual default headers
281166338Seric		(From, Date, Message-Id).  It gets used when sending
281266338Seric		back error messages.
281366338Seric	CONFIG: explicitly catch and diagnose list:; syntax in ruleset
281466338Seric		zero -- this is not a valid recipient syntax according
281566338Seric		to RFC 821.
281666338Seric	CONFIG: add confMIME_FORMAT_ERRORS to send error messages in
281766338Seric		MIME format.  Defaults to on.
281866338Seric	CONFIG: add SMTP_MAILER_FLAGS and UUCP_MAILER_FLAGS to augment
281966338Seric		the flags for those mailers.
282066338Seric
282166338Seric6.56/6.27	93/05/01
282266338Seric	Fix problem that causes the fallback mail to postmaster
282366338Seric		(case ESM_POSTMASTER in savemail()) to not look at
282466338Seric		aliases (ugh).
282566338Seric	Some more HPUX tweaking (compile flag hpux => __hpux so it
282666338Seric		still works in ANSI mode).
282766338Seric	Don't try to flock non-regular files when mailing to a file.
282866338Seric		In particular, this was a problem if you tried to
282966338Seric		send to /dev/null.
283066338Seric	Fix a wierd bug that can cause senders to be queued as
283166338Seric		recipients if the name server is down when the mail
283266338Seric		is initially sent.  This hack just ignores sender
283366338Seric		deletion (essentially, it sets the MeToo flag) if there
283466338Seric		is a TEMPFAIL during processing of the sender address.
283566338Seric		Obscure.
283666338Seric	Fix a dangling else problem -- from Brian Bullen from University
283766338Seric		of Stirling, UK.
283866338Seric	Add the "b" mailer flag to force a blank line on the end of
283966338Seric		messages.  Some brilliant versions of /bin/mail insist
284066338Seric		on this but do not add it themselves.
284166338Seric	Add the "g" mailer flag to prevent user SMTP from sending
284266338Seric		"MAIL From:<>".  This is only intended to be a
284366338Seric		transitional gesture, and should not be used if at
284466338Seric		all possible.  It appears that Berkeley and IDA
284566338Seric		config files have always handled this properly; the
284666338Seric		UK config kit apparently does not.
284766338Seric	Don't lowercase and then capitalize header field names -- leave
284866338Seric		them with original capitalization.  Fixes from Bill
284966338Seric		King of Allen-Bradley Company.
285066338Seric	Further cleanup and improved reporting of error messages,
285166338Seric		particularly conditions that cause messages to be
285266338Seric		requeued for future delivery.
285366338Seric	Tweak syslog priorities in some cases.
285466338Seric	CONFIG: clean up route-addr on UUCP addresses.
285566338Seric
285666338Seric6.55/6.25	93/04/27
285766338Seric	HPUX 8.07 compatibility changes in getla() -- I had to make
285866338Seric		these changes to get it to work at Berkeley, although
285966338Seric		others seem to have been working before (???).
286066338Seric	Various patches to XLA code.
286166338Seric	Fix problem that causes setuid bit on files to be ignored from
286266338Seric		SMTP or in queue runs.  Problem noted by Jason Ornstein
286366338Seric		of Under The Wire, Inc.
286466338Seric	Fix problem that can cause CNAMEs to be ignored.
286566338Seric	Generalize getmxrr to match local host in $=w instead of a
286666338Seric		single name passed in.
286766338Seric	Some cleanup from Eric Wassenaar:
286866338Seric		Use FileMailer instead of ProgMailer in two places.
286966338Seric		Eliminate duplicate 8th-bit stripping in commaize.
287066338Seric		Fix a problem with mis-parsing of backslash escapes
287166338Seric			under some circumstances.
287266338Seric	NIS map fix (was always including trailing null character)
287366338Seric		from Mike Glendinning of Ingres UK.
287466338Seric	Add "a" mailer flag to try using ESMTP.  It tries the EHLO
287566338Seric		command and if that fails falls back to regular SMTP.
287666338Seric		Also parses EHLO option keywords.  If host supports
287766338Seric		SIZE extension, this is added to the MAIL FROM:
287866338Seric		command.
287966338Seric	Extend "b" option to include a second value which is the
288066338Seric		maximum message size this server is willing to accept.
288166338Seric		For example, a value of "10/1000000" says that there
288266338Seric		must be ten blocks free, and sendmail will reject
288366338Seric		any message larger than one megabyte.
288466338Seric	Some portability hooks for NeXT (this could be applicable
288566338Seric		to Mach in general).  You have to create an empty
288666338Seric		file called "unistd.h" to get it to compile.
288766338Seric	Adjust config values (MAXLINE, MAXATOM, and PSBUFSIZE) to
288866338Seric		be more generous.
288966338Seric	Add X400-Received: to the list of headers tagged with H_TRACE
289066338Seric		in conf.c.  From Bill King, Allen-Bradley Co.
289166338Seric
289266338Seric6.54/6.25	93/04/19
289366338Seric	Fix problem that caused redefinition of SMTP and QUEUE compile
289466338Seric		flags.  Pointed out by Jon Forrest of the Sequoia 2000
289566338Seric		project at Berkeley.
289666338Seric	Properly handle \! hack -- it was treating host\!user as one
289766338Seric		token (host!user) instead of three (host, !, user).
289866338Seric		Fix from Eric Wassenaar of NIKHEF-H.
289966338Seric	Fix compilation problem in getauthinfo() if IDENTPROTO is off.
290066338Seric	Turn off DEFNAMES and DNSRCH when getting the hostsignature
290166338Seric		(i.e., MX records) in level 1 configuration files; this
290266338Seric		matches the old behaviour.  From Motonori Nakamura of
290366338Seric		Kyoto University.
290466338Seric	Improve error message printing -- if sent through an alias,
290566338Seric		error messages include the name of the alias in the
290666338Seric		message.  Unfortunately, in order to make this work
290766338Seric		properly in queue runs, this changes the format of the
290866338Seric		C line in the qf file.  The relatively uselessness of
290966338Seric		the previous information was pointed out to me by
291066338Seric		Allan E Johannesen of WPI.
291166338Seric	Add XLA compile flag to add hooks to Christophe Wolfhugel's
291266338Seric		extended load average code.  This is still in very early
291366338Seric		form.  For information regarding the guts of the xla
291466338Seric		code, contact Christophe.Wolfhugel@grasp.insa-lyon.fr.
291566338Seric	Additional hooks for detecting tempfails in rewriting rules
291666338Seric		(that is, in map lookups).
291766338Seric
291866338Seric6.53/6.25	93/04/15
291966338Seric	Properly diagnose ruleset zero returning null (instead of a mailer
292066338Seric		triple).  From Motonori Nakamura of Kyoto University.
292166338Seric	More generalization of socket code for other protocols.
292266338Seric	Shorten timeouts on reverse name lookups -- since they are done
292366338Seric		during connection establishment, long timeouts here can
292466338Seric		cause higher level timeouts.  This mainly serves to accept
292566338Seric		mail from hosts that do not have proper reverse (PTR) DNS
292666338Seric		records set up.
292766338Seric	Reset e_statmsg before each mailer invocation to avoid bogus
292866338Seric		messages in the log.
292966338Seric	Redefine $r, $s, and $_ in error envelopes so you don't get
293066338Seric		incorrect cruft in the error message.  Problem noted by
293166338Seric		Motonori Nakamura of Kyoto University.
293266338Seric	Fix a problem that can cause failure to return errors to Postmaster
293366338Seric		in certain cases.  From Motonori Nakamura.
293466338Seric	Fix a problem that can cause some systems to give duplicate error
293566338Seric		messages when a bad syntax address such as "<a" is presented
293666338Seric		to an SMTP server.   It doesn't seem to occur on all
293766338Seric		machines.  From Motonori Nakamura.
293866338Seric	Default IDENTPROTO off for Ultrix and HPUX, which apparently have
293966338Seric		the interesting "feature" that when they receive a "Host
294066338Seric		unreachable" message they closes all open connections to
294166338Seric		that host.  However, some firewall gateways send this message
294266338Seric		if you try to connect to an unauthorized port, such as the
294366338Seric		IDENT port (113).  Thus, no email can be received from such
294466338Seric		hosts.  There is some evidence that versions of Ultrix before
294566338Seric		4.3 do not have this problem.  Thanks to Tom Ivar Helbekkmo
294666338Seric		for pointing out this behaviour to me and to Michael Corrigan
294766338Seric		of U.C. San Diego for informing me about the HPUX problem.
294866338Seric	Allow IPC mailers to return a colon-separated list of hosts in the
294966338Seric		$@ clause; these are searched in order as though they were
295066338Seric		MX records.
295166338Seric	When sending an error report, print the list of addresses tagged
295266338Seric		as bad.  Requested by Allan E Johannesen of WPI.
295366338Seric	Change map function calls to return a status code.  This gets
295466338Seric		passed back as the result of rewrite.  Parseaddr marks
295566338Seric		the address as a QUEUEUP address if the return code is
295666338Seric		EX_TEMPFAIL.  All this to queue properly if the name
295766338Seric		server is down.  This code is not well tested.  This code
295866338Seric		changes the interface to map lookup functions (a fifth
295966338Seric		parameter, int *statp, is added).  Feature requested by
296066338Seric		Dan Oscarsson.
296166338Seric	Don't delete quotes (in the dequote map) if there are spaces in
296266338Seric		the string, since this would cause them to be replaced by
296366338Seric		the SpaceSub character.
296466338Seric	Accept BODY=8BITMIME on SMTP MAIL command.  This isn't advertised
296566338Seric		because the 8BIT to 7BIT translation doesn't exist yet.
296666338Seric		This does add a "bodytype" field to both envelope and
296766338Seric		queue file and a -B command line flag to pass the type in
296866338Seric		during direct invocations.
296966338Seric	Discard return error messages only on responses to responses to
297066338Seric		responses, not on responses to responses.  That is, the
297166338Seric		algorithm is to try return to sender, then return to
297266338Seric		postmaster, then discard.  Previously it discarded
297366338Seric		immediately if the return to sender pass failed.
297466338Seric	CONFIG: back out change to hide unqualified hostnames behind %-hack.
297566338Seric		This screws up local aliases and .forward files.
297666338Seric	CONFIG: add FEATURE(nocanonify) to turn off calls to $[ ... $];
297766338Seric		some sites only handle completely canonified names.
297866338Seric		Requested by John Gardiner Myers of CMU.
297966338Seric	CONFIG: some UUCP code was still included even if FEATURE(nouucp)
298066338Seric		was specified.
298166338Seric
298266338Seric6.52/6.24	93/04/10
298366338Seric	Clean up some minor glitches on error return messages pointed out
298466338Seric		by Motonori Nakamura of Kyoto University.
298566338Seric	Fix reply() to not reset SmtpReplyBuffer on fatal errors; this
298666338Seric		was supposed to reset SmtpMsg Buffer.  This makes the
298766338Seric		client side code virtually useless.  Reported by Allan
298866338Seric		E Johannesen of WPI and Phil Brandenberger of Swarthmore.
298966338Seric	Better debug messages if fuzzy is disabled, suggested by Allan
299066338Seric		E Johannesen of WPI.
299166338Seric	Offset SmtpReplyBuffer by four in usersmtp when checking for
299266338Seric		loopback.  From Eric Wassenaar.
299366338Seric	Don't set $s until after runinchild in srvrsmtp -- otherwise
299466338Seric		it gets cleared.  From Eric Wassenaar.
299566338Seric	Implement IDA-style $&x for deferred macro expansion.
299666338Seric	More POSIX compatibility.
299766338Seric	CONFIG: Hide unqualified hostnames behind %-hack using $s as the
299866338Seric		actual sender.  This is only done if $r is non-null, that
299966338Seric		is, if this is not locally submitted mail.
300066338Seric	CONFIG: Add FEATURE(bitdomain) allowing mapping of BITNET host
300166338Seric		names to internet domains.  A program contributed by
300266338Seric		John Gardiner Myers of CMU to create the maps is included
300366338Seric		in the contrib directory (in the "misc" tar file).
300466338Seric	CONFIG: Add FEATURE(uucpdomain) for a similar mapping for UUCP
300566338Seric		hosts.  There is currently no tool to create this map.
300666338Seric
300766338Seric6.51/6.23	93/04/04
300866338Seric	Add D= mailer flag to specify a path of possible working directories
300966338Seric		in which to execute the mailer.  This is intended for the
301066338Seric		prog mailer; some shells can get upset if they don't have
301166338Seric		access to the current directory.
301266338Seric	Add RFC 1413 (IDENT) protocol support.  This is only very loosely
301366338Seric		tested.  This adds a $_ macro to be the authenticated
301466338Seric		info (in ``user@domain [address]'' form) and debug flag
301566338Seric		9 to trace the protocol.
301666338Seric	Check for loopbacks in usersmtp instead of srvrsmtp -- there is no
301766338Seric		reason for a local agent to not be talking to the localhost
301866338Seric		(although the inverse is not true).
301966338Seric	Add a few hooks for automated map rebuilding.  This is certainly
302066338Seric		not done yet.
302166338Seric	CONFIG: Have prog mailer specify a path of ``D=$z:/'' -- that is,
302266338Seric		user's home directory then the root.
302366338Seric	CONFIG: Log RFC 1413 identification in Received: line.
302466338Seric
302566338Seric6.50/6.22	93/04/01
302666338Seric	Fixes to requeueing code to make it compute priority, nrcpts,
302766338Seric		and the like properly.
302866338Seric
302966338Seric6.49/6.22	93/04/01
303066338Seric	Diagnose incorrect privacy flags.  Suggested by Bryan Costales
303166338Seric		of ICSI.
303266338Seric	Some ANSI C fixes.
303366338Seric	Arrange to quote backslashes as well as other special characters
303466338Seric		in the phrase part of a route-addr.
303566338Seric	Some fixes to FallBackMX code suggested by Motonori Nakamura of
303666338Seric		Kyoto University.
303766338Seric	More vigorous zeroing of CurHostAddr to avoid logging of bogus
303866338Seric		host addresses when you are actually just printing
303966338Seric		information from the MCI structure; problem noted by
304066338Seric		Michael Corrigan of U.C. San Diego.
304166338Seric	Don't ignore rest of queue if any job is not runnable.  This can
304266338Seric		also cause an incorrect job to be lost.  Fix from
304366338Seric		Eric Wassenaar.
304466338Seric	Always respond "quickly" to RCPT command; do alias expansion and
304566338Seric		the like later.  This also means that mail for lists that
304666338Seric		have errors will be acccepted, and an error sent back
304766338Seric		later.  This is done by instantiating the queue file
304866338Seric		and then immediately running and requeueing it.
304966338Seric
305066338Seric6.48/6.22	93/03/30
305166338Seric	Fix incorrect diagnosis of infinite loop in ruleset.  Problem noted
305266338Seric		by several people.
305366338Seric	Improve information printed when infinite loops are discovered.
305466338Seric	Zero CurHostAddr to fix erroneous internet addresses in log when no
305566338Seric		addresses can be bound.  Pointed out by Motonori Nakamura
305666338Seric		of Kyoto University.
305766338Seric	"Probe" SMTP connections using RSET instead of NOOP "just in case".
305866338Seric		Suggested by John Gardiner Myers of CMU.
305966338Seric	Don't warn about -f if you are setting sender to yourself.
306066338Seric
306166338Seric6.47/6.22	93/03/29
306266338Seric	Fix incompatible call to endmailer in smtpquit which causes core
306366338Seric		dumps.  Noted by Allan E Johannesen of WPI.
306466338Seric	HPUX portability changes from Michael J. Corrigan of UC San Diego.
306566338Seric	Require MAIL before RCPT command in srvrsmtp.c.  This had been
306666338Seric		intentional from the 821 draft days when the order wasn't
306766338Seric		clear, but is silly now.
306866338Seric	Fix bug in nis_magic routine that was initializing parameters
306966338Seric		incorrectly.  Fix from Takahiro Kanbe of Fuji Xerox
307066338Seric		Information Systems Co., Ltd.
307166338Seric	Change default for PrivacyFlags in conf.c to 0 -- since it always
307266338Seric		"or"s in new values, there was no way to turn off the
307366338Seric		AuthWarning stuff.
307466338Seric	Add O option to set SMTP daemon options.
307566338Seric	Add V option to set fallback MX host.  This always sorts at lower
307666338Seric		priority than anything it gets from the name server.  It
307766338Seric		should only be used for environments with very bad network
307866338Seric		connectivity.  Requested by several people.
307966338Seric	Log sending info.  It's not clear this is a good idea.
308066338Seric	CONFIG: fix typo in mailertable code.  Noted by Phil Brandenberger
308166338Seric		of Swarthmore.
308266338Seric	CONFIG: add confDAEMON_OPTIONS and confFALLBACK_MX to set options
308366338Seric		O and V, respectively.
308466338Seric
308566338Seric6.46/6.21	93/03/26
308666338Seric	Fix botch in server SMTP that broke transactions that did not
308766338Seric		use HELO first (like MH).  Fix from Michael Corrigan
308866338Seric		of U.C. San Diego.
308966338Seric	Fall back to other MX records if there is an error anywhere
309066338Seric		in delivery (actually on MAIL or DATA -- RCPT is harder).
309166338Seric		Suggested by John Gardiner Myers and Motonori Nakamura.
309266338Seric	Revert to non-prototypes -- it turns out that our ANSI C
309366338Seric		compiler is more forgiving than most others about
309466338Seric		mixing prototyped extern declarations with non-prototyped
309566338Seric		function definitions.
309666338Seric	Fix a problem with multi-word class matching pointed out by
309766338Seric		Neil Rickert.  Given:
309866338Seric			CX b a.b.c
309966338Seric			R$+ $=X $+	$: $1 < $2 > $3
310066338Seric		the input "user@a.b.c" failed instead of being properly
310166338Seric		rewritten as "user@a.<b>.c".
310266338Seric	Neil also convinced me that it was correct that $~ should match
310366338Seric		only one token -- the problem is that it's always possible
310466338Seric		to add another token, so $~ matches far too eagerly.
310566338Seric
310666338Seric6.45/6.21	93/03/25
310766338Seric	Implement multi-word classes (properly!).
310866338Seric
310966338Seric6.44/6.21	93/03/25
311066338Seric	Add X-Authentication-Warning: headers to clue users into possible
311166338Seric		attempts to forge mail.  This is on the authwarnings
311266338Seric		privacy flag, but is the default.  Suggested by Bryan
311366338Seric		Costales of ICSI.
311466338Seric	Pass default units for convtime in so they can be more reasonable.
311566338Seric	Allow config files to always add a new Comments: header (i.e.,
311666338Seric		they will be added even if an old one already exists).
311766338Seric		Suggested by Bryan Costales of ICSI.
311866338Seric	Allow config files to delete an existing Return-Path: header.
311966338Seric		These should only be added at final delivery.  Suggested
312066338Seric		by Bryan Costales of ICSI.
312166338Seric	Some debugging additions.  Suggested by Bryan Costales of ICSI.
312266338Seric	Clean up logging of Family 0 addresses.  Noted by David Muir
312366338Seric		Sharnoff and others.
312466338Seric	Add a "dequote" map class.  This allows config files to strip
312566338Seric		quotes off of addresses.  Note that this is not a builtin
312666338Seric		map, just a class -- so you have to define the map
312766338Seric		using the K line.
312866338Seric	Fix a bug in the queueup() loop getting a locked tf where in
312966338Seric		very odd cases it can fall off the bottom and core dump.
313066338Seric		Of course, it was P{r Emanuelsson who found it....
313166338Seric	Open a new transcript when splitting an envelope.  Problem found
313266338Seric		by Allan E Johannesen of WPI.
313366338Seric	Improved error output in endmailer if the mailer core dumps.
313466338Seric	CONFIG: Fix typo in UUCP mailer definition.
313566338Seric	CONFIG: Default several of the new options on: eight bit input,
313666338Seric		privacy flags set to "authwarnings", and message warning
313766338Seric		set to 4h.
313866338Seric	CONFIG: Use dequote map.
313966338Seric
314066338Seric6.43/6.20	93/03/23
314166338Seric	Fix problem with assumption of an sa_len field in a generic
314266338Seric		sockaddr -- it turns out that most vendors haven't
314366338Seric		picked up this (very important) fix.
314466338Seric	Change compilation flags for daemon code -- select one or both
314566338Seric		of NETINET or NETISO, but don't ever set DAEMON manually.
314666338Seric	CONFIG: add FEATURE(mailertable) to do IDA-style mailertables.
314766338Seric
314866338Seric6.42/6.19	93/03/19
314966338Seric	Use Postmaster as default fallback return address, not root.
315066338Seric	POSIX changes for file descriptor handling.
315166338Seric	Diagnose errors writing new queue file.
315266338Seric	If you change the owner using an owner- alias, also change the
315366338Seric		error mode to EM_MAIL so that errors don't get dropped
315466338Seric		into an inappropriate directory.  Problem noted by
315566338Seric		Allan E Johannesen of WPI.
315666338Seric	If you are su'ed to root, send email as who you really are, not
315766338Seric		as root.  From Brian Kantor of U.C. San Diego.
315866338Seric	Allow warning messages to be sent after a configurable interval
315966338Seric		has passed without delivery.  The message is sent only
316066338Seric		once per envelope.  This changes the format of the qf
316166338Seric		file to have an F line, and the format of the T option
316266338Seric		to accept take the format "return/warn" (both intervals).
316366338Seric	Don't force all local names to lower case -- this was left over
316466338Seric		from the wierd handling of case mapping on aliases.  It
316566338Seric		is now driven (as expected) by the "u" mailer flag.
316666338Seric		Problem noted by P{r Emanuelsson.
316766338Seric	Fix problem that caused headers on returned email to be trashed;
316866338Seric		they were getting freed, but are still accessible via
316966338Seric		BlankEnvelope.
317066338Seric	Fix problem that caused bogus ids to be created on returned
317166338Seric		mail.
317266338Seric	Add support for ISO and other non-INET networking.  This is by
317366338Seric		no means finished yet.  This does assume a lot of other
317466338Seric		system support, like a version of gethostbyname that
317566338Seric		returns non-AF_INET addresses.
317666338Seric	CONFIG: change default on prog mailer to keep upper case in
317766338Seric		user names (i.e., in the program command line).
317866338Seric	CONFIG: strip trailing dots off of hosts in uucp mailer before
317966338Seric		convert to bang format.
318066338Seric	CONFIG: create new "relay" mailer for $R (LOCAL_RELAY) and $H
318166338Seric		(MAIL_HUB) delivery that doesn't add local domain.  Note
318266338Seric		that this violates 821, but is probably "more correct"
318366338Seric		for what we are trying to do.  Problem pointed out by
318466338Seric		Michael Graff of Iowa State.
318566338Seric
318666338Seric6.41/6.18	93/03/18
318766338Seric	Clean up unnecessary creates of queue ids (i.e., empty qf files)
318866338Seric		when not needed, such as when starting up an SMTP
318966338Seric		connection.
319066338Seric	Fix problem where split envelopes aren't instantiated in the queue.
319166338Seric		This is quite a serious bug.
319266338Seric	Owner- aliases had problems with leading spaces causing a
319366338Seric		premature delimitation.
319466338Seric
319566338Seric6.40/6.18	93/03/18
319666338Seric	Have ending 250 (after DATA) include the id; suggested by
319766338Seric		Brian Kantor of UC San Diego.
319866338Seric	Add logging on envelope splitting.
319966338Seric	Change queue ids to have one more letter encoding the hour of
320066338Seric		the day so that during a single day there is a greater
320166338Seric		likelihood of uniqueness; requested by Brian Kantor.
320266338Seric
320366338Seric6.39/6.18	93/03/18
320466338Seric	Fix minor compile problem if LOCKF is defined.
320566338Seric	Define size of tobuf in conf.h.  Observed by Toshinari Takahashi
320666338Seric		of Toshiba.
320766338Seric	Restore e_sender -- this is equivalent to e_from.q_paddr without
320866338Seric		decorations such as angle brackets and comments.
320966338Seric	OSF/1 on Alpha changes from Allan E Johannesen of WPI.
321066338Seric	CONFIG: fix typo in S3 for list syntax (;: => :;).  Thanks to
321166338Seric		Christopher Hoover for noting the problem.
321266338Seric
321366338Seric6.38/6.17	93/03/17
321466338Seric	Pass envelope to disconnect to avoid another use of CurEnv, which
321566338Seric		can apparently end up being null at inopportune times.
321666338Seric	Log "received from" as "relay=" for consistency (suggested by
321766338Seric		John Gardiner Myers).
321866338Seric	Fix major bug in header handling:  if no From: line existed in
321966338Seric		the header (so sendmail inserts one), and the sender is
322066338Seric		an alias that has an owner, the From: line shows the
322166338Seric		owner (as well as the envelope).  Fixed by early binding
322266338Seric		the headers (which will change debugging output).
322366338Seric	HPUX portability patches from Michael J. Corrigan of UC San Diego.
322466338Seric	Some attempts to adapt better to out of open file conditions.
322566338Seric	Some changes to ctladdr handling in queue files.
322666338Seric
322766338Seric6.37/6.17	93/03/16
322866338Seric	MAJOR CHANGE:  delete e_sender and e_returnpath (why are these
322966338Seric		different from e_from?) and $< macro.
323066338Seric	Log correct IP address in relay= field even if the connection
323166338Seric		times out.
323266338Seric	Log "received from [RESPONSE]" on EF_RESPONSE messages (from
323366338Seric		John Gardiner Myers).
323466338Seric	Fixes to SysExMsg logging (sometimes just got "message: %s"
323566338Seric		instead of "message: error message"), noted by Eric
323666338Seric		Wassenaar.  Also reported by Motonori Nakamura.
323766338Seric	Improvements to MX piggybacking code, from Motonori Nakamura.
323866338Seric	Fix case where CurHostName points to an auto variable that has
323966338Seric		been deallocated (from Motonori Nakamura).
324066338Seric	Fix bug causing newlines to be included in aliases if option
324166338Seric		"n" (check alias RHS) is set; bug noted by David Muir
324266338Seric		Sharnoff.
324366338Seric	Fix problem causing user names that should be mapped to lower
324466338Seric		case to not be mapped if they are sent during a queue
324566338Seric		run.  This greatly simplifies the case mapping code.
324666338Seric		Problem noted by Allan E Johannesen of WPI.
324766338Seric	Don't do recipient address rewriting in buildaddr.  This
324866338Seric		improperly did recipient rewriting on sender addresses,
324966338Seric		and just seems bogus in general -- but the change could
325066338Seric		break some .cf files.
325166338Seric	Pass TZ envariable to child processes for System V.
325266338Seric	CONFIG: allow LOCAL_RULE_1 and LOCAL_RULE_2 if you want to
325366338Seric		define those rulesets.
325466338Seric	KNOWN PROBLEM:  I have seen some problems on SunOS that causes
325566338Seric		the User Data Base to give errors on some addresses.  I
325666338Seric		have tracked the problem back at least as far as 93.02.15
325766338Seric		(version 6.22).  Running with debugging on makes it
325866338Seric		go away, so I conclude that it is referencing uninitialized
325966338Seric		stack data.  I haven't been able to track this down yet.
326066338Seric
326166338Seric6.36/6.16	93/03/08
326266338Seric	Allow local mailer to specify $@host -- this lets you assign the
326366338Seric		"foo" part of jgm+foo to $h for passing in to the local
326466338Seric		mailer.
326566338Seric	Additional debug printing in getcanonname (show query type).
326666338Seric	Don't add the e_fromdomain on sender addresses -- this interacts
326766338Seric		wierdly with the owner- code.
326866338Seric	Improve delivery logging to not log obvious or meaningless stuff.
326966338Seric	Include numeric IP address in Received: lines per RFC 1123 section
327066338Seric		5.2.8.
327166338Seric	Fixed a bug in checking stat() return value if restrictmailq is
327266338Seric		set.  Also, check the entire group set instead of just the
327366338Seric		primary group.  Both from John Gardiner Myers.
327466338Seric	Don't have usrerr automatically print errno, since this is often
327566338Seric		misleading.
327666338Seric	Use transienterror() in makeconnection after connect() fails and
327766338Seric		in openmailer after execve() fails (from Eric Wassenaar).
327866338Seric		Also moved transienterror() from util.c to conf.c.
327966338Seric	Clean up from= logging on response messages.
328066338Seric	Undo patch allowing prescan to return a null vector -- it breaks
328166338Seric		too many things.
328266338Seric	Config: FEATURE(notsticky) lets you use UDB for everything coming
328366338Seric		in to the machine, even if it is specifically targetted
328466338Seric		to this machine.  Without it, UDB is bypassed if the user
328566338Seric		name is fully qualified.
328666338Seric	Config: fix another minor botch with <> (local mailer wasn't
328766338Seric		mapping them properly).
328866338Seric
328966338Seric6.35/6.15	93/03/05
329066338Seric	Fix getrealhostname to return null if sinlen <= 0 -- this can
329166338Seric		occur if stdin is a pipe.
329266338Seric	Avoid infinite loop in getcanonname if name server return
329366338Seric		NO_DATA (for example).
329466338Seric	Config: avoid having C flag qualify list syntax and error syntax.
329566338Seric
329666338Seric6.34/6.14	93/03/05
329766338Seric	Fix logging in deliver to not pass too many parameters to Ultrix
329866338Seric		versions of syslog.
329966338Seric	Don't write the pid file until after the daemon has actually
330066338Seric		opened and conditioned the connection.
330166338Seric	Consider addresses "different" if their q_uids differ (so that
330266338Seric		two users forwarding to the same program will be seen
330366338Seric		as different, rather than the same).
330466338Seric	Fix problem with bad parameters in main() -- they set ExitStat
330566338Seric		but don't exit.
330666338Seric	Fix null pointer references through RealHostName -- painfully
330766338Seric		discovered by Allan E Johannesen of WPI.
330866338Seric	Fix bug causing user@@localhost to core dump (yuch).
330966338Seric	Config: don't put two @host.dom.ain on users in $=E in SMTP
331066338Seric		mailer.  Also, catch user@ (no host) in ruleset 0.
331166338Seric
331266338Seric6.33/6.13	93/03/03
331366338Seric	Config: add confCW_FILE as the name of the cw configuration file
331466338Seric		(defaults to /etc/sendmail.cw).  From P{r Emanuelsson.
331566338Seric	Allow prescan to return a pointer to an empty list -- this is
331666338Seric		not an error.  Also, clean up error reporting to avoid
331766338Seric		double errors (prescan reports once, then the caller
331866338Seric		reports again).
331966338Seric	Changes to avoid trusting T_ANY queries -- run them, but if you
332066338Seric		don't get the info you expected, do T_A and T_MX queries
332166338Seric		anyhow.  This also fixes an oversight where _res.options
332266338Seric		bits were being ignored.
332366338Seric	If PRIV_NOVRFY is set, use 252 response code instead of 502 per
332466338Seric		RFC 1123 section 5.2.3.  It's not 100% clear that this
332566338Seric		is correct, but it probably works better with stupid
332666338Seric		mailers that do a VRFY and only check the first digit.
332766338Seric
332866338Seric6.32/6.12	93/03/02
332966338Seric	Fix uninitialized variable "protocol" in smtp code.
333066338Seric	Include <unistd.h> in sendmail.h -- move towards POSIX/ANSI.
333166338Seric	Additional hooks for RFC 1427 (ESMTP SIZE extension).  This
333266338Seric		includes requiring that enoughspace() know the system
333366338Seric		block size, which will undoubtedly break most ports.
333466338Seric	Trace flag 19 in use for srvrsmtp.c.
333566338Seric	Additional logging -- notably the sending mailer name.  This
333666338Seric		also changes the delivery logging to strict field=value
333766338Seric		syntax.
333866338Seric	Fix some problems with messages getting sent even to addresses
333966338Seric		that had been marked bad -- from Eric Wassenaar.
334066338Seric	More WIDE changes: accept host name inside [...] as non-MXed
334166338Seric		host.  This is intended ONLY for use inside firewalled
334266338Seric		environments, where the MX points at the gateway.
334366338Seric	Change .cf file conventions so that mapping for <> addresses
334466338Seric		don't have an @ in them (to avoid confusing the C mailer
334566338Seric		flag).  Pointed out by Neil Rickert.
334666338Seric	Config extensions for Sam Leffler's FlexFAX software.
334766338Seric
334866338Seric6.31/6.10	93/02/28
334966338Seric	Fix some more bugs in alias owner code -- there were some wierd
335066338Seric		cases where an error in a non-aliased name would override
335166338Seric		the return info in an aliased name with an owner.
335266338Seric	Changes from WIDE Project, forwarded to me by Motonori Nakamura:
335366338Seric		Log actual delivery host (after MX et al); from
335466338Seric			yasuhiro@dcl.co.jp.
335566338Seric		Log daemon startup.
335666338Seric		Deliver Postmaster copies without a body.
335766338Seric		Better logging of SMTP senders.
335866338Seric		Send all program email as daemon even when local.
335966338Seric	As requested in various forms from many people, accept -qIstring
336066338Seric		to limit queue runs to jobs with queue-id matching string.
336166338Seric		Similarly for -qRstring for recipients, -qSstring for
336266338Seric		senders.
336366338Seric	Initial hooks for ESMTP support (see RFC 1425).
336466338Seric	Fixed a syntax error in the UUCP mailer specification that caused
336566338Seric		core dumps on startup.
336666338Seric	Check for missing A= or P= arguments in mailer definitions.
336766338Seric
336866338Seric6.30/6.10	93/02/27
336966338Seric	Require FROZENCONFIG compilation flag to include frozen
337066338Seric		configuration code.  Frozen configuration is really
337166338Seric		not a very good idea any more, particularly in shared
337266338Seric		library environments.
337366338Seric	Do better checking of errno after opens of :include: and .forward
337466338Seric		files to defer delivery on network and other transient
337566338Seric		errors.  Suggestion from Craig Everhart.
337666338Seric	Fix minor botch in read timeout macro processing.
337766338Seric	Add FEATURE(nouucp) to config files for sites that know absolutely
337866338Seric		nothing about UUCP.
337966338Seric	Add built cf files to distribution tape and clarify how to build
338066338Seric		them if you don't have the Berkeley make.
338166338Seric	Some sizeof(long) portability changes for the Alpha, from Allan
338266338Seric		E Johannesen.
338366338Seric	Add "restrictmailq" privacy flag -- if set, only people in the same
338466338Seric		group as your queue directory can print the queue.  If you
338566338Seric		set this, be sure you also restrict access to log files....
338666338Seric	Fix another bug in owner-list stuff that can cause data files to
338766338Seric		be "lost".
338866338Seric	Fix a bug with queue runs that cause forwards to yourself to go
338966338Seric		into alias/forwarding loops.  I'm still iffy about this
339066338Seric		fix.
339166338Seric	Fix from Eric Wassenaar for suppression of return message code.
339266338Seric
339366338Seric6.29/6.9	93/02/24
339466338Seric	Fix yet another problem in alias owner code -- put the wrong return
339566338Seric		address on the enclosed return-to-sender letter.
339666338Seric
339766338Seric6.28/6.9	93/02/24
339866338Seric	Fix botch in alias owner code that caused it to not operate if the
339966338Seric		error was detected locally.
340066338Seric
340166338Seric6.27/6.9	93/02/24
340266338Seric	M_LOCAL => M_LOCALMAILER to avoid conflict with Ultrix include
340366338Seric		file <sys/mount.h>.
340466338Seric	Miscellaneous bug fixes from Eric Wassenaar:
340566338Seric		sendmail -bv -t logs the from line even though in verify
340666338Seric			mode only.
340766338Seric		sendmail -v can go into queue mode if shouldqueue returns
340866338Seric			TRUE.
340966338Seric	Add route-addr pruning per RFC 1123 section 5.3.3.  This can be
341066338Seric		disabled using the "R" option.
341166338Seric	Delete (always undocumented) -R flag (save original recipients);
341266338Seric		there are ways to syslog(3) these now.
341366338Seric	Clean up SMTP reply codes -- specify them as needed in the code,
341466338Seric		instead of in conf.c -- this was needed during the NCP to
341566338Seric		TCP transition, but seems silly now.  This also changes
341666338Seric		parameters to message and nmessage.
341766338Seric	Have mailstats read the .cf file to find the sendmail.st file and
341866338Seric		get text versions of mailer names.  An initial version of
341966338Seric		this code was provided by Tuominen Keijo (although the
342066338Seric		comments indicate the good bits were written by "E.V.").
342166338Seric	Add yet more System V compatibility hacks.
342266338Seric	Fix bug in VRFY code (assumes everything must be a local user).
342366338Seric	Allow specification of any of the hard-wired pathnames in the
342466338Seric		Makefile.
342566338Seric	Delete concept of "trusted users" -- this really didn't provide
342666338Seric		any security anyway, and caused some problems.
342766338Seric	Delete last vestige of support for the word "at" as an equivalent
342866338Seric		to the character "@".
342966338Seric	Propagate owner-foo alias information into the envelope sender.
343066338Seric		Based on code from John Gardiner Myers.  This is a major
343166338Seric		semantic change -- beware!
343266338Seric	Allow $@ on LHS to indicate "match zero" -- this is used to match
343366338Seric		the null expression.
343466338Seric
343566338Seric6.26/6.8	93/02/21
343666338Seric	Don't "lose" queue runs.  Very important fix from (who else?)
343766338Seric		Eric Wassenaar.
343866338Seric	Completely reset state on RSET command -- from Eric Wassenaar.
343966338Seric	Send error messages and return receipts using an envelope sender
344066338Seric		of <> regardless of the setting of $n.  Rewriting rules
344166338Seric		can undo this if they feel the necessity, as might be
344266338Seric		needed for networks that don't understand the syntax.
344366338Seric		This is permitted by RFC 821 section 3.6 and required by
344466338Seric		RFC 1123 section 5.3.3.  THIS REQUIRES VERSION 4 CONFIG
344566338Seric		FILES because the rulesets must be able to parse <>
344666338Seric		properly.
344766338Seric	Don't ever send error messages to "<>" -- they will get sent to
344866338Seric		the local postmaster or dumped in /usr/tmp/dead.letter
344966338Seric		instead.  Per RFC 1123 section 5.3.3.
345066338Seric	Explicitly check for email to yourself as a dotted quad.  You
345166338Seric		have to call $[ [ ... ] $] to get this.
345266338Seric	Up the message timeout to five days per RFC 1123 section 5.3.1.1.
345366338Seric	Make all read timeouts individually configurable, as strongly
345466338Seric		recommended by RFC 1123 section 5.3.2.
345566338Seric	Use f_bavail (blocks available to regular users) instead of f_bfree
345666338Seric		(blocks available to superuser) in free block checks.
345766338Seric	Change $d macro to be the current time, not the origination time,
345866338Seric		since this is consistent with how it is used now.
345966338Seric	Generalization of enoughspace from Eric Wassenaar covering
346066338Seric		SGI, Apollo, HPUX, Ultrix, and SunOS.
346166338Seric	Ignore process group signals -- some front ends can do this if
346266338Seric		you kill a window too quickly.  From Eric Wassenaar.
346366338Seric	Change umask to 022.
346466338Seric
346566338Seric6.25/6.8	93/02/20
346666338Seric	Close all cached connections before calling mailers and after
346766338Seric		forking for delivery (caused double closes which resulted
346866338Seric		in false errors).
346966338Seric	Add FEATURE(redirect) in config files -- this allows you to alias
347066338Seric		old addresses to a pointer to the new address that will
347166338Seric		give a 551 error message, but not deliver the mail.
347266338Seric	Some code changes to make the 551 errors look pretty.
347366338Seric	Names of M4 program paths in config files have changed -- they
347466338Seric		are all XXX_MAILER_PATH now, to match XXX_MAILER_FLAGS.
347566338Seric	Fix a bug in the QSELFREF code having to do with empty .forward
347666338Seric		files, reported by Eric Wassenaar.
347766338Seric	Add option "p" (privacy flags); this allows you to tune how
347866338Seric		picky the SMTP server will be.  This also adds the
347966338Seric		confPRIVACY_FLAGS M4 macro in the config files.
348066338Seric	Add option "b" (minimum blocks free).  If there are fewer than
348166338Seric		this number of blocks free on the filesystem containing
348266338Seric		the queue directory, the SMTP MAIL command will return
348366338Seric		a 452 response and ask you to try again later.  This
348466338Seric		also adds the confMIN_FREE_BLOCKS M4 macro in the config
348566338Seric		files.
348666338Seric	Made VRFY just verify (doesn't expand aliases and .forward files);
348766338Seric		EXPN does full expansion.  RCPT in queue-only mode also
348866338Seric		doesn't chase aliases and .forward.
348966338Seric
349066338Seric6.24/6.7	93/02/19
349166338Seric	Increase the number of domain search entries in domain.c to allow
349266338Seric		for the extra "" entry indicating the root domain.
349366338Seric		Reported by Motonori Nakamura of Kyoto U.
349466338Seric	Add a "SMART_HOST" in the configs for UUCP-connected sites that
349566338Seric		want to forward all mail with extra "@"s to that site.
349666338Seric		Also allows SMART_HOST, LOCAL_RELAY, and MAIL_HUB to
349766338Seric		be specified as ``mailer:hostname'' to use an alternate
349866338Seric		mailer.
349966338Seric	Clarified and updated some wording in the Operations Guide.
350066338Seric	Add the "c" mailer flag -- this suppresses all comment parts of
350166338Seric		addresses (requested by John Curran of NEARnet).
350266338Seric	Have -v print prompts in -bt mode even if stdin is not a terminal
350366338Seric		(default behaviour is to be silent if not reading from
350466338Seric		a terminal).  Suggested by Bryan Costales, ICSI.
350566338Seric	Move the metacharacters from C0 space (\001-\037) into C1 space
350666338Seric		(\201-\237).  This also fixes a bunch of potential bugs
350766338Seric		with G1 characters (\240-\276) in headers relating to
350866338Seric		negative numbers passed to isspace() et al.
350966338Seric	Add YP_LAST_MODIFIED and YP_MASTER_NAME to DBM version of alias
351066338Seric		database if YPCOMPAT is #defined.  Enhancement from
351166338Seric		Takahiro Kanbe of Fuji Xerox Information Systems Co., Ltd.
351266338Seric	Add "list" Precedence (-30); this can be used with old sendmails
351366338Seric		which will map to precedence 0 (which will return error
351466338Seric		messages).  Suggested by Stephen R. van den Berg.
351566338Seric	Many bug fixes from Eric Wassenaar of the National Institute for
351666338Seric			Nuclear and High-Energy Physics, Amsterdam:
351766338Seric		Clear timeouts properly on open failures in include().
351866338Seric		Don't dereference through NULL if no home directory found.
351966338Seric		Re-establish SIGCHLD signal on System 5 in reapchild().
352066338Seric		Avoid NULL pointer reference on -pFOO flag.
352166338Seric		Properly handle backslash escapes in comments.
352266338Seric		Correctly check reply status on SMTP NOOP command.
352366338Seric		Properly save SMTP error message if peer gives
352466338Seric			"Service Shutting Down" message.
352566338Seric		Avoid writing to the transcript if it couldn't be opened.
352666338Seric		Signal errors in SMTP children to parent properly.
352766338Seric	Handle self references in a list more globally (include a
352866338Seric		QSELFREF bit in the address flags).  This enhancement
352966338Seric		was suggested by Eric Wassenaar.
353066338Seric	Use initgroups() in hpux, even though it's System-V based.  The
353166338Seric		HASINITGROUPS compile flag can set this on other systems.
353266338Seric		This HPUX behaviour was pointed out by Eric Wassenaar.
353366338Seric
353466338Seric6.23/6.6	93/02/16
353566338Seric	Clean up handling of LogLevel to make it easier to figure out
353666338Seric		what's on what level.
353766338Seric	Change log levels to have some consistency:
353866338Seric		1    serious system failures, security problems
353966338Seric		2    lost communications, protocol failures
354066338Seric		3    other serious failures
354166338Seric		4    minor errors
354266338Seric		5    message collection
354366338Seric		6    vrfy logging, creation of return-to-sender
354466338Seric		7    delivery failures
354566338Seric		8    delivery successes
354666338Seric		9    delivery tempfails (queue ups)
354766338Seric		10   database expansion
354866338Seric		>64  debugging
354966338Seric	Allow IDA-style separated processing on S= and R= in Mailer
355066338Seric		definition lines.  Note that rulesets 1 and 2 are
355166338Seric		still used for both addresses as before.  Bruce Lilly
355266338Seric		gave a convincing argument that RFC976 insists on
355366338Seric		this behaviour.
355466338Seric	Added some time zones to arpatounix -- they may not be in the
355566338Seric		standards, but they are in use.  However, I may delete
355666338Seric		arpatounix entirely -- there appears to be no reason
355766338Seric		for it to exist.
355866338Seric	Change to UUCP mailer (in cf directory) to try to do a saner job.
355966338Seric		I'm still not certain about this mailer in general.
356066338Seric
356166338Seric6.22/6.5	93/02/15
356266338Seric	Fix bug that prevents saving letters in ~/dead.letter.
356366338Seric	Don't add angle brackets in VRFY command if angle brackets already
356466338Seric		exist in the address.
356566338Seric	Fix bogus error message in udbexpand.
356666338Seric	Null terminate host buffers in buildaddr (broken in 6.21) --
356766338Seric		IMPORTANT FIX!!
356866338Seric
356966338Seric6.21/6.5	93/02/15
357066338Seric	Fix another incorrect error message in alias.c, found by Azuma
357166338Seric		Okamoto.
357266338Seric	Fix a couple of problems in the more-configurable config files,
357366338Seric		found by Tom Ivar Helbekkmo.
357466338Seric	Fix problem with quoted :include: entries.
357566338Seric	Don't duplicate the filename on verbose printing of .forward and
357666338Seric		:include: contents.
357766338Seric	Extend size of prescan buffer (to allow bigger addresses).  Also,
357866338Seric		detect some buffer overflows.
357966338Seric	Log user SMTP protocol errors (log level 4).
358066338Seric
358166338Seric6.20/6.4	93/02/14
358266338Seric	Fix another problem in the MCI state machine caused when there
358366338Seric		were errors generated from the other end to commands
358466338Seric		other than RCPT.
358566338Seric
358666338Seric6.19/6.4	93/02/14
358766338Seric	Include load average support for DEC Alpha running OSF/1.
358866338Seric	Fix multiple-response problem with errors in MAIL From: line.
358966338Seric	Fix SMTP reply codes for invalid address syntaxes (give 501;
359066338Seric		never give multiple error messages for a single message).
359166338Seric	Fix problem where a cached connection timeout rejects all
359266338Seric		later connects to that host.
359366338Seric	Fix incorrect error message if alias.c is compiled with DBM only.
359466338Seric	Additional changes to fix nested conditionals (from Bruce Lilly).
359566338Seric	Recover more gracefully from operating system failures, particularly
359666338Seric		NULL returns from openmailer (from Noritoshi Demizu,
359766338Seric		OMRON Corporation).
359866338Seric	Log forward, alias, and userdb expand operations on log level 10;
359966338Seric		concept suggested by P{r (Pell) Emanuelsson.
360066338Seric	Changes for HPUX 8.07 compatibility.
360166338Seric
360266338Seric6.18/6.4	93/02/12
360366338Seric	Allow any config option to be set using an M4 define.
360466338Seric	Change UNAME compile flag to HASUNAME for IDA compatibility
360566338Seric		(besides, it's a better name).
360666338Seric	Note in README that on SunOS it must be linked -Bstatic.
360766338Seric	Fairly major change in domain.c to handle wildcard MX records
360866338Seric		more rationally.  NOTE: the "w" option (no wildcard MX
360966338Seric		records match local domain) has been eliminated.
361066338Seric	Fix some unset variable references pointed out by Bruce Lilly.
361166338Seric	Fix host name in process titles when using cached connection.
361266338Seric
361366338Seric6.17/6.3	93/01/28
361466338Seric	Fix System 5 compatibility changes to be compatible with the rest
361566338Seric		of the world.
361666338Seric
361766338Seric6.16/6.3	93/01/28
361866338Seric	Experimental fix for problem handling errors in the SMTP
361966338Seric		protocol in conjunction with connection caching.
362066338Seric	System 5 compatibility changes.
362166338Seric
362266338Seric6.15/6.3	93/01/26
362366338Seric	Fix a bug that causes local mail delivered using -odq to be
362466338Seric		eliminated as a duplicate (because it matched the
362566338Seric		ctladdr, now passed in as a C line).  These changes
362666338Seric		are pretty tricky......
362766338Seric
362866338Seric6.14/6.3	93/01/25
362966338Seric	Add debugging for some MCI errors.
363066338Seric
363166338Seric6.13/6.3	93/01/22
363266338Seric	Fix -e compatibility flag to take a value.
363366338Seric	Fix a couple of minor compilation warnings on Sun cc.
363466338Seric	Improve error messages in a few cases to be more self-explanatory.
363566338Seric
363666338Seric6.12/6.3	93/01/21
363766338Seric	Fix yet-another problem with environment handling, pointed out
363866338Seric		by Yoshitaka Tokugawa and Tom Ivar Helbekkmo.
363966338Seric	Some heuristics to try to limit resource exhaustion problems
364066338Seric		if a downstream host has been down for a long time.
364166338Seric	Fix problem with incorrect host name being logged in "Connection
364266338Seric		timed out" messages (from Tom Ivar Helbekkmo).
364366338Seric	Fix some ANSI C problems (from Takahiro Kanbe).
364466338Seric	Properly log message sender on returned mail during queue run.
364566338Seric	Count number of recipients properly.
364666338Seric	Fix a problem in yp map code.
364766338Seric	Diagnose "message timed out" (from Motonori Nakamura).
364866338Seric
364966338Seric6.11/6.3	93/01/20
365066338Seric	Fix problem with address delimitor inside quotes.
365166338Seric	Define $k and $=k to be the UUCP name (from the uname call)
365266338Seric		based on code from Bruce Lilly.
365366338Seric
365466338Seric6.10/6.2	93/01/18
365566338Seric	Implement arpatounix (largely code from Bruce Lilly).
365666338Seric	Log more info (suggested by John Myers).
365766338Seric	Allow nested $?...$|...$. (inspired by code from Bruce Lilly of
365866338Seric		Sony US).
365966338Seric	POSIX compatibility (noted by Keith Bostic).
366066338Seric	Handle SMTP MAIL command errors properly (urged by several people,
366166338Seric		notably John Myers of CMU).
366266338Seric	Do early diagnosis of .cf errors (notably referencing a RHS
366366338Seric		substitution that isn't on the LHS).
366466338Seric	Adjust checkpointing to better handle batched recipients, suggested
366566338Seric		by John Myers.
366666338Seric	Fix miscellaneous bugs.
366766338Seric	(config files:)  Implement MAIL_HUB for all local mail (to handle
366866338Seric		NFS-mounted directories) as urged by Tom Ivar Helbekkmo
366966338Seric		of the Norwegian School of Economics.
367066338Seric
367166338Seric6.9/6.1 	93/01/13
367266338Seric	Environment handling simplification/bug fix -- child processes
367366338Seric		get a minimal, fixed environment.  This avoids different
367466338Seric		behaviour in queue runs.
367566338Seric	Handle commas inside comments properly.
367666338Seric	Properly limit large messages submitted in -obq mode.
367766338Seric
367866338Seric6.8/6.1		93/01/10
367966338Seric	Check mtime of thaw file against .cf and sendmail binary, based on
368066338Seric		code from John Myers.
368166338Seric
368266338Seric6.7/6.1		93/01/10
368366338Seric	MX piggybacking, based on code from John Myers@CMU.
368466338Seric	Allow checkcompat to return -1 to mean tempfail.
368566338Seric	Bug fix in m_mno computation.
368666338Seric
368766338Seric6.6/6.1		93/01/09
368866338Seric	Tuning of queueing functions as recommended by John Gardiner Myers.
368966338Seric	Return mail headers (no body) on messages with negative precedence.
369066338Seric	Minor other bug fixes.
369166338Seric
369266338Seric6.5/6.1		93/01/03
369366338Seric	Fix botch causing queued headers to have ?XX? prefixes.
369466338Seric
369566338Seric6.4/6.1		93/01/02
369666338Seric	Changes to recognize special mailer types (e.g., file) early.
369766338Seric
369866338Seric6.3/6.1		93/01/01
369966338Seric	Pass timeouts to sfgets.
370066338Seric	Check for control characters in addresses.
370166338Seric	Fixed deferred error reporting.
370266338Seric	Report duplicate aliases.
370366338Seric	Handle mixed case recursive aliases.
370466338Seric	Misc bug fixes.
370566338Seric
370666338Seric6.2/6.1		92/12/30
370766338Seric	Put return-receipt-to on a conf.c flag (but don't set it).
370866338Seric	Fix minor syslog problem.
3709