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