home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / SENDMAIL / _SENDMAI.TAR / usr / doc / sendmail / RELEASE_NOTES < prev   
Encoding:
Text File  |  1994-08-11  |  119.4 KB  |  2,556 lines

  1.             SENDMAIL RELEASE NOTES
  2.          @(#)RELEASE_NOTES    8.6.9.2 (Berkeley) 4/19/94
  3.  
  4. This listing shows the version of the sendmail binary, the version
  5. of the sendmail configuration files, the date of release, and a
  6. summary of the changes in that release.
  7.  
  8. 8.6.9/8.6.9    94/04/19
  9.     Do all mail delivery completely disconnected from any terminal.
  10.         This provides consistency with daemon delivery and
  11.         may have some security implications.
  12.     Make sure that malloc doesn't get called with zero size,
  13.         since that fails on some systems.  Reported by Ed
  14.         Hill of the University of Iowa.
  15.     Fix multi-line values for $e (SMTP greeting message).  Reported
  16.         by Mike O'Connor of Ford Motor Company.
  17.     Avoid syserr if no NIS domain name is defined, but the map it
  18.         is trying to open is optional.  From Win Bent of USC.
  19.     Changes for picky compilers from Ed Gould of Digital Equipment.
  20.     Hesiod support for UDB from Todd Miller of the University of
  21.         Colorado.  Use "hesiod" as the service name in the U
  22.         option.
  23.     Fix a problem that failed to set the "authentic" host name (that
  24.         is, the one derived from the socket info) if you called
  25.         sendmail -bs from inetd.  Based on code contributed by
  26.         Todd Miller (this problem was also reported by Guy Helmer
  27.         of Dakota State University).  This also fixes a related
  28.         problem reported by Liudvikas Bukys of Rochester University.
  29.     Parameterize "nroff -h" in all the Makefiles so people with
  30.         variant versions can use them easily.  Suggested by
  31.         Peter Collinson of Hillside Systems.
  32.     SMTP "MAIL" commands with multiple ESMTP parameters required two
  33.         spaces between parameters instead of one.  Reported by
  34.         Valdis Kletnieks of Virginia Tech.
  35.     Reduce the number of system calls during message collection by
  36.         using global timeouts around the collect() loop.  This
  37.         code was contributed by Eric Wassenaar.
  38.     If the initial hostname name gathering results in a name
  39.         without a dot (usually caused by NIS misconfiguration)
  40.         and BIND is compiled in, directly access DNS to get
  41.         the canonical name.  This should make life easier for
  42.         Solaris systems.  If it still can't be resolved, and
  43.         if the name server is listed as "required", try again
  44.         in 30 seconds.  If that also fails, exit immediately to
  45.         avoid bogus "config error: mail loops back to myself"
  46.         messages.
  47.     Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
  48.         message to explain how much space was available and
  49.         sound a bit less threatening.  Suggested by Stan Janet
  50.         of the National Institute of Standards and Technology.
  51.     If mail is delivered to an alias that has an owner, deliver any
  52.         requested return-receipt immediately, and strip the
  53.         Return-Receipt-To: header from the subsequent message.
  54.         This prevents a certain class of denial of service
  55.         attack, arguably gives more reasonable semantics, and
  56.         moves things more towards what will probably become a
  57.         network standard.  Suggested by Christopher Davis of
  58.         Kapor Enterprises.
  59.     Add a "noreceipts" privacy flag to turn off all return receipts
  60.         without recompiling.
  61.     Avoid printing ESMTP parameters as part of the error message
  62.         if there are errors during parsing.  This change is
  63.         purely cosmetic.
  64.     Avoid sending out error messages during the collect phase of
  65.         SMTP; there is an MVS mailer from UCLA that gets
  66.         confused by this.  Of course, I think it's their bug....
  67.     Check for the $j macro getting undefined, losing a dot, or getting
  68.         lost from $=w in the daemon before accepting a connection;
  69.         if it is, it dumps state, prints a LOG_ALERT message,
  70.         and drops core for debugging.  This is an attempt to
  71.         track down a bug that I thought was long since gone.
  72.         If you see this, please forward the log fragment to
  73.         sendmail@CS.Berkeley.EDU.
  74.     Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
  75.         with -DOLD_NEWDB=0 on the command line.  From Christophe
  76.         Wolfhugel.
  77.     Instead of trying to truncate the listen queue for the server
  78.         SMTP port when the load average is too high, just close
  79.         the port completely and reopen it later as needed.
  80.         This ensures that the other end gets a quick "connection
  81.         refused" response, and that the connection can be
  82.         recovered later.  In particular, some socket emulations
  83.         seem to get confused if you tweak the listen queue
  84.         size around and can never start listening to connections
  85.         again.  The down side is that someone could start up
  86.         another daemon process in the interim, so you could
  87.         have multiple daemons all not listening to connections;
  88.         this could in turn cause the sendmail.pid file to be
  89.         incorrect.  A better approach might be to accept the
  90.         connection and give a 421 code, but that could break
  91.         other mailers in mysterious ways and have paging behaviour
  92.         implications.
  93.     Fix a glitch in TCP-level debugging that caused flag 16.101 to
  94.         set debugging on the wrong socket.  From Eric Wassenaar.
  95.     When creating a df* temporary file, be sure you truncate any
  96.         existing data in the file -- otherwise system crashes
  97.         and the like could result in extra data being sent.
  98.     DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
  99.         doc directory.  This includes some additional
  100.         information.
  101.     CONFIG: change UUCP rules to never add $U! or $k! on the front
  102.         of recipient envelope addresses.  This should have been
  103.         handled by the $&h trick, but broke if people were
  104.         mixing domainized and UUCP addresses.  They should
  105.         probably have converted all the way over to uucp-uudom
  106.         instead of uucp-{new,old}, but the failure mode was to
  107.         loop the mail, which was bad news.
  108.     Portability fixes:
  109.         Newer BSDI systems (several people).
  110.         Older BSDI systems from Christophe Wolfhugel.
  111.         Intergraph CLIX, from Paul Southworth of CICNet.
  112.         UnixWare, from Evan Champion.
  113.         NetBSD from Adam Glass.
  114.         Solaris from Quentin Campbell of the University of
  115.             Newcastle upon Tyne.
  116.         IRIX from Dean Cookson and Bill Driscoll of Mitre
  117.             Corporation.
  118.         NCR 3000 from Kevin Darcy of Chrysler Corporation.
  119.         SunOS (it has setsid() and setvbuf() calls) from
  120.             Jonathan Kamens of OpenVision Technologies.
  121.         HP-UX from Tor Lillqvist.
  122.     New Files:
  123.         src/Makefile.CLIX
  124.         src/Makefile.NCR3000
  125.         doc/changes/Makefile
  126.         doc/changes/changes.me
  127.         doc/changes/changes.ps
  128.  
  129. 8.6.8/8.6.6    94/03/21
  130.     SECURITY: it was possible to read any file as root using the
  131.         E (error message) option.  Reported by Richard Jones;
  132.         fixed by Michael Corrigan and Christophe Wolfhugel.
  133.  
  134. 8.6.7/8.6.6    94/03/14
  135.     SECURITY: it was possible to get root access by using wierd
  136.         values to the -d flag.  Thanks to Alain Durand of
  137.         INRIA for forwarding me the notice from the bugtraq
  138.         list.
  139.  
  140. 8.6.6/8.6.6    94/03/13
  141.     SECURITY: the ability to give files away on System V-based
  142.         systems proved dangerous -- don't run as the owner
  143.         of a :include: file on a system that allows giveaways.
  144.         Unfortunately, this also applies to determining a
  145.         valid shell.
  146.     IMPORTANT: Previous versions weren't expiring old connections
  147.         in the connection cache for a long time under some
  148.         circumstances.  This could result in resource exhaustion,
  149.         both at your end and at the other end.  This checks the
  150.         connections for timeouts much more frequently.  From
  151.         Doug Anderson of NCSC.
  152.     Fix a glitch that snuck in that caused programs to be run as
  153.         the sender instead of the recipient if the mail was
  154.         from a local user to another local user.  From
  155.         Motonori Nakamura of Kyoto University.
  156.     Fix "wildcard" on /etc/shell matching -- instead of looking
  157.         for "*", look for "/SENDMAIL/ANY/SHELL/".  From
  158.         Bryan Costales of ICSI.
  159.     Change the method used to declare the "statfs" availability;
  160.         instead of HASSTATFS and/or HASUSTAT with a ton of
  161.         tweaking in conf.c, there is a single #define called
  162.         SFS_TYPE which takes on one of six values (SFS_NONE
  163.         for no statfs availability, SFS_USTAT for the ustat(2)
  164.         syscall, SFS_4ARGS for a four argument statfs(2) call,
  165.         and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
  166.         statfs(2) call with the declarations in <sys/vfs.h>,
  167.         <sys/mount.h>, or <sys/statfs.h> respectively).
  168.     Fix glitch in NetInfo support that could return garbage if
  169.         there was no "/locations/sendmail" property.  From
  170.         David Meyer of the University of Virginia.
  171.     Change HASFLOCK from defined/not-defined to a 0/1 definition
  172.         to allow Linux to turn it off even though it is a
  173.         BSD-like system.
  174.     Allow setting of "ident" timeout to zero to turn off the ident
  175.         protocol entirely.
  176.     Make 7-bit stripping local to a connection (instead of to a
  177.         mailer); this allows you to specify that SMTP is a
  178.         7-bit channel, but revert to 8-bit should it advertise
  179.         that it supports 8BITMIME.  You still have to specify
  180.         mailer flag 7 to get this stripping at all.
  181.     Improve makesendmail script so it handles more cases automatically.
  182.     Tighten up restrictions on taking ownership of :include: files
  183.         to avoid problems on systems that allow you to give away
  184.         files.
  185.     Fix a problem that made it impossible to rebuild the alias
  186.         file if it was on a read-only file system.  From
  187.         Harry Edmon of the University of Washington.
  188.     Improve MX randomization function.  From John Gardiner Myers
  189.         of CMU.
  190.     Fix a minor glitch causing a bogus message to be printed (used
  191.         %s instead of %d in a printf string for the line number)
  192.         when a bad queue file was read.  From Harry Edmon.
  193.     Allow $s to remain NULL on locally generated mail.  I'm not
  194.         sure this is necessary, but a lot of people have complained
  195.         about it, and there is a legitimate question as to whether
  196.         "localhost" is legal as an 822-style domain.
  197.     Fix a problem with very short line lengths (mailer L= flag) in
  198.         headers.  This causes a leading space to be added onto
  199.         continuation lines (including in the body!), and also
  200.         tries to wrap headers containing addresses (From:, To:,
  201.         etc) intelligently at the shorter line lengths.  Problem
  202.         Reported by Lars-Johan Liman of SUNET Operations Center.
  203.     Log the real user name when logging syserrs, since these can have
  204.         security implications.  Suggested by several people.
  205.     Fix address logging of cached connections -- it used to always
  206.         log the numeric address as zero.  This is a somewhat
  207.         bogus implementation in that it does an extra system
  208.         call, but it should be an inexpensive one.  Fix from
  209.         Motonori Nakamura.
  210.     Tighten up handling of short syslog buffers even more -- there
  211.         were cases where the outgoing relay= name was too long
  212.         to share a line with delay= and mailer= logging.
  213.     Limit the overhead on split envelopes to one open file descriptor
  214.         per envelope -- previously the overhead was three
  215.         descriptors.  This was in response to a problem reported
  216.         by P{r (Pell) Emanuelsson.
  217.     Fixes to better handle the case of unexpected connection closes;
  218.         this redirects the output to the transcript so the info
  219.         is not lost.  From Eric Wassenaar.
  220.     Fix potential string overrun if you macro evaluate a string that
  221.         has a naked $ at the end.  Problem noted by James Matheson
  222.         <jmrm@eng.cam.ac.uk>.
  223.     Make default error number on $#error messages 553 (``Requested
  224.         action not taken: mailbox name not allowed'') instead of
  225.         501 (``Syntax error in parameters or arguments'') to
  226.         avoid bogus "protocol error" messages.
  227.     Strip off any existing trailing dot on names during $[ ... $]
  228.         lookup.  This prevents it from ending up with two dots
  229.         on the end of dot terminated names.  From Wesley Craig
  230.         of the University of Michigan and Bryan Costales of ICSI.
  231.     Clean up file class reading so that the debugging information is
  232.         more informative.  It hadn't been using setclass, so you
  233.         didn't see the class items being added.
  234.     Avoid core dump if you are running a version of sendmail where
  235.         NIS is compiled in, and you specify an NIS map, but
  236.         NIS is not running.  Fix from John Oleynick of
  237.         Rutgers.
  238.     Diagnose bizarre case where res_search returns a failure value,
  239.         but sets h_errno to a success value.
  240.     Make sure that "too many hops" messages are considered important
  241.         enough to send an error to the Postmaster (that is, the
  242.         address specified in the P option).  This fix should
  243.         help problems that cause the df file to be left around
  244.         sometimes -- unfortunately, I can't seem to reproduce
  245.         the problem myself.
  246.     Avoid core dump (null pointer reference) on EXPN command; this
  247.         only occurred if your log level was set to 10 or higher
  248.         and the target account was an alias or had a .forward file.
  249.         Problem noted by Janne Himanka.
  250.     Avoid "denial of service" attacks by someone who is flooding your
  251.         SMTP port with bad commands by shutting the connection
  252.         after 25 bad commands are issued.  From Kyle Jones of
  253.         UUNET.
  254.     Fix core dump on error messages with very long "to" buffers;
  255.         fmtmsg overflows the message buffer.  Fixed by trimming
  256.         the to address to 203 characters.  Problem reported by
  257.         John Oleynick.
  258.     Fix configuration for HASFLOCK -- there were some spots where
  259.         a #ifndef was incorrectly #ifdef.  Pointed out by
  260.         George Baltz of the University of Maryland.
  261.     Fix a typo in savemail() that could cause the error message To:
  262.         lists to be incorrect in some places.  From Motonori
  263.         Nakamura.
  264.     Fix a glitch that can cause duplicate error messages on split
  265.         envelopes where an address on one of the lists has a
  266.         name server failure.  Fix from Voradesh Yenbut of the
  267.         University of Washington.
  268.     Fix possible bogus pointer reference on ESMTP parameters that
  269.         don't have an ``=value'' part.
  270.     CNAME loops caused an error message to be generated, but also
  271.         re-queued the message.  Changed to just re-queue the
  272.         message (it's really hard to just bounce it because
  273.         of the wierd way the name server works in the presence
  274.         of CNAME loops).  Problem noted by James M.R.Matheson
  275.         of Cambridge University.
  276.     Avoid giving ``warning: foo owned process doing -bs'' messages
  277.         if they use ``MAIL FROM:<foo>'' where foo is their true
  278.         user name.  Suggested by Andreas Stolcke of ICSI.
  279.     Change the NAMED_BIND compile flag to be a 0/1 flag so you can
  280.         override it easily in the Makefile -- that is, you can
  281.         turn it off using -DNAMED_BIND=0.
  282.     If a gethostbyname(...) of an address with a trailing dot fails,
  283.         try it without the trailing dot.  This is because if
  284.         you have a version of gethostbyname() that falls back
  285.         to NIS or the /etc/hosts file it will fail to find
  286.         perfectly reasonable names that just don't happen to
  287.         be dot terminated in the hosts file.  You don't want to
  288.         strip the dot first though because we're trying to ensure
  289.         that country names that match one of your subdomains get
  290.         a chance.
  291.     PRALIASES: fix bogus output on non-null-terminated strings.
  292.         From Bill Gianopoulos of Raytheon.
  293.     CONFIG: Avoid rewriting anything that matches $w to be $j.
  294.         This was in code intended to only catch the self-literal
  295.         address (that is, [1.2.3.4], where 1.2.3.4 is your
  296.         IP address), but the code was broken.  However, it will
  297.         still do this if $M is defined; this is necessary to
  298.         get client configurations to work (sigh).  Note that this
  299.         means that $M overrides :mailname entries in the user
  300.         database!  Problem noted by Paul Southworth.
  301.     CONFIG: Fix definition of Solaris help file location.  From
  302.         Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
  303.     CONFIG: Fix bug that broke news.group.USENET mappings.
  304.     CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
  305.         and USENET_MAILER_MAX to tweak the maximum message
  306.         size for various mailers.
  307.     CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
  308.         instead of assuming that it is "inews" for consistency
  309.         with other mailers.  From Michael Corrigan of UC San Diego.
  310.     CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
  311.         qualify the address in the SMTP envelope as user@{relay|hub}
  312.         instead of user@$j.  From Bill Wisner of The Well.
  313.     CONFIG: Fix route-addr syntax in nullrelay configuration set.
  314.     CONFIG: Don't turn off case mapping of user names in the local
  315.         mailer for IRIX.  This was different than most every other
  316.         system.
  317.     CONFIG: Avoid infinite loops on certainly list:; syntaxes in
  318.         envelope.  Noted by Thierry Besancon
  319.         <besancon@excalibur.ens.fr>.
  320.     CONFIG: Don't include -z by default on uux line -- most systems
  321.         don't want it set by default.  Pointed out by Philippe
  322.         Michel of Thomson CSF.
  323.     CONFIG: Fix some bugs with mailertables -- for example, if your
  324.         host name was foo.bar.ray.com and you matched against
  325.         ".ray.com", the old implementation bound %1 to "bar"
  326.         instead of "foo.bar".  Also, allow "." in the mailertable
  327.         to match anything -- essentially, take over SMART_HOST.
  328.         This also moves matching of explicit local host names
  329.         before the mailertable so they don't have to be special
  330.         cased in the mailertable data.  Reported by Bill
  331.         Gianopoulos of Raytheon; the fix for the %1 binding
  332.         problem was contributed by Nicholas Comanos of the
  333.         University of Sydney.
  334.     CONFIG: Don't include "root" in class $=L (users to deliver
  335.         locally, even if a hub or relay exists) by default.
  336.         This is because of the known bug where definition of
  337.         both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
  338.         both and deliver into the local mailbox.
  339.     CONFIG: Move up bitdomain and uudomain handling so that they
  340.         are done before .UUCP class matching; uudomain was
  341.         reported as ineffective before.  This also frees up
  342.         diversion 8 for future use.  Problem reported by Kimmo
  343.         Suominen.
  344.     CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
  345.         into host names.  As pointed out by Jonathan Kamens,
  346.         these are often used because either the forward or reverse
  347.         mapping is broken; this translation makes it broken again.
  348.     DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
  349.         Suominen.
  350.     Portability fixes:
  351.         Unicos from David L. Kensiski of Sterling Sofware.
  352.         DomainOS from Don Lewis of Silicon Systems.
  353.         GNU m4 1.0.3 from Karst Koymans of Utrecht University.
  354.         Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
  355.         NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
  356.         BSD/386 from Tony Sanders of BSDI.
  357.         Apollo from Eric Wassenaar.
  358.         DGUX from Doug Anderson.
  359.         Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
  360.     NEW FILES:
  361.         src/Makefile.DomainOS
  362.         src/Makefile.PTX
  363.         src/Makefile.SunOS.5.1
  364.         src/Makefile.SunOS.5.2
  365.         src/Makefile.SunOS.5.x
  366.         src/mailq.1
  367.         cf/ostype/domainos.m4
  368.         doc/op/Makefile
  369.         doc/intro/Makefile
  370.         doc/usenix/Makefile
  371.  
  372. 8.6.5/8.6.5    94/01/13
  373.     Security fix:  /.forward could be owned by anyone (the test
  374.         to allow root to own any file was backwards).  From
  375.         Bob Campbell at U.C. Berkeley.
  376.     Security fix: group ids were not completely set when programs
  377.         were invoked.  This caused programs to have group
  378.         permissions they should not have had (usually group
  379.         daemon instead of their own group).  In particular,
  380.         Perl scripts would refuse to run.
  381.     Security: check to make sure files that are written are not
  382.         symbolic links (at least under some circumstances).
  383.         Although this does not respond to a specific known
  384.         attack, it's just a good idea.  Suggested by
  385.         Christian Wettergren.
  386.     Security fix: if a user had an NFS mounted home directory on
  387.         a system with a restricted shell listed in their
  388.         /etc/passwd entry, they could still execute any
  389.         program by putting that in their .forward file.
  390.         This fix prevents that by insisting that their shell
  391.         appear in /etc/shells before allowing a .forward to
  392.         execute a program or write a file.  You can disable
  393.         this by putting "*" in /etc/shells.  It also won't
  394.         permit world-writable :include: files to reference
  395.         programs or files (there's no way to disable this).
  396.         These behaviours are only one level deep -- for
  397.         example, it is legal for a world-writable :include:
  398.         file to reference an alias that writes a file, on
  399.         the assumption that the alias file is well controlled.
  400.     Security fix: root was not treated suspiciously enough when
  401.         looking into subdirectories.  This would potentially
  402.         allow a cracker to examine files that were publically
  403.         readable but in a non-publically searchable directory.
  404.     Fix a problem that causes an error on QUIT on a cached
  405.         connection to create problems on the current job.
  406.         These are typically unrelated, so errors occur in
  407.         the wrong place.
  408.     Reset CurrentLA in sendall() -- this makes sendmail queue
  409.         runs more responsive to load average, and fixes a
  410.         problem that ignored the load average in locally
  411.         generated mail.  From Eric Wassenaar.
  412.     Fix possible core dump on aliases with null LHS.  From
  413.         John Orthoefer of BB&N.
  414.     Revert to using flock() whenever possible -- there are just
  415.         too many bugs in fcntl() locking, particularly over
  416.         NFS, that cause sendmail to fail in perverse ways.
  417.     Fix a bug that causes the connection cache to get confused
  418.         when sending error messages.  This resulted in
  419.         "unexpected close" messages.  It should fix itself
  420.         on the following queue run.  Problem noted by
  421.         Liudvikas Bukys of Rochester University.
  422.     Include $k in $=k as documented in the Install & Op Guide.
  423.         This seems odd, but it was documented....  From
  424.         Michael Corrigan of UCSD.
  425.     Fix problem that caused :include:s from alias files to be
  426.         forced to be owned by root instead of daemon
  427.         (actually DefUid).  From Tim Irvin.
  428.     Diagnose unrecognized I option values -- from Mortin Forssen
  429.         of the Chalmers University of Technology.
  430.     Make "error" mailer work consistently when there is no error
  431.         code associated with it -- previously it returned OK
  432.         even though there was a real problem.  Now it assumes
  433.         EX_UNAVAILABLE.
  434.     Fix bug that caused the last header line of messages that had
  435.         no body and which were terminated with EOF instead of
  436.         "." to be discarded.  Problem noted by Liudvikas Bukys.
  437.     Fix core dump on SMTP mail to programs that failed -- it tried
  438.         to go to a "next MX host" when none existed, causing
  439.         a core dump.  From der Mouse at McGill University.
  440.     Change IDENTPROTO from a defined/not defined to a 0/1 switch;
  441.         this makes it easier to turn it off (using
  442.         -DIDENTPROTO=0 in the Makefile).  From der Mouse.
  443.     Fix YP_MASTER_NAME store to use the unupdated result of
  444.         gethostname() (instead of myhostname(), which tries
  445.         to fully qualify the name) to be consistent with
  446.         SunOS.  If your hostname is unqualified, this fixes
  447.         transfers to slave servers.  Bug noted by Keith
  448.         McMillan of Ameritech Services, Inc.
  449.     Fix Ultrix problem: gethostbyname() can return a very large
  450.         (> 500) h_length field, which causes the sockaddr
  451.         to be trashed.  Use the size of the sockaddr instead.
  452.         Fix from Bob Manson of Ohio State.
  453.     Don't assume "-a." on host lookups if NAMED_BIND is not
  454.         defined -- this confuses gethostbyname on hosts
  455.         file lookups, which doesn't understand the trailing
  456.         dot convention.
  457.     Log SMTP server subprocesses that die with a signal instead
  458.         of from a clean exit.
  459.     If you don't have option "I" set, don't assume that a DNS
  460.         "host unknown" message is authoritative -- it
  461.         might still be found in /etc/hosts.
  462.     Fix a problem that would cause Deferred: messages to be sent
  463.         as the subject of an error message, even though the
  464.         actual cause of a message was more severe than that.
  465.         Problem noted by Chris Seabrook of OSSI.
  466.     Fix race condition in DBM alias file locking.  From Kyle
  467.         Jones of UUNET.
  468.     Limit delivery syslog line length to avoid bugs in some
  469.         versions of syslog(3).  This adds a new compile time
  470.         variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
  471.         University, which is in turn derived from IDA.
  472.     Fix quotes inside of comments in addresses -- previously
  473.         it insisted that they be balanced, but the 822 spec
  474.         says that they should be ignored.
  475.     Dump open file state to syslog upon receiving SIGUSR1 (for
  476.         debugging).  This also evaluates ruleset 89, if set
  477.         (with the null input), and logs the result.  This
  478.         should be used sparingly, since the rewrite process
  479.         is not reentrant.
  480.     Change -qI, -qR, and -qS flags to be case-insensitive as
  481.         documented in the Bat Book.
  482.     If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
  483.         return an error message and did not requeue the message.
  484.         Fix based on code from Roland Dirlewanger of
  485.         Reseau Regional Aquarel, Bordeaux, France.
  486.     Fix a problem that caused a seg fault if you got a 421 error
  487.         code during some parts of connection initialization.
  488.         I've only seen this when talking to buggy mailers on
  489.         the other end, but it shouldn't give a seg fault in
  490.         any case.  From Amir Plivatsky.
  491.     Fix core dump caused by a ruleset call that returns null.
  492.         Fix from Bryan Costales of ICSI.
  493.     Full-Name: field was being ignored.  Fix from Motonori Nakamura
  494.         of Kyoto University.
  495.     Fix a possible problem with very long input lines in setproctitle.
  496.         From P{r Emanuelsson.
  497.     Avoid putting "This is a warning message" out on return receipts.
  498.         Suggested by Douglas Anderson.
  499.     Detect loops caused by recursive ruleset calls.  Suggested by
  500.         Bryan Costales.
  501.     Initialize non-alias maps during alias rebuilds -- they may be
  502.         needed for parsing.  Problem noted by Douglas Anderson.
  503.     Log sender address even if no message was collected in SMTP
  504.         (e.g., if all RCPTs failed).  Suggested by Motonori
  505.         Nakamura.
  506.     Don't reflect the owner-list contents into the envelope sender
  507.         address if the value contains ", :, /, or | (to avoid
  508.         illegal addresses appearing there).
  509.     Efficiency hack for toktype macro -- from Craig Partridge of
  510.         BB&N.
  511.     Clean up DNS error printing so that a host name is always
  512.         included.
  513.     Remember to set $i during queue runs.  Reported by Stephen
  514.         Campbell of Dartmouth University.
  515.     If ${HOSTALIASES} is set, use it during canonification so that
  516.         headers are properly mapped.  Reported by Anne Bennett
  517.         of Concordia University.
  518.     Avoid printing misleading error message if SMTP mailer (not
  519.         using [IPC]) should die on a core dump.
  520.     Avoid incorrect diagnosis of "file 1 closed" when it is caused
  521.         by the other end closing the connection.  From
  522.         Dave Morrison of Oracle.
  523.     Improve several of the error messages printed by "mailq"
  524.         to include a host name or other useful information.
  525.     Add NetInfo preliminary support for NeXT systems.  From Vince
  526.         DeMarco.
  527.     Fix a glitch that sometimes caused :include:s that pointed to
  528.         NFS filesystems that were down to give an "aliasing/
  529.         forwarding loop broken" message instead of queueing
  530.         the message for retry.  Noted by William C Fenner of
  531.         the NRL Connection Machine Facility.
  532.     Fix a problem that could cause a core dump if the input sequence
  533.         had (or somehow acquired) a \231 character.
  534.     Make sure that route-addrs always have <angle brackets> around
  535.         them in non-SMTP envelopes (SMTP envelopes already do
  536.         this properly).
  537.     Avoid wierd headers on unbalanced punctuation of the form:
  538.         ``Joe User <user)'' -- this caused reference to the
  539.         null macro.  Fix from Rick McCarty of IO.COM.
  540.     Fix a problem that caused an alias "user: user@local.host" to
  541.         not have the QNOTREMOTE bit set; this caused configs
  542.         to act as if FEATURE(notsticky) was defined even when
  543.         it was not.  The effect of the problem was to make it
  544.         very hard to to set up satellite sites that had a few
  545.         local accounts, with everything else forwarded to a
  546.         corporate hub.  Reported by Detlef Drewanz of the
  547.         University of Rostock and Mark Frost of NCD.
  548.     Change queuing to not call rulesets 3, {1 or 2}, 4 on header
  549.         addresses.  This is more efficient (fewer name server
  550.         calls) and fixes certain unusual configurations, such
  551.         as those that have ruleset 4 do something that is
  552.         non-idempotent unless a mailer-specific ruleset did
  553.         something else.  Problem reported by Brian J. Coan
  554.         of the Institute for Global Communications.
  555.     Fix the "obsolete argument" routine in main to better understand
  556.         new arguments.  For example, if you used ``sendmail
  557.         -C config -v -q'' it would choke on the -q because
  558.         the -C would stop looking for old-format arguments.
  559.     Fix the code that was intended to allow two users to forward their
  560.         mail to the same program and have them appear unique.
  561.     Portability fixes for:
  562.         SCO UNIX from Murray Kucherawy.
  563.         SCO Open Server 3.2v4 from Philippe Brand.
  564.         System V Release 4 from Rick Ellis and others.
  565.         OSF/1 from Steve Campbell.
  566.         DG/UX from Ben Mesander of the USGS and Bryan Curnutt
  567.             of Stoner Associates.
  568.         Motorola SysV88 from Kevin Johnson of Motorola.
  569.         Solaris 2.3 from Casper H.S. Dik of the University
  570.             of Amsterdam and John Caruso of University
  571.             of Maryland.
  572.         FreeBSD from Ollivier Robert.
  573.         NetBSD from Adam Glass.
  574.         TitanOS from Kate Hedstrom of Rutgers University.
  575.         Irix from Bryan Curnutt.
  576.         Dynix from Jim Davis of the University of Arizona.
  577.         RISC/os.
  578.         Linux from John Kennedy of California State University
  579.             at Chico.
  580.         Solaris 2.x from Tony Boner of the U.S. Air Force.
  581.         NEXTSTEP 3.x from Vince DeMarco.
  582.         HP-UX from various people.  NOTA BENE:  the location
  583.             of the config file has moved to /usr/lib
  584.             to match the HP-UX version of sendmail.
  585.     CONFIG: Don't do any recipient rewriting on relay mailer;
  586.         since this is intended only for internal use, the
  587.         usual RFC 821/822/1123 rules can be relaxed.  The
  588.         main point of this is to avoid munging (ugh) UUCP
  589.         addresses when relaying internally.
  590.     CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
  591.         syntax addresses delivered via UUCP.  Solution
  592.         provided by Peter Wemm.
  593.     CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
  594.         zero; it caused double @ signs in addresses.  From
  595.         Irving Reid of the University of Toronto.
  596.     CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
  597.         from Markku Toijala of ICL Personal Systems Oy.
  598.     CONFIG: Add trailing "." on pseudo-domains for consistency;
  599.         this fixes a problem (noted by Al Whaley of Sunnyside)
  600.         that made it hard to recognize your own pseudodomain
  601.         names.
  602.     CONFIG: catch "@host" syntax errors (i.e., null local-parts)
  603.         rather than letting them get "local configuration
  604.         error"s.  Problem noted by John Gardiner Myers.
  605.     CONFIG: add uucp-uudom mailer variant, based on code posted
  606.         by Spider Boardman <spider@Orb.Nashua.NH.US>; this
  607.         has uucp-dom semantics but old UUCP syntax.  This
  608.         also permits "uucp-old" as an alias for "uucp" and
  609.         "uucp-new" as a synonym for "suucp" for consistency.
  610.     CONFIG: add POP mailer support (from Kimmo Suominen
  611.         <kim@grendel.lut.fi>).
  612.     CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
  613.     CONFIG: fix bug caused with domain literal addresses (e.g.,
  614.         ``[128.32.131.12]'') when FEATURE(allmasquerade)
  615.         was set; it would get an additional @masquerade.host
  616.         added to the address.  Problem noted by Peter Wan
  617.         of Georgia Tech.
  618.     CONFIG: make sure that the local UUCP name is in $=w.  From
  619.         Jim Murray of Stratus.
  620.     CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
  621.         mailer flag.  Briefly, if you are sending to host
  622.         "foo", then it rewrites "foo!...!baz" to "...!baz",
  623.         "foo!baz" remains "foo!baz", and anything else has
  624.         the local name prepended.
  625.     CONFIG: portability fixes for HP-UX.
  626.     DOC: several minor problems fixed in the Install & Op Guide.
  627.     MAKEMAP: fix core dump problem on lines that are too long or
  628.         which lack newline.  From Mark Delany.
  629.     MAILSTATS: print sums of columns (total messages & kbytes
  630.         in and out of the system).  From Tom Ferrin of UC
  631.         San Francisco Computer Graphics Lab.
  632.     SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
  633.         On HP-UX, /etc/sendmail.cf has been moved to
  634.             /usr/lib/sendmail.cf to match HP sendmail.
  635.         Permissions have been tightened up on world-writable
  636.             :include: files and accounts that have shells
  637.             that are not listed in /etc/shells.  This may
  638.             cause some .forward files that have worked
  639.             before to start failing.
  640.         SIGUSR1 dumps some state to the log.
  641.     NEW FILES:
  642.         src/Makefile.DGUX
  643.         src/Makefile.Dynix
  644.         src/Makefile.FreeBSD
  645.         src/Makefile.Mach386
  646.         src/Makefile.NetBSD
  647.         src/Makefile.RISCos
  648.         src/Makefile.SCO
  649.         src/Makefile.SVR4
  650.         src/Makefile.Titan
  651.         cf/mailer/pop.m4
  652.         cf/ostype/bsdi1.0.m4
  653.         cf/ostype/dgux.m4
  654.         cf/ostype/dynix3.2.m4
  655.         cf/ostype/sco3.2.m4
  656.         makemap/Makefile.dist
  657.         praliases/Makefile.dist
  658.  
  659. 8.6.4/8.6.4    93/10/31
  660.     Repair core-dump problem (write to read-only memory segment)
  661.         if you fall back to the return-to-Postmaster case in
  662.         savemail.  Problem reported by Richard Liu.
  663.     Immediately diagnose bogus sender addresses in SMTP.  This
  664.         makes quite certain that crackers can't use this
  665.         class of attack.
  666.     Reliability Fix:  check return value from fclose() and fsync()
  667.         in a few critical places.
  668.     Minor problem in initsys() that reversed a condition for
  669.         redirecting the output channel on queue runs.  It's
  670.         not clear this code even does anything.  From Eric
  671.         Wassenaar of the Dutch National Institute for Nuclear
  672.         and High-Energy Physics.
  673.     Fix some problems that caused queue runs to do "too much work",
  674.         such as double-reading the Errors-To: header.  From
  675.         Eric Wassenaar.
  676.     Error messages on writing the temporary file (including the
  677.         data file) were getting suppressed in SMTP -- this
  678.         fix causes them to be properly reported.  From Eric
  679.         Wassenaar.
  680.     Some changes to support AF_UNIX sockets -- this will only
  681.         really become relevant in the next release, but some
  682.         people need it for local patches.  From Michael
  683.         Corrigan of UC San Diego.
  684.     Use dynamically allocated memory (instead of static buffers)
  685.         for macros defined in initsys() and settime(); since
  686.         these can have different values depending on which
  687.         envelope they are in.  From Eric Wassenaar.
  688.     Improve logging to show ctladdr on to= logging; this tells you
  689.         what uid/gid processes ran as.
  690.     Fix a problem that caused error messages to be discarded if
  691.         the sender address was unparseable for some reason;
  692.         this was supposed to fall back to the "return to
  693.         postmaster" case.
  694.     Improve aliaswait backoff algorithm.
  695.     Portability patches for Linux (8.6.3 required another header
  696.         file) (from Karl London) and SCO UNIX.
  697.     CONFIG: patch prog mailer to not strip host name off of envelope
  698.         addresses (so that it matches local again).  From
  699.         Christopher Davis.
  700.     CONFIG: change uucp-dom mailer so that "<>" translates to $n;
  701.         this prevents uux from seeing lines with null names like
  702.         ``From   Sat Oct 30 14:55:31 1993''.  From Motonori
  703.         Nakamura of Kyoto University.
  704.     CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
  705.         it shouldn't fail miserably.  From Motonori Nakamura.
  706.  
  707. 8.6.3/8.6.3    93/10/24
  708.     IMPORTANT FIX: Fix several problems that caused open files to
  709.         be "lost" during queue runs; this overflowed the open
  710.         file table on large runs.  An assumption that fdopen
  711.         always succeeds sometimes resulted in core dumps when
  712.         this happens; sometimes the message is delivered twice,
  713.         sometimes (probably) infinite times.  This problem in
  714.         various form was reported by P{r (Pell) Emanuelsson and
  715.         Robert Campbell of U.C. Berkeley.
  716.     Special diagnosis of EMFILE error conditions -- it now prints
  717.         the known open file descriptors so you can figure out
  718.         what is consuming so much resources.
  719.     Fix a couple of problems caused by early address parsing
  720.         errors -- one caused it to return a "this is only a
  721.         warning" when it really wasn't, and the other started
  722.         parsing through a random pointer.  The first was
  723.         noted by Eric Wassenaar.
  724.     Fix an infinite loop problem caused by null components in the
  725.         host signature.  Problem noted by Jan Sorensen.
  726.     Be sure to reset the "current date" when sending an error
  727.         message -- PostMasterCopy messages were being sent
  728.         with an old Date: header.
  729.     Fix a problem that caused duplicated mail when sendmail was
  730.         (1) compiled without HASFLOCK, (2) you are sending to
  731.         an alias that has an owner-* alias, (3) you execute
  732.         sendmail with -t flag, (4) you run in -odb mode, and
  733.         (5) the sender specifies both the alias name and
  734.         another alias [i.e., the envelope is split], then
  735.         duplicate messages are sent.  The problem description
  736.         and one-line fix are from Motonori Nakamura of Kyoto
  737.         University.
  738.     Avoid a problem that causes error messages to be discarded
  739.         in some cases -- this was the result of a "fix" to
  740.         avoid duplicate error messages, but two are better
  741.         than zero.  Reported by Tim Rylance.
  742.     Fix a minor botch in checkfd012() -- fix from Dave Hill of
  743.         Computervision R&D Ltd.
  744.     Remove "X-Authentication-Warning: <user> set sender to <address>
  745.         using -f" entirely -- it is far too eager to include
  746.         this, and it is confusing folks.  I'll try to make it
  747.         work "right" in 8.7.  Problem noted by Yoshitaka
  748.         Tokugawa of dit Co., Ltd.
  749.     Fix a race condition with the errno value in tick() and
  750.         reapchild() -- this caused occasional misdiagnosis
  751.         of problems.  Kyle Jones of UUNET helped this along.
  752.     Repair rule loop-detection code.  From Michael Corrigan of
  753.         U.C. San Diego.
  754.     Fix a problem that caused sender domain addition (C mailer
  755.         flag to be ignored if you use -odq or use -odb with
  756.         a high load average.  Problem reported by Jim Murray
  757.         of Stratus.
  758.     Fix ident protocol on multi-homed machines.  It was not
  759.         always using the correct interface.  Fix from J.R.
  760.         Oldroyd of Opal.
  761.     Previously, sendmail assumed that any SMTP greeting message
  762.         that wasn't 2xx was a temporary failure -- it should
  763.         only take 4xx as a temporary failure, and return a
  764.         solid error message on anything else -- for example,
  765.         to allow you to reject connections on a workstation
  766.         that is MXed to a mail server.
  767.     Portability enhancements for 386BSD/FreeBSD/NetBSD from
  768.         Ollivier Robert.
  769.     CONFIG: FEATURE(always_add_domain) didn't always add the domain;
  770.         in particular, on local mail it modified the header sender
  771.         but not the header recipient address(es).  Reported by
  772.         Jeffrey Honig of Cornell University.  Also, strip
  773.         any host from envelope recipient address(es), since
  774.         local mailers don't understand host names -- this is
  775.         to help mailertable entries.  From Christopher Davis.
  776.     CONFIG: masquerading didn't apply to addresses that already
  777.         had a domain.  This change replaces a local hostname
  778.         by the masquerade name in the SMTP mailer (previously
  779.         it only added the masquerade name if it didn't already
  780.         have a domain name).  Several people complained about
  781.         this.
  782.  
  783. 8.6.2/8.6.2    93/10/15
  784.     Put a "successful delivery" message in the transcript for
  785.         addresses that get return-receipts.
  786.     Put a prominent "this is only a warning" message in warning
  787.         messages -- some people don't read carefully enough
  788.         and end up sending the message several times.
  789.     Include reason for temporary failure in the "warning" return
  790.         message.  Currently, it just says "cannot send for
  791.         four hours".
  792.     Fix the "Original message received" time generated for
  793.         returntosender messages.  It was previously listed as
  794.         the current time.  Bug reported by Eric Hagberg of
  795.         Cornell University Medical College.
  796.     If there is an error when writing the body of a message,
  797.         don't send the trailing dot and wait for a response
  798.         in sender SMTP, as this could cause the connection to
  799.         hang up under some bizarre circumstances.  From Eric
  800.         Wassenaar.
  801.     Fix some server SMTP synchronization problems caused when
  802.         connections fail during message collection.  From
  803.         Eric Wassenaar.
  804.     Fix a problem that can cause srvrsmtp to reject mail if the
  805.         name server is down -- it accepts the RCPT but rejects
  806.         the DATA command.  Problem reported by Jim Murray of
  807.         Stratus.
  808.     Fix a problem that can cause core dumps if the config file
  809.         incorrectly resolves to a null hostname.  Reported by
  810.         Allan Johannesen of WPI.
  811.     Non-root use of -C flag, dangerous -f flags, and use of -oQ
  812.         by non-root users were not put into
  813.         X-Authentication-Warning:s as intended because the
  814.         config file hadn't set the PrivacyFlags yet.  Fix
  815.         from Sven-Ove Westberg of the University of Lulea.
  816.     Under very odd circumstances, the alias file rebuild code
  817.         could get confused as to whether a database was
  818.         open or not.
  819.     Check "vendor code" on the end of V lines -- this is
  820.         intended to provide a hook for vendor-specific
  821.         configuration syntax.  (This is a "new feature",
  822.         but I've made an exception to my rule in a belief
  823.         that this is a highly exceptional case.)
  824.     Portability fixes for DG/UX (from Douglas Anderson of NCSC),
  825.         SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
  826.         (from Jon Forrest of UC Berkeley)
  827.     CONFIG: fix ``mailer:host'' form of UUCP relay naming.
  828.  
  829. 8.6.1/8.6    93/10/08
  830.     Portability fixes for A/UX and Encore UMAX V.
  831.     Fix error message handling -- if you had a name server down
  832.         causing an error during parsing, that message was never
  833.         propogated to the queue file.
  834.  
  835. 8.6/8.6        93/10/05
  836.     Configuration cleanup: make it easier to undo IDENTPROTO in
  837.         conf.h (other systems have the same bug).
  838.     If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
  839.         getdtablesize() instead of sysconf(); a disturbingly
  840.         large number of systems defined _SC_OPEN_MAX in the
  841.         header files but don't have the syscall.
  842.     Another patch to really truly ignore MX records in getcanonname
  843.         if trymx == FALSE.
  844.     Fix problem that caused the "250 IAA25499 Message accepted for
  845.         delivery" message to be omitted if there was an error
  846.         in the header of the message (e.g., a bad Errors-To:
  847.         line).  Pointed out by Michael Corrigan of UCSD.
  848.     Announce name of host we are chatting when we get errors; this
  849.         is an IDA-ism suggested by Christophe Wolfhugel.
  850.     Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
  851.         Australian Artificial Intelligence Institute), SCO Unix
  852.         (from Murray Kucherawy of Hookup Communication Corp.),
  853.         NeXT (from Vince DeMarco and myself), Linux (from
  854.         Karl London <karl@borg.demon.co.uk>), BSDI (from
  855.         Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
  856.         Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
  857.     Some changes to get around gcc optimizer bugs.  From Takahiro
  858.         Kanbe.
  859.     Fix error recovery in queueup if another tf file of the same
  860.         name already exists.  Problem stumbled over by Bill
  861.         Wisner of The Well.
  862.     Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
  863.         Problem noted by Keith McMillan of Ameritech Services.
  864.     Deal with group permissions properly when opening .forward and
  865.         :include: files.  This relaxes the 8.1C restrictions
  866.         slightly more.  This includes proper setting of groups
  867.         when reading :include: files, allowing you to read some
  868.         files that you should be able to read but have previously
  869.         been denied unless you owned them or they had "other"
  870.         read permission.
  871.     Make certain that $j is in $=w (after the .cf is read) so that
  872.         if the user is forced to override some silly system,
  873.         MX suppression will still work.
  874.     Fix a couple of efficiency problems where newstr was double-
  875.         calling expensive routines.  In at least one case, it
  876.         wasn't guaranteed that they would always return the
  877.         same result.  Problem noted by Christophe Wolfhugel.
  878.     Fix null pointer dereference in putoutmsg -- only on an error
  879.         condition from a non-SMTP mailer.  From Motonori
  880.         Nakamura.
  881.     Macro expand "C" line class definitions before scanning so that
  882.         "CX $Z" works.
  883.     Fix problem that caused error message to be sent while still
  884.         trying to send the original message if the connection
  885.         is closed during a DATA command after getting an error
  886.         on an RCPT command (pretty obscure).  Problem reported
  887.         by John Myers of CMU.
  888.     Fix reply to NOOP to be 250 instead of 200 -- this is a long
  889.         term bug.
  890.     Fix a nasty bug causing core dumps when returning the "warning:
  891.         cannot deliver for N hours -- will keep trying" message;
  892.         it only occurred if you had PostMasterCopy set and
  893.         only on some architectures.  Although sendmail would
  894.         keep trying, it would send error messages on each
  895.         queue interval.  This is an important fix.
  896.     Allow u and g options to take user and group names respectively.
  897.     Don't do a chdir into the queue directory in -bt mode to make
  898.         ruleset testing a bit easier.
  899.     Don't allow users to turn off logging (using -oL) on the command
  900.         line -- command line can only raise, not lower, logging
  901.         level.
  902.     Set $u to the original recipient on the SMTP transaction or on
  903.         the command line.  This is only done if there is exactly
  904.         one recipient.  Technically, this does not meet the
  905.         specs, because it does not guarantee a domain on the
  906.         address.
  907.     Fix a problem that dumped error messages on bad addresses if
  908.         you used the -t flag.  Problem noted by Josh Smith of
  909.         Harvey Mudd College.
  910.     Given an address such as ``<foo> <bar>'', auto-quote the first
  911.         ``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
  912.         avoid the problem of people who use angle brackets in
  913.         their full name information.
  914.     Fix a null pointer dereference if you set option "l", have
  915.         an Errors-To: header in the message, and have Errors-To:
  916.         defined in the config file H lines.  From J.R. Oldroyd.
  917.     Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
  918.         wrong when compiling.  Suggested by Rick McCarty of TI.
  919.     Fix a problem that could pass negative SIZE parameter if the
  920.         df file got lost; this would cause servers to always
  921.         give a temporary failure, making the problem even worse.
  922.         Problem noted by Allan Johannesen of WPI.
  923.     Add "ident" timeout (one of the "r" option selectors) for IDENT
  924.         protocol timeouts (30s default).  Requested by Murray
  925.         Kucherawy of HookUp Communication Corp. to handle bogus
  926.         PC TCP/IP implementations.
  927.     Change $w default definition to be just the first component of
  928.         the domain name on config level 5.  The $j macro defaults
  929.         to the FQDN; $m remains as before.  This lets well-behaved
  930.         config files use any of the short, long, or subdomain
  931.         names.
  932.     Add makesendmail script in src to try to automate multi-architecture
  933.         builds.  I know, this is sub-optimal, but it is still
  934.         helpful.
  935.     Fix very obscure race condition that can cause a queue run to
  936.         get a queue file for an already completed job.  This
  937.         problem has existed for years.  Problem noted by the
  938.         long suffering Allan Johannesen of WPI.
  939.     Fix a problem that caused the raw sender name to be passed to
  940.         udbsender instead of the canonified name -- this caused
  941.         it to sometimes miss records that it should have found.
  942.     Relax check of name on HELO packet so that a program using -bs
  943.         that claims to be itself works properly.
  944.     Restore rewriting of $: part of address through 2, R, 4 in
  945.         buildaddr -- this requires passing a lot of flags to get
  946.         it right.  Unlike old versions, this ONLY rewrites
  947.         recipient addresses, not sender addresses.
  948.     Fix a bug that caused core dumps in config files that cannot
  949.         resolve /file/name style addresses.  Fix from Jonathan
  950.         Kamens of OpenVision Technologies.
  951.     Fix problem with fcntl locking that can cause error returns to
  952.         be lost if the lock is lost; this required fully
  953.         queueing everything, dropping the envelope (so errors
  954.         would get returned), and then re-reading the queue from
  955.         scratch.
  956.     Fix a problem that caused aliases that redefine an otherwise
  957.         true address to still send to the original address
  958.         if and only if the alias failed in certain bizarre
  959.         ways (e.g, if they pointed at a list:; syntax address).
  960.         Problem pointed out by Jonathan Kamens.
  961.     Remove support for frozen configuration files.  They caused
  962.         more trouble than it was worth.
  963.     Fix problem that can cause error messages to get ignored when
  964.         using both -odb and -t flags.  Problem noted by Rob
  965.         McNicholas at U.C. Berkeley.
  966.     Include all "normal" variations on hostname in $=w.  For example,
  967.         if the host name is vangogh.cs.berkeley.edu, $=w will
  968.         contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
  969.     Add "restrictqrun" privacy flag -- without this, anyone can run
  970.         the queue.
  971.     Reset SmtpPhase global on initial connection creation so that
  972.         messages don't come out with stale information.
  973.     Pass an "ext" argument to lockfile so that error/log messages
  974.         will properly reflect the true filename being locked.
  975.     Put all [...] address forms into $=w -- this eliminates the need
  976.         for MAXIPADDR in conf.h.  Suggested by John Gardiner
  977.         Myers of CMU.
  978.     Fix a bug that can cause qf files to be left around even after
  979.         an SMTP RSET command.  Problem and fix from Michael
  980.         Corrigan.
  981.     Don't send a PostMasterCopy to errors when the Precedence: is
  982.         negative.  Error reports still go to the envelope
  983.         sender address.
  984.     Add LA_SHORT for load averages.
  985.     Lock sendmail.st file when posting statistics.
  986.     Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
  987.         set the size of the TCP send and receive buffers; if you
  988.         run over a slow slip line you may need to set these down
  989.         (although it would be better to fix the SLIP implementation
  990.         so that it's not necessary to recompile every program
  991.         that does bulk data transfer).
  992.     Allow null defaults on $( ... $) lookups.  Problem reported by
  993.         Amir Plivatsky.
  994.     Diagnose crufty S and V config lines.  This resulted from an
  995.         observation that some people were using the SITE macro
  996.         without the SITECONFIG macro first, which was causing
  997.         bogus config files that were not caught.
  998.     Fix makemap -f flag to turn off case folding (it was turning it
  999.         on instead).  THIS IS A USER VISIBLE CHANGE!!!
  1000.     Fix a problem that caused multiple error messages to be sent if
  1001.         you used "sendmail -t -oem -odb", your system uses fcntl
  1002.         locking, and one of the recipient addresses is unknown.
  1003.     Reset uid earlier in include() so that recursive .forwards or
  1004.         :include:s don't use the wrong uid.
  1005.     If file descriptor 0, 1, or 2 was closed when sendmail was
  1006.         called, the code to recover the descriptor was broken.
  1007.         This sometimes (only sometimes) caused problems with the
  1008.         alias file.  Fix from Motonori Nakamura.
  1009.     Fix a problem that caused aliaswait to go into infinite recursion
  1010.         if the @:@ metasymbol wasn't found in the alias file.
  1011.     Improve error message on newaliases if database files cannot be
  1012.         opened or if running with no database format defined.
  1013.     Do a better estimation of the size of error messages when NoReturn
  1014.         is set.  Problem noted by P{r (Pell) Emanuelsson.
  1015.     Fix a problem causing the "c" option (don't connect to expensive
  1016.         mailers) to be ignored in SMTP.  Problem noted and the
  1017.         solution suggested by Robert Elz of Munnari University.
  1018.     Improve connection caching algorithm by passing "[host]" to
  1019.         hostsignature, which strips the square brackets and
  1020.         returns the real name.  This allows mailertable entries
  1021.         to match regular entries.
  1022.     Re-enable Return-Receipt-To: -- people seem to want this stupid
  1023.         feature, even if it doesn't work right.
  1024.     Catch and log attempts to try the "wiz" command in server SMTP.
  1025.         This also ups the log level from LOG_NOTICE to LOG_CRIT.
  1026.     Be more generous at assigning $z to the home directory -- do this
  1027.         for programs that are specified through a .forward file.
  1028.         Fix from Andrew Chang of Sun Microsystems.
  1029.     Always save a fatal error message in preference to a non-fatal
  1030.         error message so that the "subject" line of return
  1031.         messages is the best possible.
  1032.     CONFIG: reduce the number of quotes needed to quote configuration
  1033.         parameters with commas: two quotes should work now, e.g.,
  1034.         define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
  1035.     CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
  1036.         connections (domain-ized UUCP).
  1037.     CONFIG: fix bug in default maps (-o must be before database file
  1038.         name).  Pointed out by Christophe Wolfhugel.  
  1039.     CONFIG: add FEATURE(nodns) to state that we are not relying on
  1040.         DNS.  This would presumably be used in UUCP islands.
  1041.     CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
  1042.     CONFIG: log $u in Received: line.  This is in technical violation
  1043.         of the standards, since it doesn't guarantee a domain
  1044.         on the address.
  1045.     CONFIG: don't assume "m" in local mailer flags -- this means that
  1046.         if you redefine LOCAL_MAILER_FLAGS you will have to include
  1047.         the "m" flag should you want it.  Apparently some Solaris 2.2
  1048.         installations can't handle multiple local recipients.
  1049.         Problem noted by Josh Smith.
  1050.     CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
  1051.     CONFIG: change default version level from 4 to 5.
  1052.     CONFIG: add FEATURE(nullclient) to create a config file that
  1053.         forwards all mail to a hub without ever looking at the
  1054.         addresses in any detail.
  1055.     CONFIG: properly strip mailer: information off of relays when
  1056.         used to change .BITNET form into %-hack form.
  1057.     CONFIG: fix a problem that caused infinite loops if presented
  1058.         with an address such as "!foo".
  1059.     CONFIG: check for self literal (e.g., [128.32.131.12]) even if
  1060.         the reverse "PTR" mapping is broken.  There's a better
  1061.         way to do this, but the change is fairly major and I
  1062.         want to hold it for another release.  Problem noted by
  1063.         Bret Marquis.
  1064.  
  1065. 8.5/8.5        93/07/23
  1066.     Serious bug: if you used a command line recipient that was unknown
  1067.         sendmail would not send a return message (it was treating
  1068.         everything as though it had an SMTP-style client that
  1069.         would do the return itself).  Problem noted by Josh Smith.
  1070.     Change "trymx" option in getcanonname() to ignore all MX data,
  1071.         even during a T_ANY query.  This actually didn't break
  1072.         anything, because the only time you called getcanonname
  1073.         with !trymx was if you already knew there were no MX
  1074.         records, but it is somewhat cleaner.  From Motonori
  1075.         Nakamura.
  1076.     Don't call getcanonname from getmxrr if you already know there
  1077.         are no DNS records matching the name.
  1078.     Fix a problem causing error messages to always include "The
  1079.         original message was received ... from localhost".
  1080.         The correct original host information is now included.
  1081.     Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
  1082.         version of "test" doesn't have the -x flag).  Change it
  1083.         to use -f instead.  From John Myers.
  1084.     CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
  1085.         esmtp -- it should be smtp.
  1086.     CONFIG: send all relayed mail using confRELAY_MAILER (defaults
  1087.         to "relay" (a variant of "smtp") if MAILER(smtp) is used,
  1088.         else "suucp" if MAILER(uucp) is used, else "unknown");
  1089.         this cleans up the configs somewhat.  This fixes a serious
  1090.         problem that caused route-addrs to get mistaken as relays,
  1091.         pointed out by John Myers.  WARNING: this also causes
  1092.         the default on SMART_HOST to change from "suucp" to
  1093.         "relay" if you have MAILER(smtp) specified.
  1094.  
  1095. 8.4/8.4        93/07/22
  1096.     Add option `w'.  If you receive a message that comes to you because
  1097.         you are the best (lowest preference) target of an MX, and
  1098.         you haven't explicitly recognized the source MX host in
  1099.         your .cf file, this option will cause you to try the target
  1100.         host directly (as if there were no MX for it at all).  If
  1101.         `w' is not set, this case is a configuration error.
  1102.         Beware: if `w' is set, senders may get bogus errors like
  1103.         "message timed out" or "host unknown" for problems that
  1104.         are really configuration errors.  This option is
  1105.         disrecommended, provided only for compatibility with
  1106.         UIUC sendmail.
  1107.     Fix a problem that caused the incoming socket to be left open
  1108.         when sendmail forks after the DATA command.  This caused
  1109.         calling systems to wait in FIN_WAIT_2 state until the
  1110.         entire list was processed and the child closed -- a
  1111.         potentially prodigious amount of time.  Problem noted
  1112.         by Neil Rickert.
  1113.     Fix problem (created in 6.64) that caused mail sent to multiple
  1114.         addresses, one of which was a bad address, to completely
  1115.         suppress the sending of the message.  This changes
  1116.         handling of EF_FATALERRS somewhat, and adds an
  1117.         EF_GLOBALERRS flag.  This also fixes a potential problem
  1118.         with duplicate error messages if there is a syntax error
  1119.         in the header of a message that isn't noticed until late
  1120.         in processing.  Original problem pointed out by Josh Smith
  1121.         of Harvey Mudd College.  This release includes quite a bit
  1122.         of dickering with error handling (see below).
  1123.     Back out SMTP transaction if MAIL gets nested 501 error.  This
  1124.         will only hurt already-broken software and should help
  1125.         humans.
  1126.     Fix a problem that broke aliases when neither NDBM nor NEWDB were
  1127.         compiled in.  It would never read the alias file.
  1128.     Repair unbalanced `)' and `>' (the "open" versions are already
  1129.         repaired).
  1130.     Logging of "done" in dropenvelope() was incorrect: it would
  1131.         log this even when the queue file still existed.  Change
  1132.         this to only log "done" (at log level 11) when the
  1133.         queue file is actually removed.  From John Myers.
  1134.     Log "lost connection" in server SMTP at log level 20 if there
  1135.         is no pending transaction.  Some senders just close the
  1136.         connection rather than sending QUIT.
  1137.     Fix a bug causing getmxrr to add a dot to the end of unqualified
  1138.         domains that do not have MX records -- this would cause
  1139.         the subsequent host name lookup to fail.  The problem
  1140.         only occurred if you had FEATURE(nocanonify) set.
  1141.         Problem noted by Rick McCarty of Texas Instruments.
  1142.     Fix invocation of setvbuf when passed a -X flag -- I had
  1143.         unwittingly used an ANSI C extension, and this caused
  1144.         core dumps on some machines.
  1145.     Diagnose self-destructive alias loops on RCPT as well as EXPN.
  1146.         Previously it just gave an empty send queue, which
  1147.         then gave either "Need RCPT (recipient)" at the DATA
  1148.         (confusing, since you had given an RCPT command which
  1149.         returned 250) or just dropped the email, depending on
  1150.         whether you were running VERBose mode.  Now it usually
  1151.         diagnoses this case as "aliasing/forwarding loop broken".
  1152.         Unfortunately, it still doesn't adequately diagnose
  1153.         some true error conditions.
  1154.     Add internal concept of "warning messages" using 6xx codes.
  1155.         These are not reported only to Postmaster.  Unbalanced
  1156.         parens, brackets, and quotes are printed as 653 codes.
  1157.         They are always mapped to 5xx codes before use in SMTP.
  1158.     Clean up error messages to tell both the actual address that
  1159.         failed and the alias they arose from.  This makes it
  1160.         somewhat easier to diagnose problems.  Difficulty noted
  1161.         by Motonori Nakamura.
  1162.     Fix a problem that inappropriately added a ctladdr to addresses
  1163.         that shouldn't have had one during a queue run.  This
  1164.         caused error messages to be handled differently during
  1165.         a queue run than a direct run.
  1166.     Don't print the qf name and line number if you get errors during
  1167.         the direct run of the queue from srvrsmtp -- this was
  1168.         just extra stuff for users to crawl through.
  1169.     Put command line flags on second line of pid file so you can
  1170.         auto-restart the daemon with all appropriate arguments.
  1171.         Use "kill `head -1 /etc/sendmail.pid`" to stop the
  1172.         daemon, and "eval `tail -1 /etc/sendmail.pid`" to
  1173.         restart it.
  1174.     Remove the ``setuid(getuid())'' in main -- this caused the
  1175.         IDENT daemon to screw up.  This required that I change
  1176.         HASSETEUID to HASSETREUID and complicate the mode
  1177.         changing somewhat because both Ultrix and SunOS seem
  1178.         to have a bug causing seteuid() to set the saved uid
  1179.         as well as the effective.  The program test/t_setreuid.c
  1180.         will test to see if your implementation of setreuid(2)
  1181.         is appropriately functional.
  1182.     The FallBackMX (option V) handling failed to properly identify
  1183.         fallback to yourself -- most of the code was there,
  1184.         but it wasn't being enabled.  Problem noted by Murray
  1185.         Kucherawy of the University of Waterloo.
  1186.     Change :include: open timeout from ETIMEDOUT to an internal
  1187.         code EOPENTIMEOUT; this avoids adding "during SmtpPhase
  1188.         with CurHostName" in error messages, which can be
  1189.         confusing.  Reported by Jonathan Kamens of OpenVision
  1190.         Technologies.
  1191.     Back out setpgrp (setpgid on POSIX systems) call to reset the
  1192.         process group id.  The original fix was to get around
  1193.         some problems with recalcitrant MUAs, but it breaks
  1194.         any call from a shell that creates a process group id
  1195.         different from the process id.  I could try to fix
  1196.         this by diddling the tty owner (using tcsetpgrp or
  1197.         equivalent) but this is too likely to break other
  1198.         things.
  1199.     Portability changes:
  1200.         Support -M as equivalent to -oM on Ultrix -- apparently
  1201.             DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
  1202.             instead of using standard flags.  Oh joy.  This
  1203.             behaviour reported by Jon Giltner of University
  1204.             of Colorado.
  1205.         SGI IRIX  -- this includes several changes that should
  1206.             help other strict ANSI compilers.
  1207.         SCO Unix -- from Murray Kucherawy of HookUp Communication
  1208.             Corporation.
  1209.         Solaris running the Sun C compiler (which despite the
  1210.             documentation apparently doesn't define
  1211.             __STDC__ by default).
  1212.         ConvexOS from Eric Schnoebelen of Convex.
  1213.         Sony NEWS workstations and Omron LUNA workstations from
  1214.             Motonori Nakamura.
  1215.     CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
  1216.     CONFIG: delete `C' and `e' from default SMTP mailers flags;
  1217.         several people have made a good argument that this
  1218.         creates more problems than it solves (although this
  1219.         may prove painful in the short run).
  1220.     CONFIG: generalize all the relays to accept a "mailer:host"
  1221.         format.
  1222.     CONFIG: move local processing in ruleset 0 into a new ruleset
  1223.         98 (8 on old sendmail).  Domain literal [a.b.c.d]
  1224.         addresses are also passed through this ruleset.
  1225.     CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
  1226.         internet-style addresses would "fall off the end" of
  1227.         ruleset zero and be interpreted as local -- however,
  1228.         the angle brackets confused the recursive call.
  1229.         These are now diagnosed as "Unrecognized host name".
  1230.     CONFIG: USENET rules weren't included in S0 because of a mistaken
  1231.         ifdef(`_MAILER_USENET_') instead of
  1232.         ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
  1233.         of SINTEF RUNIT, Oslo.
  1234.     CONFIG: move up LOCAL_RULE_0 processing so that it happens very
  1235.         early in ruleset 0; this allows .mc authors to bypass
  1236.         things like the "short circuit" code for local addresses.
  1237.         Prompted by a comment by Bill Wisner of The Well.
  1238.     CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
  1239.         esmtp) to send SMTP mail.  This allows you to default
  1240.         to esmtp but use a mailertable or other override to
  1241.         deal with broken servers.  This logic was pointed out
  1242.         to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
  1243.     Changes to cf/sh/makeinfo.sh to make it portable to SVR4
  1244.         environments.  Ugly as sin.
  1245.  
  1246. 8.3/8.3        93/07/13
  1247.     Fix setuid problems introduced in 8.2 that caused messages
  1248.         like "Cannot create qfXXXXXX: Invalid argument"
  1249.         or "Cannot reopen dfXXXXXX: Permission denied".  This
  1250.         involved a new compile flag "HASSETEUID" that takes
  1251.         the place of the old _POSIX_SAVED_IDS -- it turns out
  1252.         that the POSIX interface is broken enough to break
  1253.         some systems badly.  This includes some fixes for
  1254.         HP-UX.  Also fixes problems where the real uid is
  1255.         not reset properly on startup (from Neil Rickert).
  1256.     Fix a problem that caused timed out messages to not report the
  1257.         addresses that timed out.  Error messages are also more
  1258.         "user friendly".
  1259.     Drop required bandwidth on connections from 64 bytes/sec to
  1260.         16 bytes/sec.
  1261.     Further Solaris portability changes -- doesn't require the BSD
  1262.         compatibility library.  This also adds a new
  1263.         "HASGETDTABLESIZE" compile flag which can be used if
  1264.         you want to use getdtablesize(2) instead of sysconf(2).
  1265.         These are loosely based on changes from David Meyer at
  1266.         University of Oregon.  This now seems to work, at least
  1267.         for quick test cases.
  1268.     Fix a problem that can cause duplicate error messages to be
  1269.         sent if you are in SMTP, you send to multiple addresses,
  1270.         and at least one of those addresses is good and points
  1271.         to an account that has a .forward file (whew!).
  1272.     Fix a problem causing messages to be discarded if checkcompat()
  1273.         returned EX_TEMPFAIL (because it didn't properly mark
  1274.         the "to" address).  Problem noted by John Myers.
  1275.     Fix dfopen to return NULL if the open failed; I was depending
  1276.         on fdopen(-1) returning NULL, which isn't the case.  This
  1277.         isn't serious, but does result in wierd error diagnoses.
  1278.         From Michael Corrigan.
  1279.     CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
  1280.         messages sent through UUCP-family mailers.  Suggested
  1281.         by Bill Wisner of The Well.
  1282.     CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
  1283.         include a "uucp-dom" mailer that uses domain-style
  1284.         addressing.  Suggested by Bill Wisner.
  1285.     CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
  1286.         LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
  1287.         Christophe Wolfhugel.
  1288.     CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
  1289.  
  1290. 8.2/8.2        93/07/11
  1291.     Don't drop out on config file parse errors in -bt mode.
  1292.     On older configuration files, assume option "l" (use Errors-To
  1293.         header) for back compatibility.  NOTE:  this DOES NOT
  1294.         imply an endorsement of the Errors-To: header in any way.
  1295.     Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
  1296.     Don't log errors on EHLO -- it isn't a "real" error for an old
  1297.         SMTP server to give an error on this command, and
  1298.         logging it in the transcript can be confusing.  Fix
  1299.         from Bill Wisner.
  1300.     IRIX compatibility changes provided by Dan Rich
  1301.         <drich@sandman.lerc.nasa.gov>.
  1302.     Solaris 2 compatibility changes.  Provided by Bob Cunningham
  1303.         <bob@kahala.soest.hawaii.edu>, John Oleynick
  1304.         <juo@klinzhai.rutgers.edu>
  1305.     Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
  1306.         move usersmtp (smtpinit and smtpmailfrom) to -d18 to
  1307.         match the other flags in that file.
  1308.     Flush transcript before fork in mailfile().  From Eric Wassenaar.
  1309.     Save h_errno in mci struct and improve error message display.
  1310.         Changes from Eric Wassenaar.
  1311.     Open /dev/null for the transcript if the create of the xf file
  1312.         failed; this avoids at least one possible null pointer
  1313.         reference in very wierd cases.  From Eric Wassenaar.
  1314.     Clean up statistics gathering; it was over-reporting because of
  1315.         forks.  From Eric Wassenaar.
  1316.     Fix problem that causes old Return-Path: line to override new
  1317.         Return-Path: line (conf.c needs H_FORCE to avoid
  1318.         re-using old value).  From Motonori Nakamura.
  1319.     Fix broken -m flag in K definition -- even if -m (match only)
  1320.         was specified, it would still replace the key with the
  1321.         value.  Noted by Rick McCarty of Texas Instruments.
  1322.     If the name server timed out over several days, no "timed out"
  1323.         message would ever be sent back.  The timeout code
  1324.         has been moved from markfailure() to dropenvelope()
  1325.         so that all such failures should be diagnosted.  Pointed
  1326.         out by Christophe Wolfhugel and others.
  1327.     Relax safefile() constraints: directories in an include or
  1328.         forward path must be readable by self if the controlling
  1329.         user owns the entry, readable by all otherwise (e.g.,
  1330.         when reading your .forward file, you have to own and
  1331.         have X permssion in it; everyone needs X permission in
  1332.         the root and directories leading up to your home);
  1333.         include files must be readable by anyone, but need not
  1334.         be owned by you.
  1335.     If _POSIX_SAVED_IDS is defined, setuid to the owner before
  1336.         reading a .forward file; this gets around some problems
  1337.         on NFS mounts if root permission is not exported and
  1338.         the user's home directory isn't x'able.
  1339.     Additional NeXT portability enhancements from Axel Zinser.
  1340.     Additional HP-UX portability enhancements from Brian Bullen.
  1341.     Add a timeout around SMTP message writes; this assumes you can
  1342.         get throughput of at least 64 bytes/second.  Note that
  1343.         this does not impact the "datafinal" default, which
  1344.         is separate; this is just intended to work around
  1345.         network clogs that will occur before the final dot
  1346.         is sent.  From Eric Wassenaar.
  1347.     Change map code to set the "include null" flag adaptively --
  1348.         it initially tries both, but if it finds anything
  1349.         matching without a null it never tries again with a
  1350.         null and vice versa.  If -N is specified, it never
  1351.         tries without the null and creates new maps with a
  1352.         null byte.  If -O is specified, it never tries with
  1353.         the null (for efficiency).  If -N and -O are specified,
  1354.         you get -NO (get it?) lookup at all, so this would
  1355.         be a bad idea.  If you don't specify either -N or -O,
  1356.         it adapts.
  1357.     Fix recognition of "same from address" so that MH submissions
  1358.         will insert the appropriate full name information;
  1359.         this used to work and got broken somewhere along the
  1360.         way.
  1361.     Some changes to eliminate some unnecessary SYSERRs in the
  1362.         log.  For example, if you lost a connection, don't
  1363.         bother reporting that fact on the connection you lost.
  1364.     Add some "extended debugging" flags to try to track down
  1365.         why we get occassional problems with file descriptor
  1366.         one being closed when execing a mailer; it seems to
  1367.         only happen when there has been another error in the
  1368.         same transaction.  This requires XDEBUG, defined
  1369.         by default in conf.h.
  1370.     Add "-X filename" command line flag, which logs both sides of
  1371.         all SMTP transactions.  This is intended ONLY for
  1372.         debugging bad implementations of other mailers; start
  1373.         it up, send a message from a mailer that is failing,
  1374.         and then kill it off and examine the indicated log.
  1375.         This output is not intended to be particularly human
  1376.         readable.  This also adds the HASSETVBUF compile
  1377.         flag, defaulted on if your compiler defines __STDC__.
  1378.     CONFIG: change SMART_HOST to override an SMTP mailer.  If you
  1379.         have a local net that should get direct connects, you
  1380.         will need to use LOCAL_NET_CONFIG to catch these hosts.
  1381.         See cf/README for an example.
  1382.     CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
  1383.         sites that don't use the -d flag.
  1384.     CONFIG: hide recipient addresses as well as sender addresses
  1385.         behind $M if FEATURE(allmasquerade) is specified; this
  1386.         has been requested by several people, but can break
  1387.         local aliases.  For example, if you mail to "localalias"
  1388.         this will be rewritten as "localalias@masqueradehost";
  1389.         although initial delivery will work, replies will be
  1390.         broken.  Use it sparingly.
  1391.     CONFIG: add FEATURE(domaintable).  This maps unqualified domains
  1392.         to qualified domains in headers.  I believe this is
  1393.         largely equivalent to the IDA feature of the same name.
  1394.     CONFIG: use $U as UUCP name instead of $k.  This permits you
  1395.         to override the "system name" as your UUCP name --
  1396.         in particular, to use domain-ized UUCP names.  From
  1397.         Bill Wisner of The Well.
  1398.     CONFIG: create new mailer "esmtp" that always tries EHLO
  1399.         first.  This is currently unused in the config files,
  1400.         but could be used in a mailertable entry.
  1401.  
  1402. 8.1C/8.1B    93/06/27
  1403.     Serious security bug fix: it was possible to read any file on
  1404.         the system, regardless of ownership and permissions.
  1405.     If a subroutine returns a fully qualified address, return it
  1406.         immediately instead of feeding it back into rewriting.
  1407.         This fixes a problem with mailertable lookups.
  1408.     CONFIG: fix some M4 frotz (concat => CONCAT)
  1409.  
  1410. 8.1B/8.1A    93/06/12
  1411.     Serious bug fix: pattern matching backup algorithm stepped by
  1412.         two tokens in classes instead of one.  Found by Claus
  1413.         Assmann at University of Kiel, Germany.
  1414.  
  1415. 8.1A/8.1A    93/06/08
  1416.     Another mailertable fix....
  1417.  
  1418. 8.1/8.1        93/06/07
  1419.     4.4BSD freeze.  No semantic changes.
  1420.  
  1421. 6.65/6.34    93/06/06
  1422.     Fix some lintish problems.
  1423.     Fix some cases where server SMTP behaved poorly when handed bogus
  1424.         input, pointed out by Eric Wassenaar.
  1425.     CONFIG: fix some more (sigh) mailertable bugs -- thanks to
  1426.         Motonori Nakamura of Kyoto University (again).
  1427.  
  1428. 6.64/6.33    93/06/05
  1429.     Don't send 050 (-v) information after the 250 response to a QUIT
  1430.         command in srvrsmtp -- clients usually close the connection
  1431.         at this point, and it causes bogus error messages.
  1432.     Don't send messages that have errors on input (such as unbalanced
  1433.         parentheses) during SMTP transactions, since a return
  1434.         message has (probably) already been sent.
  1435.     Give better diagnostics on timeouts during network reads, including
  1436.         information similar to the SMTP phase.
  1437.     Fix bug that caused SMTP messages to deliver synchronously; this
  1438.         happened after the DATA 250, and hence caused reading the
  1439.         next command to be delayed.
  1440.     Ignore Errors-To: header unless 'l' (lower case el) header is
  1441.         specified.  The Errors-To: header violates RFC 1123.
  1442.         Errors-To: was only needed to take the place of the
  1443.         envelope sender in the days when most Unix mailers
  1444.         didn't understand about the two kinds of senders.
  1445.     Don't send warning messages in response to automatically generated
  1446.         messages (that is, those From:<>).
  1447.     CONFIG: fix some rather stupid typos in the mailertable code
  1448.         pointed out by Motonori Nakamura of Kyoto University.
  1449.     CONFIG: add confUSE_ERRORS_TO configuration option.
  1450.     CONFIG: if ALWAYS_ADD_DOMAIN is selected, try to use $M
  1451.         (masquerade name) instead of $j.
  1452.     CONFIG: don't add dots to relay names (added in 6.29); it breaks
  1453.         several things, and can be simulated by dot terminating
  1454.         the names of relays.  For example, use:
  1455.             DBbit.net.relay.
  1456.         (note the trailing dot).
  1457.  
  1458. 6.63/6.32    93/06/01
  1459.     Fix prototypes to eliminate chars in argument lists -- some
  1460.         compilers are pissy about this.
  1461.     Log protocol ($r) and body type if set so we can determine if
  1462.         the adaptive algorithms are working.
  1463.     Pessimize on locking of database files (particularly for NEWDB
  1464.         databases) during opens.  There were problems with
  1465.         processes opening the file while it was rebuilt; since
  1466.         NEWDB caches heavily, the reader opened an empty file,
  1467.         which is an error.  If your system has the ability to
  1468.         lock atomically on open, this works properly; otherwise,
  1469.         there are race conditions.
  1470.     Check mod time on .pag file instead of .dir in NDBM aliases
  1471.         because the .dir file doesn't get updated for small
  1472.         alias files.  From John Gardiner Myers of CMU.
  1473.     More Solaris portability -- it now compiles on Solaris, but
  1474.         hangs up in gethostbyname().
  1475.     Move setting of RES_DEBUG flag before first myhostname() call
  1476.         so we can see name server traffic on that call.
  1477.     Fsync() queue files.
  1478.     Fix a problem that causes -bi to try to rebuild maps other than
  1479.         the alias file(s).
  1480.     Fix a problem that caused udb to reject entries from any but
  1481.         the first database listed.
  1482.     Rearrange doc subdirectory for 4.4BSD release tape.
  1483.     CONFIG: put $r into the Received line.  This was an oversight.
  1484.     CONFIG: fix typo (call to ruleset 99 should have been rulset 90).
  1485.     CONFIG: move "auxiliary" subroutines to be in ruleset 90-99
  1486.         range -- in the long run, single digit rulesets may
  1487.         become reserved for builtin use by sendmail.
  1488.     CONFIG: fix major problem that causes host aliases (that is,
  1489.         anything in $=w != $j) to not be recognized.  This has
  1490.         been around since 6.30.
  1491.  
  1492. 6.62/6.31    93/05/28
  1493.     BETA RELEASE
  1494.     Fix recursive syserr (if there is an error printing a syserr
  1495.         message).  This makes the code much less eager to consider
  1496.         a write error as serious.  This also includes some
  1497.         heuristics to be clever about closed connections.
  1498.     Lock NEWDB files during gets.  This requires version 1.5 or later
  1499.         of the db library.  If you have an older version, you
  1500.         can use -DOLD_NEWDB.  This will go away in a few weeks.
  1501.     Fix problem causing aliases that use host maps to get overwritten.
  1502.     Do appropriate byte swapping on port numbers in ident protocol
  1503.         code.  Fix from Allan Johannesen of WPI.
  1504.     Defer opening of map files to the same time as alias files so that
  1505.         the daemon will tend to pick up new versions more promptly.
  1506.     Prototype a bunch more functions.
  1507.     Some Solaris 2.1 changes (still doesn't link though).
  1508.     Try to simplify Makefiles by including more subordinate #defines
  1509.         in conf.h (based on OS type).
  1510.     CONFIG: check for domains if FEATURE(mailertable) is defined.
  1511.         For example, if the host name is "knecht.cs.berkeley.edu"
  1512.         it will search the following mailertable keys:
  1513.             knecht.cs.berkeley.edu
  1514.             .cs.berkeley.edu
  1515.             .berkeley.edu
  1516.             .edu
  1517.         This could be used to replace the special relays for bitnet
  1518.         and similar nets.
  1519.  
  1520. 6.61/6.30    93/05/24
  1521.     Fix problem that prevented appending dots on canonified host
  1522.         names.  This breaks tons of config files -- very
  1523.         important fix.
  1524.     Fix improper pointer dereference in response to HELO command.
  1525.     Fix core dump if debugging set in map_rewrite.
  1526.     CONFIG: add FEATURE(always_add_domain) to always attach the
  1527.         local domain (only impacts local mail).
  1528.     CONFIG: try to avoid turning names into $j -- although
  1529.         technically a host can only have one "canonical name",
  1530.         it seems to be common practice to have several.
  1531.  
  1532. 6.60/6.29    93/05/22
  1533.     Major change: merge alias databases with maps.  This expands and
  1534.         changes the map class interface but fixes a bunch of bugs.
  1535.         The important user-visible change is that the file name
  1536.         in a K line now does not include the ".db" extension; this
  1537.         is added automatically.  Also, the -d (NIS domain) flag is
  1538.         missing from the K config line; use @domain instead.
  1539.         When compiling, the *_MAP names are gone -- just compile
  1540.         in NDBM, NEWDB, and/or NIS support.
  1541.     Announce mailer/host/user triple on -bv flag -- from Brian
  1542.         Bullen of Stirling University.
  1543.     Don't send more than one line in response to HELO -- it confuses
  1544.         Pony Express, which then behaves very badly.  However,
  1545.         this change does send two line 220 greetings, with the
  1546.         second line reading "ESMTP spoken here".  The usersmtp
  1547.         module recognizes this and goes into ESMTP mode regardless
  1548.         of the setting of the "a" mailer flag.  Thus, "a" means
  1549.         "always try EHLO".
  1550.     AIX portability changes (thanks to Christophe Wolfhugel of
  1551.         Herve Schauer Consultants (Paris) for providing me with
  1552.         an INSA account for this purpose).  Lightly tested.  Use
  1553.         -D_AIX3.  This probably breaks compatibility with some
  1554.         older systems (e.g., 4.2bsd) but still works on SunOS
  1555.         4.1.2, Ultrix 4.2A, HP-UX 8.07, OSF/1 T1.3, and AIX 3.2.3.
  1556.     Fix a problem causing an error message loop if the output channel
  1557.         is hosed.
  1558.     Add the Makefiles that I use for various environments -- some are
  1559.         Berkeley make versions and some are old make versions.
  1560.         My makefile for the NeXT box has gotten lost, alas!
  1561.     PRALIASES: support for printing NEWDB databases.  From
  1562.         Michael J. Corrigan of U.C. San Diego.
  1563.     CONFIG: don't pass pseudo-domains to $[ ... $] (if you have
  1564.         a wildcard MX it can have wierd results).  From
  1565.         Christophe Wolfhugel.
  1566.     CONFIG: dot terminate relay hostnames in S0.  From Christophe
  1567.         Wolfhugel.
  1568.  
  1569. 6.59/6.28    93/05/13
  1570.     Log version with SMTP daemon startup message.
  1571.     Adjust setproctitle to work on NetBSD and BSD/386.
  1572.     Fix null pointer reference in MX fallback code.
  1573.     A bunch of minor fixes from Eric Wassenaar:
  1574.         If deliver cannot execv the mailer, return EX_OSERR
  1575.             instead of EX_TEMPFAIL (to give better
  1576.             error messages).
  1577.         Consistently malloc e_message.
  1578.         Catch degenerate case of calling returntosender()
  1579.             with an empty returnq.
  1580.         MIME reformatting.
  1581.  
  1582. 6.58/6.28    93/05/13
  1583.     Fix bug that can cause incorrect verbose display of user smtp
  1584.         messages.
  1585.     Disable SMTP VERB command if PRIV_NOEXPN is set (since this
  1586.         could reveal the same information.
  1587.     Allow failure when reading SMTP greeting message to go on to
  1588.         next MX host.
  1589.     Add "MIME-Version: 1.0" header if using MIME (this was NOT
  1590.         included in RFC 1344, but Bill King of Allan-Bradley
  1591.         Company forwarded me email from Nathaniel Borenstein
  1592.         claiming that it was an inadvertent omission).
  1593.     Don't use Content-Type: X-message-header.  According to John
  1594.         Myers of CMU, many MIME readers will completely ignore
  1595.         the data if they don't recognize it.  Instead, just
  1596.         add a blank line to make it a legal (empty) message.
  1597.     Fix problem causing dots to keep getting appended to cached
  1598.         hostnames.  This can cause buffer overrun conditions.
  1599.         The problem was found by Erik Forsberg of Retix,
  1600.         although I used a different bug fix than he provided.
  1601.     Fix parsing of split header/envelope rewriting specs -- from
  1602.         Eric Forsberg.
  1603.     Fix from Eric Wassenaar to correct To: lists in error messages.
  1604.  
  1605. 6.57/6.28    93/05/11
  1606.     Fix minor glitch causing extra ctladdrs to be output to queue
  1607.         file.  Just an annoyance.
  1608.     Cache results of name server canonification lookups to avoid
  1609.         backed up queue runs.
  1610.     Major rewrite of alias.c: considerable cleanup, plus sample
  1611.         (untested) support for NIS aliases.  The "A" option
  1612.         can now be a comma separated list (or be repeated) --
  1613.         that is, you can have multiple alias databases.  Each
  1614.         database can have the syntax ``class:file''; if no class
  1615.         is specified, the "implicit" class is assumed.  Implicit
  1616.         searches through a list of compiled in types -- hash,
  1617.         dbm, nis, and stab.  Alias files are searched in the
  1618.         order they are listed.  For example:
  1619.             OAhash:/etc/aliases.local,/etc/aliases
  1620.             OAnis:mail.aliases@my.nis.domain
  1621.         first searches the hash database /etc/aliases.local,
  1622.         then the regular /etc/aliases database, then the NIS
  1623.         map "mail.aliases" in the NIS domain "my.nis.domain".
  1624.     If in Verbose mode (probably from VERB command) run SMTP job
  1625.         in foreground and don't do RCPT optimizations.
  1626.     Add udb :mailsender as equivalent to owner- for regular aliases.
  1627.     Delete option 8; add option 7 that means the opposite.  That is,
  1628.         default to 8-bit mode; a special option is needed to
  1629.         force sendmail into 7 bit mode.
  1630.     Send error messages in encapsulated MIME format.
  1631.     New compile flag "NIS" that turns on NIS alias and NIS map
  1632.         support.
  1633.     Add "j" option to send error messages in MIME (RFC 1341)
  1634.         encapsulated message format per RFC 1344.  The
  1635.         syntax is pretty ugly if you don't have MIME-aware
  1636.         user agents.
  1637.     Clean up message handling (for display in mailq output).
  1638.     New setproctitle implementation for 4.4bsd.
  1639.     Create files (such as ~/dead.letter) using mode FileMode (the
  1640.         F option value) instead of 0666.
  1641.     Fix bug causing output of EXPN command to not be fully qualified.
  1642.         This may cause some problems with UUCP addresses that
  1643.         will require some config file assistance -- specifically,
  1644.         the $: part has to include the host name for this output
  1645.         to make sense.
  1646.     Fix a problem that sometimes diagnosed errors and still sent the
  1647.         message if the header syntax was bad.
  1648.     Fix a bug that caused an error message to be emailed when sendmail
  1649.         was operating in -bv mode.
  1650.     Add "ListenQueueSize" keyword to daemon options option (OO) to
  1651.         set the queue size parameter passed to listen().  You
  1652.         will normally have to tweak your kernel to up this.
  1653.     Strip spaces off of beginning of message-id before logging (in
  1654.         case it was folded across lines).
  1655.     Tweak compile flags in daemon.c -- there were some cases where
  1656.         it wouldn't work without NETINET.
  1657.     Change *file* mailer to output all the usual default headers
  1658.         (From, Date, Message-Id).  It gets used when sending
  1659.         back error messages.
  1660.     CONFIG: explicitly catch and diagnose list:; syntax in ruleset
  1661.         zero -- this is not a valid recipient syntax according
  1662.         to RFC 821.
  1663.     CONFIG: add confMIME_FORMAT_ERRORS to send error messages in
  1664.         MIME format.  Defaults to on.
  1665.     CONFIG: add SMTP_MAILER_FLAGS and UUCP_MAILER_FLAGS to augment
  1666.         the flags for those mailers.
  1667.  
  1668. 6.56/6.27    93/05/01
  1669.     Fix problem that causes the fallback mail to postmaster
  1670.         (case ESM_POSTMASTER in savemail()) to not look at
  1671.         aliases (ugh).
  1672.     Some more HPUX tweaking (compile flag hpux => __hpux so it
  1673.         still works in ANSI mode).
  1674.     Don't try to flock non-regular files when mailing to a file.
  1675.         In particular, this was a problem if you tried to
  1676.         send to /dev/null.
  1677.     Fix a wierd bug that can cause senders to be queued as
  1678.         recipients if the name server is down when the mail
  1679.         is initially sent.  This hack just ignores sender
  1680.         deletion (essentially, it sets the MeToo flag) if there
  1681.         is a TEMPFAIL during processing of the sender address.
  1682.         Obscure.
  1683.     Fix a dangling else problem -- from Brian Bullen from University
  1684.         of Stirling, UK.
  1685.     Add the "b" mailer flag to force a blank line on the end of
  1686.         messages.  Some brilliant versions of /bin/mail insist
  1687.         on this but do not add it themselves.
  1688.     Add the "g" mailer flag to prevent user SMTP from sending
  1689.         "MAIL From:<>".  This is only intended to be a
  1690.         transitional gesture, and should not be used if at
  1691.         all possible.  It appears that Berkeley and IDA
  1692.         config files have always handled this properly; the
  1693.         UK config kit apparently does not.
  1694.     Don't lowercase and then capitalize header field names -- leave
  1695.         them with original capitalization.  Fixes from Bill
  1696.         King of Allen-Bradley Company.
  1697.     Further cleanup and improved reporting of error messages,
  1698.         particularly conditions that cause messages to be
  1699.         requeued for future delivery.
  1700.     Tweak syslog priorities in some cases.
  1701.     CONFIG: clean up route-addr on UUCP addresses.
  1702.  
  1703. 6.55/6.25    93/04/27
  1704.     HPUX 8.07 compatibility changes in getla() -- I had to make
  1705.         these changes to get it to work at Berkeley, although
  1706.         others seem to have been working before (???).
  1707.     Various patches to XLA code.
  1708.     Fix problem that causes setuid bit on files to be ignored from
  1709.         SMTP or in queue runs.  Problem noted by Jason Ornstein
  1710.         of Under The Wire, Inc.
  1711.     Fix problem that can cause CNAMEs to be ignored.
  1712.     Generalize getmxrr to match local host in $=w instead of a
  1713.         single name passed in.
  1714.     Some cleanup from Eric Wassenaar:
  1715.         Use FileMailer instead of ProgMailer in two places.
  1716.         Eliminate duplicate 8th-bit stripping in commaize.
  1717.         Fix a problem with mis-parsing of backslash escapes
  1718.             under some circumstances.
  1719.     NIS map fix (was always including trailing null character)
  1720.         from Mike Glendinning of Ingres UK.
  1721.     Add "a" mailer flag to try using ESMTP.  It tries the EHLO
  1722.         command and if that fails falls back to regular SMTP.
  1723.         Also parses EHLO option keywords.  If host supports
  1724.         SIZE extension, this is added to the MAIL FROM:
  1725.         command.
  1726.     Extend "b" option to include a second value which is the
  1727.         maximum message size this server is willing to accept.
  1728.         For example, a value of "10/1000000" says that there
  1729.         must be ten blocks free, and sendmail will reject
  1730.         any message larger than one megabyte.
  1731.     Some portability hooks for NeXT (this could be applicable
  1732.         to Mach in general).  You have to create an empty
  1733.         file called "unistd.h" to get it to compile.
  1734.     Adjust config values (MAXLINE, MAXATOM, and PSBUFSIZE) to
  1735.         be more generous.
  1736.     Add X400-Received: to the list of headers tagged with H_TRACE
  1737.         in conf.c.  From Bill King, Allen-Bradley Co.
  1738.  
  1739. 6.54/6.25    93/04/19
  1740.     Fix problem that caused redefinition of SMTP and QUEUE compile
  1741.         flags.  Pointed out by Jon Forrest of the Sequoia 2000
  1742.         project at Berkeley.
  1743.     Properly handle \! hack -- it was treating host\!user as one
  1744.         token (host!user) instead of three (host, !, user).
  1745.         Fix from Eric Wassenaar of NIKHEF-H.
  1746.     Fix compilation problem in getauthinfo() if IDENTPROTO is off.
  1747.     Turn off DEFNAMES and DNSRCH when getting the hostsignature
  1748.         (i.e., MX records) in level 1 configuration files; this
  1749.         matches the old behaviour.  From Motonori Nakamura of
  1750.         Kyoto University.
  1751.     Improve error message printing -- if sent through an alias,
  1752.         error messages include the name of the alias in the
  1753.         message.  Unfortunately, in order to make this work
  1754.         properly in queue runs, this changes the format of the
  1755.         C line in the qf file.  The relatively uselessness of
  1756.         the previous information was pointed out to me by
  1757.         Allan E Johannesen of WPI.
  1758.     Add XLA compile flag to add hooks to Christophe Wolfhugel's
  1759.         extended load average code.  This is still in very early
  1760.         form.  For information regarding the guts of the xla
  1761.         code, contact Christophe.Wolfhugel@grasp.insa-lyon.fr.
  1762.     Additional hooks for detecting tempfails in rewriting rules
  1763.         (that is, in map lookups).
  1764.  
  1765. 6.53/6.25    93/04/15
  1766.     Properly diagnose ruleset zero returning null (instead of a mailer
  1767.         triple).  From Motonori Nakamura of Kyoto University.
  1768.     More generalization of socket code for other protocols.
  1769.     Shorten timeouts on reverse name lookups -- since they are done
  1770.         during connection establishment, long timeouts here can
  1771.         cause higher level timeouts.  This mainly serves to accept
  1772.         mail from hosts that do not have proper reverse (PTR) DNS
  1773.         records set up.
  1774.     Reset e_statmsg before each mailer invocation to avoid bogus
  1775.         messages in the log.
  1776.     Redefine $r, $s, and $_ in error envelopes so you don't get
  1777.         incorrect cruft in the error message.  Problem noted by
  1778.         Motonori Nakamura of Kyoto University.
  1779.     Fix a problem that can cause failure to return errors to Postmaster
  1780.         in certain cases.  From Motonori Nakamura.
  1781.     Fix a problem that can cause some systems to give duplicate error
  1782.         messages when a bad syntax address such as "<a" is presented
  1783.         to an SMTP server.   It doesn't seem to occur on all
  1784.         machines.  From Motonori Nakamura.
  1785.     Default IDENTPROTO off for Ultrix and HPUX, which apparently have
  1786.         the interesting "feature" that when they receive a "Host
  1787.         unreachable" message they closes all open connections to
  1788.         that host.  However, some firewall gateways send this message
  1789.         if you try to connect to an unauthorized port, such as the
  1790.         IDENT port (113).  Thus, no email can be received from such
  1791.         hosts.  There is some evidence that versions of Ultrix before
  1792.         4.3 do not have this problem.  Thanks to Tom Ivar Helbekkmo
  1793.         for pointing out this behaviour to me and to Michael Corrigan
  1794.         of U.C. San Diego for informing me about the HPUX problem.
  1795.     Allow IPC mailers to return a colon-separated list of hosts in the
  1796.         $@ clause; these are searched in order as though they were
  1797.         MX records.
  1798.     When sending an error report, print the list of addresses tagged
  1799.         as bad.  Requested by Allan E Johannesen of WPI.
  1800.     Change map function calls to return a status code.  This gets
  1801.         passed back as the result of rewrite.  Parseaddr marks
  1802.         the address as a QUEUEUP address if the return code is
  1803.         EX_TEMPFAIL.  All this to queue properly if the name
  1804.         server is down.  This code is not well tested.  This code
  1805.         changes the interface to map lookup functions (a fifth
  1806.         parameter, int *statp, is added).  Feature requested by
  1807.         Dan Oscarsson.
  1808.     Don't delete quotes (in the dequote map) if there are spaces in
  1809.         the string, since this would cause them to be replaced by
  1810.         the SpaceSub character.
  1811.     Accept BODY=8BITMIME on SMTP MAIL command.  This isn't advertised
  1812.         because the 8BIT to 7BIT translation doesn't exist yet.
  1813.         This does add a "bodytype" field to both envelope and
  1814.         queue file and a -B command line flag to pass the type in
  1815.         during direct invocations.
  1816.     Discard return error messages only on responses to responses to
  1817.         responses, not on responses to responses.  That is, the
  1818.         algorithm is to try return to sender, then return to
  1819.         postmaster, then discard.  Previously it discarded
  1820.         immediately if the return to sender pass failed.
  1821.     CONFIG: back out change to hide unqualified hostnames behind %-hack.
  1822.         This screws up local aliases and .forward files.
  1823.     CONFIG: add FEATURE(nocanonify) to turn off calls to $[ ... $];
  1824.         some sites only handle completely canonified names.
  1825.         Requested by John Gardiner Myers of CMU.
  1826.     CONFIG: some UUCP code was still included even if FEATURE(nouucp)
  1827.         was specified.
  1828.  
  1829. 6.52/6.24    93/04/10
  1830.     Clean up some minor glitches on error return messages pointed out
  1831.         by Motonori Nakamura of Kyoto University.
  1832.     Fix reply() to not reset SmtpReplyBuffer on fatal errors; this
  1833.         was supposed to reset SmtpMsg Buffer.  This makes the
  1834.         client side code virtually useless.  Reported by Allan
  1835.         E Johannesen of WPI and Phil Brandenberger of Swarthmore.
  1836.     Better debug messages if fuzzy is disabled, suggested by Allan
  1837.         E Johannesen of WPI.
  1838.     Offset SmtpReplyBuffer by four in usersmtp when checking for
  1839.         loopback.  From Eric Wassenaar.
  1840.     Don't set $s until after runinchild in srvrsmtp -- otherwise
  1841.         it gets cleared.  From Eric Wassenaar.
  1842.     Implement IDA-style $&x for deferred macro expansion.
  1843.     More POSIX compatibility.
  1844.     CONFIG: Hide unqualified hostnames behind %-hack using $s as the
  1845.         actual sender.  This is only done if $r is non-null, that
  1846.         is, if this is not locally submitted mail.
  1847.     CONFIG: Add FEATURE(bitdomain) allowing mapping of BITNET host
  1848.         names to internet domains.  A program contributed by
  1849.         John Gardiner Myers of CMU to create the maps is included
  1850.         in the contrib directory (in the "misc" tar file).
  1851.     CONFIG: Add FEATURE(uucpdomain) for a similar mapping for UUCP
  1852.         hosts.  There is currently no tool to create this map.
  1853.  
  1854. 6.51/6.23    93/04/04
  1855.     Add D= mailer flag to specify a path of possible working directories
  1856.         in which to execute the mailer.  This is intended for the
  1857.         prog mailer; some shells can get upset if they don't have
  1858.         access to the current directory.
  1859.     Add RFC 1413 (IDENT) protocol support.  This is only very loosely
  1860.         tested.  This adds a $_ macro to be the authenticated
  1861.         info (in ``user@domain [address]'' form) and debug flag
  1862.         9 to trace the protocol.
  1863.     Check for loopbacks in usersmtp instead of srvrsmtp -- there is no
  1864.         reason for a local agent to not be talking to the localhost
  1865.         (although the inverse is not true).
  1866.     Add a few hooks for automated map rebuilding.  This is certainly
  1867.         not done yet.
  1868.     CONFIG: Have prog mailer specify a path of ``D=$z:/'' -- that is,
  1869.         user's home directory then the root.
  1870.     CONFIG: Log RFC 1413 identification in Received: line.
  1871.  
  1872. 6.50/6.22    93/04/01
  1873.     Fixes to requeueing code to make it compute priority, nrcpts,
  1874.         and the like properly.
  1875.  
  1876. 6.49/6.22    93/04/01
  1877.     Diagnose incorrect privacy flags.  Suggested by Bryan Costales
  1878.         of ICSI.
  1879.     Some ANSI C fixes.
  1880.     Arrange to quote backslashes as well as other special characters
  1881.         in the phrase part of a route-addr.
  1882.     Some fixes to FallBackMX code suggested by Motonori Nakamura of
  1883.         Kyoto University.
  1884.     More vigorous zeroing of CurHostAddr to avoid logging of bogus
  1885.         host addresses when you are actually just printing
  1886.         information from the MCI structure; problem noted by
  1887.         Michael Corrigan of U.C. San Diego.
  1888.     Don't ignore rest of queue if any job is not runnable.  This can
  1889.         also cause an incorrect job to be lost.  Fix from
  1890.         Eric Wassenaar.
  1891.     Always respond "quickly" to RCPT command; do alias expansion and
  1892.         the like later.  This also means that mail for lists that
  1893.         have errors will be acccepted, and an error sent back
  1894.         later.  This is done by instantiating the queue file
  1895.         and then immediately running and requeueing it.
  1896.  
  1897. 6.48/6.22    93/03/30
  1898.     Fix incorrect diagnosis of infinite loop in ruleset.  Problem noted
  1899.         by several people.
  1900.     Improve information printed when infinite loops are discovered.
  1901.     Zero CurHostAddr to fix erroneous internet addresses in log when no
  1902.         addresses can be bound.  Pointed out by Motonori Nakamura
  1903.         of Kyoto University.
  1904.     "Probe" SMTP connections using RSET instead of NOOP "just in case".
  1905.         Suggested by John Gardiner Myers of CMU.
  1906.     Don't warn about -f if you are setting sender to yourself.
  1907.  
  1908. 6.47/6.22    93/03/29
  1909.     Fix incompatible call to endmailer in smtpquit which causes core
  1910.         dumps.  Noted by Allan E Johannesen of WPI.
  1911.     HPUX portability changes from Michael J. Corrigan of UC San Diego.
  1912.     Require MAIL before RCPT command in srvrsmtp.c.  This had been
  1913.         intentional from the 821 draft days when the order wasn't
  1914.         clear, but is silly now.
  1915.     Fix bug in nis_magic routine that was initializing parameters
  1916.         incorrectly.  Fix from Takahiro Kanbe of Fuji Xerox
  1917.         Information Systems Co., Ltd.
  1918.     Change default for PrivacyFlags in conf.c to 0 -- since it always
  1919.         "or"s in new values, there was no way to turn off the
  1920.         AuthWarning stuff.
  1921.     Add O option to set SMTP daemon options.
  1922.     Add V option to set fallback MX host.  This always sorts at lower
  1923.         priority than anything it gets from the name server.  It
  1924.         should only be used for environments with very bad network
  1925.         connectivity.  Requested by several people.
  1926.     Log sending info.  It's not clear this is a good idea.
  1927.     CONFIG: fix typo in mailertable code.  Noted by Phil Brandenberger
  1928.         of Swarthmore.
  1929.     CONFIG: add confDAEMON_OPTIONS and confFALLBACK_MX to set options
  1930.         O and V, respectively.
  1931.  
  1932. 6.46/6.21    93/03/26
  1933.     Fix botch in server SMTP that broke transactions that did not
  1934.         use HELO first (like MH).  Fix from Michael Corrigan
  1935.         of U.C. San Diego.
  1936.     Fall back to other MX records if there is an error anywhere
  1937.         in delivery (actually on MAIL or DATA -- RCPT is harder).
  1938.         Suggested by John Gardiner Myers and Motonori Nakamura.
  1939.     Revert to non-prototypes -- it turns out that our ANSI C
  1940.         compiler is more forgiving than most others about
  1941.         mixing prototyped extern declarations with non-prototyped
  1942.         function definitions.
  1943.     Fix a problem with multi-word class matching pointed out by
  1944.         Neil Rickert.  Given:
  1945.             CX b a.b.c
  1946.             R$+ $=X $+    $: $1 < $2 > $3
  1947.         the input "user@a.b.c" failed instead of being properly
  1948.         rewritten as "user@a.<b>.c".
  1949.     Neil also convinced me that it was correct that $~ should match
  1950.         only one token -- the problem is that it's always possible
  1951.         to add another token, so $~ matches far too eagerly.
  1952.  
  1953. 6.45/6.21    93/03/25
  1954.     Implement multi-word classes (properly!).
  1955.  
  1956. 6.44/6.21    93/03/25
  1957.     Add X-Authentication-Warning: headers to clue users into possible
  1958.         attempts to forge mail.  This is on the authwarnings
  1959.         privacy flag, but is the default.  Suggested by Bryan
  1960.         Costales of ICSI.
  1961.     Pass default units for convtime in so they can be more reasonable.
  1962.     Allow config files to always add a new Comments: header (i.e.,
  1963.         they will be added even if an old one already exists).
  1964.         Suggested by Bryan Costales of ICSI.
  1965.     Allow config files to delete an existing Return-Path: header.
  1966.         These should only be added at final delivery.  Suggested
  1967.         by Bryan Costales of ICSI.
  1968.     Some debugging additions.  Suggested by Bryan Costales of ICSI.
  1969.     Clean up logging of Family 0 addresses.  Noted by David Muir
  1970.         Sharnoff and others.
  1971.     Add a "dequote" map class.  This allows config files to strip
  1972.         quotes off of addresses.  Note that this is not a builtin
  1973.         map, just a class -- so you have to define the map
  1974.         using the K line.
  1975.     Fix a bug in the queueup() loop getting a locked tf where in
  1976.         very odd cases it can fall off the bottom and core dump.
  1977.         Of course, it was P{r Emanuelsson who found it....
  1978.     Open a new transcript when splitting an envelope.  Problem found
  1979.         by Allan E Johannesen of WPI.
  1980.     Improved error output in endmailer if the mailer core dumps.
  1981.     CONFIG: Fix typo in UUCP mailer definition.
  1982.     CONFIG: Default several of the new options on: eight bit input,
  1983.         privacy flags set to "authwarnings", and message warning
  1984.         set to 4h.
  1985.     CONFIG: Use dequote map.
  1986.  
  1987. 6.43/6.20    93/03/23
  1988.     Fix problem with assumption of an sa_len field in a generic
  1989.         sockaddr -- it turns out that most vendors haven't
  1990.         picked up this (very important) fix.
  1991.     Change compilation flags for daemon code -- select one or both
  1992.         of NETINET or NETISO, but don't ever set DAEMON manually.
  1993.     CONFIG: add FEATURE(mailertable) to do IDA-style mailertables.
  1994.  
  1995. 6.42/6.19    93/03/19
  1996.     Use Postmaster as default fallback return address, not root.
  1997.     POSIX changes for file descriptor handling.
  1998.     Diagnose errors writing new queue file.
  1999.     If you change the owner using an owner- alias, also change the
  2000.         error mode to EM_MAIL so that errors don't get dropped
  2001.         into an inappropriate directory.  Problem noted by
  2002.         Allan E Johannesen of WPI.
  2003.     If you are su'ed to root, send email as who you really are, not
  2004.         as root.  From Brian Kantor of U.C. San Diego.
  2005.     Allow warning messages to be sent after a configurable interval
  2006.         has passed without delivery.  The message is sent only
  2007.         once per envelope.  This changes the format of the qf
  2008.         file to have an F line, and the format of the T option
  2009.         to accept take the format "return/warn" (both intervals).
  2010.     Don't force all local names to lower case -- this was left over
  2011.         from the wierd handling of case mapping on aliases.  It
  2012.         is now driven (as expected) by the "u" mailer flag.
  2013.         Problem noted by P{r Emanuelsson.
  2014.     Fix problem that caused headers on returned email to be trashed;
  2015.         they were getting freed, but are still accessible via
  2016.         BlankEnvelope.
  2017.     Fix problem that caused bogus ids to be created on returned
  2018.         mail.
  2019.     Add support for ISO and other non-INET networking.  This is by
  2020.         no means finished yet.  This does assume a lot of other
  2021.         system support, like a version of gethostbyname that
  2022.         returns non-AF_INET addresses.
  2023.     CONFIG: change default on prog mailer to keep upper case in
  2024.         user names (i.e., in the program command line).
  2025.     CONFIG: strip trailing dots off of hosts in uucp mailer before
  2026.         convert to bang format.
  2027.     CONFIG: create new "relay" mailer for $R (LOCAL_RELAY) and $H
  2028.         (MAIL_HUB) delivery that doesn't add local domain.  Note
  2029.         that this violates 821, but is probably "more correct"
  2030.         for what we are trying to do.  Problem pointed out by
  2031.         Michael Graff of Iowa State.
  2032.  
  2033. 6.41/6.18    93/03/18
  2034.     Clean up unnecessary creates of queue ids (i.e., empty qf files)
  2035.         when not needed, such as when starting up an SMTP
  2036.         connection.
  2037.     Fix problem where split envelopes aren't instantiated in the queue.
  2038.         This is quite a serious bug.
  2039.     Owner- aliases had problems with leading spaces causing a
  2040.         premature delimitation.
  2041.  
  2042. 6.40/6.18    93/03/18
  2043.     Have ending 250 (after DATA) include the id; suggested by
  2044.         Brian Kantor of UC San Diego.
  2045.     Add logging on envelope splitting.
  2046.     Change queue ids to have one more letter encoding the hour of
  2047.         the day so that during a single day there is a greater
  2048.         likelihood of uniqueness; requested by Brian Kantor.
  2049.  
  2050. 6.39/6.18    93/03/18
  2051.     Fix minor compile problem if LOCKF is defined.
  2052.     Define size of tobuf in conf.h.  Observed by Toshinari Takahashi
  2053.         of Toshiba.
  2054.     Restore e_sender -- this is equivalent to e_from.q_paddr without
  2055.         decorations such as angle brackets and comments.
  2056.     OSF/1 on Alpha changes from Allan E Johannesen of WPI.
  2057.     CONFIG: fix typo in S3 for list syntax (;: => :;).  Thanks to
  2058.         Christopher Hoover for noting the problem.
  2059.  
  2060. 6.38/6.17    93/03/17
  2061.     Pass envelope to disconnect to avoid another use of CurEnv, which
  2062.         can apparently end up being null at inopportune times.
  2063.     Log "received from" as "relay=" for consistency (suggested by
  2064.         John Gardiner Myers).
  2065.     Fix major bug in header handling:  if no From: line existed in
  2066.         the header (so sendmail inserts one), and the sender is
  2067.         an alias that has an owner, the From: line shows the
  2068.         owner (as well as the envelope).  Fixed by early binding
  2069.         the headers (which will change debugging output).
  2070.     HPUX portability patches from Michael J. Corrigan of UC San Diego.
  2071.     Some attempts to adapt better to out of open file conditions.
  2072.     Some changes to ctladdr handling in queue files.
  2073.  
  2074. 6.37/6.17    93/03/16
  2075.     MAJOR CHANGE:  delete e_sender and e_returnpath (why are these
  2076.         different from e_from?) and $< macro.
  2077.     Log correct IP address in relay= field even if the connection
  2078.         times out.
  2079.     Log "received from [RESPONSE]" on EF_RESPONSE messages (from
  2080.         John Gardiner Myers).
  2081.     Fixes to SysExMsg logging (sometimes just got "message: %s"
  2082.         instead of "message: error message"), noted by Eric
  2083.         Wassenaar.  Also reported by Motonori Nakamura.
  2084.     Improvements to MX piggybacking code, from Motonori Nakamura.
  2085.     Fix case where CurHostName points to an auto variable that has
  2086.         been deallocated (from Motonori Nakamura).
  2087.     Fix bug causing newlines to be included in aliases if option
  2088.         "n" (check alias RHS) is set; bug noted by David Muir
  2089.         Sharnoff.
  2090.     Fix problem causing user names that should be mapped to lower
  2091.         case to not be mapped if they are sent during a queue
  2092.         run.  This greatly simplifies the case mapping code.
  2093.         Problem noted by Allan E Johannesen of WPI.
  2094.     Don't do recipient address rewriting in buildaddr.  This
  2095.         improperly did recipient rewriting on sender addresses,
  2096.         and just seems bogus in general -- but the change could
  2097.         break some .cf files.
  2098.     Pass TZ envariable to child processes for System V.
  2099.     CONFIG: allow LOCAL_RULE_1 and LOCAL_RULE_2 if you want to
  2100.         define those rulesets.
  2101.     KNOWN PROBLEM:  I have seen some problems on SunOS that causes
  2102.         the User Data Base to give errors on some addresses.  I
  2103.         have tracked the problem back at least as far as 93.02.15
  2104.         (version 6.22).  Running with debugging on makes it
  2105.         go away, so I conclude that it is referencing uninitialized
  2106.         stack data.  I haven't been able to track this down yet.
  2107.  
  2108. 6.36/6.16    93/03/08
  2109.     Allow local mailer to specify $@host -- this lets you assign the
  2110.         "foo" part of jgm+foo to $h for passing in to the local
  2111.         mailer.
  2112.     Additional debug printing in getcanonname (show query type).
  2113.     Don't add the e_fromdomain on sender addresses -- this interacts
  2114.         wierdly with the owner- code.
  2115.     Improve delivery logging to not log obvious or meaningless stuff.
  2116.     Include numeric IP address in Received: lines per RFC 1123 section
  2117.         5.2.8.
  2118.     Fixed a bug in checking stat() return value if restrictmailq is
  2119.         set.  Also, check the entire group set instead of just the
  2120.         primary group.  Both from John Gardiner Myers.
  2121.     Don't have usrerr automatically print errno, since this is often
  2122.         misleading.
  2123.     Use transienterror() in makeconnection after connect() fails and
  2124.         in openmailer after execve() fails (from Eric Wassenaar).
  2125.         Also moved transienterror() from util.c to conf.c.
  2126.     Clean up from= logging on response messages.
  2127.     Undo patch allowing prescan to return a null vector -- it breaks
  2128.         too many things.
  2129.     Config: FEATURE(notsticky) lets you use UDB for everything coming
  2130.         in to the machine, even if it is specifically targetted
  2131.         to this machine.  Without it, UDB is bypassed if the user
  2132.         name is fully qualified.
  2133.     Config: fix another minor botch with <> (local mailer wasn't
  2134.         mapping them properly).
  2135.  
  2136. 6.35/6.15    93/03/05
  2137.     Fix getrealhostname to return null if sinlen <= 0 -- this can
  2138.         occur if stdin is a pipe.
  2139.     Avoid infinite loop in getcanonname if name server return
  2140.         NO_DATA (for example).
  2141.     Config: avoid having C flag qualify list syntax and error syntax.
  2142.  
  2143. 6.34/6.14    93/03/05
  2144.     Fix logging in deliver to not pass too many parameters to Ultrix
  2145.         versions of syslog.
  2146.     Don't write the pid file until after the daemon has actually
  2147.         opened and conditioned the connection.
  2148.     Consider addresses "different" if their q_uids differ (so that
  2149.         two users forwarding to the same program will be seen
  2150.         as different, rather than the same).
  2151.     Fix problem with bad parameters in main() -- they set ExitStat
  2152.         but don't exit.
  2153.     Fix null pointer references through RealHostName -- painfully
  2154.         discovered by Allan E Johannesen of WPI.
  2155.     Fix bug causing user@@localhost to core dump (yuch).
  2156.     Config: don't put two @host.dom.ain on users in $=E in SMTP
  2157.         mailer.  Also, catch user@ (no host) in ruleset 0.
  2158.  
  2159. 6.33/6.13    93/03/03
  2160.     Config: add confCW_FILE as the name of the cw configuration file
  2161.         (defaults to /etc/sendmail.cw).  From P{r Emanuelsson.
  2162.     Allow prescan to return a pointer to an empty list -- this is
  2163.         not an error.  Also, clean up error reporting to avoid
  2164.         double errors (prescan reports once, then the caller
  2165.         reports again).
  2166.     Changes to avoid trusting T_ANY queries -- run them, but if you
  2167.         don't get the info you expected, do T_A and T_MX queries
  2168.         anyhow.  This also fixes an oversight where _res.options
  2169.         bits were being ignored.
  2170.     If PRIV_NOVRFY is set, use 252 response code instead of 502 per
  2171.         RFC 1123 section 5.2.3.  It's not 100% clear that this
  2172.         is correct, but it probably works better with stupid
  2173.         mailers that do a VRFY and only check the first digit.
  2174.  
  2175. 6.32/6.12    93/03/02
  2176.     Fix uninitialized variable "protocol" in smtp code.
  2177.     Include <unistd.h> in sendmail.h -- move towards POSIX/ANSI.
  2178.     Additional hooks for RFC 1427 (ESMTP SIZE extension).  This
  2179.         includes requiring that enoughspace() know the system
  2180.         block size, which will undoubtedly break most ports.
  2181.     Trace flag 19 in use for srvrsmtp.c.
  2182.     Additional logging -- notably the sending mailer name.  This
  2183.         also changes the delivery logging to strict field=value
  2184.         syntax.
  2185.     Fix some problems with messages getting sent even to addresses
  2186.         that had been marked bad -- from Eric Wassenaar.
  2187.     More WIDE changes: accept host name inside [...] as non-MXed
  2188.         host.  This is intended ONLY for use inside firewalled
  2189.         environments, where the MX points at the gateway.
  2190.     Change .cf file conventions so that mapping for <> addresses
  2191.         don't have an @ in them (to avoid confusing the C mailer
  2192.         flag).  Pointed out by Neil Rickert.
  2193.     Config extensions for Sam Leffler's FlexFAX software.
  2194.  
  2195. 6.31/6.10    93/02/28
  2196.     Fix some more bugs in alias owner code -- there were some wierd
  2197.         cases where an error in a non-aliased name would override
  2198.         the return info in an aliased name with an owner.
  2199.     Changes from WIDE Project, forwarded to me by Motonori Nakamura:
  2200.         Log actual delivery host (after MX et al); from
  2201.             yasuhiro@dcl.co.jp.
  2202.         Log daemon startup.
  2203.         Deliver Postmaster copies without a body.
  2204.         Better logging of SMTP senders.
  2205.         Send all program email as daemon even when local.
  2206.     As requested in various forms from many people, accept -qIstring
  2207.         to limit queue runs to jobs with queue-id matching string.
  2208.         Similarly for -qRstring for recipients, -qSstring for
  2209.         senders.
  2210.     Initial hooks for ESMTP support (see RFC 1425).
  2211.     Fixed a syntax error in the UUCP mailer specification that caused
  2212.         core dumps on startup.
  2213.     Check for missing A= or P= arguments in mailer definitions.
  2214.  
  2215. 6.30/6.10    93/02/27
  2216.     Require FROZENCONFIG compilation flag to include frozen
  2217.         configuration code.  Frozen configuration is really
  2218.         not a very good idea any more, particularly in shared
  2219.         library environments.
  2220.     Do better checking of errno after opens of :include: and .forward
  2221.         files to defer delivery on network and other transient
  2222.         errors.  Suggestion from Craig Everhart.
  2223.     Fix minor botch in read timeout macro processing.
  2224.     Add FEATURE(nouucp) to config files for sites that know absolutely
  2225.         nothing about UUCP.
  2226.     Add built cf files to distribution tape and clarify how to build
  2227.         them if you don't have the Berkeley make.
  2228.     Some sizeof(long) portability changes for the Alpha, from Allan
  2229.         E Johannesen.
  2230.     Add "restrictmailq" privacy flag -- if set, only people in the same
  2231.         group as your queue directory can print the queue.  If you
  2232.         set this, be sure you also restrict access to log files....
  2233.     Fix another bug in owner-list stuff that can cause data files to
  2234.         be "lost".
  2235.     Fix a bug with queue runs that cause forwards to yourself to go
  2236.         into alias/forwarding loops.  I'm still iffy about this
  2237.         fix.
  2238.     Fix from Eric Wassenaar for suppression of return message code.
  2239.  
  2240. 6.29/6.9    93/02/24
  2241.     Fix yet another problem in alias owner code -- put the wrong return
  2242.         address on the enclosed return-to-sender letter.
  2243.  
  2244. 6.28/6.9    93/02/24
  2245.     Fix botch in alias owner code that caused it to not operate if the
  2246.         error was detected locally.
  2247.  
  2248. 6.27/6.9    93/02/24
  2249.     M_LOCAL => M_LOCALMAILER to avoid conflict with Ultrix include
  2250.         file <sys/mount.h>.
  2251.     Miscellaneous bug fixes from Eric Wassenaar:
  2252.         sendmail -bv -t logs the from line even though in verify
  2253.             mode only.
  2254.         sendmail -v can go into queue mode if shouldqueue returns
  2255.             TRUE.
  2256.     Add route-addr pruning per RFC 1123 section 5.3.3.  This can be
  2257.         disabled using the "R" option.
  2258.     Delete (always undocumented) -R flag (save original recipients);
  2259.         there are ways to syslog(3) these now.
  2260.     Clean up SMTP reply codes -- specify them as needed in the code,
  2261.         instead of in conf.c -- this was needed during the NCP to
  2262.         TCP transition, but seems silly now.  This also changes
  2263.         parameters to message and nmessage.
  2264.     Have mailstats read the .cf file to find the sendmail.st file and
  2265.         get text versions of mailer names.  An initial version of
  2266.         this code was provided by Tuominen Keijo (although the
  2267.         comments indicate the good bits were written by "E.V.").
  2268.     Add yet more System V compatibility hacks.
  2269.     Fix bug in VRFY code (assumes everything must be a local user).
  2270.     Allow specification of any of the hard-wired pathnames in the
  2271.         Makefile.
  2272.     Delete concept of "trusted users" -- this really didn't provide
  2273.         any security anyway, and caused some problems.
  2274.     Delete last vestige of support for the word "at" as an equivalent
  2275.         to the character "@".
  2276.     Propagate owner-foo alias information into the envelope sender.
  2277.         Based on code from John Gardiner Myers.  This is a major
  2278.         semantic change -- beware!
  2279.     Allow $@ on LHS to indicate "match zero" -- this is used to match
  2280.         the null expression.
  2281.  
  2282. 6.26/6.8    93/02/21
  2283.     Don't "lose" queue runs.  Very important fix from (who else?)
  2284.         Eric Wassenaar.
  2285.     Completely reset state on RSET command -- from Eric Wassenaar.
  2286.     Send error messages and return receipts using an envelope sender
  2287.         of <> regardless of the setting of $n.  Rewriting rules
  2288.         can undo this if they feel the necessity, as might be
  2289.         needed for networks that don't understand the syntax.
  2290.         This is permitted by RFC 821 section 3.6 and required by
  2291.         RFC 1123 section 5.3.3.  THIS REQUIRES VERSION 4 CONFIG
  2292.         FILES because the rulesets must be able to parse <>
  2293.         properly.
  2294.     Don't ever send error messages to "<>" -- they will get sent to
  2295.         the local postmaster or dumped in /usr/tmp/dead.letter
  2296.         instead.  Per RFC 1123 section 5.3.3.
  2297.     Explicitly check for email to yourself as a dotted quad.  You
  2298.         have to call $[ [ ... ] $] to get this.
  2299.     Up the message timeout to five days per RFC 1123 section 5.3.1.1.
  2300.     Make all read timeouts individually configurable, as strongly
  2301.         recommended by RFC 1123 section 5.3.2.
  2302.     Use f_bavail (blocks available to regular users) instead of f_bfree
  2303.         (blocks available to superuser) in free block checks.
  2304.     Change $d macro to be the current time, not the origination time,
  2305.         since this is consistent with how it is used now.
  2306.     Generalization of enoughspace from Eric Wassenaar covering
  2307.         SGI, Apollo, HPUX, Ultrix, and SunOS.
  2308.     Ignore process group signals -- some front ends can do this if
  2309.         you kill a window too quickly.  From Eric Wassenaar.
  2310.     Change umask to 022.
  2311.  
  2312. 6.25/6.8    93/02/20
  2313.     Close all cached connections before calling mailers and after
  2314.         forking for delivery (caused double closes which resulted
  2315.         in false errors).
  2316.     Add FEATURE(redirect) in config files -- this allows you to alias
  2317.         old addresses to a pointer to the new address that will
  2318.         give a 551 error message, but not deliver the mail.
  2319.     Some code changes to make the 551 errors look pretty.
  2320.     Names of M4 program paths in config files have changed -- they
  2321.         are all XXX_MAILER_PATH now, to match XXX_MAILER_FLAGS.
  2322.     Fix a bug in the QSELFREF code having to do with empty .forward
  2323.         files, reported by Eric Wassenaar.
  2324.     Add option "p" (privacy flags); this allows you to tune how
  2325.         picky the SMTP server will be.  This also adds the
  2326.         confPRIVACY_FLAGS M4 macro in the config files.
  2327.     Add option "b" (minimum blocks free).  If there are fewer than
  2328.         this number of blocks free on the filesystem containing
  2329.         the queue directory, the SMTP MAIL command will return
  2330.         a 452 response and ask you to try again later.  This
  2331.         also adds the confMIN_FREE_BLOCKS M4 macro in the config
  2332.         files.
  2333.     Made VRFY just verify (doesn't expand aliases and .forward files);
  2334.         EXPN does full expansion.  RCPT in queue-only mode also
  2335.         doesn't chase aliases and .forward.
  2336.  
  2337. 6.24/6.7    93/02/19
  2338.     Increase the number of domain search entries in domain.c to allow
  2339.         for the extra "" entry indicating the root domain.
  2340.         Reported by Motonori Nakamura of Kyoto U.
  2341.     Add a "SMART_HOST" in the configs for UUCP-connected sites that
  2342.         want to forward all mail with extra "@"s to that site.
  2343.         Also allows SMART_HOST, LOCAL_RELAY, and MAIL_HUB to
  2344.         be specified as ``mailer:hostname'' to use an alternate
  2345.         mailer.
  2346.     Clarified and updated some wording in the Operations Guide.
  2347.     Add the "c" mailer flag -- this suppresses all comment parts of
  2348.         addresses (requested by John Curran of NEARnet).
  2349.     Have -v print prompts in -bt mode even if stdin is not a terminal
  2350.         (default behaviour is to be silent if not reading from
  2351.         a terminal).  Suggested by Bryan Costales, ICSI.
  2352.     Move the metacharacters from C0 space (\001-\037) into C1 space
  2353.         (\201-\237).  This also fixes a bunch of potential bugs
  2354.         with G1 characters (\240-\276) in headers relating to
  2355.         negative numbers passed to isspace() et al.
  2356.     Add YP_LAST_MODIFIED and YP_MASTER_NAME to DBM version of alias
  2357.         database if YPCOMPAT is #defined.  Enhancement from
  2358.         Takahiro Kanbe of Fuji Xerox Information Systems Co., Ltd.
  2359.     Add "list" Precedence (-30); this can be used with old sendmails
  2360.         which will map to precedence 0 (which will return error
  2361.         messages).  Suggested by Stephen R. van den Berg.
  2362.     Many bug fixes from Eric Wassenaar of the National Institute for
  2363.             Nuclear and High-Energy Physics, Amsterdam:
  2364.         Clear timeouts properly on open failures in include().
  2365.         Don't dereference through NULL if no home directory found.
  2366.         Re-establish SIGCHLD signal on System 5 in reapchild().
  2367.         Avoid NULL pointer reference on -pFOO flag.
  2368.         Properly handle backslash escapes in comments.
  2369.         Correctly check reply status on SMTP NOOP command.
  2370.         Properly save SMTP error message if peer gives
  2371.             "Service Shutting Down" message.
  2372.         Avoid writing to the transcript if it couldn't be opened.
  2373.         Signal errors in SMTP children to parent properly.
  2374.     Handle self references in a list more globally (include a
  2375.         QSELFREF bit in the address flags).  This enhancement
  2376.         was suggested by Eric Wassenaar.
  2377.     Use initgroups() in hpux, even though it's System-V based.  The
  2378.         HASINITGROUPS compile flag can set this on other systems.
  2379.         This HPUX behaviour was pointed out by Eric Wassenaar.
  2380.  
  2381. 6.23/6.6    93/02/16
  2382.     Clean up handling of LogLevel to make it easier to figure out
  2383.         what's on what level.
  2384.     Change log levels to have some consistency:
  2385.         1    serious system failures, security problems
  2386.         2    lost communications, protocol failures
  2387.         3    other serious failures
  2388.         4    minor errors
  2389.         5    message collection
  2390.         6    vrfy logging, creation of return-to-sender
  2391.         7    delivery failures
  2392.         8    delivery successes
  2393.         9    delivery tempfails (queue ups)
  2394.         10   database expansion
  2395.         >64  debugging
  2396.     Allow IDA-style separated processing on S= and R= in Mailer
  2397.         definition lines.  Note that rulesets 1 and 2 are
  2398.         still used for both addresses as before.  Bruce Lilly
  2399.         gave a convincing argument that RFC976 insists on
  2400.         this behaviour.
  2401.     Added some time zones to arpatounix -- they may not be in the
  2402.         standards, but they are in use.  However, I may delete
  2403.         arpatounix entirely -- there appears to be no reason
  2404.         for it to exist.
  2405.     Change to UUCP mailer (in cf directory) to try to do a saner job.
  2406.         I'm still not certain about this mailer in general.
  2407.  
  2408. 6.22/6.5    93/02/15
  2409.     Fix bug that prevents saving letters in ~/dead.letter.
  2410.     Don't add angle brackets in VRFY command if angle brackets already
  2411.         exist in the address.
  2412.     Fix bogus error message in udbexpand.
  2413.     Null terminate host buffers in buildaddr (broken in 6.21) --
  2414.         IMPORTANT FIX!!
  2415.  
  2416. 6.21/6.5    93/02/15
  2417.     Fix another incorrect error message in alias.c, found by Azuma
  2418.         Okamoto.
  2419.     Fix a couple of problems in the more-configurable config files,
  2420.         found by Tom Ivar Helbekkmo.
  2421.     Fix problem with quoted :include: entries.
  2422.     Don't duplicate the filename on verbose printing of .forward and
  2423.         :include: contents.
  2424.     Extend size of prescan buffer (to allow bigger addresses).  Also,
  2425.         detect some buffer overflows.
  2426.     Log user SMTP protocol errors (log level 4).
  2427.  
  2428. 6.20/6.4    93/02/14
  2429.     Fix another problem in the MCI state machine caused when there
  2430.         were errors generated from the other end to commands
  2431.         other than RCPT.
  2432.  
  2433. 6.19/6.4    93/02/14
  2434.     Include load average support for DEC Alpha running OSF/1.
  2435.     Fix multiple-response problem with errors in MAIL From: line.
  2436.     Fix SMTP reply codes for invalid address syntaxes (give 501;
  2437.         never give multiple error messages for a single message).
  2438.     Fix problem where a cached connection timeout rejects all
  2439.         later connects to that host.
  2440.     Fix incorrect error message if alias.c is compiled with DBM only.
  2441.     Additional changes to fix nested conditionals (from Bruce Lilly).
  2442.     Recover more gracefully from operating system failures, particularly
  2443.         NULL returns from openmailer (from Noritoshi Demizu,
  2444.         OMRON Corporation).
  2445.     Log forward, alias, and userdb expand operations on log level 10;
  2446.         concept suggested by P{r (Pell) Emanuelsson.
  2447.     Changes for HPUX 8.07 compatibility.
  2448.  
  2449. 6.18/6.4    93/02/12
  2450.     Allow any config option to be set using an M4 define.
  2451.     Change UNAME compile flag to HASUNAME for IDA compatibility
  2452.         (besides, it's a better name).
  2453.     Note in README that on SunOS it must be linked -Bstatic.
  2454.     Fairly major change in domain.c to handle wildcard MX records
  2455.         more rationally.  NOTE: the "w" option (no wildcard MX
  2456.         records match local domain) has been eliminated.
  2457.     Fix some unset variable references pointed out by Bruce Lilly.
  2458.     Fix host name in process titles when using cached connection.
  2459.  
  2460. 6.17/6.3    93/01/28
  2461.     Fix System 5 compatibility changes to be compatible with the rest
  2462.         of the world.
  2463.  
  2464. 6.16/6.3    93/01/28
  2465.     Experimental fix for problem handling errors in the SMTP
  2466.         protocol in conjunction with connection caching.
  2467.     System 5 compatibility changes.
  2468.  
  2469. 6.15/6.3    93/01/26
  2470.     Fix a bug that causes local mail delivered using -odq to be
  2471.         eliminated as a duplicate (because it matched the
  2472.         ctladdr, now passed in as a C line).  These changes
  2473.         are pretty tricky......
  2474.  
  2475. 6.14/6.3    93/01/25
  2476.     Add debugging for some MCI errors.
  2477.  
  2478. 6.13/6.3    93/01/22
  2479.     Fix -e compatibility flag to take a value.
  2480.     Fix a couple of minor compilation warnings on Sun cc.
  2481.     Improve error messages in a few cases to be more self-explanatory.
  2482.  
  2483. 6.12/6.3    93/01/21
  2484.     Fix yet-another problem with environment handling, pointed out
  2485.         by Yoshitaka Tokugawa and Tom Ivar Helbekkmo.
  2486.     Some heuristics to try to limit resource exhaustion problems
  2487.         if a downstream host has been down for a long time.
  2488.     Fix problem with incorrect host name being logged in "Connection
  2489.         timed out" messages (from Tom Ivar Helbekkmo).
  2490.     Fix some ANSI C problems (from Takahiro Kanbe).
  2491.     Properly log message sender on returned mail during queue run.
  2492.     Count number of recipients properly.
  2493.     Fix a problem in yp map code.
  2494.     Diagnose "message timed out" (from Motonori Nakamura).
  2495.  
  2496. 6.11/6.3    93/01/20
  2497.     Fix problem with address delimitor inside quotes.
  2498.     Define $k and $=k to be the UUCP name (from the uname call)
  2499.         based on code from Bruce Lilly.
  2500.  
  2501. 6.10/6.2    93/01/18
  2502.     Implement arpatounix (largely code from Bruce Lilly).
  2503.     Log more info (suggested by John Myers).
  2504.     Allow nested $?...$|...$. (inspired by code from Bruce Lilly of
  2505.         Sony US).
  2506.     POSIX compatibility (noted by Keith Bostic).
  2507.     Handle SMTP MAIL command errors properly (urged by several people,
  2508.         notably John Myers of CMU).
  2509.     Do early diagnosis of .cf errors (notably referencing a RHS
  2510.         substitution that isn't on the LHS).
  2511.     Adjust checkpointing to better handle batched recipients, suggested
  2512.         by John Myers.
  2513.     Fix miscellaneous bugs.
  2514.     (config files:)  Implement MAIL_HUB for all local mail (to handle
  2515.         NFS-mounted directories) as urged by Tom Ivar Helbekkmo
  2516.         of the Norwegian School of Economics.
  2517.  
  2518. 6.9/6.1     93/01/13
  2519.     Environment handling simplification/bug fix -- child processes
  2520.         get a minimal, fixed environment.  This avoids different
  2521.         behaviour in queue runs.
  2522.     Handle commas inside comments properly.
  2523.     Properly limit large messages submitted in -obq mode.
  2524.  
  2525. 6.8/6.1        93/01/10
  2526.     Check mtime of thaw file against .cf and sendmail binary, based on
  2527.         code from John Myers.
  2528.  
  2529. 6.7/6.1        93/01/10
  2530.     MX piggybacking, based on code from John Myers@CMU.
  2531.     Allow checkcompat to return -1 to mean tempfail.
  2532.     Bug fix in m_mno computation.
  2533.  
  2534. 6.6/6.1        93/01/09
  2535.     Tuning of queueing functions as recommended by John Gardiner Myers.
  2536.     Return mail headers (no body) on messages with negative precedence.
  2537.     Minor other bug fixes.
  2538.  
  2539. 6.5/6.1        93/01/03
  2540.     Fix botch causing queued headers to have ?XX? prefixes.
  2541.  
  2542. 6.4/6.1        93/01/02
  2543.     Changes to recognize special mailer types (e.g., file) early.
  2544.  
  2545. 6.3/6.1        93/01/01
  2546.     Pass timeouts to sfgets.
  2547.     Check for control characters in addresses.
  2548.     Fixed deferred error reporting.
  2549.     Report duplicate aliases.
  2550.     Handle mixed case recursive aliases.
  2551.     Misc bug fixes.
  2552.  
  2553. 6.2/6.1        92/12/30
  2554.     Put return-receipt-to on a conf.c flag (but don't set it).
  2555.     Fix minor syslog problem.
  2556.