mmh
23 years agoApplied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch:
Dan Harkless [Fri, 21 Jul 2000 02:35:43 +0000 (02:35 +0000)]
Applied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch:

    I have a small patch that would be nice to be included -- basically, it
    allows the usage of the "MAILHOST" environment variable, without having to
    have HESIOD turned on.  I need this functionality for my environment, where
    we have identical /usr/local on all my machines (so I cannot just hardcode
    into the mts.conf file), and I have multiple POP mail servers for my users.

Modified inc.man to reflect that along with "pophost:" and -host, $MAILHOST can
now activate POP mail inclusion as well.

23 years agoLast pass at README.developers -- Kimmo's 5-step commit was overkill. You only
Dan Harkless [Fri, 21 Jul 2000 02:25:59 +0000 (02:25 +0000)]
Last pass at README.developers -- Kimmo's 5-step commit was overkill.  You only
need 3 steps, since configure.in is the only autoconf file with the RCS $Id
keyword.

23 years agoMeaningless modification to test autoconf file commit order stuff.
Dan Harkless [Fri, 21 Jul 2000 02:11:59 +0000 (02:11 +0000)]
Meaningless modification to test autoconf file commit order stuff.

23 years agoMeaningless change to test autoconf file commit order stuff.
Dan Harkless [Fri, 21 Jul 2000 02:04:37 +0000 (02:04 +0000)]
Meaningless change to test autoconf file commit order stuff.

23 years agoMeaningless change for testing autoconf file commit order stuff.
Dan Harkless [Fri, 21 Jul 2000 02:03:23 +0000 (02:03 +0000)]
Meaningless change for testing autoconf file commit order stuff.

23 years agoMeaningless change to test autoconf commit order stuff.
Dan Harkless [Fri, 21 Jul 2000 01:56:17 +0000 (01:56 +0000)]
Meaningless change to test autoconf commit order stuff.

23 years agoPeople did not preserve my alphabetization of the --with options when they added
Dan Harkless [Fri, 21 Jul 2000 01:43:58 +0000 (01:43 +0000)]
People did not preserve my alphabetization of the --with options when they added
new ones.  Re-alphabetized.

23 years agoKen Hornstein's SASL patch was not integrated properly with Ruud's new merged
Dan Harkless [Thu, 20 Jul 2000 20:49:00 +0000 (20:49 +0000)]
Ken Hornstein's SASL patch was not integrated properly with Ruud's new merged
mts/sendmail code.  Kimmo has since fixed nmh so it compiles, but according to
Ken, the SASL stuff still does not work.  Integrating a patch from him for this.

23 years agoOne more pass at README.developers now that it's clear that my
Dan Harkless [Thu, 20 Jul 2000 20:32:31 +0000 (20:32 +0000)]
One more pass at README.developers now that it's clear that my
previously-suggested one-line autoconf-file commit can cause unnecessary local
makes and an out-of-sync stamp-h.in file, but would not cause problems for other
people using the CVS files.

23 years agoMoved Kimmo's new "--with-hash-backup" to be output with the rest of the --with
Dan Harkless [Thu, 20 Jul 2000 20:14:39 +0000 (20:14 +0000)]
Moved Kimmo's new "--with-hash-backup" to be output with the rest of the --with
options in the configure --help output, rather than being in between two random
--enable options.

23 years agoAdded answer.
Kimmo Suominen [Tue, 18 Jul 2000 23:39:45 +0000 (23:39 +0000)]
Added answer.

23 years agoClarified and made some corrections to Kimmo's README.developers changes (BTW,
Dan Harkless [Tue, 18 Jul 2000 02:15:03 +0000 (02:15 +0000)]
Clarified and made some corrections to Kimmo's README.developers changes (BTW,
if anyone can explain why the RCS Ids are able to cause problems with the
dependencies, please fill in the explanation -- I never encountered a problem
with the old single-commit method).

