Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch:
[mmh] / ChangeLog
index 796c9b1..dc73246 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+Mon Mar 13 18:26:03 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch:
+
+            With the patch below, you can add lines like:
+
+                mhshow-suffix-application/msword: .doc
+                mhshow-suffix-application/PostScript: .ps
+
+            to the mhn.defaults file to append the given suffix to a
+           scratch file.  This allows applications which require a
+           certain suffix to run properly.
+
+       * Removed -force_html from lynx entry in mhn.defaults.sh (I
+       believe older versions of lynx lack that option) and added
+       "mhshow-suffix-text/html: .html".
+               
+Mon Mar 06 12:20:20 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Applied Neil W Rickert <rickert+nmh@cs.niu.edu>'s msh.c patch:
+
+            I finally tracked down the problem in msh that was causing
+           errors whenever I tried to examine a 'mmdf' style mailbox.
+
+           It turns out that not enough memory was being allocated with
+           calloc(), causing memory pointers to be overwritten and
+           corrupted.
+               
+Fri Mar 03 16:07:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Changed the new "plussed_user" option to mts.conf's
+       "masquerade:" to "username_extension" after getting feedback from
+       qmail users, who use '-' as a separator rather than '+'.  Removed
+       checking of $USERPLUS variable.  Now check $USERNAME_EXTENSION,
+       which needs to include the appropriate separator for your MTA
+       ('-', '+', or whatever) as its first character.
+               
+Thu Mar 02 23:04:30 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Added a new "boolean" type to mh.h and TRUE and FALSE constants.
+               
+       * Added a note to DIFFERENCES stating that it's out-of-date
+       (Richard was the last one to update it) and that we should
+       consider only documenting incompatibilities with MH there.
+
+       * Implemented (and documented) a third kind of username
+       masquerading: "plussed user" masquerading.  This one was suggested
+       by Neil Rickert <rickert+nmh@cs.niu.edu>.  It's based on sendmail's
+       "plussed user" feature, where mail sent to <user>+<string> will be
+       delivered to <user>.  When it's enabled, it's controlled by the
+       $USERPLUS environment variable.  How is it enabled?  Well, that
+       leads me to:
+
+       * Renamed the "mmailid:" setting in mts.conf to "masquerade:", and
+       changed it so that rather than being a boolean, it can be set to
+       any combination of the three values "draft_from", "mmailid", and
+       "plussed_user".  Thus it is now possible to enable the three types
+       of masquerading individually.
+
+       * Fixed a bug with "mmailid" masquerading (dating back to MH?)
+       where if it was turned on, ','s would no longer be considered
+       GECOS field delimiters.
+       
+Wed Mar 01 23:30:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Changed the GECOS-field '&' translation behavior to be
+       controlled by the BSD42 #define rather than GCOS_HACK, since it's
+       apparently always appropriate on OSes where BSD42 is #defined, and
+       never appropriate on any other OSes.  Thanks to Kimmo Suominen for
+       responding to my "What is this code here for?" comment in mts.c
+       and explaining the feature.
+       
+Mon Feb 28 21:50:29 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Upped the version number to 1.0.3+dev (ideally this should be
+       done by whoever makes a release tar file, immediately after doing
+       so).
+       
+       * Applied Paul Fox <pgf-spam@foxharp.boston.ma.us>'s scansbr.c
+       patch, posted to comp.mail.mh, which he says prevents loss of mail
+       when inc'ing into a full filesystem.
+
+       * Changed "echo > stamp-h.in" in Makefile.in to "date > stamp-h.in"
+       so that stamp-h.in will be different each time configure.in and
+       related files are changed, making it easier to check it in (which
+       is necessary to prevent unnecessary autoconf calls).
+
+       * My declaration of initgroups() in slocal.c to eliminate the "no
+       prototype" warning wasn't portable (FreeBSD 3.[23] choked).  Now
+       use AC_EGREP_HEADER to see where initgroups() is declared, if
+       anywhere.
+
+Sun Feb 20 12:17:15 2000 Ruud de Rooij <ruud@ruud.org>
+
+       * Fix security hole in mhshowsbr.c which allowed untrusted shell
+         code to be executed.
+       
+       * Released nmh 1.0.3.
+
+Thu Feb 10 10:54:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Oops.  %-escapes on mhstore lines in mhn.defaults.sh should not
+       be surrounded by single quotes, as a shell is not spawned when
+       just saving files, and the filenames will end up with literal
+       quotes embedded in them.
+
+Fri Feb 04 12:29:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Whoever originally added the -help switch to all the commands
+       got too cute and had the option itself print out as "-(help)" in
+       the -help output.  I guess the idea was to make reference to the
+       fact that clearly you know about the -help option since you're
+       currently looking at its output.  I think it's a bad idea to
+       overload the meaning of the parentheses, however -- they're
+       supposed to indicate what abbreviated prefix of the switch you're
+       allowed to specify.  It doesn't make sense to show that you're
+       allowed to "abbreviate" the switch to its entire length.
+
+Thu Feb 03 17:52:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Applied wesley.craig@umich.edu's KPOP patches.  According to him:
+
+              The following patch fixes a problem with requesting a
+             service key for a machine that has multiple 'A' records.  It
+             also makes "-kpop" a command line option, for users who
+             would like to use both "kpop" and "pop".
+
+         Did no testing of the new features, as I don't have access to a
+         KPOP server.
+
+       * Modified inc.man and msgchk.man to document Wesley's new -kpop.
+
+       * Modified INSTALL and config.h.in to reflect the new -kpop feature.
+
+Fri Jan 28 17:39:24 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * All %-escapes in mhn.defaults that actually expand to something
+       should be surrounded by single quotes.  Added quotes to the ones
+       in mhn.defaults.sh that were missing them.
+
+       * Added check for lynx to write mhshow-show-text/html line in
+       mhn.defaults.sh.
+
+Thu Jan 27 12:22:25 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * makedir() had multiple bugs dating back to MH.  It passed an
+       octal constant to atoi(), which interpreted it as decimal,
+       resulting in directories with no user read or execute permissions,
+       making nested directory creation fail.  Also, when creating a
+       nested directory, correct permissions were only set on the inner one.
+
+       * A second `make install' would always fail because the check for
+       whether mh_profile.5 existed was written incorrectly.
+       
+Wed Jan 26 02:22:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Added documentation on both types of masquerading to post's man
+       page.
+
+Tue Jan 25 22:58:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Doug's portability fix of my setgid inc autodetection had a
+       caching bug -- if you re-ran configure, uip/Makefile would be
+       corrupted, and installation would bomb out on OSes where inc needs
+       to be setgid.
+
+       * Implemented a new kind of email address masquerading.  Usually,
+       when a user writes a custom "From:" header in a draft, nmh uses it
+       rather than generating one.  However, the user's true address is
+       used in the SMTP envelope "From:" and is revealed in the "Sender:"
+       header.  Now, when mmailid is set to non-zero, the envelope
+       "From:" uses the address specified in the draft "From:" header,
+       and there is no "Sender:" header.  This is useful when sending on
+       behalf of a remote POP3 account or when remote mail robots
+       incorrectly use the envelope "From:" in preference to the body
+       "From:".  This processing has only been implemented for post, not
+       for the undocumented spost (which was already missing some "From:"
+       processing that post has).
+
+Mon Jan 24 22:26:06 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Got rid of the rest of the gcc -Wall warnings that I didn't have
+       time for on 1999-07-15 (and, it would seem, some new ones people
+       introduced since then).  The primary ones were the warnings that
+       default prototypes were being used for [v]snprintf() and
+       str[n]casecmp().  As of right now, there are _no_ compilation
+       warnings except on dtimep.c-lexed (at least under AIX 4.1.5 and
+       Solaris 2.6).
+
+Sun Jan 2 23:42:18 2000 Ruud de Rooij <ruud@ruud.org>
+
+       * Move mhtest from bindir to libdir.
+
+       * Move sendfiles from libdir to bindir.
+
+       * Updated sendfiles manpage to reflect this change.
+
+       * Added documentation for -build and -file switches to repl and 
+         forw manpages (patch from Peter Maydell).
+
+       * Fixed interaction between specifying -cc in profile and -group on 
+         command-line.
+
+Tue Nov 1 13:48:10 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Changed the version number from 1.0.3 to 1.0.2+dev.  There was
+       not unanimous support for my proposed even/odd release/developer
+       version number dichotomy.  1.0.2+dev implies release 1.0.2 plus
+       some development.
+
+Fri Oct 29 13:42:51 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Upped the version number to 1.0.3.  If we don't do this, then
+       when people report bugs against 1.0.2, we won't know "which" 1.0.2
+       they're talking about (since the development source is publically
+       available via CVS).  I think the Linux kernel version numbers are
+       a good model, so the next time we roll a tarball, it should be
+       version 1.0.4 (or higher -- anyhow, an even-numbered version).
+
+Fri Oct 29 06:41:08 1999 Doug Morris <doug@mhost.com>
+
+       * Released nmh-1.0.2.
+
+Tue Oct 26 22:57:00 1999 Doug Morris <doug@mhost.com>
+       
+       * Added check for whether "libtool" is in fact gnu libtool. If
+       it is, it is not used. This is the wrong behavior. If vendor
+       XYZ later on decides to create yet another libtool, we'll be
+       caught again. This works for now.
+
+       * Minor updates to MACHINES refering to Mac OS X.
+
+Thu Oct 21 20:45:37 1999 Doug Morris <doug@mhost.com>
+
+       * Added check for "libtool" (a ranlib type tool for Mac OS X)
+       and modified Makefiles so that nmh will build under Mac OS X.
+
+Sun Oct 17 08:28:56 1999 Ruud de Rooij <ruud@ruud.org>
+
+       * Changed repl defaults to partly revert to MH behaviour,
+         "-cc all" is now only implied with -group.
+
+       * The replcomps template includes cc: header again (as in MH).
+
+       * Updated repl man page to reflect these changes.
+
+Sat Oct 16 02:57:47 1999 Doug Morris <doug@mhost.com>
+
+       * Tweaked configure to handle Solaris and SunOS after the BIND
+       changes. Both need more cleanup.
+
+Sat Oct 16 00:17:36 1999 Doug Morris <doug@mhost.com>
+
+       * Removed BIND define and replaced it with a check for
+       gethostbyname (to determine if the host is DNS aware) and a
+       check for sethostent. This appears to be the right thing to
+       do, but there is no explanation of the reasoning behind the
+       BIND define in the code and it appears to have been used for
+       multiple purposes. 
+
+Wed Oct 13 15:53:53 1999 Doug Morris <doug@mhost.com>
+
+       * Updated manpages Makefile to link mh-profile.5 to
+       mh_profile.5 after installation. Suggestion from Richard Cohen
+        <richard@jubjub.demon.co.uk>.
+
+       * Modified configure.in to check for _IO_write_ptr and libio.h
+       to determine whether to define LINUX_STDIO instead of using 
+       config.guess.
+
+Mon Oct 4 15:22:46 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Added '-L' to the calls of 'ls' in configure.in -- I have seen
+       multiple machines in the past where the mail spool was a symlink
+       to a directory on another device with more free space.
+
+Fri Oct 1 22:36:56 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
+
+       * Fixed a portability problem in Doug's fix of a portability
+       problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg'). 
+
+Sat Sep 25 18:40:43 1999 Ruud de Rooij <ruud@ruud.org>
+
+       * Added config.sub and config.guess to the list of files to be
+       distributed.
+
+       * Fixed bug in sbr/fmt_scan.c where an extra newline would be
+       added if a list of addresses was split over several header lines.
+
+       * In mts/smtp/smtp.c, undefine strlen and strcpy if they are
+       macros, regardless of platform.
+
+       * Allow q to quit mhshow, and n to skip to next part.  Patch from
+       Kimmo Suominen <kim@tac.nyc.ny.us>.
+
+       * Modified mhstore to recognize attachments created by sendfiles
+       with x-conversions=gzip.
+
+Mon Sep 13 21:20:10 1999 Doug Morris <doug@mhost.com>
+
+       * added explicit cast to long from time_t for tclock in
+       post.c.
+
+       * Commented out #ifdefs for <sys/ioctl.h> in termsbr.c since
+       it's needed for ioctl() anyway. This prevents a warning about
+       implicit definition of ioctl().
+
+       * Moved guesses performed by AC_CANONICAL_SYSTEM back into the
+       "User Configuration" section of config.h (moved @TOP@ in
+       acconfig.h) so they're easier to find, should someone actually
+       want to mess with them.
+
+Sun Sep 12 15:50:34 1999 Doug Morris <doug@mhost.com>
+
+       * updated Makefile.in so it recognized COMPLETION-TCSH and
+       COMPLETION-ZSH (only used in make nmhdist). 
+
+       * added prototype for ruserpas to <h/prototypes.h>. Fixes
+       warnings in mhparse.c and mhbuildsbr.c.
+
+       * added include checks for <time.h> and <sys/time.h> to
+       prevent warnings in fmt_compile.c, fmt_scan.c, lock_file.c,
+       sendsbr.c, mhbuildsbr.c, mhcachesbr.c, picksbr.c, and post.c.
+
+       * added include for <zotnet/mts/mts.h> to ali.c, scan.c, ap.c,
+       rcvdist.c, rcvstore.c, rcvtty.c, and spost.c to remove
+       warnings about implicit definition of mts_init().
+
+       * added <grps.h> to slocal.c to prevent warnings about
+       function initgroups.
+
+       * added <h/signals.h> to prevent warning about missing SIGNAL
+       function.
+
+       * added function prototypes to smtp.c, whatnowproc.c,
+       mhbuildsbr.c, mhparse.c, mshcmds.c, show.c, whatnow.c, mhl.c
+       to fix warnings.
+
+       * explicitly declared mbx_style in mshcmds.c and lused in
+       fmtdump.c as type static int instead of just static to
+       prevent warnings.
+       
+       * various code cleanups to prevent ambiguous statements
+       (brackets for if/thens and parens for complicated if
+       statements).
+
+
+Sun Sep 12 09:19:27 1999 Doug Morris <doug@mhost.com>
+
+       * commented out _cleanup() in mf.c because it's the only
+       location in all of the source code where it exists. It was
+       preventing compilation on at least linux.
+
+       * Added check for <db1/ndbm.h> which is the new location where
+       linux systems appear to be stuffing this header file.
+
 Thu Sep  9 23:15:49 1999 Doug Morris <doug@mhost.com>
 
        * fixed varous mkstmep bugs introduced in 1.0.1 by me. Whups!
+
        * added mh_profile SEGV patch from Richard Cohen
-          <richard@jubjub.demon.co.uk> that prevents crashing when
-          mh_profile doesn't end in a newline.
+        <richard@jubjub.demon.co.uk> that prevents crashing when
+        mh_profile doesn't end in a newline. A similar patch was
+       previously sent in by Andrew Bettison <andrewb@zip.com.au>.
+
        * fixed bug in associated with MAILGROUP #define (group "mail"
-         is not universal) -- hard to believe, but true.
+       is not universal) -- hard to believe, but true.
 
 Tue Sep 7 16:47:03 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
 
@@ -444,9 +803,9 @@ Fri May  7 17:18:28 1999  Dan Winship  <danw@mit.edu>
        * Add new section on "Transfer Encodings" to man page for mhbuild.
 
        * In mhbuild.c, split compose_content into compose_content
-         (parse and execute composition string), and scan_content (scan content,
-         decided transfer encoding, check for clash with boundary string).
-         I did a good amount of rearranging of this code.
+         (parse and execute composition string), and scan_content (scan
+         content, decided transfer encoding, check for clash with boundary
+         string).  I did a good amount of rearranging of this code.
 
        * Moved definitions for data structures for parsing MIME
          messages from mhn.c and mhbuild.c to a new include
@@ -1595,10 +1954,11 @@ Sun Dec  1 10:00:00 1996  Richard Coleman  <coleman@math.gatech.edu>
        * Added flist command from exmh distribution.  It doesn't work
          yet, but it compiles :-)
 
-       * Changed default location for install to /usr/local/nmh/{bin,etc,lib,man}.
-         Split files so that format and configuration files go in nmh/etc, and
-         support binaries go in nmh/lib.  Of course, all this can now be changed
-         in the top level Makefile.
+       * Changed default location for install to
+         /usr/local/nmh/{bin,etc,lib,man}.  Split files so that format
+         and configuration files go in nmh/etc, and support binaries go
+         in nmh/lib.  Of course, all this can now be changed in the top
+         level Makefile. 
 
        * Started with mh-6.8.3 as based and converted to autoconf.
          Rewrote all the Makefiles.  Currently only works with sendmail/smtp.