Path:" header was fixed.

          sortm    Will ensure that no messages are lost if it is  in-
                   terrupted.

          whatnow  Will now tell you where it is  leaving  the  draft,
                   when  interrupted  in the initial edit.  Previously
                   the draft was simply unlinked.

          Compilation Options

          LOCKF    This option causes MH to  use  the  lockf()  system
                   call   for   locking  (if  available),  instead  of
                   flock().

























                                January 25, 1991





          Changes for MH 6.7.1                                      13


          CHANGES FOR MH 6.7.1

          The MH.6.7.1 patch release is a maintenance release, and as
          such, provides few changes from the previous release.  This
          is the current released version of MH as of December 14,
          1990.

          User-Visible Changes

          The major change in this release is to the POP daemon
          (popd).  In MH 6.7, it was changed to be able to read both
          UUCP and MMDF-style mailboxes.  This did not work as
          reported.  The code has now been changed to parse MMDF-style
          mailboxes if you are configuring MH to run with MMDF as your
          message transport system.  Otherwise, UUCP-style mailboxes
          are expected.

               Since there are number of client programs available for
          only the POP2 protocol instead of POP3, popd has been
          updated to support both protocols.  This is a major win.  If
          you are compiling with POP turned on, add the `POP2' option
          to your MH config file, and the POP daemon will respond to
          POP2 or POP3 commands.  If you're using POP, there's no rea-
          son not to include this option; it does not affect the
          existing support for POP3.

          Internal Changes

          Some bugs were fixed which in general were not user-visible:

          context     Errors when writing out sequences  are  detected
                      correctly.

          inc         No longer inserts extra blank  lines  into  mes-
                      sages.

          mh-format   A nil pointer bug  in  the  address  parser  was
                      fixed.

          repl, etc.  The malloc/free problem has been fixed.

          rmf         A spelling error in the `-nointeractive'  switch
                      has been corrected.

          rcvtty      Will not print the message size if not available
                      (i.e., zero).

          send/post   Illegal signatures  (those  containing  unquoted
                      "."s) will be quoted.








                               December 14, 1990





          Changes for MH 6.7.0                                      14


          GENERAL CHANGES FOR MH 6.7.0

          The author is pleased to announce that there are very few
          user-visible changes to MH 6.7 from the previous MH 6.6 dis-
          tribution.  The majority of development was in the form of
          bug fixes and slight enhancements.  In addition, this
          release is slightly faster than the previous release.  With
          a few minor exceptions, it is backward-compatible with the
          previous release.  MH 6.7.0 is the current released version
          of MH as of April 12, 1990.

               The changes were made mainly to generalize the source
          code to be compatible with a larger range of systems and
          compilers.  There were many small changes to add declara-
          tions for ANSI C compliance.  The System 5 support has been
          brought up to SYS5 R3, and there is support for Sun OS 4.0.

          User-Visible Changes

          Here a quick summary of the changes that were made which are
          not backward-compatible with the previous release of MH:

          repl   The `-format' and `-noformat' switches have not been
                 functional since MH 5, and have been removed.  Any
                 users who have these switches in their .mh_profile,
                 will have to remove them.

          sortm  Previously, in most cases sortm would fill-in any
                 gaps in the numbering of a folder, by renumbering the
                 messages starting with `1'.  This will no longer
                 occur; for this behavior, use "folder -pack".


          Using Aliases

          A new profile entry `Aliasfile:' has been added.  The ali,
          send, and whom programs will look for this profile entry and
          treat it as they would an argument to `-alias'.  This should
          make it easier for novice MH users to begin using aliases.


          Reading Network News & BBoards

          The UCI BBoards facility can read local BBoards, and if com-
          piled with the `bboards: pop' and `pop: on' options, can
          also read remote BBoards using the Post Office Protocol (POP
          ver. 3).  With this release, MH can instead be compiled to
          read the Network News (i.e., USENET) using the Network News
          Transfer Protocol (NNTP).

               This capability is enabled by compiling MH with the
          `bboards: nntp' and `pop: on' options.  Unfortunately, read-
          ing remote BBoards via the POP and reading the Network News
          via the NNTP are mutually exclusive options.



                                 April 12, 1990





          Changes for MH 6.7.0                                      15


               To support the NNTP, a new module, uip/pshsbr.c, is
          compiled and loaded into bbc and msh instead of
          uip/popsbr.c.  The default BBoard is changed from "system"
          to "general" for the NNTP.

               When reading BBoards, bbc will first look for local
          BBoards, and then contact the NNTP server to read the Net-
          work News.  The location of the NNTP server should be speci-
          fied with the `nntphost:' entry in the mtstailor file (see
          the MH Administrator's Guide for details), or may be speci-
          fied on the command line with the `-host' switch.


          Format Strings

          The manual page mh-format (5) has been rewritten to give a
          better explanation of how to write format strings, and how
          they are interpreted by MH.  A line-by-line description of
          the default repl form file (replcomps) is now included in
          that manual page.

          Some new format functions were added, and others  were  aug-
          mented:

          trim        Strips any leading and trailing white-space from
                      the current string value.

          date2local  Will coerce the date to the local timezone.

          date2gmt    Will coerce the date to GMT.

          divide      Divides the current numeric value by  its  argu-
                      ment.   This  could  be useful for building scan
                      format strings which print large  message  sizes
                      in "Kb" or "Mb".

          friendly    If the address  field  cannot  be  parsed,  this
                      function  will  return  the  text of the address
                      header, instead of a null string.

          szone       A flag indicating whether the timezone  was  ex-
                      plicit in the date string.

          PROGRAM CHANGES

          In addition to the general changes mentioned above, many
          programs have specific new features added, either by new
          switches or by expanded functionality.  Each command's
          manual page gives complete information about its new
          options.  Here is a short summary.

          User Interface Programs

          anno      Accepts a `-nodate' switch which inhibits the date



                                 April 12, 1990





          Changes for MH 6.7.0                                      16


                    annotation, leaving only the body annotation.

          folder    When invoked with the `-pack' switch and the new
                    `-verbose' switch, folder will give information
                    about the actions taken to renumber the folder.

                    On most systems, folder can now create any
                    non-existing parent folders of a new sub-folder.

          forw      When making digests, forw will put the issue and
                    volume numbers in addition to the digest list
                    name, in the digest trailer.

          inc       Detects NFS write failures, and will not zero your
                    maildrop in that event.

          msh       Supports a variant of the new sortm.

          prompter  Considers a period on a line by itself to signify
                    end-of-file when the `-doteof' switch is speci-
                    fied.

          repl      The `-[no]format' switches have not been used
                    since MH 5 and have been deleted. repl will now
                    find filter files in the MH library area.

          scan      With the `-file msgbox' switch, scan can list a
                    packf'd-format file directly (without using msh).

                    Lists messages in reverse order with the
                    `-reverse' switch.  This should be considered a
                    bug.

          sortm     Now has the options: `-textfield field', `-notext-
                    field', `-limit days', and `-nolimit'.

                    With these options, sortm can be instructed to
                    sort a folder based on the contents of an arbi-
                    trary header such as "subject".

                    sortm minimizes renaming messages, and will no
                    longer arbitrarily pack folders; for this
                    behavior, use "folder -pack".

          whatnow   Deletes the draft by renaming it with leading
                    comma, instead of unlinking it.

          MH Support Programs

          The following support programs also have changes or enhance-
          ments:

          mhl     Will now accept a format string  on  any  component,
                  not just on addresses and dates.



                                 April 12, 1990





          Changes for MH 6.7.0                                      17


          popd    Will use shadow passwords if compiled with the SHA-
                  DOW option.  It can now also read UUCP-style mail-
                  drops directly.

          rcvtty  If given no arguments, rcvtty will produce a scan
                  listing as specified by a format string or file; a
                  default format string is used if one is not speci-
                  fied.

                  Before the listing is written to the users terminal,
                  the terminal's bell is rung and a newline is output.
                  The `-nobell' and the `-nonewline' options inhibit
                  these functions.

                  rcvtty will obey terminal write notification set by
                  mesg.  With the `-biff' switch, rcvtty will also
                  obey the mail notification status set by biff.

                  On BSD43 systems, as with write, rcvtty will be
                  installed set-group-id to the group "tty".

          slocal  Understands UUCP-style "From " lines and will write
                  output files using this format if appropriate.
                  Before invoking a delivery program, slocal will
                  strip such lines unless compiled with the RPATHS
                  option, in which case it will will convert such
                  lines into "Return-Path:" headers.

                  slocal has a new result code "N", for use in .mail-
                  delivery files.  With this result code, slocal will
                  perform the action only if the message has not been
                  delivered and the previous action succeeded.  This
                  allows for performing an action only if multiple
                  conditions are true.

          DOCUMENTATION

          Several of the older MH papers have been difficult to format
          because they depended on an older version of PhDTeX which
          was not supplied.  These papers have been updated, and some
          TeX library files are supplied in papers/doclib/, so that
          these papers may be generated on any system with TeX.

               Many of the manual pages have been revised to include
          documentation of new command options, and some have been
          expanded to give more detail.  All are now slightly refor-
          matted at installation time to make them more compatible
          with programs like makewhatis.


          MH ADMINISTRATION

          This section describes changes in configuring, compiling and
          installing MH 6.7 and should not be of interest to casual MH



                                 April 12, 1990





          Changes for MH 6.7.0                                      18


          users.  The READ-ME file has been considerably revised and
          expanded to give more detail about the configuration and
          compilation options which have been included in this
          release.  Some compilation options have been removed, and
          many new options have been added.

               All MH Makefiles have been updated to work around some
          incompatibilities introduced in newer versions of make.  MH
          programs will no longer be installed with the sticky-bit
          turned on.

               Reading this section not a substitute for carefully
          reading the READ-ME file before attempting to compile MH


          Bug Fixes

          Some bugs were fixed which in general were not user-visible:

          address parser  Fixed to allow use of the "AT"  domain,  and
                          some minor bugs were fixed pertaining to ad-
                          dress groups.

          date parser     Improved to accept  more  forms  of  illegal
                          dates.  Military timezones were removed.

          dynamic memory  Many problems with corruption of the dynamic
                          memory pool have been fixed.

          locking         Will open files for write, if  necessary  to
                          enable locking.

          nil pointers    All reported nil pointer problems have  been
                          fixed.

          replcomps       The "In-Reply-To:" header had  quotes  added
                          around the date field to comply with RFC822.

          White Pages

          If MH is compiled with the WP option, send recognizes an
          address between "<<" and ">>" characters such as:

                  To: << rose -org psi >>

          to be a name meaningful to a whitepages service.  In order
          to expand the name, send must be invoked interactively
          (i.e., not from push).  For each name, send will invoke a
          command called fred in a special mode asking to expand the
          name.

               To get a copy of the white pages service, contact
          wpp-manager@psi.com.




                                 April 12, 1990





          Changes for MH 6.7.0                                      19


          Configuration Options

          Some configuration options have been added or changed:

          cc          To specify an alternate C compiler.

          ccoptions   Defaults to `-O'.

          bboards     May now be defined as "on", "off", "pop", or
                      "nntp".

          bbdelivery  Determines whether the bboard delivery agent and
                      library files should be installed.

          lex         To specify an alternate version of lex.

          mailgroup   If defined, inc will be made set-group-id to
                      this group.

          sharedlib   For SUN40 systems; if "on", makes libmh.a into a
                      shared library.

          slibdir     The directory where the above shared library
                      should be installed.

          sprintf     Set this to "int" if that's what your
                      sprintf (3) library routine returns.

          Compilation Options

          For different configurations, several `-D' options to cc
          have been added or changed:

          BERK        This disables the address and date parsing rou-
                      tines.  If you want to do much with
                      mh-format (5), don't enable this.

          BSD43       Will make rcvtty set-group-id to the group
                      "tty".

          DBM         For sites with a dbm-style password file (such
                      as with Yellow Pages), MH will not read the
                      entire passwd file into a cache.  At one site
                      that runs YP on a large passwd file, using this
                      showed a 6:1 performance improvement.

          NETWORK     This option has been deleted.  See SOCKETS.

          NOIOCTLH    Tells MH not to include the file sys/ioctl.h.
                      Use this if this file is not present on your
                      system.

          NTOHLSWAP   On systems with TCP/IP networking, msh will try
                      to use the ntohl() macro from the file



                                 April 12, 1990





          Changes for MH 6.7.0                                      20


                      netinet/in.h to byte-swap the binary map files
                      it writes.

          SENDMAILBUG Some versions of sendmail return a 451 (failure)
                      reply code when they don't mean to indicate
                      failure.  This option considers that code to be
                      equivalent to 250 (OK).

          SHADOW      Causes popd to read the file /etc/shadow for
                      encrypted passwords instead of /etc/passwd.  Use
                      this if you have a shadow password file (such as
                      on newer versions of SYSTEM 5).

          SOCKETS     Enable this if you are on a non-BSD system with
                      a socket interface for TCP/IP networking compa-
                      tible with 4.2BSD UNIX.

          SUN40       Use on Suns running Sun OS 4.0 and later.

          SYS5        This option has been updated to refer to SYS5 R3
                      and later systems.

          SYS5DIR     Use this if your system uses "struct dirent"
                      instead of "struct direct".  This should be true
                      for systems based on SYS5 R3 and later.

          TYPESIG     Defines the base type for the signal system
                      call.  This defaults to "int", but should be
                      defined as "void" if appropriate for your sys-
                      tem.

          WP          Enables support for the White Pages service.

          Installation

          MH will now explicitly set the protection mode on every file
          it installs.

               Previously any existing file installed by MH would be
          backed up into the source tree, and then overwritten.  Now,
          a few system-dependent files will not be overwritten, and
          your changes will have to be merged in by hand.  See the
          READ-ME file for more details.














                                 April 12, 1990


Newsgroups: comp.mail.mh