23 years agoI don't understand why Kim's split-up of the autoconf-file cvs commits should be
Dan Harkless [Tue, 18 Jul 2000 02:07:51 +0000 (02:07 +0000)]
I don't understand why Kim's split-up of the autoconf-file cvs commits should be
necessary, so I left a little note hoping for someone to explain technically why
that should be the case.  I certainly never ran into any problems with my old
single-commit version (which I added back in along with an explanation of why it
supposedly won't always work).

Also Kim's text implied that the _only_ reason for the given order is the RCS
Ids -- not true -- the timestamps are the main reason a particular order is
necessary.  Made a couple of other clarifications as well.

23 years agoIterating the commit a bit, I think this is how it works without extra
Kimmo Suominen [Sun, 16 Jul 2000 06:18:03 +0000 (06:18 +0000)]
Iterating the commit a bit, I think this is how it works without extra
runs of autoconf, autoheader and make.

23 years agoRegen.
Kimmo Suominen [Sun, 16 Jul 2000 06:05:26 +0000 (06:05 +0000)]
Regen.

23 years agoIf $LIBTOOL is empty we should not try to run it.
Kimmo Suominen [Sun, 16 Jul 2000 06:01:28 +0000 (06:01 +0000)]
If $LIBTOOL is empty we should not try to run it.
This gets rid of the "--version: not found" error.

23 years agoGot rid of one mktemp.
Kimmo Suominen [Sun, 16 Jul 2000 05:50:33 +0000 (05:50 +0000)]
Got rid of one mktemp.

23 years agoComplete HAVE_MKSTEMP.
Kimmo Suominen [Sun, 16 Jul 2000 05:11:46 +0000 (05:11 +0000)]
Complete HAVE_MKSTEMP.

23 years agoWe ignore the fact that the user requested SASL, since the pipe to the
Kimmo Suominen [Sun, 16 Jul 2000 04:23:50 +0000 (04:23 +0000)]
We ignore the fact that the user requested SASL, since the pipe to the
mailer is secure.  This allows for easier sharing of the MH profile
across hosts.

23 years agoNote replacement of GNU-makeism in sbr/Makefile.in with a common statement.
Kimmo Suominen [Sun, 16 Jul 2000 04:03:27 +0000 (04:03 +0000)]
Note replacement of GNU-makeism in sbr/Makefile.in with a common statement.

23 years agoSo I don't think you can commit these all in a single commit.
Kimmo Suominen [Sun, 16 Jul 2000 03:58:57 +0000 (03:58 +0000)]
So I don't think you can commit these all in a single commit.
README.developers recommends that (with precise ordering) but
things still get regenerated when I run "make".

23 years agoKeep this working with other makes than GNU.
Kimmo Suominen [Sun, 16 Jul 2000 03:57:47 +0000 (03:57 +0000)]
Keep this working with other makes than GNU.

23 years agoStill missed one SASL stuff thing.
Kimmo Suominen [Sun, 16 Jul 2000 03:56:45 +0000 (03:56 +0000)]
Still missed one SASL stuff thing.

23 years agoChanged "--with-backup-prefix" to "--with-hash-backup" because # is too
Kimmo Suominen [Sun, 16 Jul 2000 03:36:42 +0000 (03:36 +0000)]
Changed "--with-backup-prefix" to "--with-hash-backup" because # is too
difficult for config.status to get right.

23 years agoNote "--with-backup-prefix".
Kimmo Suominen [Sun, 16 Jul 2000 03:15:17 +0000 (03:15 +0000)]
Note "--with-backup-prefix".

23 years agoAdd "--with-backup-prefix" so it can be set easily.
Kimmo Suominen [Sun, 16 Jul 2000 03:13:25 +0000 (03:13 +0000)]
Add "--with-backup-prefix" so it can be set easily.

23 years agoSASL stuff.
Kimmo Suominen [Sun, 16 Jul 2000 02:08:18 +0000 (02:08 +0000)]
SASL stuff.

23 years agoSASL stuff.
Kimmo Suominen [Sun, 16 Jul 2000 01:48:37 +0000 (01:48 +0000)]
SASL stuff.

23 years agoSASL mods.
Kimmo Suominen [Sun, 16 Jul 2000 01:46:50 +0000 (01:46 +0000)]
SASL mods.

23 years agoDeleted the timezone on Kim's SASL patch entry. Ruud has taken to adding the
Dan Harkless [Thu, 13 Jul 2000 21:49:45 +0000 (21:49 +0000)]
Deleted the timezone on Kim's SASL patch entry.  Ruud has taken to adding the
timezone even though all previous entries are missing it, and I don't really
agree with that.  True, on occasion someone in a different timezone will
commit something later in the day than someone else, and even though the second
change happens later, the time may be earlier, but that doesn't happen too often
and isn't really a big deal, IMHO.

Putting textual timezones like "EDT" isn't really the right solution, IMHO,
since some of those tags are ambiguous.  Either an offset-style timezone should
be used or all times should be given as UTC.

I'd just as soon stick with local times, though.

Oh, one thing I forgot to mention in my last CVS entry was that I removed "IMAP"
from the list of protocols supported by Ken's SASL patches -- nmh doesn't have
any IMAP support!

23 years agoModified Kimmo's entry for the application of Ken Hornstein's SASL patches to
Dan Harkless [Thu, 13 Jul 2000 21:42:52 +0000 (21:42 +0000)]
Modified Kimmo's entry for the application of Ken Hornstein's SASL patches to
clarify that it wasn't Ken applying them himself, and clarified what SASL
support actually means.

23 years agoKimmo neglected to commit the regenerated versions of these after changing
Dan Harkless [Thu, 13 Jul 2000 21:41:42 +0000 (21:41 +0000)]
Kimmo neglected to commit the regenerated versions of these after changing
configure.in, forcing people using the CVS source to have to have the autoconf
tools installed.

23 years agoClarified post.man and send.man for those not completely up on SASL terminology.
Dan Harkless [Tue, 11 Jul 2000 21:20:04 +0000 (21:20 +0000)]
Clarified post.man and send.man for those not completely up on SASL terminology.
"SASL encryption layers are not supported for SMTP" means that encryption is
supported for the authentication but not for the subsequent data stream.

23 years agoNote SASL commit.
Kimmo Suominen [Sat, 8 Jul 2000 05:36:58 +0000 (05:36 +0000)]
Note SASL commit.

23 years agoSASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>.
Kimmo Suominen [Fri, 7 Jul 2000 03:48:02 +0000 (03:48 +0000)]
SASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>.

23 years ago* Merged mts/sendmail functionality into mts/smtp; switching between kim-before-sasl
Ruud de Rooij [Mon, 12 Jun 2000 18:07:34 +0000 (18:07 +0000)]
* Merged mts/sendmail functionality into mts/smtp; switching between
smtp and sendmail delivery method is now controlled by mts.conf.
* If tsort cannot deal with loops, in addition to defining tsort as
cat, also define lorder as echo.
* Removed uip/popi.c from list of sources.

23 years agoNew dtimep.lex didn't parse day names properly. Fixed. Also clarified
Dan Harkless [Fri, 9 Jun 2000 02:45:17 +0000 (02:45 +0000)]
New dtimep.lex didn't parse day names properly.  Fixed.  Also clarified
ambiguous comments preceding day_map[] array (from old dtimep.lex) that probably
led to the erroneous cp++ being added.

23 years ago* Added one more mkstemp invocation to uip/spost.c (which was in a
Ruud de Rooij [Wed, 7 Jun 2000 19:06:52 +0000 (19:06 +0000)]
* Added one more mkstemp invocation to uip/spost.c (which was in a
#if 0 block).
* Applied patch from Peter Maydell to clean up permissions handling
and error handling in uip/inc.c.

23 years agoUse cat instead of tsort if tsort cannot deal with loops in its
Ruud de Rooij [Mon, 5 Jun 2000 20:13:54 +0000 (20:13 +0000)]
Use cat instead of tsort if tsort cannot deal with loops in its
input (which is the case for tsort from GNU textutils).

23 years agoIf liblockfile is present, and its dotlockfile program is setgid,
Ruud de Rooij [Mon, 5 Jun 2000 19:20:38 +0000 (19:20 +0000)]
If liblockfile is present, and its dotlockfile program is setgid,
inc does not need to be setgid.

23 years ago* Added autoconf test for Miquel van Smoorenburg's liblockfile
Ruud de Rooij [Sun, 4 Jun 2000 20:24:39 +0000 (20:24 +0000)]
* Added autoconf test for Miquel van Smoorenburg's liblockfile
library, as found on Debian systems.
* Added liblockfile support to sbr/lock_file.c.

23 years agomake clean now removes generated bin files.
Shantonu Sen [Thu, 1 Jun 2000 06:57:57 +0000 (06:57 +0000)]
make clean now removes generated bin files.

23 years agoMade dtimep.lex more lex-friendly.
Shantonu Sen [Wed, 31 May 2000 07:22:43 +0000 (07:22 +0000)]
Made dtimep.lex more lex-friendly.

23 years agoAdded back memory options for AIX to increase available memory.
Shantonu Sen [Wed, 31 May 2000 07:19:30 +0000 (07:19 +0000)]
Added back memory options for AIX to increase available memory.
Took out %option noyywrap, which wasn't understood by AT&T lex, as
well as the -i case-insensitivity flag.

23 years agoadded lint targets for Makefiles and a configure test to find whether lclint or lint...
Doug Morris [Wed, 31 May 2000 05:48:06 +0000 (05:48 +0000)]
added lint targets for Makefiles and a configure test to find whether lclint or lint is installed on the system.

23 years agoApplied Alec Wolman <wolman@cs.washington.edu>'s dropsbr.c patch:
Dan Harkless [Wed, 31 May 2000 02:27:40 +0000 (02:27 +0000)]
Applied Alec Wolman <wolman@cs.washington.edu>'s dropsbr.c patch:

  In the map_write routine, a call is made to map_open and this call is supposed
  to set the "clear" variable to 0 or 1, depending on whether the map file is
  empty or not.  In mh6.8.3, this worked because map_open would set "clear" by
  calling the mbx_Xopen routine.  In nmh, the code for mbx_Xopen was merged into
  mbx_open, but the interface for mbx_open doesn't support the clear variable,
  so that functionality was lost.  The map_open interface still contains "int
  *clear" in the prototype, but never sets it.

  My patch eliminates "clear" from the map_open interface (I checked to make
  sure that map_write is the only client of map_open).  Furthermore, my patch
  also sets the "clear" variable properly at the beginning of map_write by
  calling fstat().  This eliminates the bug in that the value of "clear" being
  used later in the routine was just stack garbage.

  Having a bad value of clear causes this next bug to be triggered: The fp file
  pointer was being opened with fdopen, but in two of the three switch cases it
  wasn't being closed.  In certain cases, this was causing packf to run out of
  file descriptors if you attempted to pack a large folder.

23 years agoA couple more tweaks to etc/Makefile.in:
Dan Harkless [Wed, 31 May 2000 02:13:57 +0000 (02:13 +0000)]
A couple more tweaks to etc/Makefile.in:

    Generated sendfiles script was not a dependency of the `all' target, and was
    incorrectly included in the distribution.

23 years agoINSTALL never documented the etc/*.old thing. Documented the new etc/*.prev
Dan Harkless [Wed, 31 May 2000 00:53:20 +0000 (00:53 +0000)]
INSTALL never documented the etc/*.old thing.  Documented the new etc/*.prev
thing (including a note to watch for diff output).

23 years agoReworded my last entry a bit.
Dan Harkless [Wed, 31 May 2000 00:28:14 +0000 (00:28 +0000)]
Reworded my last entry a bit.

23 years agoetc/Makefile.in was incorrectly installing mts.conf.in and sendfiles.in --
Dan Harkless [Wed, 31 May 2000 00:22:05 +0000 (00:22 +0000)]
etc/Makefile.in was incorrectly installing mts.conf.in and sendfiles.in --
fixed.  Changed the suffix for the backed-up previous versions of the etc files
from the ambiguous .old to .prev.  Use diff and only keep the .prev file around
if different.

23 years agoChangeLog: I think we should use a uniform style in this file. Reformatted
Dan Harkless [Tue, 30 May 2000 22:52:43 +0000 (22:52 +0000)]
ChangeLog:  I think we should use a uniform style in this file.  Reformatted
            Ruud's recent entries.

configure:  Weird.  There's some timestamp screwup somewhere, perhaps in the way
            Makefile.in is written, that caused autoconf to get run after I did
            a `cvs update'.  It regenerated configure, and apparently I'm using
            a different version of autoconf, with a different order of awk
            alternatives.

23 years agoAdded entry for new lexing function and moving from zotnet/tws to sbr
Shantonu Sen [Mon, 29 May 2000 08:00:33 +0000 (08:00 +0000)]
Added entry for new lexing function and moving from zotnet/tws to sbr

23 years agoUpdating root-level files so that zotnet/tws/Makefile is not generated.
Shantonu Sen [Mon, 29 May 2000 07:48:14 +0000 (07:48 +0000)]
Updating root-level files so that zotnet/tws/Makefile is not generated.

23 years agoSynchronizing Makefiles that had gotten out of sync with directory
Shantonu Sen [Mon, 29 May 2000 07:44:51 +0000 (07:44 +0000)]
Synchronizing Makefiles that had gotten out of sync with directory
contents.

23 years agoUpdated sbr functions to include <h/tws.h> instead of <zotnet/tws/tws.h>.
Shantonu Sen [Mon, 29 May 2000 07:43:29 +0000 (07:43 +0000)]
Updated sbr functions to include <h/tws.h> instead of <zotnet/tws/tws.h>.
Also, update Makefile to include new functions dtime.c and dtimep.c

23 years agoUpdating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
Shantonu Sen [Mon, 29 May 2000 07:35:32 +0000 (07:35 +0000)]
Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>

23 years agoMoved date/time functions from zotnet/tws to sbr. More importantly,
Shantonu Sen [Mon, 29 May 2000 07:29:08 +0000 (07:29 +0000)]
Moved date/time functions from zotnet/tws to sbr. More importantly,
wrote a new lexing function dparsetime (dtimep.lex) which
plays nicely with flex, needs no "sed hackery". It might work with
lex, but I haven't tried.

23 years ago* Added autoconf check for getutent().
Ruud de Rooij [Sun, 28 May 2000 16:17:49 +0000 (16:17 +0000)]
* Added autoconf check for getutent().
* Changed uip/rcvtty.c and uip/slocal.c to use getutent() and
  friends.  Since I can only check on Linux, please check if
  this works on other systems.

23 years agoAdded autoconf check for getutent().
Ruud de Rooij [Sun, 28 May 2000 16:15:58 +0000 (16:15 +0000)]
Added autoconf check for getutent().

23 years ago* Applied patch from Peter Maydell to uip/scansbr.c for more
Ruud de Rooij [Sun, 28 May 2000 14:42:01 +0000 (14:42 +0000)]
* Applied patch from Peter Maydell to uip/scansbr.c for more
  checks for write failures.
* Unlink temporary file properly in uip/rcvtty.c.
* Moved viamail from bindir to libdir.
* Changed sendfiles into sendfiles.in, so that path to viamail
  is patched in.
* Added gzip support to sendfiles.
* Added References header to replcomps and replgroupcomps.

23 years agoFixed m_getfld bug which caused segmentation faults when
Ruud de Rooij [Sun, 28 May 2000 12:45:53 +0000 (12:45 +0000)]
Fixed m_getfld bug which caused segmentation faults when
incorporating messages which ended in multiple linefeeds crossing
a buffer boundary.

23 years agomsh has been unable to show MIME messages ever since 1.0. Alec Wolman
Dan Harkless [Fri, 26 May 2000 20:35:30 +0000 (20:35 +0000)]
msh has been unable to show MIME messages ever since 1.0.  Alec Wolman
<wolman@cs.washington.edu> tracked down the problem to the -show flag being
passed to mhshow.  mhshow is equivalent to the old mhn -show, so we don't need
the -show anymore.  Removed it.

23 years agoMoved zotnet/mf to sbr.
Shantonu Sen [Fri, 12 May 2000 05:19:14 +0000 (05:19 +0000)]
Moved zotnet/mf to sbr.

23 years agozotnet/bboards no longer built by default.
Shantonu Sen [Fri, 12 May 2000 04:16:46 +0000 (04:16 +0000)]
zotnet/bboards no longer built by default.

23 years agozotnet/bboards is no longer built by default.
Shantonu Sen [Fri, 12 May 2000 02:55:36 +0000 (02:55 +0000)]
zotnet/bboards is no longer built by default.

23 years agoRemoved zotnet/bboards from default build.
Shantonu Sen [Fri, 12 May 2000 02:51:21 +0000 (02:51 +0000)]
Removed zotnet/bboards from default build.

23 years agoChange to MACHINES to include what platforms nmh *does* compile on.
Shantonu Sen [Thu, 11 May 2000 02:55:11 +0000 (02:55 +0000)]
Change to MACHINES to include what platforms nmh *does* compile on.

23 years agoAdded on whish platforms nmh is known to compile, as polled from
Shantonu Sen [Thu, 11 May 2000 02:53:07 +0000 (02:53 +0000)]
Added on whish platforms nmh is known to compile, as polled from
recent mailings to nmh-workers. Please add liberally.

23 years agoEntered minor change to sbr/Makefile.in
Shantonu Sen [Thu, 11 May 2000 02:24:59 +0000 (02:24 +0000)]
Entered minor change to sbr/Makefile.in

23 years agoRemoved explicit definition of both SRCS *and* OBJS, and made OBJS simple
Shantonu Sen [Thu, 11 May 2000 02:21:34 +0000 (02:21 +0000)]
Removed explicit definition of both SRCS *and* OBJS, and made OBJS simple
a pattern substitution of SRCS, with suffix .c -> .o

23 years agoAdded my getpass() addition to ChangeLog (after the fact, but at least
Shantonu Sen [Thu, 11 May 2000 02:14:21 +0000 (02:14 +0000)]
Added my getpass() addition to ChangeLog (after the fact, but at least
it's in now).

23 years agoAdded mts.conf.5 page per Neil W Rickert <rickert+nmh@cs.niu.edu>'s report:
Dan Harkless [Wed, 10 May 2000 03:39:46 +0000 (03:39 +0000)]
Added mts.conf.5 page per Neil W Rickert <rickert+nmh@cs.niu.edu>'s report:

    This happens on solaris:

     % man mts.conf
     windex entry incorrect:  mts.conf(5) not found.
     No manual entry for mts.conf.

    It is fixed by

     % echo ".so man5/mh-tailor.5" > mts.conf.5

    done in the man5 directory.  We need to add 'mts.conf.5' as a reference
    sourcing mh-tailor.5.

23 years agoPrepended "Portions of this code are" to the copyright message in ruserpass.c
Dan Harkless [Wed, 10 May 2000 00:02:53 +0000 (00:02 +0000)]
Prepended "Portions of this code are" to the copyright message in ruserpass.c
also.

23 years ago* Changed configure.in to use gcc -Wall even without --enable-debug, to prevent
Dan Harkless [Tue, 9 May 2000 21:44:15 +0000 (21:44 +0000)]
* Changed configure.in to use gcc -Wall even without --enable-debug, to prevent
  developers compiling optimized from introducing warnings, and to give
  end-users a warm, fuzzy feeling as they (hopefully) see no warnings come out
  (except perhaps on the lex output file) even with -Wall.

* Renamed getpass() to nmh_getpass() since the prototype for getpass() varies
  from OS to OS, and we want to _always_ use our version of the function.  Fixed
  all the callers to use nmh_getpass() and added it to prototypes.h.
  Semi-arbitrarily upped MAX_PASSWORD_LEN from 128 to 256.  buf was being
  calloc()'d and the memory leaked -- should have just been declared as static
  char array.  Prepended "Portions of this code are" to the copyright message,
  as this version has been changed significantly from the BSD version.

* Added "nmh-local functions to use in preference to OS versions" section to
  README.developers (currently just says to use nmh_getpass() instead of system
  getpass()).

23 years agoOops. Forgot to commit this when I made configure changes yesterday.
Dan Harkless [Tue, 9 May 2000 19:56:57 +0000 (19:56 +0000)]
Oops.  Forgot to commit this when I made configure changes yesterday.

23 years agoAdded steps to README.developers saying to change the version number to
Dan Harkless [Tue, 9 May 2000 08:16:18 +0000 (08:16 +0000)]
Added steps to README.developers saying to change the version number to
X.Y.Z+dev.  Did a little rearranging and changed the FTP dir from /home/ftp to
/var/ftp to reflect Doug's new machine.

23 years agoGot rid of four warnings in Shantonu's new getpass.c. Needed to #include
Dan Harkless [Tue, 9 May 2000 07:55:58 +0000 (07:55 +0000)]
Got rid of four warnings in Shantonu's new getpass.c.  Needed to #include
<stdlib.h> for calloc(), <unistd.h> for ttyname(), and "h/mh.h" for adios().
Also changed ch from char to int to get rid of "comparison is always 1 due to
limited range of data type" on EOF.

23 years agoAlphabetized Shantonu's $pop_kinds output on configure's "pop is enabled" line.
Dan Harkless [Tue, 9 May 2000 07:13:59 +0000 (07:13 +0000)]
Alphabetized Shantonu's $pop_kinds output on configure's "pop is enabled" line.
If POP3 is the only kind of POP enabled, say so, rather than just saying "yes"
(which is ambiguous).

23 years agoShantonu updated the DIFFERENCES file to no longer say that APOP isn't
Dan Harkless [Tue, 9 May 2000 06:53:21 +0000 (06:53 +0000)]
Shantonu updated the DIFFERENCES file to no longer say that APOP isn't
supported, but in so doing, he removed the note that RPOP isn't supported.  Put
it back.

23 years ago* I had alphabetized the --configure options in the --help output
Dan Harkless [Tue, 9 May 2000 06:47:50 +0000 (06:47 +0000)]
* I had alphabetized the --configure options in the --help output
awhile back, but Shantonu added --enable-apop just under --enable-pop.  Put it
in alphabetical order and clarified what --enable-apop does vs. --enable-pop and
--with-krb4.  Also changed --with-mts help line from "mail transport agent" to
"mail transport agent/service" so the 's' in "mts" doesn't seem to come out of
nowhere.

* Added two steps to "releasing nmh" in README.developers.  After
making the tarball, it's a good idea to diff the tree vs. the CVS tree to make
sure no files got left out, and then to chown the files so that they're owned by
root, preventing a Trojaning attack by a malicious remote user with a UID
matching yours.

23 years agoUpdated POP capability to include APOP.
Shantonu Sen [Tue, 9 May 2000 06:27:38 +0000 (06:27 +0000)]
Updated POP capability to include APOP.

23 years agoRemoved unnecessary comments, such as "*This warning no longer applies*"
Shantonu Sen [Tue, 9 May 2000 06:16:52 +0000 (06:16 +0000)]
Removed unnecessary comments, such as "*This warning no longer applies*"

23 years agoFix some compile-time warnings.
Shantonu Sen [Tue, 9 May 2000 06:09:05 +0000 (06:09 +0000)]
Fix some compile-time warnings.

23 years agoDoug informed me that the way I had restored the "lost" version histories was
Dan Harkless [Tue, 9 May 2000 04:52:55 +0000 (04:52 +0000)]
Doug informed me that the way I had restored the "lost" version histories was
wrong, because `cvs checkout's of old versions of nmh wouldn't work properly.
It occurs to me that this could be fixed by simply deleting those tags in the
new-location *,v files, but oh well.  I'm putting everything back to the way
Doug originally had it.  To get the old version history for a file that used to
be in the top directory, you'll need to "blindly" do a `cvs log' there (even
though you won't have a local copy of the file in that directory).  `cvs diff'
will no longer be able to diff pre-move versions vs. post-move versions --
you'll have to do a lot of manual gyrations with `cvs checkout' and then use
`diff'.

23 years agoOkay, now that the old revisions have been recreated, deleting the file. The
Dan Harkless [Tue, 9 May 2000 04:08:55 +0000 (04:08 +0000)]
Okay, now that the old revisions have been recreated, deleting the file.  The
new version is in the 'docs' subdirectory.

23 years agoThis is the nmh-1.0.4 version from 2000-03-15 (I see that I was the one that nmh-1_0_4
Dan Harkless [Tue, 9 May 2000 04:07:15 +0000 (04:07 +0000)]
This is the nmh-1.0.4 version from 2000-03-15 (I see that I was the one that
originally made this change).

23 years agoThis is the nmh-1.0.3 version from 2000-01-18 (1.0.2 had no changes). nmh-1_0_3
Dan Harkless [Tue, 9 May 2000 04:05:46 +0000 (04:05 +0000)]
This is the nmh-1.0.3 version from 2000-01-18 (1.0.2 had no changes).

23 years agoThis is the nmh-1.0.1 version from 1999-05-17. nmh-1_0_2
Dan Harkless [Tue, 9 May 2000 04:03:55 +0000 (04:03 +0000)]
This is the nmh-1.0.1 version from 1999-05-17.

23 years agoFor reasons explained better elsewhere (e.g. Attic/README.developers), the nmh-1_0
Dan Harkless [Tue, 9 May 2000 03:58:04 +0000 (03:58 +0000)]
For reasons explained better elsewhere (e.g. Attic/README.developers), the
version history for this file got lost.  Recreating it.  This version is from
1998-05-08 -- it's the original nmh-1.0 version.

23 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 03:29:37 +0000 (03:29 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

23 years agoOkay. Removing it now. New location is in 'docs' subdirectory.
Dan Harkless [Tue, 9 May 2000 03:27:53 +0000 (03:27 +0000)]
Okay.  Removing it now.  New location is in 'docs' subdirectory.

23 years agoIn the hullaballoo with moving stuff back and forth out of the docs/ directory,
Dan Harkless [Tue, 9 May 2000 03:25:24 +0000 (03:25 +0000)]
In the hullaballoo with moving stuff back and forth out of the docs/ directory,
and trying to figure out the right way to preserve the old version history, this
file's version history prior to the first move into docs/ got wiped.  I
introduced this file into the project after 1.0.3 was released, and was the only
one to modify it until after the 1.0.4 release.  The post-1.0.4 changes have
survived in docs/README.developers, so I just need to check in the 1.0.4 version
and tag it as such, then remove it again, to make a `cvs checkout' of nmh 1.0.4
work again.

23 years agoMan, I'm a retard. Lemme try that again:
Dan Harkless [Tue, 9 May 2000 03:18:50 +0000 (03:18 +0000)]
Man, I'm a retard.  Lemme try that again:

Just a silly note 'cause I'm vain -- below where it currently says:

    Someone ("ssen" -- looks like Doug forgot to update a chroot() passwd file

It originally said " u i d 6 0 0 0 4 " (or a different number), but minus the
spaces.  I guess after Doug added ssen into the chroot() passwd, he did a
search-and-replace for the UID, which changed my comment as well, making it look
like I had no way of determining who ssen was, which is silly.  ;^>

23 years agoJust a silly note 'cause I'm vain --
Dan Harkless [Tue, 9 May 2000 03:12:59 +0000 (03:12 +0000)]
Just a silly note 'cause I'm vain --

23 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 02:43:54 +0000 (02:43 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

23 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 02:36:42 +0000 (02:36 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

23 years agoUpdated pop instructions and indicated use of standard "./configure"
Shantonu Sen [Sun, 7 May 2000 06:59:15 +0000 (06:59 +0000)]
Updated pop instructions and indicated use of standard "./configure"
instead of "sh configure"

23 years agoAn nmh-specific getpass, to remove dependency on system
Shantonu Sen [Sun, 7 May 2000 06:16:43 +0000 (06:16 +0000)]
An nmh-specific getpass, to remove dependency on system
getpass()es, which may or may not do what we want (including
flushing input streams, and taking input from stdin in the
absence of a controlling tty).

23 years agoAdded getpass to SRCS and OBJS.
Shantonu Sen [Sun, 7 May 2000 06:14:31 +0000 (06:14 +0000)]
Added getpass to SRCS and OBJS.

23 years agoRemoved "installing nmh" section. Moved its note about the DIFFERENCES file up
Dan Harkless [Sat, 6 May 2000 15:53:40 +0000 (15:53 +0000)]
Removed "installing nmh" section.  Moved its note about the DIFFERENCES file up
next to the other MH discussion.  Changed out-of-date "README" title (should
have been "README.history") to "README.about -- about nmh".  After committing,
I'll rename the file to README.about inside the CVSROOT.