]> diplodocus.org Git - nmh/blob - ChangeLog
Fixed a type from 'his' to 'this'
[nmh] / ChangeLog
1 Thu Dec 14 14:32:09 2000 Shantonu Sen <ssen@mit.edu>
2
3 * Updated config.guess and config.sub to the most recent
4 versions on ftp://ftp.gnu.org/pub/gnu/config, dated
5 12-07-00. This should prevent configure from failing
6 on never operating systems because config.{guess,sub}
7 couldn't correctly identify them.
8
9 Thu Dec 14 1:30:44 2000 Shantonu Sen <ssen@mit.edu>
10
11 * Fixed the circular dependency created when I moved
12 zotnet/mts to mts/generic and merged them into libmts.
13 mts/generic/client.c and mts/generic/mts.c are now in sbr/
14 (and thus in libmh), which makes libmh self-contained and
15 not depending on an external archive.
16
17 * All include statements now look for mts.h in h/. The
18 Makefiles and configure script have been modified so that
19 mts/generic is no longer built.
20
21 Mon Dec 11 22:08:07 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
22
23 * When Shantonu made the new libmts.a, he swapped $(MTSLIB) and
24 libmh.a in sbr/Makefile.in so that libmh.a comes first, but this
25 causes the build to fail on Solaris, because libmts.a has to get
26 ruserpass() out of libmh.a. Swapping them back to the way Ken
27 Hornstein's patch (which I applied on Jul 20) put them, with
28 libmh.a correctly coming second. If there are times when libmts.a
29 needs to come second, then it would appear there's a circular
30 dependency and someone (Shantonu?) did an mts merge incorrectly.
31
32 Fri Sep 8 01:36:23 2000 Shantonu Sen <ssen@mit.edu>
33
34 * Took out bad time textual time zones like BST and JST.
35 I found them online somewhere, but am not sure if they're
36 correct.
37
38 Fri Sep 8 00:36:48 2000 Shantonu Sen <ssen@mit.edu>
39
40 * Moved zotnet/mts to mts/generic. This code reorganization
41 makes the entire zotnet tree deprecated -- bboards is unneeded,
42 mf was was moved to sbr, tws was rewritten and moved to sbr, and
43 now finally mts.
44
45 * Created a new static library called libmts.a used during
46 compilation which includes the generic mts code and the
47 smtp/sendmail code. This supercedes the functionality of the
48 old libsmtp.a and the remains of libzot.a.
49
50 * Updated header includes to reference the new location of mts.h
51 in mts/generic/mts.h. Also, update the configure and top-level
52 Makefile not to descend into zotnet. Also, they don't descend
53 into mts/mmdf and mts/sendmail (the sendmail code has been
54 merged into the smtp code).
55
56 * Added #include <h/nmh.h> to h/md5.h, since my compile was
57 complaining about implicitly-declared memcpy and memset, which
58 appear to be in strings.h. In any event, nmh.h should take care
59 of it for us.
60
61 * When doing a "make nmhdist", notice that the generated
62 snapshot does not include zotnet of the mts directories as noted
63 above. Since they are no longer compiled, and I don't see any
64 obvious code path to get to them, end-users should probably
65 not need them. If you think otherwise, turn Makefile generation
66 back on in configure.in and turn on recursion into those dirs
67 in the appropriate Makefile.in
68
69 Wed Sep 6 22:40:03 2000 Shantonu Sen <ssen@mit.edu>
70
71 * Tracked down the problem in the new dtimep where time
72 zones were being radically misreported. It was because the
73 parser knew about military time zones (such as M or E) but in
74 some cases did not know about the textual representation of
75 some zones (like MET). When it encountered one of these, the
76 date parser misread MET as the military time zone T (well, first
77 zone M, then E, and finally T). I took military zones out, and
78 things seem much better. Also, the default behavior of parsing
79 time zones appears to default to GMT in the absence of better
80 info, which is less bogus than assuming the mail came from the
81 current time zone, which was the behavior in 1.04.
82
83 Thu Aug 10 13:22:13 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
84
85 * Decided that limiting the message number columns to 3 on my
86 scan.MMDDYY and scan.YYYYMMDD (to try to regain space taken by
87 extra date info) was ill-conceived. It's not that tough to get
88 past 999 messages, though I imagine it's rather rare to exceed
89 9999. Changed these to 4. Also put the "replied / encrypted"
90 column back in YYYYMMDD -- I've never seen it show anything but a
91 space, but that space is useful if you use scan, grep, and awk
92 (with the default field separator) to grab message numbers (I know
93 -- pick should really be used for these purposes...).
94
95 Mon Aug 7 20:11:09 CEST 2000 Ruud de Rooij <ruud@ruud.org>
96
97 * Modify umask set by mhshow to enable user execute bit, so that
98 viewers that create temporary directories (e.g., lynx) will be
99 able to access them.
100
101 Thu Aug 03 17:14:08 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
102
103 * TODO: Allow multiple simultaneous differing contexts, probably
104 each tied to a parent (terminal) process.
105
106 Tue Aug 1 10:48:05 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
107
108 * Makefile install rules should not look for generated files in
109 the source tree -- this will happen to work when configuring and
110 building inside the source tree but will fail when using an
111 external build tree. Fixed etc/Makefile.in.
112
113 Mon Jul 24 16:20:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
114
115 * When Shantonu wrote the new, more portable dtimep.lex, he left
116 out the #ifdef DSTXXX stuff for some reason. Not a good idea, as
117 that code is required for proper printing of numeric-offset
118 timezones that have daylight saving time. Without that code,
119 -0700 during DST gets printed as MST instead of PDT.
120
121 * Renamed DSTXXX as ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST and
122 added an explanatory comment by its #definition.
123
124 * Updated README.developers with the fact that zotnet/tws is going away.
125
126 Thu Jul 20 20:30:52 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
127
128 * Moved Kimmo's new "--with-hash-backup" to be output with the
129 rest of the --with options in the configure --help output. Also,
130 people did not preserve my alphabetization of the --with options
131 when they added new ones. Re-alphabetized.
132
133 * One more pass at README.developers now that it's clear that my
134 previously-suggested one-line autoconf-file commit can cause
135 unnecessary local makes and an out-of-sync stamp-h.in file, but
136 would not cause problems for other people using the CVS files.
137
138 * Ken Hornstein's SASL patch was not integrated properly with
139 Ruud's new merged mts/sendmail code. Kimmo has since fixed nmh so
140 it compiles, but according to Ken, the SASL stuff still does not
141 work. Integrating a patch from him for this.
142
143 * Last pass at README.developers -- Kimmo's 5-step commit was
144 overkill. You only need 3 steps, since configure.in is the only
145 autoconf file with the RCS $Id keyword.
146
147 * Applied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch:
148
149 I have a small patch that would be nice to be included --
150 basically, it allows the usage of the "MAILHOST" environment
151 variable, without having to have HESIOD turned on. I need
152 this functionality for my environment, where we have identical
153 /usr/local on all my machines (so I cannot just hardcode into
154 the mts.conf file), and I have multiple POP mail servers for
155 my users.
156
157 Modified inc.man to reflect that along with "pophost:" and -host,
158 $MAILHOST can now activate POP mail inclusion as well.
159
160 * Fixed warnings from diff on first-time install of nmh. Also
161 added 'echo's clarifying the etc file installation activities.
162
163 Tue Jul 18 19:36:59 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
164
165 * Added the answer to Dan's question in README.developers.
166
167 Mon Jul 17 19:10:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
168
169 * Clarified and made some corrections to Kimmo's README.developers
170 changes (BTW, if anyone can explain why the RCS Ids are able to cause
171 problems with the dependencies, please fill in the explanation --
172 I never encountered a problem with the old single-commit method).
173
174 Sat Jul 15 23:13:49 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
175
176 * Add configure option --with-hash-backup so the backup prefix can
177 be easily changed from "," to "#".
178
179 * Simplified sbr/Makefile.in so that it works with any make.
180
181 * Use mkstemp in sbr/lock_file.c.
182
183 * Commits of autoconf-related files apparently can't all be done
184 in one shot due to RCS Ids changing when committing -- updated
185 README.developers.
186
187 Tue Jul 11 14:18:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
188
189 * Clarified post.man and send.man for those not completely up on
190 SASL terminology. "SASL encryption layers are not supported for
191 SMTP" means that encryption is supported for the authentication
192 but not for the subsequent data stream.
193
194 Sat Jul 8 01:36:19 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
195
196 * Applied Ken Hornstein <kenh@cmf.nrl.navy.mil>'s patches
197 implementing SASL support for POP3 and SMTP. If nmh is compiled
198 with SASL support, using the -sasl switch on the inc, msgchk,
199 post, and send commands will enable authentication encryption for
200 SMTP, and both authentication and data stream encryption for POP3.
201
202 Sat Jun 10 18:37:59 CEST 2000 Ruud de Rooij <ruud@ruud.org>
203
204 * Merged mts/sendmail functionality into mts/smtp; switching between
205 smtp and sendmail delivery method is now controlled by mts.conf.
206
207 * If tsort cannot deal with loops, in addition to defining tsort as
208 cat, also define lorder as echo.
209
210 * Removed uip/popi.c from list of sources.
211
212 Thu Jun 08 19:36:57 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
213
214 * New dtimep.lex didn't parse day names properly. Fixed. Also
215 clarified ambiguous comments preceding day_map[] array (from old
216 dtimep.lex) that probably led to the erroneous cp++ being added.
217
218 Wed Jun 7 20:52:33 CEST 2000 Ruud de Rooij <ruud@ruud.org>
219
220 * Added one more mkstemp invocation to uip/spost.c (which was in a
221 #if 0 block).
222
223 * Applied patch from Peter Maydell to clean up permissions handling
224 and error handling in uip/inc.c.
225
226 Mon Jun 5 22:10:07 CEST 2000 Ruud de Rooij <ruud@ruud.org>
227
228 * Use cat instead of tsort if tsort cannot deal with loops in its
229 input (which is the case for tsort from GNU textutils).
230
231 Mon Jun 5 21:14:36 CEST 2000 Ruud de Rooij <ruud@ruud.org>
232
233 * If lockfile is present, and its dotlockfile program is setgid,
234 inc does not need to be setgid.
235
236 Sun Jun 4 21:35:40 CEST 2000 Ruud de Rooij <ruud@ruud.org>
237
238 * Added autoconf test for Miquel van Smoorenburg's liblockfile
239 library, as found on Debian systems.
240
241 * Added liblockfile support to sbr/lock_file.c.
242
243 Wed May 31 7:19:30 2000 Shantonu Sen <ssen@mit.edu>
244
245 * Fixed up dtimep.lex a bit. Added back memory options for AIX to
246 increase available memory. Took out %option noyywrap, which
247 wasn't understood by AT&T lex, as well as the -i
248 case-insensitivity flag.
249
250 Wed May 31 07:40:45 2000 Doug Morris <doug@mhost.com>
251
252 * Added a lint target to the Makefiles and a check in autoconf
253 to determine whether lint or lclint exists on the system.
254
255 Fri May 30 19:21:48 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
256
257 * etc/Makefile.in was incorrectly installing mts.conf.in and
258 sendfiles.in -- fixed. Generated sendfiles script was not a
259 dependency of the `all' target, and was incorrectly included in
260 the distribution. Changed the suffix for the backed-up previous
261 versions of the etc files from the ambiguous .old to .prev. Added
262 call to diff -- only keep the .prev files around if different from
263 the newly-installed versions (intentionally didn't redirect output
264 to /dev/null so you'll notice when your changed versions are
265 getting moved aside).
266
267 * INSTALL never documented the etc/*.old thing. Documented the
268 new etc/*.prev thing (including a note to watch for diff output).
269
270 * Applied Alec Wolman <wolman@cs.washington.edu>'s dropsbr.c patch:
271
272 In the map_write routine, a call is made to map_open and this
273 call is supposed to set the "clear" variable to 0 or 1,
274 depending on whether the map file is empty or not. In
275 mh6.8.3, this worked because map_open would set "clear" by
276 calling the mbx_Xopen routine. In nmh, the code for mbx_Xopen
277 was merged into mbx_open, but the interface for mbx_open
278 doesn't support the clear variable, so that functionality was
279 lost. The map_open interface still contains "int *clear" in
280 the prototype, but never sets it.
281
282 My patch eliminates "clear" from the map_open interface (I
283 checked to make sure that map_write is the only client of
284 map_open). Furthermore, my patch also sets the "clear"
285 variable properly at the beginning of map_write by calling
286 fstat(). This eliminates the bug in that the value of "clear"
287 being used later in the routine was just stack garbage.
288
289 Having a bad value of clear causes this next bug to be
290 triggered: The fp file pointer was being opened with fdopen,
291 but in two of the three switch cases it wasn't being closed.
292 In certain cases, this was causing packf to run out of file
293 descriptors if you attempted to pack a large folder.
294
295 Mon May 29 7:48:15 2000 Shantonu Sen <ssen@mit.edu>
296
297 * Moved the date parsing routines from zotnet/tws to sbr/ (and
298 tws.h to h/). Updated all source files to reflect to new location
299 of tws.h.
300
301 * Rewrote dparsetime (in dtimep.lex -> dtimep.c) to replace the
302 old zotnet/tws/dtimep.c, dtimep.lex, lexstring.c, lexedit.c, and
303 dtimep.c-lexed. It should now work with flex (although untested
304 with lex), and requires no sed-ing. For now, I have the lexed
305 version in the distribution, so that end-users don't need to worry
306 about running it through flex/lex. I have not added back support
307 for guessing the time zone when it's not specified.
308
309 Sun May 28 17:44:15 CEST 2000 Ruud de Rooij <ruud@ruud.org>
310
311 * Added autoconf check for getutent().
312
313 * Changed uip/rcvtty.c and uip/slocal.c to use getutent() and
314 friends. Since I can only check on Linux, please check if
315 this works on other systems.
316
317 Sun May 28 14:58:49 CEST 2000 Ruud de Rooij <ruud@ruud.org>
318
319 * Applied patch from Peter Maydell to uip/scansbr.c for more
320 checks for write failures.
321
322 * Unlink temporary file properly in uip/rcvtty.c.
323
324 * Moved viamail from bindir to libdir.
325
326 * Changed sendfiles into sendfiles.in, so that path to viamail
327 is patched in.
328
329 * Added gzip support to sendfiles.
330
331 * Added References header to replcomps and replgroupcomps.
332
333 Sun May 28 14:39:31 CEST 2000 Ruud de Rooij <ruud@ruud.org>
334
335 * Fixed m_getfld bug which caused segmentation faults when
336 incorporating messages which ended in multiple linefeeds crossing
337 a buffer boundary.
338
339 Fri May 26 13:21:59 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
340
341 * msh has been unable to show MIME messages ever since 1.0. Alec
342 Wolman <wolman@cs.washington.edu> tracked down the problem to the
343 -show flag being passed to mhshow. mhshow is equivalent to the
344 old mhn -show, so we don't need the -show anymore. Removed it.
345
346 Fri May 12 02:51:21 2000 Shantonu Sen <ssen@mit.edu>
347
348 * zotnet/bboards is not longer built by default. Goal is to move
349 the assorted functions in zotnet into sbr or some more logical
350 place.
351
352 * Moved zotnet/mf to sbr, and changed mf.h references accordingly,
353 as well as Makefiles.
354
355 Thu May 11 02:21:34 2000 Shantonu Sen <ssen@mit.edu>
356
357 * Simplified sbr/Makefile.in so that both SRCS and OBJS aren't
358 seperately and redundantly defined, but so that OBJS is a
359 pattern-substituted version of SRCS with suffix .c -> .o. This
360 should make maintainability easier.
361
362 * Added section to MACHINES indicating what platforms nmh is known
363 to compile and work on, just to give users peace of mind, or
364 something. This is by no means complete or exhaustive, so add
365 whatever you know works.
366
367 Tue May 09 20:38:04 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
368
369 * Alphabetized Shantonu's $pop_kinds output on configure's "pop is
370 enabled" line. If POP3 is the only kind of POP enabled, say so,
371 rather than just saying "yes" (which is ambiguous).
372
373 * Fixed four warnings in Shantonu's new getpass.c. Needed to
374 #include <stdlib.h> for calloc(), <unistd.h> for ttyname(), and
375 "h/mh.h" for adios(). Also changed ch from char to int to get rid
376 of "comparison is always 1 due to limited range of data type" on EOF.
377
378 * Added steps to README.developers saying to change the version
379 number to X.Y.Z+dev. Did a little rearranging and changed the FTP
380 dir from /home/ftp to /var/ftp to reflect Doug's new machine.
381
382 * Changed configure.in to use gcc -Wall even without
383 --enable-debug, to prevent developers compiling optimized from
384 introducing warnings, and to give end-users a warm, fuzzy feeling
385 as they (hopefully) see no warnings come out (except perhaps on
386 the lex output file) even with -Wall.
387
388 * Renamed getpass() to nmh_getpass() since the prototype for
389 getpass() varies from OS to OS, and we want to _always_ use our
390 version of the function. Fixed all the callers to use
391 nmh_getpass() and added it to prototypes.h. Semi-arbitrarily
392 upped MAX_PASSWORD_LEN from 128 to 256. buf was being calloc()'d
393 and the memory leaked -- should have just been declared as static
394 char array. Prepended "Portions of this code are" to the
395 copyright message, as this version has been changed significantly
396 from the BSD version.
397
398 * Added "nmh-local functions to use in preference to OS versions"
399 section to README.developers (currently just says to use
400 nmh_getpass() instead of system getpass()).
401
402 * Prepended "Portions of this code are" to the copyright message
403 in ruserpass.c also.
404
405 * Added mts.conf.5 page per Neil W Rickert <rickert+nmh@cs.niu.edu>'s
406 report:
407
408 This happens on solaris:
409
410 % man mts.conf
411 windex entry incorrect: mts.conf(5) not found.
412 No manual entry for mts.conf.
413
414 It is fixed by
415
416 % echo ".so man5/mh-tailor.5" > mts.conf.5
417
418 done in the man5 directory. We need to add 'mts.conf.5' as a
419 reference sourcing mh-tailor.5.
420
421 Mon May 08 23:51:55 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
422
423 * Doug informed me that the way I had restored the "lost" version
424 histories was wrong, because `cvs checkout's of old versions of
425 nmh wouldn't work properly. It occurs to me that this could be
426 fixed by simply deleting those tags in the new-location *,v files,
427 but oh well. I'm putting everything back to the way Doug
428 originally had it. To get the old version history for a file that
429 used to be in the top directory, you'll need to "blindly" do a
430 `cvs log' there (even though you won't have a local copy of the
431 file in that directory). `cvs diff' will no longer be able to
432 diff pre-move versions vs. post-move versions -- you'll have to do
433 a lot of manual gyrations with `cvs checkout' and then use `diff'.
434
435 * I had alphabetized the --configure options in the --help output
436 awhile back, but Shantonu added --enable-apop just under
437 --enable-pop. Put it in alphabetical order and clarified what
438 --enable-apop does vs. --enable-pop and --with-krb4. Also changed
439 --with-mts help line from "mail transport agent" to "mail
440 transport agent/service" so the 's' in "mts" doesn't seem to come
441 out of nowhere.
442
443 * Added two steps to "releasing nmh" in README.developers. After
444 making the tarball, it's a good idea to diff the tree vs. the CVS
445 tree to make sure no files got left out, and then to chown the
446 files so that they're owned by root, preventing a Trojaning attack
447 by a malicious remote user with a UID matching yours.
448
449 * Changed DIFFERENCES to say that RPOP is not currently supported
450 rather than implying it by saying that APOP, KPOP, and POP[3] are.
451
452 Sun May 07 18:16:43 2000 Shantonu Sen <ssen@mit.edu>
453
454 * Imported NetBSD version of getpass() and made extensive
455 revisions for compatibility with programs that pipe the password
456 to stdin, such as exmh.
457
458 * Removed tests for system ruserpass() which sometimes gave
459 phantom positive results. Also, bext to use internal functions if
460 we ever want to change .netrc format to something else, or access
461 other files.
462
463 Sat May 06 08:28:09 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
464
465 * Restored lost version histories for those moved files by doing a
466 manual `mv' in the CVSROOT on mhost. CVS badly needs a `cvs mv'
467 command so that you can move files (without having physical access
468 to the CVSROOT) without losing versioning. Put MACHINES back at
469 the top level as it needs to be read before building. Fixed DIST
470 variable in {.,docs}/Makefile.in to reflect that and to add
471 missing entry for "INSTALL" file.
472
473 Sat May 06 13:13:07 2000 Doug Morris <doug@mhost.com>
474
475 * Re-cleaned up nmh documentation (by moving things to docs
476 subdir) and modified Makefile & configure.in to handle the change.
477
478 Mon Apr 17 21:28:40 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
479
480 * Scott Blachowicz pointed out that the configure --help output
481 for --enable-masquerade was misleading. Clarified.
482
483 Mon Apr 17 19:01:00 2000 Shantonu Sen <ssen@mit.edu>
484
485 * APOP support can be compiled in to inc and msgchk using
486 --enable-apop.
487
488 * To access an APOP host, specify -apop on the command line
489 along with any -host or -user option.
490
491 Fri Apr 14 23:10:44 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
492
493 * Upped the version number to 1.0.4+dev until the next nmh release.
494
495 * Added a "releasing nmh" section to README.developers, while the
496 process was fresh in my mind.
497
498 Fri Apr 14 18:21:34 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
499
500 * Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and
501 ChangeLog_MH-6.7.0_to_MH-6.8.4.html to DIST target in Makefile.in.
502
503 * Released nmh-1.0.4.
504
505 Tue Apr 11 21:37:03 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
506
507 * Applied Brian Campbell <bacam@tardis.ed.ac.uk>'s mhn.defaults.sh
508 patch:
509
510 It appears that there shouldn't be quotes around the %s in the
511 iso-8859-1 charset entry; xterm passes the remaining arguments
512 to the program, quoting them means that xterm thinks they're
513 part of the program's name.
514
515 This %s isn't the same as the "Insert content subtype" one from
516 mhshow-show-* -- it doesn't come from MIME headers and is safe not
517 to quote.
518
519 Sun Apr 09 13:03:59 2000 Doug Morris <doug@mhost.com>
520
521 * added check in fmt_compile() to handle a single-character
522 format string. fmt_compile() depends on having an array of
523 format characters with an empty item at the end. A
524 single-character format would cause programs using this
525 function to segfault because the algorithm used to decide on
526 the length of the array mistakenly created a single-item array
527 when the format string was one character. This eventually
528 caused problems when the program attempted to test item+1
529 in the array.
530
531 Thu Apr 06 21:53:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
532
533 * Richard Coleman threw out a lot of old MH-specific files in nmh.
534 Much of the stuff, indeed, is not worth saving, but there are
535 nuggets that are very worthwhile, and should probably be added
536 back in. Most important, IMHO, are the MH change logs, as they
537 can help answer questions like "Why is this code like this?" or
538 "How long has this been broken?" or "What was this ever used for?"
539
540 I've added a new file to the nmh tree called
541 ChangeLog_MH-3_to_MH-6.6. It's cobbled together from the
542 mh-6.8.4/papers/mh*/MHCHANGES files. I've re-ordered the entries
543 to go from newest at the top to oldest at the bottom to match the
544 ChangeLog convention. Unfortunately there are no change logs for
545 versions of MH prior to 3 in the MH tar files available at
546 <ftp://ftp.ics.uci.edu/pub/mh>. Also, it appears to me that there
547 are MH-6.6 changes that aren't documented in the logs.
548
549 I've also added ChangeLog_MH-6.7.0_to_MH-6.8.4.html. This is
550 based on mh-6.8.4/papers/changes/mh-changes.ms. The nroff format
551 and its "catman"-type output are a pain to deal with, but I was
552 loath to throw away the formatting, so I converted the file to
553 HTML. The only actual markup in the body are the "<B>" and "<U>"
554 tags, and "&lt;" and "&gt;" instead of '<' and '>', so it's quite
555 doable to view the file in plain ASCII mode as well. Note that
556 some of the changes this file documents as having been made in
557 MH-6.8.4 may not be present in nmh -- Richard started with 6.8.3
558 and later put in certain 6.8.4 stuff.
559
560 Wed Apr 05 21:09:28 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
561
562 * Applied Eric Schnoebelen <eric@cirr.com>'s mhshowsbr.c patch
563 fixing apparent bugs in Dan Winship's new security quoting code:
564
565 Since upgrading, I've been getting the following errors
566 while attempting to process some MIME messages:
567
568 (1) Syntax error: Unterminated quoted string
569 exit 2
570
571 and:
572
573 (2) line 1/10 (END)Segmentation fault (core dumped)
574
575 (2) appears to be due to the testing of an unset pointer in
576 mhshowsbr.c:show_multi_aux(). (1) appears to be caused by
577 mis-quoting a filename being handed to the shell in
578 mhshowsbr.c:show_content_aux().
579
580 Resolving the pointer reference issue in
581 mhshowsbr.c:show_multi_aux() turned up a similar mis-quoting
582 problem in the routine.
583
584 Tue Mar 28 16:17:39 2000 Doug Morris <doug@mhost.com>
585
586 * Applied Todd.Miller@courtesan.com's patch to dropsbr.c to
587 prevent core dumping on packf. Here's the note from his message:
588
589 Since sizeof(buffer) == sizeof(tmpbuffer) packf will dump
590 core on a file w/o a From line with a line >= BUFSIZ.
591 I noticed this because I had a junk file in my mail
592 spool somehow.
593
594 Fri Mar 17 11:59:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
595
596 * wesley.craig@umich.edu did not document his previous KPOP patch,
597 so I did so, and asked him to check what I wrote. Unfortunately
598 he didn't notice my misunderstanding of his patch. I wrote that
599 if you #define POPSERVICE "kpop", inc and msgchk will use KPOP
600 exclusively, but if you leave it as "pop3", you can use Wesley's
601 new -kpop switch on a given invocation. Instead, however, -kpop
602 turned out to be necessary on every invocation, and a KPOP user
603 complained. Applied Wesley's new patch, which makes things work
604 like I thought his original patch did. After that, did one more
605 clarifying pass to the documentation in inc.man and msgchk.man.
606
607 Wed Mar 15 18:45:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
608
609 * When I fixed the long-standing makedir() bugs in January, I had
610 the code call strtoul(..., 0), which I believed to be safe as all
611 modes specified as ASCII constants in the nmh code started with a
612 leading zero (signifying octal), which I did as it would work if
613 internal constants were ever changed to hex. Unfortunately I was
614 unaware of the "Folder-Protect:" .mh_profile entry, which
615 mh-profile.man documents as an octal-only constant, with no
616 leading zero required. I've changed the strtoul() call to an
617 atooi() call and removed the misleading leading zeroes on the
618 ASCII octal constants in the code and man pages. Also changed the
619 "Folder-Protect:" example in the man page to something more
620 interesting than a duplication of the default.
621
622 * When I added my --enable-masquerade option, you'll note that I
623 didn't make it --enable-nmh-masquerade. I find the --enable-nmh-*
624 options too wordy and I'm not sure why Richard went that route.
625 I've renamed them to just --enable-*, but the old versions will
626 still work as well (they just aren't advertised).
627
628 * Added a line to the "nmh configuration" output saying whether
629 POP is enabled.
630
631 * Added a new README.developers file. From the file:
632
633 This file is intended to provide a few tips for anyone doing
634 development on nmh. Developers who learn things "the hard
635 way" about the nmh codebase (as opposed to local info best
636 encoded in a comment) are encouraged to share their wisdom
637 here.
638
639 Currently the topics are "autoconf files" and "directory structure".
640
641 Tue Mar 14 12:41:48 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
642
643 * Applied, after some finessing,
644 Simon Burge <simonb@thistledown.com.au>'s --with-smtpservers patch:
645
646 Here's a patch that allows you to add
647
648 --with-smtpservers=<some.host.name>
649
650 to the ./configure command line to set the "servers: " line in
651 etc/mts.conf. Around here, we use "mailhost" so that all
652 machines in the current domain just talk to a central machine
653 and nothing else runs an MTA. Now, I can use
654
655 --with-smtpservers=mailhost
656
657 instead of having to remember to fix this by hand (and often
658 forgetting to do so!).
659
660 * Inspired by Simon's patch, added an --enable-masquerade option
661 to configure. It will set the "masquerade:" line of mts.conf.
662 You may specify a subset of the three types of masquerading, like
663 --enable-masquerade="draft_from mmailid", or leave off explicit
664 arguments to enable all three types.
665
666 * Alphabetized the --enable and --with options in configure.in and
667 INSTALL and added documentation of the two new options to the latter.
668
669 * Added new dependency for mts.conf: Makefile. If this isn't
670 done, then when you reconfigure nmh with new values for
671 --enable-masquerade or --with-smtpservers, you'll fail to get an
672 updated copy of mts.conf.
673
674 * Applied Simon Burge <simonb@thistledown.com.au>'s dtimep.lex patch:
675
676 It seems that some MUA's didn't handle y2k very well - ELM
677 seems to be one of them, and Ultrix's DXmail (based on MH!).
678 I've got a few emails this month that look like:
679
680 575 Jan 00 Xxxxxx Xxxx 3603 ...
681 and
682 22+ Jan 00 Xxx Xxxxx 1771 ...
683
684 The first has "15 Jan 100" as the date and the second has
685 "19 Jan 00" as the date. The following works around this so
686 that scan, show, sortm, etc work ok.
687
688 I put Simon's patch under the control of a new #define called
689 FIX_NON_Y2K_COMPLIANT_MUA_DATES. There's some commentary in
690 acconfig.h about when you might not want to #define it.
691
692 * Created new dtimep.c-lexed with Simon's change using dtimep.lex
693 lexed on Solaris 2.6. Added missing dependency in
694 zotnet/tws/Makefile.in for dtimep.c: dtimep.c-lexed.
695
696 * Added scan.MMDDYY and scan.YYYYMMDD format files.
697
698 Mon Mar 13 21:32:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
699
700 * Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch:
701
702 With the patch below, you can add lines like:
703
704 mhshow-suffix-application/msword: .doc
705 mhshow-suffix-application/PostScript: .ps
706
707 to the mhn.defaults file to append the given suffix to a
708 scratch file. This allows applications which require a
709 certain suffix to run properly.
710
711 * Removed -force_html from lynx entry in mhn.defaults.sh (I
712 believe older versions of lynx lack that option) and added
713 "mhshow-suffix-text/html: .html".
714
715 * Modified username_extension masquerading to only use the
716 extended address on generated [Resent-]From: lines and SMTP
717 envelope From:. With Neil's original implementation, nmh's global
718 idea of the username was changed, which would result in inc lying
719 and saying you had no new mail because it was looking for a
720 mailbox called, for instance, "dan-nmh" (where username was "dan"
721 and $USERNAME_EXTENSION was "-nmh").
722
723 * Applied Simon Burge <simonb@thistledown.com.au>'s dtime.c patch:
724
725 There's a wrap-around problem that affects the implementation
726 of Zeller's congruence in dtime.c. This causes the day-of-week
727 calculations to fail for dates after Feb 29, 2000 (probably up
728 until some year far in the future).
729
730 Mon Mar 06 12:20:20 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
731
732 * Applied Neil W Rickert <rickert+nmh@cs.niu.edu>'s msh.c patch:
733
734 I finally tracked down the problem in msh that was causing
735 errors whenever I tried to examine a 'mmdf' style mailbox.
736
737 It turns out that not enough memory was being allocated with
738 calloc(), causing memory pointers to be overwritten and
739 corrupted.
740
741 Fri Mar 03 16:07:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
742
743 * Changed the new "plussed_user" option to mts.conf's
744 "masquerade:" to "username_extension" after getting feedback from
745 qmail users, who use '-' as a separator rather than '+'. Removed
746 checking of $USERPLUS variable. Now check $USERNAME_EXTENSION,
747 which needs to include the appropriate separator for your MTA
748 ('-', '+', or whatever) as its first character.
749
750 Thu Mar 02 23:04:30 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
751
752 * Added a new "boolean" type to mh.h and TRUE and FALSE constants.
753
754 * Added a note to DIFFERENCES stating that it's out-of-date
755 (Richard was the last one to update it) and that we should
756 consider only documenting incompatibilities with MH there.
757
758 * Implemented (and documented) a third kind of username
759 masquerading: "plussed user" masquerading. This one was suggested
760 by Neil Rickert <rickert+nmh@cs.niu.edu>. It's based on sendmail's
761 "plussed user" feature, where mail sent to <user>+<string> will be
762 delivered to <user>. When it's enabled, it's controlled by the
763 $USERPLUS environment variable. How is it enabled? Well, that
764 leads me to:
765
766 * Renamed the "mmailid:" setting in mts.conf to "masquerade:", and
767 changed it so that rather than being a boolean, it can be set to
768 any combination of the three values "draft_from", "mmailid", and
769 "plussed_user". Thus it is now possible to enable the three types
770 of masquerading individually.
771
772 * Fixed a bug with "mmailid" masquerading (dating back to MH?)
773 where if it was turned on, ','s would no longer be considered
774 GECOS field delimiters.
775
776 Wed Mar 01 23:30:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
777
778 * Changed the GECOS-field '&' translation behavior to be
779 controlled by the BSD42 #define rather than GCOS_HACK, since it's
780 apparently always appropriate on OSes where BSD42 is #defined, and
781 never appropriate on any other OSes. Thanks to Kimmo Suominen for
782 responding to my "What is this code here for?" comment in mts.c
783 and explaining the feature.
784
785 Mon Feb 28 21:50:29 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
786
787 * Upped the version number to 1.0.3+dev (ideally this should be
788 done by whoever makes a release tar file, immediately after doing
789 so).
790
791 * Applied Paul Fox <pgf-spam@foxharp.boston.ma.us>'s scansbr.c
792 patch, posted to comp.mail.mh, which he says prevents loss of mail
793 when inc'ing into a full filesystem.
794
795 * Changed "echo > stamp-h.in" in Makefile.in to "date > stamp-h.in"
796 so that stamp-h.in will be different each time configure.in and
797 related files are changed, making it easier to check it in (which
798 is necessary to prevent unnecessary autoconf calls).
799
800 * My declaration of initgroups() in slocal.c to eliminate the "no
801 prototype" warning wasn't portable (FreeBSD 3.[23] choked). Now
802 use AC_EGREP_HEADER to see where initgroups() is declared, if
803 anywhere.
804
805 Sun Feb 20 12:17:15 2000 Ruud de Rooij <ruud@ruud.org>
806
807 * Fix security hole in mhshowsbr.c which allowed untrusted shell
808 code to be executed.
809
810 * Released nmh 1.0.3.
811
812 Thu Feb 10 10:54:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
813
814 * Oops. %-escapes on mhstore lines in mhn.defaults.sh should not
815 be surrounded by single quotes, as a shell is not spawned when
816 just saving files, and the filenames will end up with literal
817 quotes embedded in them.
818
819 Fri Feb 04 12:29:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
820
821 * Whoever originally added the -help switch to all the commands
822 got too cute and had the option itself print out as "-(help)" in
823 the -help output. One theory is that they were making reference
824 to the fact that clearly you know about the -help option since
825 you're currently looking at its output. I think it's a bad idea
826 to overload the meaning of the parentheses, however -- they're
827 supposed to indicate what abbreviated prefix of the switch you're
828 allowed to specify.
829
830 The other theory is that because you can say something like
831 "mhstore -" and get "mhstore: - ambiguous. It matches" followed
832 by the same list of switches you get with -help, they were saying
833 you can "sorta" abbreviate "-help" as "-". You don't get the
834 "Usage:" string, though, so it's not really the same thing.
835
836 Thu Feb 03 17:52:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
837
838 * Applied wesley.craig@umich.edu's KPOP patches. According to him:
839
840 The following patch fixes a problem with requesting a
841 service key for a machine that has multiple 'A' records. It
842 also makes "-kpop" a command line option, for users who
843 would like to use both "kpop" and "pop".
844
845 Did no testing of the new features, as I don't have access to a
846 KPOP server.
847
848 * Modified inc.man and msgchk.man to document Wesley's new -kpop.
849
850 * Modified INSTALL and config.h.in to reflect the new -kpop feature.
851
852 Fri Jan 28 17:39:24 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
853
854 * All %-escapes in mhn.defaults that actually expand to something
855 should be surrounded by single quotes. Added quotes to the ones
856 in mhn.defaults.sh that were missing them.
857
858 * Added check for lynx to write mhshow-show-text/html line in
859 mhn.defaults.sh.
860
861 Thu Jan 27 12:22:25 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
862
863 * makedir() had multiple bugs dating back to MH. An octal
864 constant was apparently being interpreted as decimal, resulting in
865 directories with no user read or execute permissions, making
866 nested directory creation fail. And there wasn't even an
867 _attempt_ to set desired permissions (e.g. from "Folder-Protect:"
868 in .mh_profile) on the outer directories of a nested directory.
869
870 * A second `make install' would always fail because the check for
871 whether mh_profile.5 existed was written incorrectly.
872
873 Wed Jan 26 02:22:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
874
875 * Added documentation on both types of masquerading to post's man
876 page.
877
878 Tue Jan 25 22:58:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
879
880 * Doug's portability fix of my setgid inc autodetection had a
881 caching bug -- if you re-ran configure, uip/Makefile would be
882 corrupted, and installation would bomb out on OSes where inc needs
883 to be setgid.
884
885 * Implemented a new kind of email address masquerading. Usually,
886 when a user writes a custom "From:" header in a draft, nmh uses it
887 rather than generating one. However, the user's true address is
888 used in the SMTP envelope "From:" and is revealed in the "Sender:"
889 header. Now, when mmailid is set to non-zero, the envelope
890 "From:" uses the address specified in the draft "From:" header,
891 and there is no "Sender:" header. This is useful when sending on
892 behalf of a remote POP3 account or when remote mail robots
893 incorrectly use the envelope "From:" in preference to the body
894 "From:". This processing has only been implemented for post, not
895 for the undocumented spost (which was already missing some "From:"
896 processing that post has).
897
898 Mon Jan 24 22:26:06 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
899
900 * Got rid of the rest of the gcc -Wall warnings that I didn't have
901 time for on 1999-07-15 (and, it would seem, some new ones people
902 introduced since then). The primary ones were the warnings that
903 default prototypes were being used for [v]snprintf() and
904 str[n]casecmp(). As of right now, there are _no_ compilation
905 warnings except on dtimep.c-lexed (at least under AIX 4.1.5 and
906 Solaris 2.6).
907
908 Sun Jan 2 23:42:18 2000 Ruud de Rooij <ruud@ruud.org>
909
910 * Move mhtest from bindir to libdir.
911
912 * Move sendfiles from libdir to bindir.
913
914 * Updated sendfiles manpage to reflect this change.
915
916 * Added documentation for -build and -file switches to repl and
917 forw manpages (patch from Peter Maydell).
918
919 * Fixed interaction between specifying -cc in profile and -group on
920 command-line.
921
922 Tue Nov 1 13:48:10 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
923
924 * Changed the version number from 1.0.3 to 1.0.2+dev. There was
925 not unanimous support for my proposed even/odd release/developer
926 version number dichotomy. 1.0.2+dev implies release 1.0.2 plus
927 some development.
928
929 Fri Oct 29 13:42:51 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
930
931 * Upped the version number to 1.0.3. If we don't do this, then
932 when people report bugs against 1.0.2, we won't know "which" 1.0.2
933 they're talking about (since the development source is publically
934 available via CVS). I think the Linux kernel version numbers are
935 a good model, so the next time we roll a tarball, it should be
936 version 1.0.4 (or higher -- anyhow, an even-numbered version).
937
938 Fri Oct 29 06:41:08 1999 Doug Morris <doug@mhost.com>
939
940 * Released nmh-1.0.2.
941
942 Tue Oct 26 22:57:00 1999 Doug Morris <doug@mhost.com>
943
944 * Added check for whether "libtool" is in fact gnu libtool. If
945 it is, it is not used. This is the wrong behavior. If vendor
946 XYZ later on decides to create yet another libtool, we'll be
947 caught again. This works for now.
948
949 * Minor updates to MACHINES refering to Mac OS X.
950
951 Thu Oct 21 20:45:37 1999 Doug Morris <doug@mhost.com>
952
953 * Added check for "libtool" (a ranlib type tool for Mac OS X)
954 and modified Makefiles so that nmh will build under Mac OS X.
955
956 Sun Oct 17 08:28:56 1999 Ruud de Rooij <ruud@ruud.org>
957
958 * Changed repl defaults to partly revert to MH behaviour,
959 "-cc all" is now only implied with -group.
960
961 * The replcomps template includes cc: header again (as in MH).
962
963 * Updated repl man page to reflect these changes.
964
965 Sat Oct 16 02:57:47 1999 Doug Morris <doug@mhost.com>
966
967 * Tweaked configure to handle Solaris and SunOS after the BIND
968 changes. Both need more cleanup.
969
970 Sat Oct 16 00:17:36 1999 Doug Morris <doug@mhost.com>
971
972 * Removed BIND define and replaced it with a check for
973 gethostbyname (to determine if the host is DNS aware) and a
974 check for sethostent. This appears to be the right thing to
975 do, but there is no explanation of the reasoning behind the
976 BIND define in the code and it appears to have been used for
977 multiple purposes.
978
979 Wed Oct 13 15:53:53 1999 Doug Morris <doug@mhost.com>
980
981 * Updated manpages Makefile to link mh-profile.5 to
982 mh_profile.5 after installation. Suggestion from Richard Cohen
983 <richard@jubjub.demon.co.uk>.
984
985 * Modified configure.in to check for _IO_write_ptr and libio.h
986 to determine whether to define LINUX_STDIO instead of using
987 config.guess.
988
989 Mon Oct 4 15:22:46 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
990
991 * Added '-L' to the calls of 'ls' in configure.in -- I have seen
992 multiple machines in the past where the mail spool was a symlink
993 to a directory on another device with more free space.
994
995 Fri Oct 1 22:36:56 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
996
997 * Fixed a portability problem in Doug's fix of a portability
998 problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg').
999
1000 Sat Sep 25 18:40:43 1999 Ruud de Rooij <ruud@ruud.org>
1001
1002 * Added config.sub and config.guess to the list of files to be
1003 distributed.
1004
1005 * Fixed bug in sbr/fmt_scan.c where an extra newline would be
1006 added if a list of addresses was split over several header lines.
1007
1008 * In mts/smtp/smtp.c, undefine strlen and strcpy if they are
1009 macros, regardless of platform.
1010
1011 * Allow q to quit mhshow, and n to skip to next part. Patch from
1012 Kimmo Suominen <kim@tac.nyc.ny.us>.
1013
1014 * Modified mhstore to recognize attachments created by sendfiles
1015 with x-conversions=gzip.
1016
1017 Mon Sep 13 21:20:10 1999 Doug Morris <doug@mhost.com>
1018
1019 * added explicit cast to long from time_t for tclock in
1020 post.c.
1021
1022 * Commented out #ifdefs for <sys/ioctl.h> in termsbr.c since
1023 it's needed for ioctl() anyway. This prevents a warning about
1024 implicit definition of ioctl().
1025
1026 * Moved guesses performed by AC_CANONICAL_SYSTEM back into the
1027 "User Configuration" section of config.h (moved @TOP@ in
1028 acconfig.h) so they're easier to find, should someone actually
1029 want to mess with them.
1030
1031 Sun Sep 12 15:50:34 1999 Doug Morris <doug@mhost.com>
1032
1033 * updated Makefile.in so it recognized COMPLETION-TCSH and
1034 COMPLETION-ZSH (only used in make nmhdist).
1035
1036 * added prototype for ruserpas to <h/prototypes.h>. Fixes
1037 warnings in mhparse.c and mhbuildsbr.c.
1038
1039 * added include checks for <time.h> and <sys/time.h> to
1040 prevent warnings in fmt_compile.c, fmt_scan.c, lock_file.c,
1041 sendsbr.c, mhbuildsbr.c, mhcachesbr.c, picksbr.c, and post.c.
1042
1043 * added include for <zotnet/mts/mts.h> to ali.c, scan.c, ap.c,
1044 rcvdist.c, rcvstore.c, rcvtty.c, and spost.c to remove
1045 warnings about implicit definition of mts_init().
1046
1047 * added <grps.h> to slocal.c to prevent warnings about
1048 function initgroups.
1049
1050 * added <h/signals.h> to prevent warning about missing SIGNAL
1051 function.
1052
1053 * added function prototypes to smtp.c, whatnowproc.c,
1054 mhbuildsbr.c, mhparse.c, mshcmds.c, show.c, whatnow.c, mhl.c
1055 to fix warnings.
1056
1057 * explicitly declared mbx_style in mshcmds.c and lused in
1058 fmtdump.c as type static int instead of just static to
1059 prevent warnings.
1060
1061 * various code cleanups to prevent ambiguous statements
1062 (brackets for if/thens and parens for complicated if
1063 statements).
1064
1065
1066 Sun Sep 12 09:19:27 1999 Doug Morris <doug@mhost.com>
1067
1068 * commented out _cleanup() in mf.c because it's the only
1069 location in all of the source code where it exists. It was
1070 preventing compilation on at least linux.
1071
1072 * Added check for <db1/ndbm.h> which is the new location where
1073 linux systems appear to be stuffing this header file.
1074
1075 Thu Sep 09 23:15:49 1999 Doug Morris <doug@mhost.com>
1076
1077 * fixed varous mkstmep bugs introduced in 1.0.1 by me. Whups!
1078
1079 * added mh_profile SEGV patch from Richard Cohen
1080 <richard@jubjub.demon.co.uk> that prevents crashing when
1081 mh_profile doesn't end in a newline. A similar patch was
1082 previously sent in by Andrew Bettison <andrewb@zip.com.au>.
1083
1084 * fixed bug in associated with MAILGROUP #define (group "mail"
1085 is not universal) -- hard to believe, but true.
1086
1087 Tue Sep 7 16:47:03 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
1088
1089 * Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.
1090
1091 Tue Aug 17 16:06:29 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
1092
1093 * Automated #define of MAILGROUP and installation of inc as setgid mail
1094 when the mail spool directory isn't world-writable.
1095
1096 Thu Jul 15 18:37:07 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
1097
1098 * slocal -debug used to leave a file in /tmp for each message
1099 processed. Very bad for folks with slocal -debug in their .forward!
1100
1101 * Got rid of a ton of compilation warnings. Most were "junk"
1102 warnings due to the use of gcc -Wall (without -Wno-parentheses),
1103 but a few represented real bugs. There remain many warnings to be
1104 tackled that are due to missing function prototypes (e.g. snprintf()).
1105
1106 * Default rcvdistcomps no longer puts a copy of all outgoing
1107 messages in outbox. Added an rcvdistcomps.outbox that does.
1108
1109 Sat Jun 09 12:22:47 1999 Doug Morris <doug@mhost.com>
1110
1111 * Updated configure to check for mkstemp (available on OpenBSD) and
1112 substitute it for mktemp if available.
1113
1114 Thu May 13 16:40:19 1999 Doug Morris <doug@mhost.com>
1115
1116 * Added config.sub and config.guess and updated acconfig.h and
1117 configure.in to automatically detect system type and set the
1118 proper #defines.
1119
1120 Wed May 12 23:41:33 1999 Dan Winship <danw@mit.edu>
1121
1122 * Released nmh-1.0.1.
1123
1124 Fri May 7 17:18:28 1999 Dan Winship <danw@mit.edu>
1125
1126 * Fixed flist to properly deal with relative folder names.
1127 Problem noted by Jerry Peek <jpeek@jpeek.com>.
1128
1129 * Fixed --with-krb4 to work with original Kerberos 4 libraries as
1130 well as the Kerberos 5 compat libraries. Based on a patch from
1131 Assar Westerlund <assar@sics.se>.
1132
1133 * Added a check in configure.in to test if modf is in libc and
1134 link with libm if not. This is needed by at least Digital UNIX.
1135 Problem pointed out by Kevin Oberman <oberman@es.net>.
1136
1137 * Fix a bug from the "mhn -show" to "mhshow" renaming that
1138 made the "list" command in whatnow not work for some users.
1139 From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
1140
1141 * Replaced "extern int errno" with "#include <errno.h>" in a
1142 number of files. Suggested by Stephen Wilson Bailey
1143 <swb@nconnect.net>.
1144
1145 * Fixed a problem in how "packf -mbox" translated "Return-Path:"
1146 lines. From Kimmo Suominen <kim@tac.nyc.ny.us>.
1147
1148 * Fixed a segmentation fault in inc. Patch originally from Ruud de
1149 Rooij <r.c.m.derooij@twi.tudelft.nl>.
1150
1151 * Allow display of 8bit encoded messages. From Kimmo Suominen
1152 <kim@tac.nyc.ny.us>.
1153
1154 * Fixed repl to not add line breaks in the middle of long
1155 addresses when building a reply. From Ruud de Rooij
1156 <r.c.m.derooij@twi.tudelft.nl>.
1157
1158 * Added -library switch to spost so it can parse user aliases like
1159 post does. From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
1160
1161 * Changed configure.in's check for sigsetjmp to properly deal
1162 with systems like Linux where it is a macro. From
1163 <elleron@servtech.com>.
1164
1165 * Fixed a bug in whatnow that could cause it to sometimes exit
1166 without prompting the user. Based on a patch by Richard Geiger
1167 <rmg@netapp.com>.
1168
1169 * Added code to deal with SIGPIPE in mhl so it doesn't print
1170 "Broken pipe" if you quit out of the moreproc.
1171
1172 * Documentation: Added a note to MACHINES about Irix make. Added a
1173 pointer to the online copy of the MH book in INSTALL. Added
1174 some additional information to the whatnow and packf man pages,
1175 suggested by Jerry Peek <jpeek@jpeek.com>.
1176
1177 * Updated INSTALL, FAQ, etc to not refer to Richard as the
1178 maintainer or math.gatech.edu as the home any more.
1179
1180 1999-02-06 Richard Coleman <coleman@math.gatech.edu>
1181
1182 * Released nmh-1.0.
1183
1184 * Merged mbx_open and mbx_Xopen in dropsbr.c. Fixed
1185 mbx_open so that the mode of zero length maildrops
1186 would not be changed.
1187
1188 * Replaced the substitute version of snprintf() with the
1189 one from the Apache web server.
1190
1191 * Changed to default mode for creating new messages to 0600
1192 (this should have been done a long time ago).
1193
1194 * Changed "flist" to handle searching for multiple sequences
1195 for each folder. Also flist will now correctly split
1196 Unseen-Sequence if it consists of multiple sequences.
1197
1198 * Added new switches `-unlink' and `-nounlink' to "refile".
1199
1200 * Added new switches `-unlink' and `-nounlink' to "rmm".
1201
1202 * More cleanups of slocal output. Changed adorn() to
1203 send to stdout, instead of stderr (to match rest of
1204 verbose printing).
1205
1206 * Merged mbx_create() into mbx_open, so that creating and
1207 opening a nonexistent maildrop is done atomically. This
1208 removes a bad race condition.
1209
1210 * Fixed bug that caused slocal to be unable to save to MMDF
1211 style drop file.
1212
1213 * Added new wrapper function usr_folder() to slocal.c to
1214 handle adding message to folder (currently, it still uses
1215 usr_pipe() to call rcvstore).
1216
1217 * seq_list() checks for empty folder before scanning for
1218 sequence information.
1219
1220 * num_digits() in flist.c and folder.c now returns correct
1221 value for 0. Also added sanity check.
1222
1223 * folder_delmsgs() now correctly decrements internal message
1224 count.
1225
1226 * Don't attempt to read sequence information if folder
1227 is empty.
1228
1229 * Split seq_read into seq_public and seq_private.
1230
1231 * Small change to sigmsg.awk, since newer versions of gawk
1232 interpret 034 as octal.
1233
1234 * In flist, don't scan for sequence information in empty folder.
1235
1236 * Updated mhn.defaults.sh to output profile entries for mhshow,
1237 mhstore, and mhbuild.
1238
1239 * Changed configuration parameter "mhn-access-ftp" to
1240 "nmh-access-ftp". Updated man pages
1241
1242 * Moved the code in InitMultipart to reverse the order of the
1243 parts in a multipart, into its own function "reverse_parts()".
1244
1245 * Changed code in mhbuildsbr.c to store unencoded content
1246 in the c_cefile structure when building.
1247
1248 * Changed code in mhoutsbr.c to look for unencoded content
1249 in the c_cefile structure when outputing message.
1250
1251 * Changed configuration parameter "mhn-cache" and
1252 "mhn-private-cache", to "nmh-cache" and "nmh-private-cache",
1253 since it is used in mhstore, mhlist, and mhshow. Updated man pages
1254
1255 * Change configuration parameter "mhn-storage" to
1256 "nmh-storage", since it is now used in mhstore, mhlist,
1257 and mhshow. Updated man pages
1258
1259 * Add autoconf support for KPOP (kerberized pop).
1260
1261 * Add autoconf support for Hesiod.
1262
1263 * Split routines to output a message given a Content structure
1264 (output_message, output_content, write7Bit, etc..) to a new
1265 file "mhoutsbr.c".
1266
1267 * Split output_content(), into output_content() and build_headers().
1268
1269 * Changed copy_some_headers() in mhstoresbr.c, to use the linked
1270 list of header fields, rather than reopening the message.
1271
1272 * Added free_header() to mhfree.c to free structures containing
1273 header field information.
1274
1275 * Changed get_content() to use the linked list of header fields
1276 when parsing the various MIME headers (Content-XXX).
1277
1278 * Changed get_content() to store linked list of header field
1279 values when parsing a content.
1280
1281 * Changed mhbuild, mhn, mhlist, mhshow, mhstore, to use the
1282 routines in mhcachesbr.c to handle the content cache.
1283
1284 * Split various funtions (find_cache, find_cache_aux, find_cache_aux2,
1285 cache_content) into new file mhcachesbr.c.
1286
1287 * More calls to sprintf/strcpy (primarily in mhparse.c
1288 and mhbuildsbr.c) converted to snprintf/strncpy.
1289
1290 * When a message is displayed with `mhshow', it is now
1291 removed from the "unseen" sequence.
1292
1293 * Change the default "showmimeproc" to "mhshow".
1294
1295 * Split "mhn -show" off into separate command "mhshow".
1296
1297 * Split "mhn -store" off into separate command "mhstore".
1298
1299 * Split "mhn -list" off into separate command "mhlist".
1300
1301 * Add sanity checks to context_find(), context_replace(),
1302 and context_del(), to abort if context file hasn't been
1303 read.
1304
1305 * Add calls to context_read(), to the beginning of all nmh
1306 commands (instead of being called indirectly by context_find).
1307
1308 * Changes the "substitute" version of vsnprintf/snprintf for
1309 operating systems without native versions, to just call the
1310 native vsprintf(), and ignore the buffer length. This is
1311 faster, but less secure than the previous version that used
1312 temporary files. This should only be a problem for systems
1313 which do not have a native snprintf(), and require `inc' to
1314 be setuid/setgid.
1315
1316 * Lots more calls to sprintf/strcpy converted to snprintf/strncpy.
1317
1318 * Changes client() routine to take additional parameter, which is
1319 the buffer length of the parameter "response". Then added
1320 buffer length checks for this parameter.
1321
1322 * Changed getws() to get_fields(), since that is apparently the
1323 name of a wide character version of gets() on some archetitures.
1324
1325 * Lots of sprintf/strcpy calls converted to snprintf/strncpy.
1326
1327 * Change the code in most of the commands that take multiple
1328 message names/sequences/ranges on the command, such that
1329 the msgs array is expanded dynamically. This removes most
1330 of the limits on the length of command lines.
1331
1332 * Add additional parameter to copyip(), to specify the
1333 maximum number of strings that can be copied (security
1334 fix).
1335
1336 * Create new function getarguments(), to massage the argument
1337 vector before parsing it (add any arguments from your
1338 profile to the beginning of the argument vector). This
1339 also removed the general limit on the number of command line
1340 arguments.
1341
1342 1998-07-04 Richard Coleman <coleman@math.gatech.edu>
1343
1344 * Released nmh-0.27.
1345
1346 * Added a new command "delete", that is available during
1347 a "whatnow" session. It is equivalent to "quit -delete".
1348
1349 * Added another parameter to editfile (in whatnowsbr.c),
1350 that controls whether editfile should remember the last
1351 program that was exec'ed. This way the whatnow command
1352 "mime", will not be re-executed if "edit" is later given
1353 with no arguments.
1354
1355 * Changed whatnowsbr.c, so that whatnow doesn't abort if
1356 mhbuild returns an error.
1357
1358 * Added parameter to sendsbr(), so you may specify whether to
1359 rename the draft file.
1360
1361 * Pass delay time to splitmsg() as a parameter, rather than
1362 use a global variable.
1363
1364 * Moved code to rename draft file after sending message from
1365 splitmsg and sendaux, to sendsbr.
1366
1367 * Removed all the code in viamail to split messages and then
1368 mail them. Replaced this with the standard sendsbr.c routines.
1369
1370 * Changed sendsbr(), so that when splitting messages into
1371 messages of type "message/partial", the header fields that
1372 are copied are more compliant with RFC-2046.
1373
1374 * Fixed mhbuild to track temporary files better. They are
1375 now correctly removed when mhbuild aborts.
1376
1377 * Created a new man page for "sendfiles". The information
1378 about "mhn -viamail" in the "mhn" man page was moved to
1379 this new page.
1380
1381 * Changed the name of the "viamail" shell script to
1382 "sendfiles". Modified "sendfiles" to use the new
1383 viamail program.
1384
1385 * Moved the functionality for "mhn -viamail" out of mhn,
1386 and into a separate executable called "viamail".
1387
1388 * When storing MIME contents to a folder using mhn -store,
1389 they are now accumulated in a temporary file, and then added
1390 to the folder using folder_addmsg().
1391
1392 * Moved code to save content to a folder from store_content
1393 to new function output_content_folder.
1394
1395 * Moved code to save content to file from store_content to
1396 new function output_content_file.
1397
1398 * Moved code to parse storage format string from store_content
1399 to new function parse_format_string.
1400
1401 * Fix copy_some_headers() in mhstoresbr.c, so that the
1402 correct header fields in the first enclosing message/partial
1403 will be copied (according to RFC2046), when using mhn -store
1404 to reassemble messages of type message/partial.
1405
1406 * Fixed bug to openFTP() in mhparse.c, that caused the
1407 tmp file to not be removed, when transferring a
1408 message/external file from ftp.
1409
1410 * Moved the code in mhparse.c to process -auto switch (scan
1411 contents for the attribute "name"), to a new function
1412 "get_storeproc" in mhstoresbr.c.
1413
1414 * Moved routines to free data structures related to MIME
1415 content from mhparse.c and mhbuildsbr.c, to new file
1416 mhfree.c.
1417
1418 * Moved code to show/display MIME content into new
1419 file mhshowsbr.c.
1420
1421 * Moved code to store MIME content from into
1422 new file mhstoresbr.c
1423
1424 * Moved code to parse MIME content into new
1425 file mhparse.c.
1426
1427 * Moved code to list information about MIME content
1428 into new file mhlistsbr.c.
1429
1430 * Move part_ok(), type_ok(), content_error(), flush_errors(),
1431 and set_endian() to new file mhmisc.c.
1432
1433 * Start to isolate the code to show, list, and store MIME
1434 messages. One side effect is that only one flag (-show,
1435 -list, or -store) can be used at a time now.
1436
1437 * mhn -store -auto wasn't storing file in correct directory.
1438
1439 * Removed a few dead variables from sbr/ruserpass.c
1440
1441 * move code for creating tmp files, and renaming the
1442 the composition draft in mhbuild, from build_mime()
1443 to main().
1444
1445 * remove left-over code in mhbuild.c, mhbuildsbr.c, for
1446 the -[no]auto switch (which isn't used in mhbuild).
1447
1448 * split mhn.c into mhn.c and mhnsbr.c (name later changed
1449 to mhparse.c).
1450
1451 * split mhbuild.c into mhbuild.c and mhbuildsbr.c.
1452
1453 1998-05-25 Richard Coleman <coleman@math.gatech.edu>
1454
1455 * Released nmh-0.26.
1456
1457 * Added (unlisted) options [no]dashstuffing to send, post,
1458 and whatnow to determine whether to do RFC934 quoting
1459 (dashstuffing) for encapsulated BCC messages. The default
1460 is still the same (dashstuffing).
1461
1462 * Changed the undocumented feature "nodashmunging" in forw
1463 and mhl, into the documented feature "nodashstuffing". The
1464 default for forw, is still "dashstuffing" for backward
1465 compatibility, although I don't believe that bursting
1466 RFC934 digests is very common anymore.
1467
1468 * Added an option to define REALLYDUMB in the default config.h.
1469 But it is not on by default.
1470
1471 * moved creation of config file mts.conf from zotnet/mts
1472 to etc. This simplified the Makefile in zotnet/mts.
1473
1474 * simplified directory support/general to etc.
1475
1476 * removed unneeded directory support/bboards.
1477
1478 * split getusername() into getusername() and getuserinfo().
1479
1480 * Changed getusr() routine to getusername().
1481
1482 * Slight cleanup in folder_pack.c on code that records the new
1483 number of the "cur" message when packing.
1484
1485 1998-05-08 Richard Coleman <coleman@math.gatech.edu>
1486
1487 * Released nmh-0.25.
1488
1489 * Change install process, so that hard linking the correct mts
1490 library to libmts.a, is not necessary. The final link process
1491 uses the original name of the library.
1492
1493 * Fixed bug in flist.c and folder.c, so that symbolic links which
1494 point to directories, will not decrement the number of directory
1495 links remaining.
1496
1497 * Split the function list_content (in mhn.c and mhbuild.c) into
1498 list_content and list_debug.
1499
1500 * Don't pack (folder -pack) an empty folder.
1501
1502 * Exit gracefully in flist.c, if no sequence is specified,
1503 and no "Unseen-Sequence" is given in nmh profile.
1504
1505 1998-02-27 Richard Coleman <coleman@math.gatech.edu>
1506
1507 * Released nmh-0.24.
1508
1509 * Small clarification to the man page for `ali'.
1510
1511 * Fix bug in inc.c so that if both flags `-file' and `-truncate'
1512 are given, that order doesn't matter.
1513
1514 * Fix bug in seq_list.c when realloc'ing for
1515 large sequence line.
1516
1517 1998-02-23 Richard Coleman <coleman@math.gatech.edu>
1518
1519 * Released nmh-0.23.
1520
1521 * Add new section on "Transfer Encodings" to man page for mhbuild.
1522
1523 * In mhbuild.c, split compose_content into compose_content
1524 (parse and execute composition string), and scan_content (scan
1525 content, decided transfer encoding, check for clash with boundary
1526 string). I did a good amount of rearranging of this code.
1527
1528 * Moved definitions for data structures for parsing MIME
1529 messages from mhn.c and mhbuild.c to a new include
1530 file h/mhnsbr.h.
1531
1532 * Small amount of rearranging in sendsbr.c
1533
1534 * Small changes to MAIL.FILTERING file.
1535
1536 * Add the file MAIL.FILTERING to nmh distribution.
1537
1538 * Add line to packf so that if message begins with
1539 "X-Envelope-From:" field, it is converted to "From ".
1540
1541 * Fix packf to add "From " line to beginning of message,
1542 even if Return-Path doesn't exist.
1543
1544 * Add note to MACHINES file that on Linux, configure
1545 doesn't find the functions sigsetjmp/siglongjmp.
1546
1547 * Fix configuration for machines that don't have (or find)
1548 sigsetjmp/siglongjmp.
1549
1550 1998-02-11 Richard Coleman <coleman@math.gatech.edu>
1551
1552 * Released nmh-0.22.
1553
1554 * Add a configure check for sigsetjmp. Add some conditional
1555 #define's in h/signals.h in case it's not found.
1556
1557 * Added additional notes about -auto switch in mhn man page.
1558
1559 * Added note about MM_CHARSET environment variable to
1560 mh-profile(5) man page.
1561
1562 * Fix signal problem in mhn.c (change setjmp/longjmp to
1563 sigsetjmp/siglongjmp).
1564
1565 1998-02-09 Richard Coleman <coleman@math.gatech.edu>
1566
1567 * Released nmh-0.22-pre1.
1568
1569 * Changed the first line in mhl.format from
1570 " -- using template mhl.format -- " to a blank line.
1571
1572 * Added note about automimeproc to mh-profile man page.
1573
1574 * Reorganize the main entry point for parsing a MIME message
1575 or file in mhn. Add new function parse_file() as new main
1576 entry point for parsing MIME files.
1577
1578 * Add note to mhn man page, that "mhn -file -" will accept the
1579 source message on the standard input.
1580
1581 * Changed a sanity check in folder_realloc that was too strict.
1582
1583 * -norfc934mode is now the default for mhbuild,
1584 rather than -rfc934mode.
1585
1586 * Fix mhbuild, so that Content-Description and RFC-822 comments
1587 from #forw directive will be correctly included if there is
1588 only one message.
1589
1590 * Change mhn to correctly default parts of multipart/digest to
1591 message/rfc822 (leftover code from rfc934mode was removed).
1592
1593 * Restore HP specific code to zotnet/tws/lexstring.c. Apparently
1594 it is still needed.
1595
1596 1998-02-06 Richard Coleman <coleman@math.gatech.edu>
1597
1598 * Released nmh-0.21.
1599
1600 * If the file given to mhbuild is "-", then accept the draft on
1601 standard input, and output the MIME message to standard output.
1602
1603 * Cleaned up code in mhbuild.c that decides what transfer
1604 encoding to use.
1605
1606 * Cleaned up code in mhbuild.c that decides what character set
1607 to use for text contents.
1608
1609 * Removed old hpux specific code from zotnet/tws/lexstring.c
1610
1611 1998-02-02 Richard Coleman <coleman@math.gatech.edu>
1612
1613 * Released nmh-0.21-pre2.
1614
1615 * Added the "decode" variable to mhl.format and mhl.header.
1616
1617 * Added new variable "decode" to mhlsbr.c to decode text in
1618 header fields as per RFC-2047.
1619
1620 * Make sure that when decoding RFC-2047 header fields, that any
1621 spaces at the ends of the encoded text are not ignored, but the
1622 spaces between encoded word are.
1623
1624 * Removed #ifdef's for MIME. MIME support is always compiled in.
1625
1626 * scan/inc will now decode both Subject and From lines as
1627 RFC-2047 encoded header fields.
1628
1629 * Added new function write_charset_8bit() to sbr. It returns
1630 the character set to use for 8bit text in composition draft.
1631 Changed mhbuild to use this function.
1632
1633 * Split mhn man page into man pages for mhn and mhbuild.
1634
1635 * mhn -show will only now only use default method for content
1636 of type plain, if it is NOT a part of a multipart/alternative.
1637
1638 * Split mhn -build into mhbuild. Did some code cleanup.
1639
1640 * Added support for %(decode) to fmtdump.c.
1641
1642 * check_charset() now accepts US-ASCII as a subset of any
1643 ISO-8859-X character set.
1644
1645 * Changed the default "showproc" to mhl, instead of the
1646 pager more.
1647
1648 * When reading file into mhn composition file, only need read
1649 permissions, not write permissions.
1650
1651 * Added own version of strcasecmp to distribution, since
1652 nmh calls it frequently with NULL pointers (ughh).
1653
1654 * Replaced uleq.c with strcasecmp. Removed uleq.c from
1655 distribution.
1656
1657 1998-01-22 Richard Coleman <coleman@math.gatech.edu>
1658
1659 * Released nmh-0.21-pre1.
1660
1661 * If a message is missing charset parameter to text/plain, show
1662 will assume US-ASCII, rather than just calling showmimeproc.
1663
1664 * Change show.c and mshcmds.c to use check_charset to see if text
1665 message contains valid character set.
1666
1667 * Added new scan format file "scan.nomime" to support/general
1668 that doesn't do any RFC-2047 decoding.
1669
1670 * Modified all the scan format files in support/general to do
1671 RFC-2047 decoding of Subject field.
1672
1673 * Did more work on sbr/fmt_rfc2047.c, so that it will correctly
1674 ignore whitespace between two valid encoded words, but not
1675 between an encoded word and normal text.
1676
1677 * Created new file sbr/check_charset.c. Moved code from
1678 fmt_rfc2047.c to check for valid character set to this file.
1679
1680 * Added format escape %(decode) to decode contents of "str" register
1681 as a RFC-2047 header field.
1682
1683 * The command install-mh now recognizes the switches -version
1684 and -help.
1685
1686 * Added a new argument to print_help.c to decide whether to
1687 print profile entries (needed for install-mh to prevent weird
1688 loops).
1689
1690 * Changed folder_read.c and folder_realloc.c so that mp->lowoff
1691 is initialize to max (mp->lowmsg, 1) rather than always 1.
1692
1693 * Changed macros for sequence/attribute manipulation so that
1694 message status array doesn't need to always start at 1.
1695
1696 * Small cleanups in folder_realloc().
1697
1698 1998-01-09 Richard Coleman <coleman@math.gatech.edu>
1699
1700 * Released nmh-0.20.
1701
1702 * Added configure option --with-pager=PAGER.
1703
1704 * Added configure option --with-editor=EDITOR.
1705
1706 * Changed the default format file for mhl (mhl.format) to
1707 also ignore (not display) the header fields Content-Type,
1708 Content-Transfer-Encoding, and Content-ID
1709
1710 * Fixed core dump in addrsbr.c when using %(proper) format function
1711 and the To: line was missing.
1712
1713 * Added the file ZSH.COMPLETION to the distribution.
1714
1715 1998-01-04 Richard Coleman <coleman@math.gatech.edu>
1716
1717 * Released nmh-0.20-pre2.
1718
1719 * Added new switch -snoop to both `msgchk' and `inc', so you can
1720 watch the POP transaction.
1721
1722 * Changed "replgroupcomps" to check for Mail-Followup-To header
1723 first, and use it if available.
1724
1725 * Changed "replcomps" to check for Mail-Reply-To header
1726 first, and use it if available.
1727
1728 1998-01-03 Richard Coleman <coleman@math.gatech.edu>
1729
1730 * Released nmh-0.20-pre1.
1731
1732 * Changed seq_list.c to dynamically enlarge the buffer for
1733 collecting the message ranges in a long sequence line.
1734 This should remove the last hard limit on the size of a
1735 sequence line.
1736
1737 * Changed seq_read.c so that can read long sequence lines.
1738 It will use multiple calls to m_getfld() when m_getfld()
1739 returns the state FLDPLUS.
1740
1741 * Changed brkstring.c to dynamically add more space for pointers
1742 if necessary. This is needed when splitting up large sequence
1743 lines.
1744
1745 * Did some small cleanups in seq_save.c.
1746
1747 * Added new switches `-[no]unseen' to rcvstore, to control
1748 whether new messages are added to Unseen-Sequence.
1749
1750 * Moved locking routines (zotnet/mts/lock.c) to sbr/lock_file.c
1751
1752 * Changed the internal UNSEEN flag to SELECT_UNSEEN which is
1753 more appropriate. Changed the MHPATH flag to ALLOW_NEW.
1754
1755 * Changed "replcomps" to not include CC and TO lines so that
1756 that reply message is only directed at the author of the
1757 message to which you are replying.
1758
1759 * Added new switch `-group' to command repl, which causes repl
1760 to use new forms file "replgroupcomps". This is intended for
1761 making group replies.
1762
1763 * Removed #ifdef for ATHENA.
1764
1765 1997-12-28 Richard Coleman <coleman@math.gatech.edu>
1766
1767 * Released nmh-0.19.
1768
1769 * Fix repl,forw so that switch `-form file' will not abort
1770 as ambiguious (silly mistake on my part).
1771
1772 * Cleaned up the mhn man page. Added info about a few escapes
1773 for the formatting/display strings that were not documented
1774 (%%, %t). Moved the BNF grammar for the mime composition file,
1775 to the end of the man page.
1776
1777 * Added the options -[no]format to the command repl. The
1778 switch `-format' will filter the message to which you are
1779 replying with the standard message filter "mhl.reply", which
1780 is now included in the distribution. The `-noformat' option
1781 will negate the use of -format or -filter and not include
1782 the message to which you are replying in the draft.
1783
1784 * Did some cleaning and reorganization on many of the man
1785 pages.
1786
1787 * Added debugging switch `-debug' to mhparam, which displays
1788 the values of all `procs' (and some other misc configuration
1789 info) that nmh keeps in global variables.
1790
1791 * When using `refile -preserve', if a conflict occurs, then use
1792 the next available number above the message number you wish
1793 to preserve.
1794
1795 * In forw.c, split the code for creating MIME style forwarding
1796 out of copy_draft, and into copy_mime_draft.
1797
1798 * Move routines in mark.c to print sequences, into new
1799 file sbr/seq_print.c
1800
1801 * flist will now update the current folder.
1802
1803 * Added the switches -[no]fast to flist, to replace
1804 -[no]total. The previous switches are still accepted
1805 but now undocumented.
1806
1807 * More reorganization in flist of the code for
1808 traversing folders.
1809
1810 * The command "flist +foo -all" will now scan the folder
1811 "foo" and all its 1st level children.
1812
1813 * Add missing include file <h/mh.h> to sbr/snprintf.c
1814
1815 * Fix alarm bug in rcvtty, so that when it calls external
1816 process, the alarm is never longer than 30 minutes.
1817
1818 1997-12-17 Richard Coleman <coleman@math.gatech.edu>
1819
1820 * Released nmh-0.18.
1821
1822 * Fixed bug in mark, so that "mark -list -seq foo" will
1823 correctly indicate if "foo" is a private sequence. I found
1824 this bug mentioned in Jerry Peek's book.
1825
1826 * Simplified the code in seq_setcur(), since seq_addmsg() now
1827 retains the public/private status of sequences.
1828
1829 * Changed sequence handling so that if the switches -public
1830 or -nopublic, are not specified for the commands mark, pick,
1831 or rcvstore, then existing sequences will retain their
1832 previous public/private status.
1833
1834 * mhparam now handles the mh-sequences profile entry
1835 correctly.
1836
1837 * flist -all will now also check readonly folders (for
1838 private sequences).
1839
1840 * Improve the leaf optimization for folder command.
1841 It will now track the number of directories in a folder,
1842 and stop stat'ing files once it has hit all the subfolders.
1843
1844 * Renamed m_getfolder to getfolder. Changed getfolder to
1845 take option to determine whether it should get current
1846 folder, or just default folder (Inbox). Changed rcvstore,
1847 inc, and rmf to use the new getfolder.
1848
1849 * flist now indicates if a sequence is private.
1850
1851 * Change WUNTRACED to 0, in pidwait.c, so that commands will
1852 wait for stopped processes.
1853
1854 * conflict will dynamically allocate space for group names,
1855 so it can now handle system with more than 100 groups.
1856
1857 1997-12-09 Richard Coleman <coleman@math.gatech.edu>
1858
1859 * Released nmh-0.18-pre4.
1860
1861 * Check if we have enough message status space, before we
1862 call folder_realloc() in burst, mhpath, and m_draft().
1863
1864 * mhn will now correctly identify a formatting string of "-"
1865 for the option -store, and send content to stdout.
1866
1867 * Change the way that memory for message status is
1868 allocated. It is dynamcially allocated separately from
1869 the folder/message structure. This required changing
1870 folder_read.c, folder_realloc.c, folder_free.c.
1871
1872 * Removed all the MTR code (experimental code for message
1873 status allocation).
1874
1875 * Renamed m_readfolder.c to folder_read.c and simplified
1876 the code.
1877
1878 * Renamed m_freefolder.c to folder_free.c.
1879
1880 * Add function trim() to slocal.c to pretty print
1881 the debugging output.
1882
1883 * Changed the name of m_packfolder() to folder_pack().
1884 Changed the name of m_remsg() to folder_realloc().
1885
1886 Wed Dec 3 23:33:38 1997 Richard Coleman <coleman@math.gatech.edu>
1887
1888 * Released nmh-0.18-pre3.
1889
1890 * Changed installation to add `flists' which is hard linked
1891 to `flist'. This is a equivalent to `flist -all'.
1892
1893 * For flist, -showzero is on by default.
1894
1895 * Major changes to flist. Default is now for flist to search
1896 current folder. The switch `-all' is now used to specify
1897 searching all top level folders. The new switch `-showzero'
1898 is used to print out folders that don't contain any messages
1899 in the given sequence.
1900
1901 * Split BuildFolderList in flist.c into 2 functions
1902 (BuildFolderList, BuildFolderListR). Changed these functions
1903 so that flist now does better leaf optimization, and will stop
1904 stat'ing directory entries when it knows it has hit all the
1905 subdirectories of a given directory.
1906
1907 * Reorganized code in folder.c, so that all relevant folders
1908 are scanned first and information recorded. Then all the
1909 folder summaries at printed out at one time.
1910
1911 * Made the options of folder(s) more orthogonal. Now
1912 "folder -all -noheader -nototal" will do the right thing.
1913
1914 * Added `-noall' switch to folder, for completeness.
1915
1916 * Changed the default mode for creation of new folders
1917 to 0700 (was 0711).
1918
1919 * Slightly changed the format for flist. It now indicates
1920 if a folder is current. Also the width of the various
1921 fields are now calculated at runtime.
1922
1923 * Changed the format for folder(s). Folder names
1924 are now left justified. The width of the various fields
1925 are calculated at runtime.
1926
1927 Sun Nov 30 19:14:53 1997 Richard Coleman <coleman@math.gatech.edu>
1928
1929 * Released nmh-0.18-pre2.
1930
1931 * Add paragraph to man page for install-mh and to INSTALL file
1932 about checking for global mh.profile.
1933
1934 * Renamed m_find() to context_find().
1935 Renamed m_replace() to context_replace().
1936 Renamed m_delete() to context_del().
1937 Renamed m_update() to context_save().
1938 Renamed m_getdefs() to context_read().
1939 Renamed m_foil() to context_foil().
1940
1941 * Change rcvstore to use routine folder_addmsg(), instead of
1942 adding message to folder itself.
1943
1944 * Changed refile, so that if the switch -preserve is used,
1945 and a conflict occurs for a particular folder, then folder_addmsg()
1946 will just use next highest available number for that folder,
1947 instead of exiting.
1948
1949 * Make folder_addmsg() more robust. It will make repeated
1950 attempts to link file into folder if link returns with
1951 the error EEXIST.
1952
1953 * Fix bug, so that that if forking sendmail, HELO will be sent
1954 unless clientname: option is defined but empty (so now it
1955 is the same as the direct smtp code).
1956
1957 * Changed sprintb to snprintb (now we pass the buffer length
1958 to new routine). Changed code to use new function.
1959
1960 * Added snprintf to sbr. Added configure check to build it
1961 if you don't have a native version (but haven't changed much
1962 code to use it yet).
1963
1964 Thu Nov 13 18:42:18 1997 Richard Coleman <coleman@math.gatech.edu>
1965
1966 * Released nmh-0.18-pre1.
1967
1968 * Fixed alarm bug in slocal, so that alarm is never
1969 called with a value larger than 30 mintues.
1970
1971 * Fixed race condition in rmm and refile, so that
1972 context is updated before external rmmproc is called.
1973
1974 * Removed all the OVERHEAD code.
1975
1976 * Move code to add message to folder from refile.c
1977 to folder_addmsg.c
1978
1979 Fri Jul 25 19:39:29 1997 Richard Coleman <coleman@math.gatech.edu>
1980
1981 * Did some rearranging of the internals of inc.c.
1982
1983 * Make -inplace the default for anno, forw, dist, and repl.
1984
1985 * Changed --enable-smtp to --with-mts={smtp,sendmail}
1986
1987 * Created new directory mts/sendmail for direct sendmail
1988 interface (although it currently still uses SMTP).
1989
1990 * Removed all the TMA (trusted mail agent) code
1991
1992 * Removed all the TTYD (terminal access daemon) code
1993
1994 * Removed all the MF (uucp filtering) code.
1995
1996 * Removed all the code for BERK.
1997
1998 * Removed all the code for stand-alone delivery (MHMTS).
1999
2000 * Split the file mts/sendmail/smail.c into sendmail.c and
2001 smtp.c. Changed the name of the directory to mts/smtp.
2002
2003 * Changed autoconf to use @sysconfdir@ for location of
2004 configuration files.
2005
2006 * Changed #define in mhn.c from FTP to BUILTIN_FTP.
2007
2008 Mon Jul 21 03:22:34 1997 Richard Coleman <coleman@math.gatech.edu>
2009
2010 * Released nmh-0.17.
2011
2012 * MAKEDEFS weren't passed down to recursive makes correctly.
2013
2014 * slocal.c now checks for UTMP_FILE and _PATH_UTMP instead
2015 of hard-coding "/etc/utmp".
2016
2017 * rcvtty.c check for _PATH_UTMP if UTMP_FILE is not
2018 defined.
2019
2020 * Remove configure checks for ulong and ushort. Changed
2021 code to just use unsigned {short, long}.
2022
2023 * Change addmsg function in refile.c to return new
2024 number of refiled message.
2025
2026 * Added check in get_returnpath for empty unixbuf.
2027
2028 * Cleanup of sbr/pidstatus to use more POSIX macros
2029 for return value of wait().
2030
2031 * Change configure to also check /bin for "more".
2032
2033 Sat Jul 12 00:02:23 1997 Richard Coleman <coleman@math.gatech.edu>
2034
2035 * Released nmh-0.16.
2036
2037 Mon Jun 23 20:13:24 1997 Richard Coleman <coleman@math.gatech.edu>
2038
2039 * Added automimeproc, which should replace automhnproc.
2040
2041 * multipart messages will no longer abort for messages
2042 of type 8bit or binary (although we still can't really
2043 deal with binary messages, yet).
2044
2045 * Fix double free of c_storage. From John MacMillan.
2046
2047 * mhn now treats unknown subtypes of "text" as text/plain.
2048
2049 * mhn changed so that specifying mhn-show-multipart, or
2050 mhn-show-multipart/{mixed, alternate, etc...) will override
2051 the use of the internal method for displaying these types.
2052 Previously mhn would always use the internal method for subtypes
2053 mixed, alternate, digest, and parallel (even if an alternate
2054 method was specified in mhn.defaults).
2055
2056 * mhn show treats unknown subtypes of multipart, as type
2057 multipart/mixed (as specified RFC2046).
2058
2059 * mhn checks for the parameter "name" rather than "x-name".
2060 From MH-6.8.4 patch.
2061
2062 * Fix double free of ctinfo in user_content when using
2063 #forw with single message. From John MacMillan (and
2064 MH-6.8.4 patch).
2065
2066 * Changed -mhnproc switch for show, to -showmimeproc.
2067
2068 * Changed profile entry "mhnproc" to "showmimeproc".
2069
2070 * Added "mime" option to "whatnow", which calls the program
2071 "buildmimeproc" (default is mhn -build) to process MIME
2072 composition files.
2073
2074 * Added -build switch to mhn, to process MIME composition
2075 files.
2076
2077 * Did some reorganizing of mhn.c.
2078
2079 * Changed casting in mts/sendmail/smail.c from (char) to
2080 (signed char) so SMTP reply codes work correctly for machines
2081 which used unsigned chars by default.
2082
2083 Sat Jun 21 01:21:47 1997 Richard Coleman <coleman@math.gatech.edu>
2084
2085 * Released nmh-0.15.
2086
2087 * Added new form "scan.unseen" to distribution. It marks messages
2088 which are in any sequence in Unseen-Sequence.
2089
2090 * Do some rearranging of date/time code in zotnet/tws/dtime.c
2091
2092 * Fix sign extension bugs in fmt_scan.c.
2093
2094 * Fix m_atoi.c so that strings ending in non-digit characters
2095 return 0.
2096
2097 * Split code in burst.c so that finding delimiters of digested
2098 messages and bursting a message into multiple messages are
2099 two separate functions (find_delim and burst).
2100
2101 * Add workaround fo AC_PATH_PROG in configure.in, so
2102 that BSD4.4 machines can find sendmail, vi, more.
2103
2104 * Added "-width" option to rcvtty.
2105
2106 * Change a few variable names in zotnet/mts/client.c since
2107 they conflict with defines on AIX.
2108
2109 * Makefile in zotnet/tws assumes lexing of dtimep.lex was
2110 unsuccessful if resulting file is less than 500 lines long
2111 (rather than 10, which was previous value), since AIX
2112 sed gives mangled file of about 200 lines.
2113
2114 * Extract code in rcvstore.c to link message into folder,
2115 and put in own subroutine.
2116
2117 * Extract code in refile.c to link message into folder,
2118 and put in own subroutine.
2119
2120 * Moved code to remove messages from folder into own
2121 routine "folder_delmsgs" in sbr. Changed rmm.c and
2122 refile.c to use new routine.
2123
2124 Fri May 16 06:09:31 1997 Richard Coleman <coleman@math.gatech.edu>
2125
2126 * Renamed m_seqok to seq_nameok.
2127
2128 * Changed m_setunseen, msh, mshcmds, flist, and scan to use
2129 seq_getnum.
2130
2131 * Changed m_seqflag to return the number of a sequence rather
2132 than its bit flag. Changed its name to seq_getnum and renamed
2133 file to sbr/seq_getnum.c.
2134
2135 * Removed function m_seqnew and file sbr/m_seqnew.c since it is
2136 no longer used.
2137
2138 * Added zero switch to m_seqadd function to zero out bits before
2139 adding message to sequence.
2140
2141 * Renamed function m_setvis to m_setunseen, and renamed
2142 corresponding file in sbr.
2143
2144 * Renamed function m_setseq to m_setprev, and renamed corresponding
2145 file in sbr.
2146
2147 * Changed mark.c and pick.c to use m_seqaddsel and m_seqdelsel.
2148
2149 * Added new function m_seqdelsel to m_seqdel.c, which deletes
2150 all selected messages from a sequence.
2151
2152 * Added new function m_seqaddsel to m_seqadd.c, which adds all
2153 selected messages to a sequence.
2154
2155 * Split sbr/m_seqnew.c into m_seqadd.c, m_seqdel.c, m_seqnew.c,
2156 and m_seqok.c.
2157
2158 Thu May 15 00:53:17 1997 Richard Coleman <coleman@math.gatech.edu>
2159
2160 * Renamed function pack_folder to m_packfolder, and moved it
2161 from uip/folder.c into its own file sbr/m_packfolder.c
2162
2163 Wed May 14 23:38:00 1997 Richard Coleman <coleman@math.gatech.edu>
2164
2165 * Changed function m_gmsg to m_readfolder. Renamed file
2166 sbr/m_gmsg.c to sbr/m_readfolder.c.
2167
2168 Mon May 5 19:57:11 1997 Richard Coleman <coleman@math.gatech.edu>
2169
2170 * Expanded rcvtty man page, and added small patch from
2171 MH-6.8.4 distribution.
2172
2173 Fri May 2 15:24:34 1997 Richard Coleman <coleman@math.gatech.edu>
2174
2175 * Released nmh-0.14.
2176
2177 * Comment out configure test and code for tgetent to allocate its
2178 own termcap buffer when passed a NULL argument.
2179
2180 Sat Apr 26 03:46:38 1997 Richard Coleman <coleman@math.gatech.edu>
2181
2182 * Added new options `-checkmime', `-nocheckmime', and `-mhnproc'
2183 to show. Restructured code to handle options to various
2184 `procs' better. Deprecated `-noshowproc' option and NOMHNPROC
2185 environment variable.
2186
2187 * Added new man page `mh-draft' which documents the
2188 draft folder facility in nmh.
2189
2190 * Renamed fmtsbr.h to fmt_scan.h. Renamed fmtcompile.h
2191 to fmt_compile.h.
2192
2193 * split fmtsbr.c into fmt_scan.c and fmt_new.c. Renamed
2194 fmtcompile.c to fmt_compile.c, and formataddr.c to
2195 fmt_addr.c.
2196
2197 * `send -help' wasn't showing the -(no)mime and -split
2198 options.
2199
2200 Fri Apr 25 02:50:36 1997 Richard Coleman <coleman@math.gatech.edu>
2201
2202 * Released nmh-0.13.
2203
2204 * Changed mhpath so it doesn't abort if a message sequence
2205 such as "mhpath all" expands to more than 1000 messages.
2206 Also mhpath now dynamically reallocated space for message
2207 names (The number of command line arguments is still limited
2208 to MAXARGS).
2209
2210 * Did some general restructuring of the code in folder.c
2211 that checks for folder information, and prints it.
2212
2213 Thu Apr 24 01:04:37 1997 Richard Coleman <coleman@math.gatech.edu>
2214
2215 * Changed `folder' to reallocate space for folder names if
2216 necessary. So `folders' can now handle more than 300 folders.
2217
2218 Tue Apr 22 14:01:26 1997 Richard Coleman <coleman@math.gatech.edu>
2219
2220 * Change configure to use a compile check to see if the tm struct
2221 has tm_gmtoff, rather than using egrep.
2222
2223 Mon Apr 21 02:19:17 1997 Richard Coleman <coleman@math.gatech.edu>
2224
2225 * Released nmh-0.12.
2226
2227 * Had set_exists and unset_exists macros backwards.
2228
2229 * Released nmh-0.11.
2230
2231 Thu Apr 10 02:39:53 1997 Richard Coleman <coleman@math.gatech.edu>
2232
2233 * Added documentation to mh-profile.man about the various
2234 `procs' (mhlproc, showproc, lproc, etc...).
2235
2236 * Replace the bit twiddling for SELECTED, UNSEEN, and
2237 mp->attrstats with macros.
2238
2239 * If system doesn't have SIGEMT (like Linux), then use SIGTERM
2240 in msh.c instead.
2241
2242 * Change fstat to stat in m_gmsg.c since Linux wants
2243 to hide dd->dd_fd.
2244
2245 * Merge Linux patch sent in by Michel Oosterhof (original
2246 patch from bsa@kf8nh.wariat.org).
2247
2248 * Document an undocumented MH feature. mhn -form mhl.null
2249 will suppress the display of the message header.
2250
2251 * mhparam will now return "mhparam etcdir".
2252
2253 * Add catproc to /config/config.c and use that in show.c
2254 and mshcmds.c, rather than hard coding in /bin/cat.
2255
2256 * Add mhnproc to the list of `procs' in mh-profile.man.
2257
2258 * Add configure test for lorder and tsort commands.
2259
2260 * Commented out the padding in the `msgs` struct in h/mh.h
2261
2262 * Change m_gmsg.c to allocate elements to the `info' array by
2263 500 elements at a time (rather than MAXFOLDERS / 5).
2264
2265 * Add note to man page for mhmail that zero length messages are
2266 not sent. Need to use -body "" to send empty messages.
2267
2268 * zotnet/mts/mts.c : compare character with '\0', not NULL.
2269
2270 * sbr/getcpy.c : assign '\0' to character, not NULL.
2271
2272 * add m_fmsg to most programs in uip so that they explicitly free
2273 folder/message structure when done with folder.
2274
2275 * uip/slocal.c : cleanup processing of sender. Make sure it is
2276 defined even if message is missing "From " line.
2277
2278 Mon Mar 31 03:37:35 1997 Richard Coleman <coleman@math.gatech.edu>
2279
2280 * Released nmh-0.10.
2281
2282 Sun Mar 30 21:46:17 1997 Richard Coleman <coleman@math.gatech.edu>
2283
2284 * Add configure check for <locale.h>. Turn on LOCALE support
2285 by default.
2286
2287 Thu Mar 20 03:21:24 1997 Richard Coleman <coleman@math.gatech.edu>
2288
2289 * Reversed previous decision to retain "From " lines in slocal.
2290 The "From " line is now removed from all messages.
2291
2292 * inc now saves the date from the "From " envelope in the
2293 Delivery-Date header for all messages.
2294
2295 * sbr/m_getfld.c: Clean up processing of Return-Path and
2296 Delivery-Date from the "From " envelope.
2297
2298 Mon Mar 17 19:03:36 1997 Richard Coleman <coleman@math.gatech.edu>
2299
2300 * client.c: cast iaddr to int before comparing return value
2301 of inet_addr with NOTOK.
2302
2303 Tue Mar 11 04:38:10 1997 Richard Coleman <coleman@math.gatech.edu>
2304
2305 * Grep test for signal names was failing on some OS'es because
2306 of missing tabs in regex.
2307
2308 Sat Mar 8 01:58:22 1997 Richard Coleman <coleman@math.gatech.edu>
2309
2310 * Released nmh-0.09.
2311
2312 * Move config files and format files to *.old before installing.
2313
2314 * Add configure check for killpg.
2315
2316 * msh.c: include <termios.h> instead of <termio.h> and
2317 <sys/ioctl.h>.
2318
2319 * prompter.c: don't include <sys/ioctl.h> anymore.
2320
2321 Thu Mar 6 04:03:24 1997 Richard Coleman <coleman@math.gatech.edu>
2322
2323 * Added `-mime' and `-nomime' options to `repl'.
2324 From MH-6.8.4 diff.
2325
2326 Tue Mar 4 03:10:37 1997 Richard Coleman <coleman@math.gatech.edu>
2327
2328 * ruserpass.c : removed conflicting prototypes.
2329
2330 * rcvtty.c : Fixed rcvtty to obey terminal permissions granted
2331 by `mesg' command. Previously only worked on BSD machines.
2332
2333 Mon Mar 3 00:18:59 1997 Richard Coleman <coleman@math.gatech.edu>
2334
2335 * rcvtty.c : Changed to use #define UTMP_FILE (if exists) rather
2336 than hard coded "/etc/utmp".
2337
2338 * Released nmh-0.08.
2339
2340 * Changed slocal to lock .maildelivery (or file given by -maildelivery)
2341 when accessing ndbm/db file for duplicate suppression, instead of
2342 locking database itself.
2343
2344 Thu Feb 27 05:28:09 1997 Richard Coleman <coleman@math.gatech.edu>
2345
2346 * Added slocal action `mmdf' to deliver to a file in mmdf format.
2347
2348 * Changed the slocal actions `file' and `>' to always deliver in
2349 mbox (uucp) format rather than be determined by RPATHS config
2350 option.
2351
2352 * Changed the slocal action `mbox' to deliver in mbox (uucp) format
2353 rather than mmdf format.
2354
2355 * slocal now adds Delivery-Date field to all messages (previously it
2356 only added it to messages when delivering them to a file). The
2357 "From " line is now retained on all messages if compiling with
2358 RPATHS, rather than being discarded.
2359
2360 * rcvpack no longer adds the Delivery-Date field to messages.
2361
2362 Sun Feb 23 22:03:54 1997 Richard Coleman <coleman@math.gatech.edu>
2363
2364 * Removed the script packmbox, since it's functionality has been
2365 added to packf.
2366
2367 * Changed packf so that it uses mbox (uucp) format by default
2368 rather than mmdf format. Added options -mbox and -mmdf to
2369 packf so you can choose the preferred format.
2370
2371 * Changed rcvpack so that it uses mbox (uucp) format by default
2372 rather than mmdf format. Added options -mbox and -mmdf to
2373 rcvpack so you can choose the preferred format.
2374
2375 Tue Feb 18 00:01:05 1997 Richard Coleman <coleman@math.gatech.edu>
2376
2377 * Changed nmh to use dot locking by default (although you
2378 can still easily change this in config.h).
2379
2380 * Simplified locking code. Removed code allowing setting of
2381 locking type in mts.conf. Now the locking type and locking
2382 directory (if any) can only be set at compile time.
2383
2384 Fri Feb 14 02:49:18 1997 Richard Coleman <coleman@math.gatech.edu>
2385
2386 * Prefer getting timezone information from tm->gmtoff rather
2387 than tzset and external timezone variable.
2388
2389 Thu Feb 13 00:35:45 1997 Richard Coleman <coleman@math.gatech.edu>
2390
2391 * Fixed typo in ruserpass.c in the variable toktabs.
2392
2393 * When ruserpass was added to LIBOBJS, it was missing
2394 the suffix.
2395
2396 * Released nmh-0.07.
2397
2398 Tue Feb 11 01:29:47 1997 Richard Coleman <coleman@math.gatech.edu>
2399
2400 * Add check to configure, so that if ruserpass, or _ruserpass
2401 is not found, build version of ruserpass in sbr.
2402
2403 * Added define's to discard.c, m_getfld.c, and scansbr.c so
2404 the code that manipulates internals of stdio, will build
2405 on SCO 5.x.
2406
2407 * Added #define to control whether to compile the simple
2408 built-in FTP client in mhn.
2409
2410 * Added configure check for ushort and ulong. Change code
2411 to use ushort/ulong rather than u_short/u_long.
2412
2413 * A couple of small cleanups in locking code.
2414
2415 * Added configure check for gmtoff element in struct tm.
2416
2417 * Added configure check for tzset.
2418
2419 Fri Feb 7 03:01:57 1997 Richard Coleman <coleman@math.gatech.edu>
2420
2421 * Released nmh-0.06.
2422
2423 * Removed code for machines that don't have socket
2424 interface (how could they get mail anyway?).
2425
2426 * Removed code for BSD41 machines. I don't think there are
2427 many such machines around anymore.
2428
2429 * Add configure check for function uname, and prefer it
2430 over gethostname. General cleanup of zotnet/mts/mts.c.
2431
2432 * Change all `lseek' calls to use POSIX symbolic constants
2433 SEEK_SET, SEEK_CUR, SEEK_END.
2434
2435 Thu Feb 6 01:16:30 1997 Richard Coleman <coleman@math.gatech.edu>
2436
2437 * Check lex generated file in zotnet/tws and use
2438 pre-generated version if necessary.
2439
2440 * Released nmh-0.05.
2441
2442 * Change to use reliable signals on all platforms that have
2443 sigaction. Change so that interrupted system calls are
2444 restarted for all signals except SIGALRM. This fixes alarm
2445 handling code in smail.c for BSD based systems.
2446
2447 * Added lorder and tsort commands so that created libs can
2448 be linked in one pass.
2449
2450 Tue Feb 4 01:33:00 1997 Richard Coleman <coleman@math.gatech.edu>
2451
2452 * Changed pidwait so that while it is waiting for a child,
2453 it should block signals rather than ignore them.
2454
2455 Mon Feb 3 21:05:30 1997 Richard Coleman <coleman@math.gatech.edu>
2456
2457 * Add checks to configure for dbm_open and -lndbm.
2458
2459 Thu Jan 30 05:15:42 1997 Richard Coleman <coleman@math.gatech.edu>
2460
2461 * folder -pop and folder -push were freeing some memory too
2462 quickly, which caused the entry popped from the stack to not
2463 become the current folder.
2464
2465 Wed Jan 29 01:28:02 1997 Richard Coleman <coleman@math.gatech.edu>
2466
2467 * Released nmh-0.04.
2468
2469 * Define ospeed and PC in termsbr.c is OS doesn't have
2470 it.
2471
2472 Sun Jan 26 20:25:10 1997 Richard Coleman <coleman@math.gatech.edu>
2473
2474 * editfile will create a symbolic link to the altmsg if it
2475 can't make a link, on any machine supporting lstat. Formerly
2476 this would happen only on BSD42 based machines.
2477
2478 Sat Jan 25 22:54:26 1997 Richard Coleman <coleman@math.gatech.edu>
2479
2480 * traverse (in popsbr.c) wasn't calling va_start before using
2481 variable argument list. Fixes core dump in inc when using POP.
2482
2483 Fri Jan 24 03:27:59 1997 Richard Coleman <coleman@math.gatech.edu>
2484
2485 * The variable pass in remotemail needed to be set to
2486 NULL. (From MH-6.8.4 diff). Fixes core dump of msgchk when
2487 using POP.
2488
2489 * inc and msgchk were using -rpop by default when configured
2490 with POP support. Default is now -norpop.
2491
2492 Thu Jan 23 02:01:17 1997 Richard Coleman <coleman@math.gatech.edu>
2493
2494 * By default, post will now give the SMTP HELO command with
2495 the local hostname. If you specify a hostname with the
2496 clientname: option in mts.conf file, post will give the
2497 HELO command with that name instead. If the argument to the
2498 clientname: option is empty, no HELO command is given.
2499 (From the MH-6.8.4 diff)
2500
2501 Wed Jan 22 01:55:45 1997 Richard Coleman <coleman@math.gatech.edu>
2502
2503 * When using `-help' for a command, it will also print its
2504 profile compents from .mh_profile. (From MH-6.8.4 diff)
2505
2506 * "slocal -file" will now correctly takes its input from
2507 a file (currently need to specify full path).
2508
2509 Sun Jan 19 20:37:21 1997 Richard Coleman <coleman@math.gatech.edu>
2510
2511 * "slocal -debug" will now issue a warning if a non-blank
2512 line in the .maildelivery file has less than 5 fields.
2513
2514 Sat Jan 18 02:26:41 1997 Richard Coleman <coleman@math.gatech.edu>
2515
2516 * Changed slocal so that code for duplicate suppression
2517 (MH config was MSGID) is always built. Added the options
2518 -[no]suppressdup to slocal to turn this on/off.
2519
2520 Thu Jan 16 00:26:34 1997 Richard Coleman <coleman@math.gatech.edu>
2521
2522 * Released nmh-0.03.
2523
2524 * Fixed problem where mark would core dump if no
2525 .mh_sequence file existed.
2526
2527 * Fixed problem where slocal would core dump if -debug
2528 option was given, and certain headers were missing.
2529
2530 * Added patch to slocal to add `folder' (+) action, which
2531 is shorthand for piping message to rcvstore. Updated
2532 man page.
2533
2534 Wed Jan 15 21:30:17 1997 Richard Coleman <coleman@math.gatech.edu>
2535
2536 * Changed flist option -unseen to -[no]all. Cleaned up
2537 flist man page.
2538
2539 Fri Jan 10 20:36:33 1997 Richard Coleman <coleman@math.gatech.edu>
2540
2541 * Fixed flist. Changed the profile component `Folder-Order'
2542 to `Flist-Order. Added option `-sequence' to flist, so
2543 you can specify the name of the sequence to search for.
2544
2545 Thu Jan 9 00:20:48 1997 Richard Coleman <coleman@math.gatech.edu>
2546
2547 * A few minor portability cleanups. Changed to use PATH_MAX
2548 rather than MAXPATHLEN. Don't assume ospeed variable exists
2549 in termsbr.c. Removed some conflicting prototypes.
2550
2551 Wed Jan 8 11:05:02 1997 Richard Coleman <coleman@math.gatech.edu>
2552
2553 * Add configure test to check if tgetent will accept NULL
2554 and allocate its own buffer. Borrowed from zsh.
2555
2556 * Changed libpath to etcpath.
2557
2558 Mon Jan 6 04:15:35 1997 Richard Coleman <coleman@math.gatech.edu>
2559
2560 * Cleaned up source code and Makefiles, so that if your `make'
2561 supports the VPATH option, you can build nmh in a different
2562 directory from where the source code is located.
2563
2564 Fri Jan 3 05:05:18 1997 Richard Coleman <coleman@math.gatech.edu>
2565
2566 * Released nmh-0.02.
2567
2568 Wed Jan 1 17:41:52 1997 Richard Coleman <coleman@math.gatech.edu>
2569
2570 * Split mhook man page into man pages for rcvdist, rcvpack,
2571 and rcvtty.
2572
2573 Tue Dec 31 03:07:48 1996 Richard Coleman <coleman@math.gatech.edu>
2574
2575 * Changed code to use strerror, rather than using sys_errlist
2576 and sys_nerr directly.
2577
2578 Mon Dec 30 02:15:25 1996 Richard Coleman <coleman@math.gatech.edu>
2579
2580 * -compat switch from install-mh removed.
2581
2582 * Changed the default POP port from "pop" to "pop3".
2583
2584 Sat Dec 28 13:25:05 1996 Richard Coleman <coleman@math.gatech.edu>
2585
2586 * Changed mhn_defaults to mhn.defaults. Changed create_mhn_defaults
2587 (again) to mhn.defaults.sh. Changed find_program (again) to
2588 mhn.find.sh. mhn.defaults.sh now takes the search path
2589 as an argument. Default search path is now specified in Makefile
2590 rather than in script.
2591
2592 Fri Dec 27 16:34:01 1996 Richard Coleman <coleman@math.gatech.edu>
2593
2594 * Changed mtstailor file to mts.conf. Updated man pages.
2595
2596 * Changed si_value to si_val in mhn.c, since it conflicts with
2597 macro defined on Solaris.
2598
2599 Thu Dec 26 02:50:15 1996 Richard Coleman <coleman@math.gatech.edu>
2600
2601 * Added --enable-nmh-mhe (and --disable-nmh-mhe) to enable/disable
2602 support for Emacs front-end mhe. It is on by default.
2603
2604 * Added the following configure options: --enable-nmh-pop to
2605 enable client side pop support, --enable-nmh-smtp to enable
2606 SMTP support. Client-side pop support now compiles. Man
2607 pages for inc, msgchk, mh-chart now correctly added pop
2608 options if enabled.
2609
2610 Tue Dec 24 14:33:20 1996 Richard Coleman <coleman@math.gatech.edu>
2611
2612 * Added configure test for bug in C libraries where linker
2613 can't find ruserpass, but can find _ruserpass.
2614
2615 * Fixed configure test so that termcap variable ospeed is
2616 correctly found.
2617
2618 Mon Dec 23 19:40:17 1996 Richard Coleman <coleman@math.gatech.edu>
2619
2620 * Source files converted to ANSI C.
2621
2622 * md5 now compiled separately rather than being included
2623 in mhn.c. Changed md5 to use memset and memcpy.
2624
2625 Fri Dec 20 02:29:37 1996 Richard Coleman <coleman@math.gatech.edu>
2626
2627 * Collected the error routines adios, advise, admonish, and advertise
2628 into one file (error.c), and did some rearranging of the code.
2629
2630 Thu Dec 19 19:05:29 1996 Richard Coleman <coleman@math.gatech.edu>
2631
2632 * Added awk script sigmsg.awk (originally written by
2633 Geoff Wing <mason@werple.apana.org.au> for zsh) to
2634 automatically generate signal messages for pidstatus.c.
2635 Added files sbr/signals.c, h/signals.h. Code now uses
2636 sigprocmask to block signals (if available). Code now uses
2637 signal blocking on non-BSD machines.
2638
2639 Wed Dec 18 01:55:17 1996 Richard Coleman <coleman@math.gatech.edu>
2640
2641 * Add configure check for ATTVIBUG. From Soren's mh autoconf work.
2642
2643 * Released nmh-0.01.
2644
2645 * Added configure code to check for type of signals functions
2646 you have (POSIX or BSD style signals). Added function
2647 SIGPROCMASK to simulate sigprocmask on machines that don't
2648 have POSIX signals.
2649
2650 Fri Dec 13 19:40:48 1996 Richard Coleman <coleman@math.gatech.edu>
2651
2652 * Added -version switch to all commands. Also added to
2653 their man pages.
2654
2655 Mon Dec 9 16:36:54 1996 Richard Coleman <coleman@math.gatech.edu>
2656
2657 * Renamed uip/trmsbr.c to termsbr.c and changed it to use
2658 POSIX termios.h style functions if present.
2659
2660 Tue Dec 3 16:18:39 1996 Richard Coleman <coleman@math.gatech.edu>
2661
2662 * Changed support/general/bootmhn.sh to output new mhn_defaults
2663 file to standard output by default (makes it easier for testing).
2664 Changed name of script to create_mhn_defaults. Changed bootmhn.findit
2665 script to find_program.
2666
2667 Sun Dec 1 10:00:00 1996 Richard Coleman <coleman@math.gatech.edu>
2668
2669 * Added patch to uip/folder.c from exmh distribution to
2670 speed up -recurse option.
2671
2672 * Added flist command from exmh distribution. It doesn't work
2673 yet, but it compiles :-)
2674
2675 * Changed default location for install to
2676 /usr/local/nmh/{bin,etc,lib,man}. Split files so that format
2677 and configuration files go in nmh/etc, and support binaries go
2678 in nmh/lib. Of course, all this can now be changed in the top
2679 level Makefile.
2680
2681 * Started with mh-6.8.3 as based and converted to autoconf.
2682 Rewrote all the Makefiles. Currently only works with sendmail/smtp.
2683 Pop support and plenty of other things, are now broken.