Dan Harkless [Wed, 20 Dec 2000 03:30:14 +0000 (03:30 +0000)]
Just changed a "can" to a "could" since I don't know if most POP3 servers are
like qpopper in not allowing people with APOP activated to log in via normal
POP3.
Shantonu Sen [Thu, 14 Dec 2000 01:30:43 +0000 (01:30 +0000)]
Resolve the circular dependency of libmh on libmts on libmh. The
files mts/generic/client.c and mts.c are moved to sbr/, and mts/generic/mts.h
is moved to h/mts.h. Thus, libmh is self-contained. All header includes
have been appropriately updated, and the Makefiles and configure script
no longer build mts/generic.
Dan Harkless [Tue, 12 Dec 2000 06:19:25 +0000 (06:19 +0000)]
When Shantonu made the new libmts.a, he swapped $(MTSLIB) and libmh.a in
sbr/Makefile.in so that libmh.a comes first, but this causes the build to fail
on Solaris, because libmts.a has to get ruserpass() out of libmh.a. Swapping
them back to the way Ken Hornstein's patch (which I applied on Jul 20) put them,
with libmh.a correctly coming second. If there are times when libmts.a needs to
come second, then it would appear there's a circular dependency and someone
(Shantonu?) did an mts merge incorrectly.
Shantonu Sen [Fri, 8 Sep 2000 00:30:58 +0000 (00:30 +0000)]
Moved code from zotnet/mts to mts/generic. Also, unified generic
mts code and smtp/sendmail into libmts.a as an intermediate, instead
of having two static libs.
Shantonu Sen [Wed, 6 Sep 2000 22:40:03 +0000 (22:40 +0000)]
Took out parsing of military time, which was causing issues when it
encountered something like (MET), which it doesn't recognize as a timezone,
and which was then read as military characters.
Dan Harkless [Thu, 10 Aug 2000 21:32:33 +0000 (21:32 +0000)]
Changed my mind again on scan.MMDDYY and scan.YYYYMMDD. Put the replied /
encrypted column back in, because it's useful to "always" (at least when you
aren't using replied / encrypted) have a space in between the message number and
date, so you can use awk (with the default field separators) to grab message
numbers from scan output.
Dan Harkless [Thu, 10 Aug 2000 20:33:25 +0000 (20:33 +0000)]
Decided that limiting the message number columns to 3 on my scan.MMDDYY and
scan.YYYYMMDD (to try to regain space taken by extra date info) was
ill-conceived. It's not that tough to get past 999 messages, though I imagine
it's rather rare to exceed 9999. Changed these to 4. I had already removed the
"replied / encrypted" column in YYYYMMDD, but this time I removed it on MMDDYY
as well (I've never seen it used...).
Dan Harkless [Sat, 5 Aug 2000 16:00:49 +0000 (16:00 +0000)]
Kimmo's etc/Makefile.in change note implied that install was previously
completely broken. Not the case. I asked Kimmo about it and he clarified that
it failed when building outside the source tree. Fixed the entry to reflect.
Dan Harkless [Mon, 24 Jul 2000 23:03:38 +0000 (23:03 +0000)]
When Shantonu wrote the new, more portable dtimep.lex, he left out the #ifdef
DSTXXX stuff for some reason. Not a good idea, as that code is required for
proper printing of numeric-offset timezones that have daylight saving time.
Without that code, -0700 during DST gets printed as MST instead of PDT.
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.
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.
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.
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.
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.
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).
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.
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.
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".
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!
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.