man/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link.
[mmh] / ChangeLog
1 2010-11-09  Peter Maydell <pmaydell@chiark.greenend.org.uk>
2
3         * man/rmm.man: fix error in synopsis: the option is
4           [no]unlink, not [no]link.
5
6 2010-08-31  David Levine <levinedl@acm.org>
7
8         * uip/.cvsignore:  added "new".
9
10 2010-02-03  Earl Hood <earl@earlhood.com>
11
12         * Bug #15213, #18635: The use of the insecure m_scratch() and
13           m_tmpfil() functions have been replaced by m_mktemp()
14           or m_mktemp2() functions (defined in sbr/m_mktemp.c).
15           The new functions use mkstemp() to securely create
16           temporary files to avoid the numerous race conditions
17           that exist with the old functions.  This does assume
18           that mkstemp() is available.  Unsure if we need to
19           create an alternative implementation if mkstemp() is
20           not available.  More information about new temp file
21           functions in m_mktemp.c, including the support for
22           MHTMPDIR, TMPDIR, and TMP envvars.
23
24 2010-02-02  Earl Hood <earl@earlhood.com>
25
26         * mts/smtp/smtp.c: added SASL support if mts configuration
27           setting is set to "sendmail".  This is useful if sendmail
28           conf option is to a custom script that creates a proxy
29           connection to an smtp server.
30
31         * sbr/mts.c: added support for MHMTSCONF and MHMTSUSERCONF
32           envvars.  The former specifies an alternative system
33           mts.conf to use.  The later specifies a user-specific
34           mts.conf to use.  This one will be read after the system
35           conf, so the user's conf only needs to set options they
36           want to override.  The MHMTSUSERCONF allows a user to set
37           personal alternative mail submission methods w/o affecting
38           other users on the system.
39
40         * uip/whom.c: added SASL-based options so address checking
41           can work against a server that requires SASL.
42
43 2009-12-29  David Levine <levinedl@acm.org>
44
45         * uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
46         pointers to unsigned long before casting to unsigned int
47         to avoid warnings on 64-bit about casting from pointer
48         to int of different size.
49
50         * uip/new.c: cast folder_len to int to avoid warning on
51         64-bit about passing a size_t to an int conversion specifier.
52
53 2009-12-25  David Levine <levinedl@acm.org>
54
55         * uip/inc.c: gcc 4.4.1 noticed that maildir could have been
56         used before initialization.  In fact, if that code was ever
57         reached, maildir would never have been initialized.  It's in
58         an adios call, so replaced with NULL.
59
60 2009-12-21  David Levine <levinedl@acm.org>
61
62         * mts/smtp/smtp.c: In sm_auth_sasl (), removed zeroing of
63         sasl_inbuffer because it could be used in sm_fget ().  Also,
64         removed allocation of sasl_inbuffer because that was done in
65         either smtp_init () or sendmail_init ().
66
67 2009-01-17  Eric Gillespie  <epg@pretzelnet.org>
68
69         * etc/mhn.defaults.sh: Never try to make mhshow start xterm.
70
71 2009-01-16  Eric Gillespie  <epg@pretzelnet.org>
72
73         * test/runtest, test/tests/inc/test-deb359167,
74         test/tests/inc/test-eom-align, test/tests/manpages/test-manpages:
75         Load common.sh via absolute path, otherwise some /bin/sh
76         (e.g. dash) can't load it.
77
78         * uip/Makefile.in, uip/new.c, test/tests/new/test-basic: Add new
79         program, and fn/fp/unseen symlinks.
80
81         * test/{runtest,setup-test}: Move MH profile under Mail directory
82         so each test script will have its own to muck with, if needed.
83
84         * h/Makefile.in, h/crawl_folders.h, sbr/Makefile.in,
85         sbr/crawl_folders.c, uip/folder.c: Extract the folder crawling
86         code from folder.c into new crawl_folders function, using a
87         callback to assemble the folder info in folder.c.  Drop compare
88         function and use strcmp instead.  Rename addfold and addir to
89         add_folder and add_children (add dir vs. add folder?
90         confusing names).
91
92 2008-12-26  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
93
94         * sbr/m_getfld.c: fix two bugs which could cause us to walk off
95         the beginning of the stdio or prefix-string buffer when checking
96         for presence of the end-of-message delimiter in some situations.
97         This might cause inc to dump core if you were unlucky. (This was
98         Debian bug 359167.)
99         * test/tests/inc/{md5sums,msgheader.txt,test-deb359167,
100         test-eom-align,fromline.txt,filler.txt,deb359167.mbox}: new tests
101         both for the specific problem and to try to check various alignments
102         of the eom string with the stdio buffer ending.
103         * test/common.sh: new file for common utility functions for the
104         test scripts. Moved findprog out of manpage test script into this
105         new file. Added some functions for doing progress indicators.
106
107 2008-12-25  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
108
109         * test/runtest: automatically run setup-test if it hasn't already
110         been done. Improve error handling in test script with 'set -e'.
111
112 2008-10-23  David Levine <levinedl@acm.org>
113
114         * h/mh.h: raised NAMESZ from 128 to 999.  RFC 2822 limits line
115         lengths to 998 characters, so a header name can be at most that long.
116         m_getfld limits header names to 2 less than NAMESZ, which is fine,
117         because header names must be followed by a colon.  Add one for
118         terminating NULL.
119
120 2008-10-23  David Levine <levinedl@acm.org>
121
122         * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of
123         NAMESZ-1 bytes because the message says "exceeds", not
124         "is greater than or equal to".
125
126 2008-10-23  David Levine <levinedl@acm.org>
127
128         * docs/MAIL.FILTERING: added note on removing procmail -f or
129         -r options to try to suppress generation of a "From " line on
130         incoming messages.
131
132 2008-08-14  Eric Gillespie  <epg@pretzelnet.org>
133
134         * test/setup-test: Don't run autogen.sh unless needed.  Build in a
135         blddir under the temporary directory so as not to interfere with
136         whatever the developer may be doing in the source directory.
137         If the temporary directory already exists, rebuild and install it.
138
139 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
140
141         * sbr/ambigsw.c: Send print_sw output to stderr.  This avoids
142         strange problems with scan `pick -bogus`, not to mention being
143         nicer anyway.
144
145         * sbr/getans.c, sbr/print_help.c, uip/msh.c: Send print_sw output
146         to stdout.
147
148         * h/prototypes.h, sbr/print_sw.c (print_sw): Add FILE * argument
149         and send output there rather than to stdout.
150
151         * test/tests/pick/test-stderr: Add test that error messages don't
152         end up going to stdout.
153
154 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
155
156         * uip/pick.c: Print matching messages immediately, instead of
157         waiting until the very end to print anything.
158         Ensure valid sequence name as soon as we parse it from command,
159         instead of searching the messages first.
160
161 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
162
163         * uip/Makefile.in, uip/popi.c: Remove popi.c, which has been dead
164         since PatchSet 257 (2000/06/12 11:07:34 UTC).
165
166 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
167
168         * h/mhparse.h: Move interfaces also used by mhbuildsbr.c here
169         from mhparse.c.
170
171         * uip/Makefile.in (mhbuild): Build with mhparse.o.
172
173         * uip/mhbuildsbr.c: Drop the duplication of mhparse.c.
174
175         * uip/mhbuild.c, uip/mhlist.c, uip/mhn.c, uip/mhshow.c,
176         uip/mhstore.c, uip/mhtest.c: Drop check swdeclaration, which is
177         now in mhparse.h.
178
179         * uip/mhparse.c: Move some declarations to mhparse.h, and remove
180         'static' from the definitions here.
181         (get_ctinfo): Take magic mhbuild support from mhbuildsbr.c's copy,
182         and adapt callers.
183         (incl_name_value, extract_name_value): Move from mhbuildsbr.c to
184         support get_ctinfo change).
185         (get_content, open7Bit): Add Content-Disposition support, added to
186         mhbuildsbr.c's copy in mhbuildsbr.c r1.12 (PatchSet 549).
187         (InitText): Default to CHARSET_UNSPECIFIED instead of "US-ASCII",
188         as mhbuildsbr.c's copy did.  Explain termproc.
189         (openBase64, openQuoted, open7Bit): Fix comment from r1.5:
190         suffixes, not prefixes.
191         (openMail): Explain showproc.
192
193         * test/tests/mhshow/test-cte-binary: Add test for
194         Content-Transfer-Encoding: binary (Debian #136976).
195
196         * test/tests/mhbuild/test-forw: Add an mhbuild test, testing forw
197         with and without RFC-934 mode.  More mhbuild tests would be nice.
198
199 2008-08-13  Eric Gillespie  <epg@pretzelnet.org>
200
201         * test/tests/bad-input/test-header: Add test for it.
202
203         * sbr/m_getfld.c: If we reach the end of the line without finding
204         a ':' when parsing a header field, treat that line as the
205         beginning of the body rather than blowing up.  These messages are
206         usually spam, but it's nice to be able to at least scan them.
207
208 2008-08-12  Eric Gillespie  <epg@pretzelnet.org>
209
210         * test/tests/mhshow/test-qp: Test various valid and invalid
211         escape sequences.
212
213         * uip/mhparse.c (openQuoted): Simplify the decode-or-show for loop by
214         peeking ahead to the next byte(s) when encountering '=', and just let
215         invalid escape sequences through as literals (fixes bug #15245).
216
217 2008-08-12  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
218
219         * autogen.sh (new file): add script for running the GNU
220         autotools in the right order
221         * INSTALL: mention that you need to run autogen.sh if you
222         got nmh from CVS
223         * docs/README.developers: mention autogen.sh rather than
224         suggesting running autoheader and autoconf by hand.
225         * test/setup-test: run autotools via autogen.sh
226
227 2008-08-08  Eric Gillespie  <epg@pretzelnet.org>
228
229         * sbr/discard.c, sbr/m_getfld.c, uip/scansbr.c: Add support for
230         DragonFlyBSD stdio (from NetBSD pkgsrc).
231
232 2008-08-05  Eric Gillespie  <epg@pretzelnet.org>
233
234         * uip/folder.c: chdir(nmhdir) in main rather than in dodir, which
235         is called many times.  Drop the chdir in get_folder_info, which
236         served no purpose at all.  If struct stat has d_type (BSD), use
237         that to skip processing (strcmp, stat, and so on) of message
238         files, mostly undoing the slow-down from the last change.
239
240         * configure.in: Call CHECK_TYPE_STRUCT_DIRENT_D_TYPE.
241
242         * aclocal.m4: Add CHECK_TYPE_STRUCT_DIRENT_D_TYPE from
243         GNU coreutils.
244
245 2008-08-04  Eric Gillespie  <epg@pretzelnet.org>
246
247         * uip/folder.c: Simplify dodir/addir/addfold.  Dump hacky
248         over-optimization in addir that tried to avoid readdir after all
249         child directories had been read; this was also trying to support
250         symlinks to directories, but would have been failing (because
251         nlink may have gone to 0 with symlinks to directories remaining)
252         had the lstat usage been correct (lstat doesn't fail for normal
253         directories; should have used S_ISLNK).
254
255 2008-08-03  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
256
257         * test/setup-test: use 'set -e' so we stop on compile failure.
258         Configure --enable-debug for convenience in debugging.
259
260         * uip/whatnowsbr.c: bug #23319: rework the way we handle the working
261         directory when invoking the user's shell, so that we don't have
262         issues when the cwd contains a space or shell special character.
263         * test/tests/whatnow/test-attach-detach, test/tests/whatnow/test-cd,
264         test/tests/whatnow/test-ls: test cases for this.
265
266         * sbr/fmt_compile.c: add 'do { ... } while (0)' wrappers
267         to various multi-statement macros to avoid nasty surprises
268         if the macros are used in if() clauses.
269
270         * bug #23436: man/scan.man, man/forw.man, man/inc.man,
271         man/mh-chart.man, man/mhmail.man, man/mhshow.man,
272         man/mhstore.man, man/msgchk.man, man/packf.man, man/scan.man:
273         fix minor syntax errors groff warns about.
274         * test/runtest, test/README: allow test cases to report
275         that they have been SKIPped as well as PASS/FAIL
276         * test/tests/manpages/test-manpages - new test which runs groff
277         on the manpages and checks that there are no warnings.
278         * test/runalltests: ignore editor backup files
279
280 2008-08-03  Eric Gillespie  <epg@pretzelnet.org>
281
282         * etc/replcomps, etc/replgroupcomps: Trim trailing whitespace from
283         Subject field.
284
285 2008-08-03  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
286
287         * sbr/fmt_compile.c: when doing an if-test on the result
288         of a function which returns a string result, check whether
289         the string is non-empty (as the documentation says we do).
290         Previously we were always testing the integer 'value'. Bug
291         spotted by Eric Gillespie.
292         * test/tests/repl/test-if-str: test case for this bug
293
294 2008-07-24  Eric Gillespie  <epg@pretzelnet.org>
295
296         * test/setup-test: Run 'make clean' before building
297
298 2008-07-24  Eric Gillespie  <epg@pretzelnet.org>
299
300         * test/runtest: cat test-temp-dir only once.  Destroy and create
301         test Mail hierarchy here, so each test has its own independent
302         test data.
303
304         * test/setup-test: Drop needless pushd/popd, which don't exist in
305         sh anyway.  Don't use aclocal, which is part of automake.
306         Don't create Mail hierarchy here (see test/runtest).
307
308         * test/tests/folder/test-create, tests/folder/test-total: Drop
309         unused BINDIR.
310
311         * tests/pick/test-pick: Remove failing no-op test.
312
313         * test/tests/scan/test-scan: Write expected and actual output to
314         files and diff them.  This way, if the output differs, diff
315         provides the FAILing exit code and shows the differences.
316
317 2008-06-12  Josh Bressers <josh@bress.net>
318         * man/repl.man, etc/mhl.reply:
319         Add an attribution line when replying to messages.
320
321 2008-06-02  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
322
323         * h/mh.h, h/prototypes.h, sbr/done.c, uip/inc.c,
324         uip/mhbuild.c, uip/mhlist.c, uip/mhn.c, uip/mhshow.c,
325         uip/mhstore.c, uip/mhtest.c, uip/packf.c, uip/pick.c,
326         uip/rcvdist.c, uip/rcvstore.c, uip/sendsbr.c: when
327         building on gcc, use the noreturn attribute on various
328         functions (should improve code and avoid some spurious
329         'uninitialized variable' warnings).
330
331 2008-06-01  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
332
333         * docs/README.developers: update the bits about doing a
334         release announcement, now I've actually done one.
335
336 2008-05-22  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
337
338         * uip/scansbr.c: don't use MB_CUR_MAX if we aren't compiled
339         with multibyte support.
340
341         * uip/whatnowsbr.c: factor out common code for writing ls
342         shell command, and make it do more sensible buffer length
343         checks. Also avoid relying on the return value of sprintf(),
344         as some old systems don't return number of characters written.
345
346 2008-05-21  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
347
348         * sbr/utils.c (mh_xrealloc): don't assume realloc() can
349         handle NULL pointers; some non-POSIX realloc()s can't.
350
351         * sbr/dtimep.lex: add some table size declarations for the
352         benefit of elderly lexes with small defaults.
353
354 2008-05-18  David Levine <levinedl@acm.org>
355
356         * sbr/addrsbr.c: removed "err" from conditional, because gcc
357         correctly warned that it would always evaluate as true.  It's
358         the address of a static array.
359
360 2008-05-16  Oliver Kiddle <okiddle@yahoo.co.uk>
361
362         * sbr/Makefile.in, config/Makefile.in: Don't use $< in target rules
363         in makefiles, as POSIX says it's only defined in inference rules.
364
365 2008-05-13  David Levine <levinedl@acm.org>
366
367         * configure.in, INSTALL: if --enable-masquerade is not
368         specified to configure, enable all supported masquerade forms.
369         This allows users to masquerade with the default
370         configuration.  That seems to be more worthwhile now than
371         trying to prevent users from using it, especially with
372         single-user installations or those where a user can edit
373         etc/mts.conf.
374
375 2008-05-04  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
376
377         * bug #23167: sbr/ruserpass.c (ruserpass): make bad permissions
378         on .netrc be an instantly fatal error. Previously we returned
379         an error value; however, no caller was checking it. So now
380         ruserpass() has a void return type.
381
382         * bug #23163: various minor fixes for the benefit of
383         older Unixes (specifically SunOS 4):
384         reintroduce strerror() substitute implementation
385         provide memmove() substitute implementation
386
387         * bug #23163: fix accidentally broken 'build outside
388         source directory' feature
389         
390         * bug #23162: sbr/dtime.c: fix stray HAVE_TM_GMTOFF that
391         wasn't updated to the new macro name.
392
393 2008-04-30  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
394
395         * mts/smtp/smtp.c: provide a callback for SASL_CB_AUTHNAME
396         (fixes issue with SASL sending the wrong username in some
397         circumstances). Thanks to <der_wachtmeister@freenet.de>
398         for the patch.
399
400 2008-04-29  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
401
402         * Revert previous attempt at fix for SASL issue as it
403         is the wrong approach.
404
405         * Fix in correct manner, by making sm_rrecord() and thus
406         sm_hear() set the length of the reply string correctly
407         (the SASL libraries now care if you pass in the wrong
408         length).
409
410         * Correct various places in smtp.c where the reply string
411         might not have been correctly NUL-terminated. Includes a
412         fix for a particularly nasty and long standing screwup
413         where the buffer length counting in smhear() was totally
414         broken for continued lines from the server.
415
416 2008-04-29  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
417
418         * Cope with sasl_decode64() returning SASL_CONTINUE, as
419         happens with newer sasl libraries and LOGIN auth.
420
421 2008-04-27  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
422
423         * Updated some of the 'how to do a release' documentation.
424
425         * Upped the VERSION string to '1.3-dev', since 1.3-RC1 has
426         been branched off.
427
428 2008-04-27  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
429
430         * Released nmh-1.3 RC1.
431
432 2008-04-11  Oliver Kiddle <okiddle@yahoo.co.uk>
433
434         * acconfig.h, configure.in, sbr/dtime.c, sbr/pidwait.c,
435         uip/mhshowsbr.c, uip/rcvtty.c, uip/slocal.c, uip/termsbr.c:
436         move most remaining macros out of acconfig.h which is an
437         obsolete feature of autoconf
438
439 2008-04-05  Peter Maydell <pmaydell@chiark.greenend.org.uk>
440
441         * bug #18655: fix use of admonish() for a fatal error (should
442         be adios(); only actual effect would be wrong exit code).
443         Thanks to Craig Leres for spotting this.
444
445 2008-04-05  Peter Maydell <pmaydell@chiark.greenend.org.uk>
446
447         * bug #20028 (Debian bug 399271): fix code assuming that pointer
448         differences were 32 bits -- thanks to Dean Gaudet for the patch.
449
450 2008-01-25  Josh Bressers <josh@bress.net>
451
452         * uip/mhshowsbr.c (show_all_messages): Be more generous when parsing
453         multipart messages.
454
455 2007-11-04  Joel Reicher <joel@panacea.null.org>
456
457         * Changed done() link overriding to function pointer. Return type
458         is now void so that exit() can be used as done() callback. Dead
459         code return from all done()s removed, with return 1 in main()
460         following done() (should never be reached).
461
462 2007-08-21  Josh Bressers <josh@bress.net>
463
464         * Red Hat Bug #253342: inc.c, utils.c, utils.h: When inc is run with
465         the -silent flag, don't exit(1) for no apparent reason.
466
467 2007-03-12  Peter Maydell <pmaydell@chiark.greenend.org.uk>
468
469         * bug #18630, #18631, #18632, #18634: various patches from
470         Craig Leres fixing error message argument problems.
471
472 2007-03-12  Peter Maydell <pmaydell@chiark.greenend.org.uk>
473
474         * bug #15212: configure.in, acconfig.h: remove configure test for
475         broken AT&T vi. This test was broken (it was always returning
476         failure even for non-broken vi implementations) and
477         unfixable. Nobody should be using AT&T vi any more so I have
478         simply moved it back to being a setting you can put manually into
479         acconfig.h if you must.
480
481 2006-10-24  David Levine <levinedl@acm.org>
482
483         * uip/sendsbr.c: with attachformat values of 1 or 2, add
484         name= portion to Content-Type header.  This makes them
485         consistent with attachformat value 0.  And it allows mhstore
486         to use that (file)name when extracting attachments.
487
488 2006-08-26  Josh Bressers <josh@bress.net>
489
490         * configure.in: If we're not using dotlocking, there is no need to set
491         inc sgid.
492
493 2006-03-30  David Levine <levinedl@acm.org>
494
495         * uip/sendsbr.c: with attachformat values of 1 or 2, only
496         generate Content-Disposition headers for MIME attachments, not
497         for the message contents themselves.  Microsoft Outlook Build
498         10.0.6626, at least, doesn't show the message contents if they
499         have Content-Disposition.
500
501 2006-03-09  Josh Bressers <josh@bress.net>
502
503         * sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor
504         if it isn't valid.
505
506 2006-03-08  Josh Bressers <josh@bress.net>
507
508         * (mh_strcasecmp): Rename the private strcasecmp function to
509         mh_strcasecmp.  This keeps the newer gnu linker happy.
510
511 2006-03-05  Oliver Kiddle <okiddle@yahoo.co.uk>
512
513         * sbr/fmt_rfc2047.c: don't try to malloc 0 bytes if an RFC2047
514         encoded block is empty
515
516 2006-03-04  Peter Maydell <pmaydell@chiark.greenend.org.uk>
517
518         * etc/Makefile.in: use INSTALL_SCRIPT to install scripts;
519         this allows INSTALL_PROGRAM to be set to 'install -s' so
520         binaries are stripped on installation. Apparently the BSDs
521         do this.
522
523 2006-02-25  David Levine <levinedl@acm.org>
524
525         * uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
526         it should have been.  Added #include of h/tws.h to pick up
527         dtime() prototype.
528
529 2006-02-20  David Levine <levinedl@acm.org>
530
531         * h/mh.h, h/prototypes.h, uip/mhbuildsbr.c, uip/send.c,
532         uip/sendsbr.c, uip/viamail.c, uip/whatnowsbr.c, man/send.man:
533         added -attachformat switch to send, to support alternate MIME
534         header contents when using -attach.  See send man page for
535         description.
536
537         * man/mhbuild.man: wrapped one appearance of "Content-Disposition"
538         with quotes, to be consistent with others.
539
540 2006-02-20  Josh Bressers <josh@bress.net>
541
542         * h/utils.h, sbr/utils.c, uip/flist.c, uip/folder.c: Move duplicate
543         function num_digits into utils.c
544
545 2006-02-19  Josh Bressers <josh@bress.net>
546
547         * sbr/m_draft.c, sbr/utils.c, uip/folder.c, uip/inc.c,
548         uip/mhstoresbr.c, uip/popi.c, uip/refile.c: Add create_folder()
549         function, replacing duplicate code during folder creation.
550
551 2006-02-18  David Levine <levinedl@acm.org>
552
553         * h/mime.h, h/mhparse.h, uip/mhbuildsbr.c, uip/mhfree.c,
554         man/mhbuild.man, docs/TODO:  added support for an optional
555         Content-Disposition header in mhbuild (only).  Its contents
556         are supplied between {}, positioned after the optional [], in
557         a mhbuild directive.  If the contents do not contain a
558         "filename=" parameter, and the directive has a filename, or
559         something else that ends with "name=", then that will be used
560         to add a "filename=" parameter to the header.
561
562 2006-02-12  David Levine <levinedl@acm.org>
563
564         * docs/TODO: added RFC2183 to reference of RFC1806 for
565         Content-Disposition header.
566
567 2006-01-31  David Levine <levinedl@acm.org>
568
569         * uip/mhbuild.c, uip/mhbuildsbr.c, man/mhbuild.man:  added
570         -nocontentid switch, to disable generation of Content-ID:
571         header in MIME messages.  (Also added -contentid for
572         symmetry.)  The default configuration of Microsoft Outlook,
573         Build 10.0.3416 in particular, doesn't see attachments in
574         incoming messages if there are Content-ID headers, see
575         http://home.cwru.edu/~wrv/eudoraoutlookfix.html.  This allows
576         users to easily accomodate that by adding
577         mhbuild: -nocontentid to their .mh_profile.
578
579 2006-01-29  Oliver Kiddle  <okiddle@yahoo.co.uk>
580
581         * bug 4360: uip/replsbr.c: remove trailing newlines from components
582         to fix bug with spaces at the end of Subject/References in replies
583
584 2006-01-18  Oliver Kiddle  <okiddle@yahoo.co.uk>
585
586         * configure.in: use AS_HELP_STRING for formatting help messages
587
588         * configure.in, sbr/fmt_scan.c: add autoconf magic to support
589         old systems that don't support multibyte character sets
590
591         * sbr/fmt_scan.c: fix bug with insertion of newline being wrong if
592         the num function was used at the end of the format buffer
593
594 2006-01-17  David Levine <levinedl@acm.org>
595
596         * uip/post.c, uip/spost.c: in make_bcc_file (), use same
597         logic as in finish_headers () to detect whether there is an
598         existing From: line in the draft.  If draft_from masquerade
599         flag is enabled, this allows the From: to be obeyed in the
600         Bcc, instead of the old behavior of always replacing it with
601         the signature.
602
603 2006-01-17  Oliver Kiddle  <okiddle@yahoo.co.uk>
604
605         * sbr/fmt_scan.c: more robust multi-byte/column support for field
606         widths, restoring right justification feature
607
608 2006-01-16  Oliver Kiddle  <okiddle@yahoo.co.uk>
609
610         * h/aliasbr.h, h/rcvmail.h, man/Makefile.in, man/slocal.man,
611         sbr/lock_file.c, uip/aliasbr.c, uip/dropsbr.c, uip/post.c,
612         uip/slocal.c, man/mh-mts.man: remove remnants of code for MMDF
613
614         * uip/scansbr.c: multiply buffer size by MB_CUR_MAX so multi-byte
615         chars fit
616
617 2006-01-14  Josh Bressers <josh@bress.net>
618
619         * sbr/fmt_scan.c: Turn the PUTSF macro into a function capable of
620         handling multi column characters.
621
622 2006-01-07  Josh Bressers <josh@bress.net>
623
624         * Remove sbr/strerror.c -- strerror(3) is defined in C89.
625
626 2006-01-06  Josh Bressers <josh@bress.net>
627
628         * patch #3968: Move the add() function from its own file (add.c) and
629         into utils.c. There was also a duplicate add() function in mf.c which
630         has been removed.
631
632 2006-01-02  Josh Bressers <josh@bress.net>
633
634         * Remove sbr/pwd.c file, moving the pwd() function into sbr/utils.c.
635
636 2006-01-01  Josh Bressers <josh@bress.net>
637
638         * patch #3967: Create a mh_xrealloc function to prevent mistakes when
639         calling realloc.
640
641 2006-01-01  Josh Bressers <josh@bress.net>
642
643         * patch #3966: Create a mh_xmalloc function to prevent mistakes when
644         calling malloc.
645
646 2005-12-24  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
647
648         * Bug #15285: Don't use $< in target rules in makefiles, as POSIX
649         says it's only defined in inference rules. (BSD make was expanding
650         $< to the empty string in the rule for building sbr/dtimep.c, which
651         causes lex to apparently hang because it's reading from stdin.)
652
653 2005-12-24  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
654
655         * Completely redo db library checking -- we now check for working
656         (include file, library) pairs rather than checking for headers and
657         libraries separately. We also now provide --with-ndbm=lib and
658         --with-ndbmheader=header options to configure to handle situations
659         where configure's autodetection fails.
660
661 2005-12-21  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
662
663         * Fix stupid accidental dependence on a bash quirk in previous
664         configure script change.
665
666 2005-12-15  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
667
668         * Improve checking for Berkeley db libraries: configure should now
669         find a suitable library on systems with new gdbm where
670         compatibility functions are in the gdbm_compat library, and on
671         systems with libdb4.
672
673 2005-12-13  Michael Forrest <mef@computer.org>
674
675         * Fedora Bug #163760: sbr/context_read.c (context_read): Ensure that
676         the context is only read once.
677
678 2005-12-12  Josh Bressers <josh@bress.net>
679
680         * uip/sendsbr.c (annoaux): Fix the call to annotate() fixing a bug
681         which prevented repl from properly annotating messages.
682
683 2005-12-07  Jon Steinhart <nmh@fourwinds.com>
684
685         * Fixed a bug where anno -append put the headers in the wrong place
686         if applied to a message that didn't contain any headers.
687
688         * Added a special value of "all" to the -number option that causes
689         anno -delete to delete all matching components instead of just
690         the first one.
691
692         * Added new -preserve and -nopreserve options.  Using -preserve
693         retains the original last accessed and last modified times on
694         annotated messages.
695
696 2005-12-05  Josh Bressers  <josh@bress.net>
697
698         * Fedora Bug #174983: configure.in: Fix the AC_PATH_PROG default when
699         vi isn't found during build.
700
701 2005-11-19  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
702
703         * bug #14977: sbr/context_read.c: special case an MHCONTEXT of
704         "/dev/null" and don't try to lock it.
705
706         * bug #9228, debian bug #146449: man/mh-profile.man: make it clearer
707         that lower case environment variables (and in particular mheditor)
708         are internal to nmh and not intended to be set by the user.
709
710 2005-11-09  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
711
712         * sbr/mf.c: fix buffer overrun with absurdly long addresses
713         (only causes crashes if scan is run with '-width 16536' or similar)
714
715         * bug #7917: sbr/context_foil.c, sbr/context_read.c,
716         sbr/context_save.c: mark 'no context' with NULL rather than
717         "/dev/null" so we don't inadvertently try to lock /dev/null (which
718         takes up to a minute in some locking configurations and makes post
719         very slow).
720
721         * patch #3913: uip/post.c: pass some globals into sm_init() so that
722         it uses SASL if necessary. (This bug was preventing Bcc'd emails
723         from being sent via SASL authenticated SMTP.)
724
725         * bug #9813: uip/rmf.c: don't crash if there's no Current-Folder
726         entry in the context file.
727
728 2005-11-13  Oliver Kiddle  <okiddle@yahoo.co.uk>
729
730         * bug #7833: uip/Makefile.in: remove link to install-mh that caused
731         problems on some systems
732
733         * bug #739: Makefile.in: install target now depends on all to avoid
734         problem on case-insensitive file systems with the INSTALL file
735
736 2005-11-10  Josh Bressers  <josh@bress.net>
737
738         * Fedora Bug #172838: configure.in: Fix the AC_PATH_PROG default when
739         sendmail isn't found during build.
740
741 2005-11-09  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
742
743         * h/aliasbr.h: fix a non-ANSI prototype.
744
745 2005-11-08  Oliver Kiddle  <okiddle@yahoo.co.uk>
746
747         * Simon Burge: acconfig.h, configure.in, uip/rcvtty.c, uip/slocal.c:
748         fix to handle getutent() on NetBSD
749
750         * INSTALL, README, docs/README.about, man/nmh.man: update most
751         references to the web page and mailing list locations
752
753         * bug #10230: etc/Makefile.in, man/Makefile.in, uip/Makefile.in:
754         Michael De La Rue: prepend DESTDIR to install locations
755
756         * configure.in, */Makefile.in, mts/smtp/smtp.c: replace obsolete
757         autoconf macros
758
759 2005-11-06  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
760
761         * sbr/fmt_rfc2047.c, sbr/fmt_scan.c, h/prototypes.h: fix various
762         possible overruns of the buffers in fmt_scan() which would cause
763         crashes if scan was run with '-width 16536' or similar.
764
765         * uip/popsbr.c: fix compile error which only showed up if nmh
766         was configured with --enable-apop.
767
768         * Debian Bug# 245932, RedHat Bug# 172388: uip/mhparse.c: don't
769         crash when handling a multipart MIME message with an invalid
770         Content-Type header (file handle was being fclose()d twice).
771
772         * sbr/Makefile.in: adjust lex command to work on both old and
773         new versions of flex.
774
775         * configure.in: add an AC_PREREQ() so autoconf 2.13 gives a helpful
776         error message and the Debian autoconf-version-guessing wrapper
777         doesn't guess wrongly.
778
779 2005-11-02  Oliver Kiddle  <okiddle@yahoo.co.uk>
780
781         * Debian Bug# 320069: Nick Rusnov: uip/popsbr.c: fail when
782         kpop connection attempted without KPOP support compiled in
783
784         * Debian Bug# 320090: Nick Rusnov: sbr/Makefile.in: fix for newer
785         version of flex and remove autogenerated file from cvs
786
787         * patch #1155: uip/flist.c: speed up flist by skipping stat on
788         files with numbers as names
789
790         * docs/Makefile.in: include new files in distribution
791
792 2005-10-11  Bill Wohler  <wohler@newt.com>
793
794         * docs/FAQ: fold questions into MH FAQ and distribute that instead
795
796 2005-10-05  Oliver Kiddle  <okiddle@yahoo.co.uk>
797
798         * Harald Geyer: h/mh.h, uip/replsbr.c: back out previous change
799         (fork/vfork) and replace with code that handles the issue directly
800
801 2005-05-18  Oliver Kiddle  <okiddle@yahoo.co.uk>
802
803         * Debian Bug# 143485: Nick Rusnov: h/mh.h: use fork instead of
804         vfork on Linux
805
806         * Debian Bug# 261592: Harald Geyer: uip/mhlsbr.c, uip/replsbr.c:
807         test/report error writing to stdout
808
809         * mts/smtp/smtp.c, uip/popsbr.c: correct SASL include file locations
810
811         * docs/COMPLETION-BASH: bash completion definitions from Debian
812
813         * patch #2863: savannah@brisammon.fastmail.fm: sbr/folder_read.c:
814         fix a bug affecting AFS where nmh was setting the READONLY flag
815         for a folder even when you do have write access to the folder
816
817         * Carl Mummert: h/fmt_compile.h, man/mh-format.man,
818         sbr/fmt_compile.c, sbr/fmt_scan.c: add unquote() function for
819         removing quotes from RFC-2822 encoded headers
820
821 2005-02-23  Oliver Kiddle  <okiddle@yahoo.co.uk>
822
823         * use iconv to convert RFC-2047 encoded headers to the
824         character set used by the current locale
825
826         * sbr/folder_read.c fix Debian bug #202667: crash when a
827         message's filename overflows an int when converted
828
829         * Updated config.guess and config.sub to the most recent
830         versions (from automake 1.9.5)
831
832 2005-02-21  Oliver Kiddle  <okiddle@yahoo.co.uk>
833
834         * sbr/getpass.c fix bug where inc crashed on failing to reopen
835         the terminal
836
837 2005-01-27  Oliver Kiddle  <okiddle@yahoo.co.uk>
838
839         * Added -proxy option to inc and msgchk. Based on old patch
840         from Michael Richardson.
841
842         * On systems where it is available, use nl_langinfo to get the
843         character set if MM_CHARSET is unset
844
845 2005-01-21  Oliver Kiddle  <okiddle@yahoo.co.uk>
846
847         * sbr/check_charset.c US-ASCII is a subset of UTF-8 so can be
848         handled directly when UTF-8 is being used
849
850 2004-12-17  Oliver Kiddle  <okiddle@yahoo.co.uk>
851
852         * uip/mhmisc.c Fix -part option to mhshow/mhlist/mhstore to
853         find sub-parts of the specified part
854
855 2004-11-19  Jon Steinhart  <jon@fourwinds.com>
856
857         * h/prototypes.h, sbr/folder_addmsg.c, uip/mhstoresbr.c,
858         uip/rcvstore.c, uip/refile.c: Added mail directory argument to
859         folder_addmsg in order to make it possible to provide a path to
860         the ext_hook call that is mailpath-based.  A problem existed when
861         a folder was a symbolic link and the pwd call would return the
862         path relative to the filesystem, not to mailpath.  A new argument
863         was needed because there was otherwise no reasonable way to get
864         that path.
865
866 2004-11-16  Jon Steinhart  <jon@fourwinds.com>
867
868         * sbr/folder_pack.c: Fixed problem where the refile hook was being
869         called after a message was renamed so that it wasn't around for
870         the hook.  The hook is now called before the message file is
871         renamed.
872
873         * sbr/folder_addmsg.c: Fixed wrong directory for hook when
874         refiling with -src option.
875
876 2004-10-15  Jon Steinhart  <jon@fourwinds.com>
877
878         * uip/sortm.c: Fixed calling of external hooks.
879
880 2004-10-12  Jon Steinhart  <jon@fourwinds.com>
881
882         * uip/inc.c: Fixed another weird bug caused by the static
883         mailpath being overwritten.
884
885         * uip/sendsbr.c: Fixed bug that caused anno to mangle headers.
886
887         * sbr/lock_file.c: Fixed strange bug that prevented a lock from
888         ever being obtained if getting it failed the first time.  The
889         problem was that the string of XXXXXX that is required by
890         mkstemp() was overwritten the first time through, and so all
891         subsequent times failed because mkstemp() failed.  The fix
892         reinitializes the tmp file string.
893
894         * uip/inc.c: Fixed bug in which the static maildir was overwritted
895         if a format string was read from the profile.
896
897         * sbr/folder_delmsgs.c: Fixed bug that was producing an incorrect
898         path for the external hook.
899
900 2003-10-06  Glenn Burkhardt <glenn@aoi-industries.com>
901
902         * uip/slocal.c, configure.in: db configuration fix for Debian; yet
903           another location for ndbm.
904
905 2003-09-30  Glenn Burkhardt <glenn@aoi-industries.com>
906
907         * Fix 'pick' so handling of options "-list" and "-seq" are
908         independent.
909         * Fix 'inc' realloc error when bringing in more than 100 msgs
910         to empty folder.
911         * Patches submitted by Nick Rusnov from Debian archive applied:
912
913         Debian Bug#
914            136976 - Handle binary content messages
915            143427 - mh-format.man typo
916            144098 - 'spost; should have same behavior as 'post'
917                     w.r.t. mts.conf masquerade line
918            149745 - slocal ignores 'N' result of previous command
919            152728 - increase SMTP timeouts to conform to RFC 1123
920                     The timeouts suggested by the RFC seem long
921                     to me - but the RFC is still listed as active.
922            181867 - typo for nmh.man
923         
924 2003-08-10  Jeffrey C Honig  <jch@honig.net>
925
926         * Fix problem where parsing of address/date fields in fmt_compile
927         is optimized to the first instance.  The first instance may be in
928         contitional code which will result in cached data to
929         be used.  Instead, convert c_flags to a flags field from a boolean
930         and parse on the first use.
931         * Remove some unused flag bits.
932
933 Fri Jul 01 22:02:00 2003 Glenn Burkhardt <glenn@aoi-industries.com>
934
935         * Applied fixes for configuration problems with Solaris and
936           systems with gdbm instead of db1 (includes bug #2024)
937         * Fixes for bugs 
938           #578  - repl leaks umask 
939           #1393 - sortm core dumps 
940           #1650 - msh leaks file descriptors
941           #1730 - Double free() in mhfree.c:free_encoding()
942           #3356 - In-Reply-To header in default replcomps should be 
943                   RFC2822 compliant 
944         * Revised man page for mh-format (bug #2031)
945         * New replcomps, etc, with Fcc: +outbox in default versions
946         
947 Sat Mar 17 03:18:15 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
948
949         * Ken Hornstein's configure.in Cyrus SASL checks were doing 
950         `x"$with_cyrus_sasl" != "no"' instead of `... != x"no"'.
951
952 Tue Mar 06 21:04:27 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
953
954         * Found some historical information about MH in RFC 808.
955         Supplemented it with info from Jerry Peek's MH book and added it
956         to docs/README.about.
957
958 Tue Feb 6 20:35:40 2001 Shantonu Sen <ssen@mit.edu>
959
960         * sbr/dtime.c Use the same Y2K correction code as dtimep.lex
961
962         * sbr/dtimep.lex Restrict the parser to accept either
963         a numerical timezone offset, or a symbolic one (e.g. EST),
964         but not both (Since "2000 -400 EDT" might cause a double
965         subtraction of 60 minutes if both are parsed. One should be
966         enough).
967
968 Mon Feb 05 20:22:54 2001 Dan Harkless <dan-nmh@dilvish.speed.net>
969
970         * -L isn't sufficient for specifying the path of the Cyrus SASL
971         shared library.  That'll allow us to link successfully, but on
972         many/most OSes that won't allow us to find libsasl at runtime.  On
973         Solaris, we need to specify the library path with -R as well (or
974         else the user will have to use the $LD_LIBRARY_PATH kludge, which
975         is considered harmful).  This fix should be extended to other OSes
976         as well.
977
978         * Print whether we have SASL support in the "nmh configuration"
979         summary configure prints out.
980
981         * Say in README.developers to use `\date' in case anyone is like
982         me and has `date' aliased in their shell to use a nonstandard (but
983         subjectively more readable) format.
984
985 Thu Jan 25 21:15:52 2001 Shantonu Sen <ssen@mit.edu>
986
987         * man/mh-chart.man has updated synposes of
988         all nmh commands.
989
990 Tue Jan 23 20:26:15 2001 Shantonu Sen <ssen@mit.edu>
991
992         * etc/digestcomps tried to force dates into a
993         19xx when it's not necessary.
994         
995 Fri Jan 19 21:22:08 2001 Shantonu Sen <ssen@mit.edu>
996
997         * First round of manpage updates finished. They
998         are standardized on -man macros, with minimal
999         roff mark-up.
1000
1001         * man/tmac.h.in is no longer needed, since the
1002         manpages do not depend on them anymore. Note:
1003         strict "man" programs that didn't allow ".so"
1004         sourcing outside the man tree will now format
1005         the man pages correctly.
1006
1007         * man/vmh.1 is no longer built, since uip/vmh isn't
1008         
1009 Tue Jan 9 6:01:22 2001 Shantonu Sen <ssen@mit.edu>
1010
1011         * Finished manpages ali-prev
1012
1013         * Removed deprecated files from the repository.
1014         Specifically, those rooted in zotnet/ and mts/sendmail
1015         mts/mmdf. "cvs update -dP" will give a pruned directory
1016         structure.
1017
1018         * Updated docs/Makefile.in to include README.manpages, and
1019         uip/Makefile.in to include popi.c (which isn't being built,
1020         though). This allows "make nmhdist" to create an archive that
1021         is file-for-file identical to the current cvs repository.
1022
1023 Sun Dec 31 20:48:50 2000 Shantonu Sen <ssen@mit.edu>
1024
1025         * Create docs/README.manpages, which details
1026         the formatting rules I've been using.
1027
1028         * Finished ali-inc.
1029         
1030 Sat Dec 30 9:50:13 2000 Shantonu Sen <ssen@mit.edu>
1031
1032         * Created a new file "DATE" to hold the date
1033         of the most recent nmh release. This date will be
1034         used in the manpages.
1035
1036         * Updated docs/README.developers to add the step
1037         of updating DATE. Also, updated configure to
1038         read in the contents of the file as the variable
1039         $DATE.
1040
1041         * Started work on updating man pages, with only
1042         ali finished so far. Changes: 1) no dependence
1043         on an external macro file, 2) uses only
1044         -man macros (although I may be mistaken in this),
1045         3) syntax in the SYNOPSIS is a little more
1046         in line with standard UNIX documentation, such as
1047         bold flags and italicized parameters.
1048
1049 Sun Dec 24 10:06:30 2000 Shantonu Sen <ssen@mit.edu>
1050
1051         * Updated INSTALL with information about the
1052         --with-locking option.
1053
1054         * Fixed the Hesiod tests in configure.in. In
1055         systems where res_send was in -lresolv, this
1056         information was not being communicated to the
1057         HESIOD_LIBS var. Now, if res_send is not found
1058         in the default libraries, it's assumed to be
1059         in -lresolv, and thus -lresolv is appended to
1060         HESIOD_LIBS, which will need that to avoid
1061         undefined symbols problems.
1062
1063         * Fixed the Kerberos tests in configure.in. New
1064         versions of Kerberos 5 have renamed -lcrypto
1065         to -lk5crypto (circa krb5 1.1 or thereabouts). The
1066         new test tries to determine if -lk5crypto exists. If so,
1067         this is a new krb5 system. If not, test for -lcrypto
1068         and the rest of old krb5. If that fails, look
1069         for a genuine krb4 installation.
1070         
1071 Fri Dec 22 22:08:51 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1072
1073         * -apop and -noapop were not documented in msgchk.man.
1074         -snoop was documented but didn't appear in the usage SYNOPSIS.
1075
1076 Fri Dec 22 23:42:16 2000 Shantonu Sen <ssen@mit.edu>
1077
1078         * Made a new ./configure option called
1079         "--with-locking" that allows the file
1080         locking mechanism to be chosen there instead of
1081         requiring a manual edit of config.h.
1082
1083         * If the option is not explicitly set, or an
1084         invalid option is specified, "dot" locking is
1085         chosen. Valid options are "dot", "fcntl",
1086         "flock", and "lockf". We need a way to tell
1087         the user that these are the valid options, and
1088         change the flag "--with-locking" if it's not
1089         descriptive enough.
1090
1091 Fri Dec 22 19:21:29 2000 Shantonu Sen <ssen@mit.edu>
1092
1093         * Remove the lex-specific memory hints at the
1094         beginning of sbr/dtimep.lex. We've already
1095         committed to supporting flex only, since
1096         lex does not easily allow us to parse a single
1097         string, as well as other problems documented
1098         below and on nmh-workers.
1099
1100         * Added a switch statement to configure.in to
1101         test for Mac OS X. If this is the case, LDFLAGS
1102         should not contain "-s" since the linker rejects
1103         the flag.
1104
1105         * Updated MACHINES to include Mac OS X Public Beta,
1106         as well as Linux 2.4 running glibc 2.2.
1107
1108 Wed Dec 20 16:00:46 2000 Shantonu Sen <ssen@mit.edu>
1109
1110         * Marked deprecated directories in docs/README.developers
1111         as deprecated, with pointers to the new code location.
1112         Eventually these deprecated directories should go away.
1113
1114 Tue Dec 19 19:16:37 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1115
1116         * -apop and -noapop were not documented in inc.man.  -snoop was
1117         documented but didn't appear in the usage SYNOPSIS.
1118
1119 Thu Dec 14 14:32:09 2000 Shantonu Sen <ssen@mit.edu>
1120
1121         * Updated config.guess and config.sub to the most recent
1122         versions on ftp://ftp.gnu.org/pub/gnu/config, dated
1123         12-07-00. This should prevent configure from failing
1124         on newer operating systems because config.{guess,sub}
1125         couldn't correctly identify them.
1126
1127 Thu Dec 14 1:30:44 2000 Shantonu Sen <ssen@mit.edu>
1128
1129         * Fixed the circular dependency created when I moved
1130         zotnet/mts to mts/generic and merged them into libmts.
1131         mts/generic/client.c and mts/generic/mts.c are now in sbr/
1132         (and thus in libmh), which makes libmh self-contained and
1133         not depending on an external archive.
1134
1135         * All include statements now look for mts.h in h/. The
1136         Makefiles and configure script have been modified so that
1137         mts/generic is no longer built.
1138
1139 Mon Dec 11 22:08:07 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1140
1141         * When Shantonu made the new libmts.a, he swapped $(MTSLIB) and
1142         libmh.a in sbr/Makefile.in so that libmh.a comes first, but this
1143         causes the build to fail on Solaris, because libmts.a has to get
1144         ruserpass() out of libmh.a.  Swapping them back to the way Ken
1145         Hornstein's patch (which I applied on Jul 20) put them, with
1146         libmh.a correctly coming second.  If there are times when libmts.a
1147         needs to come second, then it would appear there's a circular
1148         dependency and someone (Shantonu?) did an mts merge incorrectly.
1149
1150 Fri Sep 8 01:36:23 2000 Shantonu Sen <ssen@mit.edu>
1151
1152         * Took out bad time textual time zones like BST and JST.
1153         I found them online somewhere, but am not sure if they're
1154         correct.        
1155         
1156 Fri Sep 8 00:36:48 2000 Shantonu Sen <ssen@mit.edu>
1157
1158         * Moved zotnet/mts to mts/generic. This code reorganization
1159         makes the entire zotnet tree deprecated -- bboards is unneeded,
1160         mf was was moved to sbr, tws was rewritten and moved to sbr, and
1161         now finally mts.
1162
1163         * Created a new static library called libmts.a used during
1164         compilation which includes the generic mts code and the
1165         smtp/sendmail code. This supercedes the functionality of the
1166         old libsmtp.a and the remains of libzot.a.
1167
1168         * Updated header includes to reference the new location of mts.h
1169         in mts/generic/mts.h. Also, update the configure and top-level
1170         Makefile not to descend into zotnet. Also, they don't descend
1171         into mts/mmdf and mts/sendmail (the sendmail code has been
1172         merged into the smtp code).
1173
1174         * Added #include <h/nmh.h> to h/md5.h, since my compile was
1175         complaining about implicitly-declared memcpy and memset, which
1176         appear to be in strings.h. In any event, nmh.h should take care
1177         of it for us.
1178
1179         * When doing a "make nmhdist", notice that the generated
1180         snapshot does not include zotnet of the mts directories as noted
1181         above. Since they are no longer compiled, and I don't see any
1182         obvious code path to get to them, end-users should probably
1183         not need them. If you think otherwise, turn Makefile generation
1184         back on in configure.in and turn on recursion into those dirs
1185         in the appropriate Makefile.in
1186
1187 Wed Sep 6 22:40:03 2000 Shantonu Sen <ssen@mit.edu>
1188
1189         * Tracked down the problem in the new dtimep where time
1190         zones were being radically misreported. It was because the
1191         parser knew about military time zones (such as M or E) but in
1192         some cases did not know about the textual representation of
1193         some zones (like MET). When it encountered one of these, the
1194         date parser misread MET as the military time zone T (well, first
1195         zone M, then E, and finally T). I took military zones out, and
1196         things seem much better. Also, the default behavior of parsing
1197         time zones appears to default to GMT in the absence of better
1198         info, which is less bogus than assuming the mail came from the
1199         current time zone, which was the behavior in 1.04.
1200
1201 Thu Aug 10 13:22:13 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1202
1203         * Decided that limiting the message number columns to 3 on my
1204         scan.MMDDYY and scan.YYYYMMDD (to try to regain space taken by
1205         extra date info) was ill-conceived.  It's not that tough to get
1206         past 999 messages, though I imagine it's rather rare to exceed
1207         9999.  Changed these to 4.  Also put the "replied / encrypted"
1208         column back in YYYYMMDD -- I've never seen it show anything but a
1209         space, but that space is useful if you use scan, grep, and awk
1210         (with the default field separator) to grab message numbers (I know
1211         -- pick should really be used for these purposes...).
1212
1213 Mon Aug  7 20:11:09 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1214
1215         * Modify umask set by mhshow to enable user execute bit, so that
1216         viewers that create temporary directories (e.g., lynx) will be
1217         able to access them.
1218
1219 Thu Aug 03 17:14:08 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1220
1221         * TODO: Allow multiple simultaneous differing contexts, probably
1222         each tied to a parent (terminal) process.
1223
1224 Tue Aug  1 10:48:05 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
1225
1226         * Makefile install rules should not look for generated files in
1227         the source tree -- this will happen to work when configuring and
1228         building inside the source tree but will fail when using an
1229         external build tree.  Fixed etc/Makefile.in.
1230
1231 Mon Jul 24 16:20:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1232
1233         * When Shantonu wrote the new, more portable dtimep.lex, he left
1234         out the #ifdef DSTXXX stuff for some reason.  Not a good idea, as
1235         that code is required for proper printing of numeric-offset
1236         timezones that have daylight saving time.  Without that code,
1237         -0700 during DST gets printed as MST instead of PDT.
1238
1239         * Renamed DSTXXX as ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST and
1240         added an explanatory comment by its #definition.
1241
1242         * Updated README.developers with the fact that zotnet/tws is going away.
1243
1244 Thu Jul 20 20:30:52 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1245
1246         * Moved Kimmo's new "--with-hash-backup" to be output with the
1247         rest of the --with options in the configure --help output.  Also,
1248         people did not preserve my alphabetization of the --with options
1249         when they added new ones.  Re-alphabetized.
1250
1251         * One more pass at README.developers now that it's clear that my
1252         previously-suggested one-line autoconf-file commit can cause
1253         unnecessary local makes and an out-of-sync stamp-h.in file, but
1254         would not cause problems for other people using the CVS files.
1255
1256         * Ken Hornstein's SASL patch was not integrated properly with
1257         Ruud's new merged mts/sendmail code.  Kimmo has since fixed nmh so
1258         it compiles, but according to Ken, the SASL stuff still does not
1259         work.  Integrating a patch from him for this.
1260
1261         * Last pass at README.developers -- Kimmo's 5-step commit was
1262         overkill.  You only need 3 steps, since configure.in is the only
1263         autoconf file with the RCS $Id keyword.
1264
1265         * Applied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch:
1266
1267             I have a small patch that would be nice to be included --
1268             basically, it allows the usage of the "MAILHOST" environment
1269             variable, without having to have HESIOD turned on.  I need
1270             this functionality for my environment, where we have identical
1271             /usr/local on all my machines (so I cannot just hardcode into
1272             the mts.conf file), and I have multiple POP mail servers for
1273             my users.
1274
1275         Modified inc.man to reflect that along with "pophost:" and -host, 
1276         $MAILHOST can now activate POP mail inclusion as well.
1277
1278         * Fixed warnings from diff on first-time install of nmh.  Also
1279         added 'echo's clarifying the etc file installation activities.
1280
1281 Tue Jul 18 19:36:59 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
1282
1283         * Added the answer to Dan's question in README.developers.
1284
1285 Mon Jul 17 19:10:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1286
1287         * Clarified and made some corrections to Kimmo's README.developers
1288         changes (BTW, if anyone can explain why the RCS Ids are able to cause
1289         problems with the dependencies, please fill in the explanation --
1290         I never encountered a problem with the old single-commit method).
1291
1292 Sat Jul 15 23:13:49 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
1293
1294         * Add configure option --with-hash-backup so the backup prefix can
1295         be easily changed from "," to "#".
1296
1297         * Simplified sbr/Makefile.in so that it works with any make.
1298
1299         * Use mkstemp in sbr/lock_file.c.
1300
1301         * Commits of autoconf-related files apparently can't all be done
1302         in one shot due to RCS Ids changing when committing -- updated
1303         README.developers.
1304
1305 Tue Jul 11 14:18:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1306
1307         * Clarified post.man and send.man for those not completely up on
1308         SASL terminology.  "SASL encryption layers are not supported for
1309         SMTP" means that encryption is supported for the authentication
1310         but not for the subsequent data stream.
1311
1312 Sat Jul  8 01:36:19 EDT 2000 Kimmo Suominen <kim@tac.nyc.ny.us>
1313
1314         * Applied Ken Hornstein <kenh@cmf.nrl.navy.mil>'s patches
1315         implementing SASL support for POP3 and SMTP.  If nmh is compiled
1316         with SASL support, using the -sasl switch on the inc, msgchk,
1317         post, and send commands will enable authentication encryption for
1318         SMTP, and both authentication and data stream encryption for POP3.
1319
1320 Sat Jun 10 18:37:59 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1321
1322         * Merged mts/sendmail functionality into mts/smtp; switching between
1323         smtp and sendmail delivery method is now controlled by mts.conf.
1324
1325         * If tsort cannot deal with loops, in addition to defining tsort as
1326         cat, also define lorder as echo.
1327         
1328         * Removed uip/popi.c from list of sources.
1329
1330 Thu Jun 08 19:36:57 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1331
1332         * New dtimep.lex didn't parse day names properly.  Fixed.  Also
1333         clarified ambiguous comments preceding day_map[] array (from old
1334         dtimep.lex) that probably led to the erroneous cp++ being added.
1335
1336 Wed Jun  7 20:52:33 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1337
1338         * Added one more mkstemp invocation to uip/spost.c (which was in a
1339         #if 0 block).
1340
1341         * Applied patch from Peter Maydell to clean up permissions handling
1342         and error handling in uip/inc.c.
1343
1344 Mon Jun  5 22:10:07 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1345
1346         * Use cat instead of tsort if tsort cannot deal with loops in its
1347         input (which is the case for tsort from GNU textutils).
1348
1349 Mon Jun  5 21:14:36 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1350
1351         * If lockfile is present, and its dotlockfile program is setgid,
1352         inc does not need to be setgid.
1353
1354 Sun Jun  4 21:35:40 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1355
1356         * Added autoconf test for Miquel van Smoorenburg's liblockfile
1357         library, as found on Debian systems.
1358
1359         * Added liblockfile support to sbr/lock_file.c.
1360         
1361 Wed May 31 7:19:30 2000 Shantonu Sen <ssen@mit.edu>
1362         
1363         * Fixed up dtimep.lex a bit. Added back memory options for AIX to
1364         increase available memory.  Took out %option noyywrap, which
1365         wasn't understood by AT&T lex, as well as the -i
1366         case-insensitivity flag.
1367
1368 Wed May 31 07:40:45 2000 Doug Morris <doug@mhost.com>
1369
1370         * Added a lint target to the Makefiles and a check in autoconf
1371         to determine whether lint or lclint exists on the system. 
1372
1373 Fri May 30 19:21:48 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1374
1375         * etc/Makefile.in was incorrectly installing mts.conf.in and
1376         sendfiles.in -- fixed.  Generated sendfiles script was not a
1377         dependency of the `all' target, and was incorrectly included in
1378         the distribution.  Changed the suffix for the backed-up previous
1379         versions of the etc files from the ambiguous .old to .prev.  Added
1380         call to diff -- only keep the .prev files around if different from
1381         the newly-installed versions (intentionally didn't redirect output
1382         to /dev/null so you'll notice when your changed versions are
1383         getting moved aside).
1384
1385         * INSTALL never documented the etc/*.old thing.  Documented the
1386         new etc/*.prev thing (including a note to watch for diff output).
1387
1388         * Applied Alec Wolman <wolman@cs.washington.edu>'s dropsbr.c patch:
1389
1390             In the map_write routine, a call is made to map_open and this
1391             call is supposed to set the "clear" variable to 0 or 1,
1392             depending on whether the map file is empty or not.  In
1393             mh6.8.3, this worked because map_open would set "clear" by
1394             calling the mbx_Xopen routine.  In nmh, the code for mbx_Xopen
1395             was merged into mbx_open, but the interface for mbx_open
1396             doesn't support the clear variable, so that functionality was
1397             lost.  The map_open interface still contains "int *clear" in
1398             the prototype, but never sets it.
1399
1400             My patch eliminates "clear" from the map_open interface (I
1401             checked to make sure that map_write is the only client of
1402             map_open).  Furthermore, my patch also sets the "clear"
1403             variable properly at the beginning of map_write by calling
1404             fstat().  This eliminates the bug in that the value of "clear"
1405             being used later in the routine was just stack garbage.
1406
1407             Having a bad value of clear causes this next bug to be
1408             triggered: The fp file pointer was being opened with fdopen,
1409             but in two of the three switch cases it wasn't being closed.
1410             In certain cases, this was causing packf to run out of file
1411             descriptors if you attempted to pack a large folder.
1412
1413 Mon May 29 7:48:15 2000 Shantonu Sen <ssen@mit.edu>
1414
1415         * Moved the date parsing routines from zotnet/tws to sbr/ (and
1416         tws.h to h/). Updated all source files to reflect to new location
1417         of tws.h.
1418
1419         * Rewrote dparsetime (in dtimep.lex -> dtimep.c) to replace the
1420         old zotnet/tws/dtimep.c, dtimep.lex, lexstring.c, lexedit.c, and
1421         dtimep.c-lexed. It should now work with flex (although untested
1422         with lex), and requires no sed-ing. For now, I have the lexed
1423         version in the distribution, so that end-users don't need to worry
1424         about running it through flex/lex. I have not added back support
1425         for guessing the time zone when it's not specified.
1426         
1427 Sun May 28 17:44:15 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1428
1429         * Added autoconf check for getutent().
1430
1431         * Changed uip/rcvtty.c and uip/slocal.c to use getutent() and
1432         friends.  Since I can only check on Linux, please check if
1433         this works on other systems.
1434
1435 Sun May 28 14:58:49 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1436
1437         * Applied patch from Peter Maydell to uip/scansbr.c for more
1438         checks for write failures.
1439
1440         * Unlink temporary file properly in uip/rcvtty.c.
1441
1442         * Moved viamail from bindir to libdir.
1443
1444         * Changed sendfiles into sendfiles.in, so that path to viamail
1445         is patched in.
1446
1447         * Added gzip support to sendfiles.
1448
1449         * Added References header to replcomps and replgroupcomps.
1450
1451 Sun May 28 14:39:31 CEST 2000 Ruud de Rooij <ruud@ruud.org>
1452
1453         * Fixed m_getfld bug which caused segmentation faults when
1454         incorporating messages which ended in multiple linefeeds crossing
1455         a buffer boundary.
1456
1457 Fri May 26 13:21:59 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1458
1459         * msh has been unable to show MIME messages ever since 1.0.  Alec
1460         Wolman <wolman@cs.washington.edu> tracked down the problem to the
1461         -show flag being passed to mhshow.  mhshow is equivalent to the
1462         old mhn -show, so we don't need the -show anymore.  Removed it.
1463
1464 Fri May 12 02:51:21 2000 Shantonu Sen <ssen@mit.edu>
1465
1466         * zotnet/bboards is not longer built by default. Goal is to move
1467         the assorted functions in zotnet into sbr or some more logical
1468         place.
1469
1470         * Moved zotnet/mf to sbr, and changed mf.h references accordingly,
1471         as well as Makefiles.
1472         
1473 Thu May 11 02:21:34 2000 Shantonu Sen <ssen@mit.edu>
1474
1475         * Simplified sbr/Makefile.in so that both SRCS and OBJS aren't
1476         seperately and redundantly defined, but so that OBJS is a
1477         pattern-substituted version of SRCS with suffix .c -> .o. This
1478         should make maintainability easier.
1479
1480         * Added section to MACHINES indicating what platforms nmh is known
1481         to compile and work on, just to give users peace of mind, or
1482         something. This is by no means complete or exhaustive, so add
1483         whatever you know works.
1484         
1485 Tue May 09 20:38:04 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1486
1487         * Alphabetized Shantonu's $pop_kinds output on configure's "pop is
1488         enabled" line.  If POP3 is the only kind of POP enabled, say so,
1489         rather than just saying "yes" (which is ambiguous).
1490
1491         * Fixed four warnings in Shantonu's new getpass.c.  Needed to
1492         #include <stdlib.h> for calloc(), <unistd.h> for ttyname(), and
1493         "h/mh.h" for adios().  Also changed ch from char to int to get rid
1494         of "comparison is always 1 due to limited range of data type" on EOF.
1495
1496         * Added steps to README.developers saying to change the version
1497         number to X.Y.Z+dev.  Did a little rearranging and changed the FTP
1498         dir from /home/ftp to /var/ftp to reflect Doug's new machine.
1499
1500         * Changed configure.in to use gcc -Wall even without
1501         --enable-debug, to prevent developers compiling optimized from
1502         introducing warnings, and to give end-users a warm, fuzzy feeling
1503         as they (hopefully) see no warnings come out (except perhaps on
1504         the lex output file) even with -Wall.
1505
1506         * Renamed getpass() to nmh_getpass() since the prototype for
1507         getpass() varies from OS to OS, and we want to _always_ use our
1508         version of the function.  Fixed all the callers to use
1509         nmh_getpass() and added it to prototypes.h.  Semi-arbitrarily
1510         upped MAX_PASSWORD_LEN from 128 to 256.  buf was being calloc()'d
1511         and the memory leaked -- should have just been declared as static
1512         char array.  Prepended "Portions of this code are" to the
1513         copyright message, as this version has been changed significantly
1514         from the BSD version.
1515
1516         * Added "nmh-local functions to use in preference to OS versions"
1517         section to README.developers (currently just says to use
1518         nmh_getpass() instead of system getpass()).
1519
1520         * Prepended "Portions of this code are" to the copyright message
1521         in ruserpass.c also.
1522
1523         * Added mts.conf.5 page per Neil W Rickert <rickert+nmh@cs.niu.edu>'s
1524         report:
1525         
1526             This happens on solaris:
1527
1528                      % man mts.conf
1529                      windex entry incorrect:  mts.conf(5) not found.
1530                      No manual entry for mts.conf.
1531
1532             It is fixed by
1533
1534                      % echo ".so man5/mh-tailor.5" > mts.conf.5
1535
1536             done in the man5 directory.  We need to add 'mts.conf.5' as a
1537             reference sourcing mh-tailor.5.
1538         
1539 Mon May 08 23:51:55 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1540
1541         * Doug informed me that the way I had restored the "lost" version
1542         histories was wrong, because `cvs checkout's of old versions of
1543         nmh wouldn't work properly.  It occurs to me that this could be
1544         fixed by simply deleting those tags in the new-location *,v files,
1545         but oh well.  I'm putting everything back to the way Doug
1546         originally had it.  To get the old version history for a file that
1547         used to be in the top directory, you'll need to "blindly" do a
1548         `cvs log' there (even though you won't have a local copy of the
1549         file in that directory).  `cvs diff' will no longer be able to
1550         diff pre-move versions vs. post-move versions -- you'll have to do
1551         a lot of manual gyrations with `cvs checkout' and then use `diff'.
1552
1553         * I had alphabetized the --configure options in the --help output
1554         awhile back, but Shantonu added --enable-apop just under
1555         --enable-pop.  Put it in alphabetical order and clarified what
1556         --enable-apop does vs. --enable-pop and --with-krb4.  Also changed
1557         --with-mts help line from "mail transport agent" to "mail
1558         transport agent/service" so the 's' in "mts" doesn't seem to come
1559         out of nowhere.
1560
1561         * Added two steps to "releasing nmh" in README.developers.  After
1562         making the tarball, it's a good idea to diff the tree vs. the CVS
1563         tree to make sure no files got left out, and then to chown the
1564         files so that they're owned by root, preventing a Trojaning attack
1565         by a malicious remote user with a UID matching yours.
1566
1567         * Changed DIFFERENCES to say that RPOP is not currently supported
1568         rather than implying it by saying that APOP, KPOP, and POP[3] are.
1569
1570 Sun May 07 18:16:43 2000 Shantonu Sen <ssen@mit.edu>
1571
1572         * Imported NetBSD version of getpass() and made extensive
1573         revisions for compatibility with programs that pipe the password
1574         to stdin, such as exmh.
1575
1576         * Removed tests for system ruserpass() which sometimes gave
1577         phantom positive results. Also, bext to use internal functions if
1578         we ever want to change .netrc format to something else, or access
1579         other files.
1580
1581 Sat May 06 08:28:09 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1582
1583         * Restored lost version histories for those moved files by doing a
1584         manual `mv' in the CVSROOT on mhost.  CVS badly needs a `cvs mv'
1585         command so that you can move files (without having physical access
1586         to the CVSROOT) without losing versioning.  Put MACHINES back at
1587         the top level as it needs to be read before building.  Fixed DIST
1588         variable in {.,docs}/Makefile.in to reflect that and to add
1589         missing entry for "INSTALL" file.
1590
1591 Sat May 06 13:13:07 2000 Doug Morris <doug@mhost.com>
1592
1593         * Re-cleaned up nmh documentation (by moving things to docs
1594         subdir) and modified Makefile & configure.in to handle the change.
1595
1596 Mon Apr 17 21:28:40 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1597
1598         * Scott Blachowicz pointed out that the configure --help output
1599         for --enable-masquerade was misleading.  Clarified.
1600         
1601 Mon Apr 17 19:01:00 2000 Shantonu Sen <ssen@mit.edu>
1602
1603         * APOP support can be compiled in to inc and msgchk using
1604         --enable-apop.
1605
1606         * To access an APOP host, specify -apop on the command line
1607         along with any -host or -user option.
1608
1609 Fri Apr 14 23:10:44 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1610
1611         * Upped the version number to 1.0.4+dev until the next nmh release.
1612
1613         * Added a "releasing nmh" section to README.developers, while the
1614         process was fresh in my mind.
1615         
1616 Fri Apr 14 18:21:34 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1617
1618         * Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and
1619         ChangeLog_MH-6.7.0_to_MH-6.8.4.html to DIST target in Makefile.in.
1620         
1621         * Released nmh-1.0.4.
1622
1623 Tue Apr 11 21:37:03 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1624
1625         * Applied Brian Campbell <bacam@tardis.ed.ac.uk>'s mhn.defaults.sh
1626         patch:
1627
1628             It appears that there shouldn't be quotes around the %s in the
1629             iso-8859-1 charset entry; xterm passes the remaining arguments
1630             to the program, quoting them means that xterm thinks they're
1631             part of the program's name.
1632
1633         This %s isn't the same as the "Insert content subtype" one from
1634         mhshow-show-* -- it doesn't come from MIME headers and is safe not
1635         to quote.
1636
1637 Sun Apr 09 13:03:59 2000 Doug Morris <doug@mhost.com>
1638
1639         * added check in fmt_compile() to handle a single-character
1640         format string. fmt_compile() depends on having an array of
1641         format characters with an empty item at the end. A
1642         single-character format would cause programs using this
1643         function to segfault because the algorithm used to decide on
1644         the length of the array mistakenly created a single-item array
1645         when the format string was one character. This eventually
1646         caused problems when the program attempted to test item+1
1647         in the array.
1648
1649 Thu Apr 06 21:53:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1650
1651         * Richard Coleman threw out a lot of old MH-specific files in nmh.
1652         Much of the stuff, indeed, is not worth saving, but there are
1653         nuggets that are very worthwhile, and should probably be added
1654         back in.  Most important, IMHO, are the MH change logs, as they
1655         can help answer questions like "Why is this code like this?" or
1656         "How long has this been broken?" or "What was this ever used for?"
1657
1658         I've added a new file to the nmh tree called
1659         ChangeLog_MH-3_to_MH-6.6.  It's cobbled together from the
1660         mh-6.8.4/papers/mh*/MHCHANGES files.  I've re-ordered the entries
1661         to go from newest at the top to oldest at the bottom to match the
1662         ChangeLog convention.  Unfortunately there are no change logs for
1663         versions of MH prior to 3 in the MH tar files available at
1664         <ftp://ftp.ics.uci.edu/pub/mh>.  Also, it appears to me that there
1665         are MH-6.6 changes that aren't documented in the logs.
1666
1667         I've also added ChangeLog_MH-6.7.0_to_MH-6.8.4.html.  This is
1668         based on mh-6.8.4/papers/changes/mh-changes.ms.  The nroff format
1669         and its "catman"-type output are a pain to deal with, but I was
1670         loath to throw away the formatting, so I converted the file to
1671         HTML.  The only actual markup in the body are the "<B>" and "<U>"
1672         tags, and "&lt;" and "&gt;" instead of '<' and '>', so it's quite
1673         doable to view the file in plain ASCII mode as well.  Note that
1674         some of the changes this file documents as having been made in
1675         MH-6.8.4 may not be present in nmh -- Richard started with 6.8.3
1676         and later put in certain 6.8.4 stuff.
1677         
1678 Wed Apr 05 21:09:28 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1679
1680         * Applied Eric Schnoebelen <eric@cirr.com>'s mhshowsbr.c patch
1681         fixing apparent bugs in Dan Winship's new security quoting code:
1682         
1683             Since upgrading, I've been getting the following errors
1684             while attempting to process some MIME messages:
1685
1686                 (1) Syntax error: Unterminated quoted string
1687                     exit 2
1688         
1689             and:
1690
1691                 (2) line 1/10 (END)Segmentation fault (core dumped)
1692
1693             (2) appears to be due to the testing of an unset pointer in
1694             mhshowsbr.c:show_multi_aux().  (1) appears to be caused by
1695             mis-quoting a filename being handed to the shell in
1696             mhshowsbr.c:show_content_aux().
1697
1698             Resolving the pointer reference issue in
1699             mhshowsbr.c:show_multi_aux() turned up a similar mis-quoting
1700             problem in the routine.
1701
1702 Tue Mar 28 16:17:39 2000 Doug Morris <doug@mhost.com>
1703
1704         * Applied Todd.Miller@courtesan.com's patch to dropsbr.c to
1705         prevent core dumping on packf. Here's the note from his message:
1706
1707             Since sizeof(buffer) == sizeof(tmpbuffer) packf will dump
1708             core on a file w/o a From line with a line >= BUFSIZ.
1709             I noticed this because I had a junk file in my mail
1710             spool somehow.
1711
1712 Fri Mar 17 11:59:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1713
1714         * wesley.craig@umich.edu did not document his previous KPOP patch,
1715         so I did so, and asked him to check what I wrote.  Unfortunately
1716         he didn't notice my misunderstanding of his patch.  I wrote that
1717         if you #define POPSERVICE "kpop", inc and msgchk will use KPOP
1718         exclusively, but if you leave it as "pop3", you can use Wesley's
1719         new -kpop switch on a given invocation.  Instead, however, -kpop
1720         turned out to be necessary on every invocation, and a KPOP user
1721         complained.  Applied Wesley's new patch, which makes things work
1722         like I thought his original patch did.  After that, did one more
1723         clarifying pass to the documentation in inc.man and msgchk.man.
1724
1725 Wed Mar 15 18:45:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1726
1727         * When I fixed the long-standing makedir() bugs in January, I had
1728         the code call strtoul(..., 0), which I believed to be safe as all
1729         modes specified as ASCII constants in the nmh code started with a
1730         leading zero (signifying octal), which I did as it would work if
1731         internal constants were ever changed to hex.  Unfortunately I was
1732         unaware of the "Folder-Protect:" .mh_profile entry, which
1733         mh-profile.man documents as an octal-only constant, with no
1734         leading zero required.  I've changed the strtoul() call to an
1735         atooi() call and removed the misleading leading zeroes on the
1736         ASCII octal constants in the code and man pages.  Also changed the
1737         "Folder-Protect:" example in the man page to something more
1738         interesting than a duplication of the default.
1739
1740         * When I added my --enable-masquerade option, you'll note that I
1741         didn't make it --enable-nmh-masquerade.  I find the --enable-nmh-*
1742         options too wordy and I'm not sure why Richard went that route.
1743         I've renamed them to just --enable-*, but the old versions will
1744         still work as well (they just aren't advertised).
1745
1746         * Added a line to the "nmh configuration" output saying whether
1747         POP is enabled.
1748
1749         * Added a new README.developers file.  From the file:
1750
1751             This file is intended to provide a few tips for anyone doing
1752             development on nmh.  Developers who learn things "the hard
1753             way" about the nmh codebase (as opposed to local info best
1754             encoded in a comment) are encouraged to share their wisdom
1755             here.
1756
1757         Currently the topics are "autoconf files" and "directory structure".
1758
1759 Tue Mar 14 12:41:48 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1760
1761         * Applied, after some finessing,
1762         Simon Burge <simonb@thistledown.com.au>'s --with-smtpservers patch:
1763
1764             Here's a patch that allows you to add
1765
1766                     --with-smtpservers=<some.host.name>
1767
1768             to the ./configure command line to set the "servers: " line in
1769             etc/mts.conf.  Around here, we use "mailhost" so that all
1770             machines in the current domain just talk to a central machine
1771             and nothing else runs an MTA.  Now, I can use
1772
1773                     --with-smtpservers=mailhost
1774
1775             instead of having to remember to fix this by hand (and often
1776             forgetting to do so!).
1777
1778         * Inspired by Simon's patch, added an --enable-masquerade option
1779         to configure.  It will set the "masquerade:" line of mts.conf.
1780         You may specify a subset of the three types of masquerading, like
1781         --enable-masquerade="draft_from mmailid", or leave off explicit
1782         arguments to enable all three types.
1783
1784         * Alphabetized the --enable and --with options in configure.in and
1785         INSTALL and added documentation of the two new options to the latter.
1786
1787         * Added new dependency for mts.conf: Makefile.  If this isn't
1788         done, then when you reconfigure nmh with new values for
1789         --enable-masquerade or --with-smtpservers, you'll fail to get an
1790         updated copy of mts.conf.
1791
1792         * Applied Simon Burge <simonb@thistledown.com.au>'s dtimep.lex patch:
1793
1794             It seems that some MUA's didn't handle y2k very well - ELM
1795             seems to be one of them, and Ultrix's DXmail (based on MH!).
1796             I've got a few emails this month that look like:
1797
1798                     575   Jan 00  Xxxxxx Xxxx       3603  ...
1799             and
1800                      22+  Jan 00  Xxx Xxxxx         1771  ...
1801
1802             The first has "15 Jan 100" as the date and the second has 
1803             "19 Jan 00" as the date.  The following works around this so 
1804             that scan, show, sortm, etc work ok.
1805
1806         I put Simon's patch under the control of a new #define called
1807         FIX_NON_Y2K_COMPLIANT_MUA_DATES.  There's some commentary in
1808         acconfig.h about when you might not want to #define it.
1809
1810         * Created new dtimep.c-lexed with Simon's change using dtimep.lex
1811         lexed on Solaris 2.6.  Added missing dependency in
1812         zotnet/tws/Makefile.in for dtimep.c: dtimep.c-lexed.
1813
1814         * Added scan.MMDDYY and scan.YYYYMMDD format files.
1815
1816 Mon Mar 13 21:32:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1817
1818         * Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch:
1819
1820             With the patch below, you can add lines like:
1821
1822                 mhshow-suffix-application/msword: .doc
1823                 mhshow-suffix-application/PostScript: .ps
1824
1825             to the mhn.defaults file to append the given suffix to a
1826             scratch file.  This allows applications which require a
1827             certain suffix to run properly.
1828
1829         * Removed -force_html from lynx entry in mhn.defaults.sh (I
1830         believe older versions of lynx lack that option) and added
1831         "mhshow-suffix-text/html: .html".
1832                 
1833         * Modified username_extension masquerading to only use the
1834         extended address on generated [Resent-]From: lines and SMTP
1835         envelope From:.  With Neil's original implementation, nmh's global
1836         idea of the username was changed, which would result in inc lying
1837         and saying you had no new mail because it was looking for a
1838         mailbox called, for instance, "dan-nmh" (where username was "dan"
1839         and $USERNAME_EXTENSION was "-nmh").
1840                 
1841         * Applied Simon Burge <simonb@thistledown.com.au>'s dtime.c patch:
1842         
1843             There's a wrap-around problem that affects the implementation
1844             of Zeller's congruence in dtime.c.  This causes the day-of-week
1845             calculations to fail for dates after Feb 29, 2000 (probably up
1846             until some year far in the future).
1847
1848 Mon Mar 06 12:20:20 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1849
1850         * Applied Neil W Rickert <rickert+nmh@cs.niu.edu>'s msh.c patch:
1851
1852             I finally tracked down the problem in msh that was causing
1853             errors whenever I tried to examine a 'mmdf' style mailbox.
1854
1855             It turns out that not enough memory was being allocated with
1856             calloc(), causing memory pointers to be overwritten and
1857             corrupted.
1858                 
1859 Fri Mar 03 16:07:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1860
1861         * Changed the new "plussed_user" option to mts.conf's
1862         "masquerade:" to "username_extension" after getting feedback from
1863         qmail users, who use '-' as a separator rather than '+'.  Removed
1864         checking of $USERPLUS variable.  Now check $USERNAME_EXTENSION,
1865         which needs to include the appropriate separator for your MTA
1866         ('-', '+', or whatever) as its first character.
1867                 
1868 Thu Mar 02 23:04:30 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1869
1870         * Added a new "boolean" type to mh.h and TRUE and FALSE constants.
1871                 
1872         * Added a note to DIFFERENCES stating that it's out-of-date
1873         (Richard was the last one to update it) and that we should
1874         consider only documenting incompatibilities with MH there.
1875
1876         * Implemented (and documented) a third kind of username
1877         masquerading: "plussed user" masquerading.  This one was suggested
1878         by Neil Rickert <rickert+nmh@cs.niu.edu>.  It's based on sendmail's
1879         "plussed user" feature, where mail sent to <user>+<string> will be
1880         delivered to <user>.  When it's enabled, it's controlled by the
1881         $USERPLUS environment variable.  How is it enabled?  Well, that
1882         leads me to:
1883
1884         * Renamed the "mmailid:" setting in mts.conf to "masquerade:", and
1885         changed it so that rather than being a boolean, it can be set to
1886         any combination of the three values "draft_from", "mmailid", and
1887         "plussed_user".  Thus it is now possible to enable the three types
1888         of masquerading individually.
1889
1890         * Fixed a bug with "mmailid" masquerading (dating back to MH?)
1891         where if it was turned on, ','s would no longer be considered
1892         GECOS field delimiters.
1893         
1894 Wed Mar 01 23:30:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1895
1896         * Changed the GECOS-field '&' translation behavior to be
1897         controlled by the BSD42 #define rather than GCOS_HACK, since it's
1898         apparently always appropriate on OSes where BSD42 is #defined, and
1899         never appropriate on any other OSes.  Thanks to Kimmo Suominen for
1900         responding to my "What is this code here for?" comment in mts.c
1901         and explaining the feature.
1902         
1903 Mon Feb 28 21:50:29 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1904
1905         * Upped the version number to 1.0.3+dev (ideally this should be
1906         done by whoever makes a release tar file, immediately after doing
1907         so).
1908         
1909         * Applied Paul Fox <pgf-spam@foxharp.boston.ma.us>'s scansbr.c
1910         patch, posted to comp.mail.mh, which he says prevents loss of mail
1911         when inc'ing into a full filesystem.
1912
1913         * Changed "echo > stamp-h.in" in Makefile.in to "date > stamp-h.in"
1914         so that stamp-h.in will be different each time configure.in and
1915         related files are changed, making it easier to check it in (which
1916         is necessary to prevent unnecessary autoconf calls).
1917
1918         * My declaration of initgroups() in slocal.c to eliminate the "no
1919         prototype" warning wasn't portable (FreeBSD 3.[23] choked).  Now
1920         use AC_EGREP_HEADER to see where initgroups() is declared, if
1921         anywhere.
1922
1923 Sun Feb 20 12:17:15 2000 Ruud de Rooij <ruud@ruud.org>
1924
1925         * Fix security hole in mhshowsbr.c which allowed untrusted shell
1926           code to be executed.
1927         
1928         * Released nmh 1.0.3.
1929
1930 Thu Feb 10 10:54:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1931
1932         * Oops.  %-escapes on mhstore lines in mhn.defaults.sh should not
1933         be surrounded by single quotes, as a shell is not spawned when
1934         just saving files, and the filenames will end up with literal
1935         quotes embedded in them.
1936
1937 Fri Feb 04 12:29:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1938
1939         * Whoever originally added the -help switch to all the commands
1940         got too cute and had the option itself print out as "-(help)" in
1941         the -help output.  One theory is that they were making reference
1942         to the fact that clearly you know about the -help option since
1943         you're currently looking at its output.  I think it's a bad idea
1944         to overload the meaning of the parentheses, however -- they're
1945         supposed to indicate what abbreviated prefix of the switch you're
1946         allowed to specify.
1947
1948         The other theory is that because you can say something like
1949         "mhstore -" and get "mhstore: - ambiguous.  It matches" followed
1950         by the same list of switches you get with -help, they were saying
1951         you can "sorta" abbreviate "-help" as "-".  You don't get the
1952         "Usage:" string, though, so it's not really the same thing.
1953
1954 Thu Feb 03 17:52:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1955
1956         * Applied wesley.craig@umich.edu's KPOP patches.  According to him:
1957
1958               The following patch fixes a problem with requesting a
1959               service key for a machine that has multiple 'A' records.  It
1960               also makes "-kpop" a command line option, for users who
1961               would like to use both "kpop" and "pop".
1962
1963         Did no testing of the new features, as I don't have access to a
1964         KPOP server.
1965
1966         * Modified inc.man and msgchk.man to document Wesley's new -kpop.
1967
1968         * Modified INSTALL and config.h.in to reflect the new -kpop feature.
1969
1970 Fri Jan 28 17:39:24 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1971
1972         * All %-escapes in mhn.defaults that actually expand to something
1973         should be surrounded by single quotes.  Added quotes to the ones
1974         in mhn.defaults.sh that were missing them.
1975
1976         * Added check for lynx to write mhshow-show-text/html line in
1977         mhn.defaults.sh.
1978
1979 Thu Jan 27 12:22:25 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1980
1981         * makedir() had multiple bugs dating back to MH.  An octal
1982         constant was apparently being interpreted as decimal, resulting in
1983         directories with no user read or execute permissions, making
1984         nested directory creation fail.  And there wasn't even an
1985         _attempt_ to set desired permissions (e.g. from "Folder-Protect:"
1986         in .mh_profile) on the outer directories of a nested directory.
1987
1988         * A second `make install' would always fail because the check for
1989         whether mh_profile.5 existed was written incorrectly.
1990         
1991 Wed Jan 26 02:22:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1992
1993         * Added documentation on both types of masquerading to post's man
1994         page.
1995
1996 Tue Jan 25 22:58:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
1997
1998         * Doug's portability fix of my setgid inc autodetection had a
1999         caching bug -- if you re-ran configure, uip/Makefile would be
2000         corrupted, and installation would bomb out on OSes where inc needs
2001         to be setgid.
2002
2003         * Implemented a new kind of email address masquerading.  Usually,
2004         when a user writes a custom "From:" header in a draft, nmh uses it
2005         rather than generating one.  However, the user's true address is
2006         used in the SMTP envelope "From:" and is revealed in the "Sender:"
2007         header.  Now, when mmailid is set to non-zero, the envelope
2008         "From:" uses the address specified in the draft "From:" header,
2009         and there is no "Sender:" header.  This is useful when sending on
2010         behalf of a remote POP3 account or when remote mail robots
2011         incorrectly use the envelope "From:" in preference to the body
2012         "From:".  This processing has only been implemented for post, not
2013         for the undocumented spost (which was already missing some "From:"
2014         processing that post has).
2015
2016 Mon Jan 24 22:26:06 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
2017
2018         * Got rid of the rest of the gcc -Wall warnings that I didn't have
2019         time for on 1999-07-15 (and, it would seem, some new ones people
2020         introduced since then).  The primary ones were the warnings that
2021         default prototypes were being used for [v]snprintf() and
2022         str[n]casecmp().  As of right now, there are _no_ compilation
2023         warnings except on dtimep.c-lexed (at least under AIX 4.1.5 and
2024         Solaris 2.6).
2025
2026 Sun Jan 2 23:42:18 2000 Ruud de Rooij <ruud@ruud.org>
2027
2028         * Move mhtest from bindir to libdir.
2029
2030         * Move sendfiles from libdir to bindir.
2031
2032         * Updated sendfiles manpage to reflect this change.
2033
2034         * Added documentation for -build and -file switches to repl and 
2035           forw manpages (patch from Peter Maydell).
2036
2037         * Fixed interaction between specifying -cc in profile and -group on 
2038           command-line.
2039
2040 Tue Nov 1 13:48:10 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2041
2042         * Changed the version number from 1.0.3 to 1.0.2+dev.  There was
2043         not unanimous support for my proposed even/odd release/developer
2044         version number dichotomy.  1.0.2+dev implies release 1.0.2 plus
2045         some development.
2046
2047 Fri Oct 29 13:42:51 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2048
2049         * Upped the version number to 1.0.3.  If we don't do this, then
2050         when people report bugs against 1.0.2, we won't know "which" 1.0.2
2051         they're talking about (since the development source is publically
2052         available via CVS).  I think the Linux kernel version numbers are
2053         a good model, so the next time we roll a tarball, it should be
2054         version 1.0.4 (or higher -- anyhow, an even-numbered version).
2055
2056 Fri Oct 29 06:41:08 1999 Doug Morris <doug@mhost.com>
2057
2058         * Released nmh-1.0.2.
2059
2060 Tue Oct 26 22:57:00 1999 Doug Morris <doug@mhost.com>
2061         
2062         * Added check for whether "libtool" is in fact gnu libtool. If
2063         it is, it is not used. This is the wrong behavior. If vendor
2064         XYZ later on decides to create yet another libtool, we'll be
2065         caught again. This works for now.
2066
2067         * Minor updates to MACHINES refering to Mac OS X.
2068
2069 Thu Oct 21 20:45:37 1999 Doug Morris <doug@mhost.com>
2070
2071         * Added check for "libtool" (a ranlib type tool for Mac OS X)
2072         and modified Makefiles so that nmh will build under Mac OS X.
2073
2074 Sun Oct 17 08:28:56 1999 Ruud de Rooij <ruud@ruud.org>
2075
2076         * Changed repl defaults to partly revert to MH behaviour,
2077           "-cc all" is now only implied with -group.
2078
2079         * The replcomps template includes cc: header again (as in MH).
2080
2081         * Updated repl man page to reflect these changes.
2082
2083 Sat Oct 16 02:57:47 1999 Doug Morris <doug@mhost.com>
2084
2085         * Tweaked configure to handle Solaris and SunOS after the BIND
2086         changes. Both need more cleanup.
2087
2088 Sat Oct 16 00:17:36 1999 Doug Morris <doug@mhost.com>
2089
2090         * Removed BIND define and replaced it with a check for
2091         gethostbyname (to determine if the host is DNS aware) and a
2092         check for sethostent. This appears to be the right thing to
2093         do, but there is no explanation of the reasoning behind the
2094         BIND define in the code and it appears to have been used for
2095         multiple purposes. 
2096
2097 Wed Oct 13 15:53:53 1999 Doug Morris <doug@mhost.com>
2098
2099         * Updated manpages Makefile to link mh-profile.5 to
2100         mh_profile.5 after installation. Suggestion from Richard Cohen
2101         <richard@jubjub.demon.co.uk>.
2102
2103         * Modified configure.in to check for _IO_write_ptr and libio.h
2104         to determine whether to define LINUX_STDIO instead of using 
2105         config.guess.
2106
2107 Mon Oct 4 15:22:46 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2108
2109         * Added '-L' to the calls of 'ls' in configure.in -- I have seen
2110         multiple machines in the past where the mail spool was a symlink
2111         to a directory on another device with more free space.
2112
2113 Fri Oct 1 22:36:56 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2114
2115         * Fixed a portability problem in Doug's fix of a portability
2116         problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg'). 
2117
2118 Sat Sep 25 18:40:43 1999 Ruud de Rooij <ruud@ruud.org>
2119
2120         * Added config.sub and config.guess to the list of files to be
2121         distributed.
2122
2123         * Fixed bug in sbr/fmt_scan.c where an extra newline would be
2124         added if a list of addresses was split over several header lines.
2125
2126         * In mts/smtp/smtp.c, undefine strlen and strcpy if they are
2127         macros, regardless of platform.
2128
2129         * Allow q to quit mhshow, and n to skip to next part.  Patch from
2130         Kimmo Suominen <kim@tac.nyc.ny.us>.
2131
2132         * Modified mhstore to recognize attachments created by sendfiles
2133         with x-conversions=gzip.
2134
2135 Mon Sep 13 21:20:10 1999 Doug Morris <doug@mhost.com>
2136
2137         * added explicit cast to long from time_t for tclock in
2138         post.c.
2139
2140         * Commented out #ifdefs for <sys/ioctl.h> in termsbr.c since
2141         it's needed for ioctl() anyway. This prevents a warning about
2142         implicit definition of ioctl().
2143
2144         * Moved guesses performed by AC_CANONICAL_SYSTEM back into the
2145         "User Configuration" section of config.h (moved @TOP@ in
2146         acconfig.h) so they're easier to find, should someone actually
2147         want to mess with them.
2148
2149 Sun Sep 12 15:50:34 1999 Doug Morris <doug@mhost.com>
2150
2151         * updated Makefile.in so it recognized COMPLETION-TCSH and
2152         COMPLETION-ZSH (only used in make nmhdist). 
2153
2154         * added prototype for ruserpas to <h/prototypes.h>. Fixes
2155         warnings in mhparse.c and mhbuildsbr.c.
2156
2157         * added include checks for <time.h> and <sys/time.h> to
2158         prevent warnings in fmt_compile.c, fmt_scan.c, lock_file.c,
2159         sendsbr.c, mhbuildsbr.c, mhcachesbr.c, picksbr.c, and post.c.
2160
2161         * added include for <zotnet/mts/mts.h> to ali.c, scan.c, ap.c,
2162         rcvdist.c, rcvstore.c, rcvtty.c, and spost.c to remove
2163         warnings about implicit definition of mts_init().
2164
2165         * added <grps.h> to slocal.c to prevent warnings about
2166         function initgroups.
2167
2168         * added <h/signals.h> to prevent warning about missing SIGNAL
2169         function.
2170
2171         * added function prototypes to smtp.c, whatnowproc.c,
2172         mhbuildsbr.c, mhparse.c, mshcmds.c, show.c, whatnow.c, mhl.c
2173         to fix warnings.
2174
2175         * explicitly declared mbx_style in mshcmds.c and lused in
2176         fmtdump.c as type static int instead of just static to
2177         prevent warnings.
2178         
2179         * various code cleanups to prevent ambiguous statements
2180         (brackets for if/thens and parens for complicated if
2181         statements).
2182
2183
2184 Sun Sep 12 09:19:27 1999 Doug Morris <doug@mhost.com>
2185
2186         * commented out _cleanup() in mf.c because it's the only
2187         location in all of the source code where it exists. It was
2188         preventing compilation on at least linux.
2189
2190         * Added check for <db1/ndbm.h> which is the new location where
2191         linux systems appear to be stuffing this header file.
2192
2193 Thu Sep 09 23:15:49 1999 Doug Morris <doug@mhost.com>
2194
2195         * fixed varous mkstmep bugs introduced in 1.0.1 by me. Whups!
2196
2197         * added mh_profile SEGV patch from Richard Cohen
2198         <richard@jubjub.demon.co.uk> that prevents crashing when
2199         mh_profile doesn't end in a newline. A similar patch was
2200         previously sent in by Andrew Bettison <andrewb@zip.com.au>.
2201
2202         * fixed bug in associated with MAILGROUP #define (group "mail"
2203         is not universal) -- hard to believe, but true.
2204
2205 Tue Sep 7 16:47:03 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2206
2207         * Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.
2208
2209 Tue Aug 17 16:06:29 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2210
2211         * Automated #define of MAILGROUP and installation of inc as setgid mail
2212         when the mail spool directory isn't world-writable.
2213
2214 Thu Jul 15 18:37:07 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
2215
2216         * slocal -debug used to leave a file in /tmp for each message
2217         processed.  Very bad for folks with slocal -debug in their .forward!
2218
2219         * Got rid of a ton of compilation warnings.  Most were "junk"
2220         warnings due to the use of gcc -Wall (without -Wno-parentheses),
2221         but a few represented real bugs.  There remain many warnings to be
2222         tackled that are due to missing function prototypes (e.g. snprintf()).
2223
2224         * Default rcvdistcomps no longer puts a copy of all outgoing
2225         messages in outbox.  Added an rcvdistcomps.outbox that does.
2226
2227 Sat Jun 09 12:22:47 1999 Doug Morris <doug@mhost.com>
2228
2229         * Updated configure to check for mkstemp (available on OpenBSD) and 
2230         substitute it for mktemp if available. 
2231
2232 Thu May 13 16:40:19 1999  Doug Morris <doug@mhost.com>
2233
2234         * Added config.sub and config.guess and updated acconfig.h and
2235         configure.in to automatically detect system type and set the
2236         proper #defines.
2237
2238 Wed May 12 23:41:33 1999  Dan Winship  <danw@mit.edu>
2239
2240         * Released nmh-1.0.1.
2241
2242 Fri May  7 17:18:28 1999  Dan Winship  <danw@mit.edu>
2243
2244         * Fixed flist to properly deal with relative folder names.
2245         Problem noted by Jerry Peek <jpeek@jpeek.com>.
2246
2247         * Fixed --with-krb4 to work with original Kerberos 4 libraries as
2248         well as the Kerberos 5 compat libraries. Based on a patch from
2249         Assar Westerlund <assar@sics.se>.
2250
2251         * Added a check in configure.in to test if modf is in libc and
2252         link with libm if not. This is needed by at least Digital UNIX. 
2253         Problem pointed out by Kevin Oberman <oberman@es.net>.
2254
2255         * Fix a bug from the "mhn -show" to "mhshow" renaming that
2256         made the "list" command in whatnow not work for some users.
2257         From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
2258
2259         * Replaced "extern int errno" with "#include <errno.h>" in a
2260         number of files. Suggested by Stephen Wilson Bailey
2261         <swb@nconnect.net>.
2262
2263         * Fixed a problem in how "packf -mbox" translated "Return-Path:"
2264         lines. From Kimmo Suominen <kim@tac.nyc.ny.us>.
2265
2266         * Fixed a segmentation fault in inc. Patch originally from Ruud de
2267         Rooij <r.c.m.derooij@twi.tudelft.nl>.
2268
2269         * Allow display of 8bit encoded messages. From Kimmo Suominen
2270         <kim@tac.nyc.ny.us>.
2271
2272         * Fixed repl to not add line breaks in the middle of long
2273         addresses when building a reply. From Ruud de Rooij
2274         <r.c.m.derooij@twi.tudelft.nl>.
2275
2276         * Added -library switch to spost so it can parse user aliases like
2277         post does. From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
2278
2279         * Changed configure.in's check for sigsetjmp to properly deal
2280         with systems like Linux where it is a macro. From
2281         <elleron@servtech.com>.
2282
2283         * Fixed a bug in whatnow that could cause it to sometimes exit
2284         without prompting the user. Based on a patch by Richard Geiger
2285         <rmg@netapp.com>.
2286
2287         * Added code to deal with SIGPIPE in mhl so it doesn't print
2288         "Broken pipe" if you quit out of the moreproc.
2289
2290         * Documentation: Added a note to MACHINES about Irix make. Added a
2291         pointer to the online copy of the MH book in INSTALL. Added
2292         some additional information to the whatnow and packf man pages,
2293         suggested by Jerry Peek <jpeek@jpeek.com>.
2294
2295         * Updated INSTALL, FAQ, etc to not refer to Richard as the
2296         maintainer or math.gatech.edu as the home any more.
2297
2298 1999-02-06  Richard Coleman  <coleman@math.gatech.edu>
2299
2300         * Released nmh-1.0.
2301
2302         * Merged mbx_open and mbx_Xopen in dropsbr.c.  Fixed
2303           mbx_open so that the mode of zero length maildrops
2304           would not be changed.
2305
2306         * Replaced the substitute version of snprintf() with the
2307           one from the Apache web server.
2308
2309         * Changed to default mode for creating new messages to 0600
2310           (this should have been done a long time ago).
2311
2312         * Changed "flist" to handle searching for multiple sequences
2313           for each folder.  Also flist will now correctly split
2314           Unseen-Sequence if it consists of multiple sequences.
2315
2316         * Added new switches `-unlink' and `-nounlink' to "refile".
2317
2318         * Added new switches `-unlink' and `-nounlink' to "rmm".
2319
2320         * More cleanups of slocal output.  Changed adorn() to
2321           send to stdout, instead of stderr (to match rest of
2322           verbose printing).
2323
2324         * Merged mbx_create() into mbx_open, so that creating and
2325           opening a nonexistent maildrop is done atomically.  This
2326           removes a bad race condition.
2327
2328         * Fixed bug that caused slocal to be unable to save to MMDF
2329           style drop file.
2330
2331         * Added new wrapper function usr_folder() to slocal.c to
2332           handle adding message to folder (currently, it still uses
2333           usr_pipe() to call rcvstore).
2334
2335         * seq_list() checks for empty folder before scanning for
2336           sequence information.
2337
2338         * num_digits() in flist.c and folder.c now returns correct
2339           value for 0.  Also added sanity check.
2340
2341         * folder_delmsgs() now correctly decrements internal message
2342           count.
2343
2344         * Don't attempt to read sequence information if folder
2345           is empty.
2346
2347         * Split seq_read into seq_public and seq_private.
2348
2349         * Small change to sigmsg.awk, since newer versions of gawk
2350           interpret 034 as octal.
2351
2352         * In flist, don't scan for sequence information in empty folder.
2353
2354         * Updated mhn.defaults.sh to output profile entries for mhshow,
2355           mhstore, and mhbuild.
2356
2357         * Changed configuration parameter "mhn-access-ftp" to
2358           "nmh-access-ftp".  Updated man pages
2359
2360         * Moved the code in InitMultipart to reverse the order of the
2361           parts in a multipart, into its own function "reverse_parts()".
2362
2363         * Changed code in mhbuildsbr.c to store unencoded content
2364           in the c_cefile structure when building.
2365
2366         * Changed code in mhoutsbr.c to look for unencoded content
2367           in the c_cefile structure when outputing message.
2368
2369         * Changed configuration parameter "mhn-cache" and
2370           "mhn-private-cache", to "nmh-cache" and "nmh-private-cache",
2371           since it is used in mhstore, mhlist, and mhshow.  Updated man pages
2372
2373         * Change configuration parameter "mhn-storage" to
2374           "nmh-storage", since it is now used in mhstore, mhlist,
2375           and mhshow.  Updated man pages
2376
2377         * Add autoconf support for KPOP (kerberized pop).
2378
2379         * Add autoconf support for Hesiod.
2380
2381         * Split routines to output a message given a Content structure
2382           (output_message, output_content, write7Bit, etc..) to a new
2383           file "mhoutsbr.c".
2384
2385         * Split output_content(), into output_content() and build_headers().
2386
2387         * Changed copy_some_headers() in mhstoresbr.c, to use the linked
2388           list of header fields, rather than reopening the message.
2389
2390         * Added free_header() to mhfree.c to free structures containing
2391           header field information.
2392
2393         * Changed get_content() to use the linked list of header fields
2394           when parsing the various MIME headers (Content-XXX).
2395
2396         * Changed get_content() to store linked list of header field
2397           values when parsing a content.
2398
2399         * Changed mhbuild, mhn, mhlist, mhshow, mhstore, to use the
2400           routines in mhcachesbr.c to handle the content cache.
2401
2402         * Split various funtions (find_cache, find_cache_aux, find_cache_aux2,
2403           cache_content) into new file mhcachesbr.c.
2404
2405         * More calls to sprintf/strcpy (primarily in mhparse.c
2406           and mhbuildsbr.c) converted to snprintf/strncpy.
2407
2408         * When a message is displayed with `mhshow', it is now
2409           removed from the "unseen" sequence.
2410
2411         * Change the default "showmimeproc" to "mhshow".
2412
2413         * Split "mhn -show" off into separate command "mhshow".
2414
2415         * Split "mhn -store" off into separate command "mhstore".
2416
2417         * Split "mhn -list" off into separate command "mhlist".
2418
2419         * Add sanity checks to context_find(), context_replace(),
2420           and context_del(), to abort if context file hasn't been
2421           read.
2422
2423         * Add calls to context_read(), to the beginning of all nmh
2424           commands (instead of being called indirectly by context_find).
2425
2426         * Changes the "substitute" version of vsnprintf/snprintf for
2427           operating systems without native versions, to just call the
2428           native vsprintf(), and ignore the buffer length.   This is
2429           faster, but less secure than the previous version that used
2430           temporary files.  This should only be a problem for systems
2431           which do not have a native snprintf(), and require `inc' to
2432           be setuid/setgid.
2433
2434         * Lots more calls to sprintf/strcpy converted to snprintf/strncpy.
2435
2436         * Changes client() routine to take additional parameter, which is
2437           the buffer length of the parameter "response".  Then added
2438           buffer length checks for this parameter.
2439
2440         * Changed getws() to get_fields(), since that is apparently the
2441           name of a wide character version of gets() on some archetitures.
2442
2443         * Lots of sprintf/strcpy calls converted to snprintf/strncpy.
2444
2445         * Change the code in most of the commands that take multiple
2446           message names/sequences/ranges on the command, such that
2447           the msgs array is expanded dynamically.  This removes most
2448           of the limits on the length of command lines.
2449
2450         * Add additional parameter to copyip(), to specify the
2451           maximum number of strings that can be copied (security
2452           fix).
2453
2454         * Create new function getarguments(), to massage the argument
2455           vector before parsing it (add any arguments from your
2456           profile to the beginning of the argument vector).  This
2457           also removed the general limit on the number of command line
2458           arguments.
2459
2460 1998-07-04  Richard Coleman  <coleman@math.gatech.edu>
2461
2462         * Released nmh-0.27.
2463
2464         * Added a new command "delete", that is available during
2465           a "whatnow" session.  It is equivalent to "quit -delete".
2466
2467         * Added another parameter to editfile (in whatnowsbr.c),
2468           that controls whether editfile should remember the last
2469           program that was exec'ed.  This way the whatnow command
2470           "mime", will not be re-executed if "edit" is later given
2471           with no arguments.
2472
2473         * Changed whatnowsbr.c, so that whatnow doesn't abort if
2474           mhbuild returns an error.
2475
2476         * Added parameter to sendsbr(), so you may specify whether to
2477           rename the draft file.
2478
2479         * Pass delay time to splitmsg() as a parameter, rather than
2480           use a global variable.
2481
2482         * Moved code to rename draft file after sending message from
2483           splitmsg and sendaux, to sendsbr.
2484
2485         * Removed all the code in viamail to split messages and then
2486           mail them.  Replaced this with the standard sendsbr.c routines.
2487
2488         * Changed sendsbr(), so that when splitting messages into
2489           messages of type "message/partial", the header fields that
2490           are copied are more compliant with RFC-2046.
2491
2492         * Fixed mhbuild to track temporary files better.  They are
2493           now correctly removed when mhbuild aborts.
2494
2495         * Created a new man page for "sendfiles".  The information
2496           about "mhn -viamail" in the "mhn" man page was moved to
2497           this new page.
2498
2499         * Changed the name of the "viamail" shell script to
2500           "sendfiles".  Modified "sendfiles" to use the new
2501           viamail program.
2502
2503         * Moved the functionality for "mhn -viamail" out of mhn,
2504           and into a separate executable called "viamail".
2505
2506         * When storing MIME contents to a folder using mhn -store,
2507           they are now accumulated in a temporary file, and then added
2508           to the folder using folder_addmsg().
2509
2510         * Moved code to save content to a folder from store_content
2511           to new function output_content_folder.
2512
2513         * Moved code to save content to file from store_content to
2514           new function output_content_file.
2515
2516         * Moved code to parse storage format string from store_content
2517           to new function parse_format_string.
2518
2519         * Fix copy_some_headers() in mhstoresbr.c, so that the
2520           correct header fields in the first enclosing message/partial
2521           will be copied (according to RFC2046), when using mhn -store
2522           to reassemble messages of type message/partial.
2523
2524         * Fixed bug to openFTP() in mhparse.c, that caused the
2525           tmp file to not be removed, when transferring a
2526           message/external file from ftp.
2527
2528         * Moved the code in mhparse.c to process -auto switch (scan
2529           contents for the attribute "name"), to a new function
2530           "get_storeproc" in mhstoresbr.c.
2531
2532         * Moved routines to free data structures related to MIME
2533           content from mhparse.c and mhbuildsbr.c, to new file
2534           mhfree.c.
2535
2536         * Moved code to show/display MIME content into new
2537           file mhshowsbr.c.
2538
2539         * Moved code to store MIME content from into
2540           new file mhstoresbr.c
2541
2542         * Moved code to parse MIME content into new
2543           file mhparse.c.
2544
2545         * Moved code to list information about MIME content
2546           into new file mhlistsbr.c.
2547
2548         * Move part_ok(), type_ok(), content_error(), flush_errors(),
2549           and set_endian() to new file mhmisc.c.
2550
2551         * Start to isolate the code to show, list, and store MIME
2552           messages.  One side effect is that only one flag (-show,
2553           -list, or -store) can be used at a time now.
2554
2555         * mhn -store -auto wasn't storing file in correct directory.
2556
2557         * Removed a few dead variables from sbr/ruserpass.c
2558
2559         * move code for creating tmp files, and renaming the
2560           the composition draft in mhbuild, from build_mime()
2561           to main().
2562
2563         * remove left-over code in mhbuild.c, mhbuildsbr.c, for
2564           the -[no]auto switch (which isn't used in mhbuild).
2565
2566         * split mhn.c into mhn.c and mhnsbr.c (name later changed
2567           to mhparse.c).
2568
2569         * split mhbuild.c into mhbuild.c and mhbuildsbr.c.
2570
2571 1998-05-25  Richard Coleman  <coleman@math.gatech.edu>
2572
2573         * Released nmh-0.26.
2574
2575         * Added (unlisted) options [no]dashstuffing to send, post,
2576           and whatnow to determine whether to do RFC934 quoting
2577           (dashstuffing) for encapsulated BCC messages.  The default
2578           is still the same (dashstuffing).
2579
2580         * Changed the undocumented feature "nodashmunging" in forw
2581           and mhl, into the documented feature "nodashstuffing".  The
2582           default for forw, is still "dashstuffing" for backward
2583           compatibility, although I don't believe that bursting
2584           RFC934 digests is very common anymore.
2585
2586         * Added an option to define REALLYDUMB in the default config.h.
2587           But it is not on by default.
2588
2589         * moved creation of config file mts.conf from zotnet/mts
2590           to etc.  This simplified the Makefile in zotnet/mts.
2591
2592         * simplified directory support/general to etc.
2593
2594         * removed unneeded directory support/bboards.
2595
2596         * split getusername() into getusername() and getuserinfo().
2597
2598         * Changed getusr() routine to getusername().
2599
2600         * Slight cleanup in folder_pack.c on code that records the new
2601           number of the "cur" message when packing.
2602
2603 1998-05-08  Richard Coleman  <coleman@math.gatech.edu>
2604
2605         * Released nmh-0.25.
2606
2607         * Change install process, so that hard linking the correct mts
2608           library to libmts.a, is not necessary.  The final link process
2609           uses the original name of the library.
2610
2611         * Fixed bug in flist.c and folder.c, so that symbolic links which
2612           point to directories, will not decrement the number of directory
2613           links remaining.
2614
2615         * Split the function list_content (in mhn.c and mhbuild.c) into
2616           list_content and list_debug.
2617
2618         * Don't pack (folder -pack) an empty folder.
2619
2620         * Exit gracefully in flist.c, if no sequence is specified,
2621           and no "Unseen-Sequence" is given in nmh profile.
2622
2623 1998-02-27  Richard Coleman  <coleman@math.gatech.edu>
2624
2625         * Released nmh-0.24.
2626
2627         * Small clarification to the man page for `ali'.
2628
2629         * Fix bug in inc.c so that if both flags `-file' and `-truncate'
2630           are given, that order doesn't matter.
2631
2632         * Fix bug in seq_list.c when realloc'ing for
2633           large sequence line.
2634
2635 1998-02-23  Richard Coleman  <coleman@math.gatech.edu>
2636
2637         * Released nmh-0.23.
2638
2639         * Add new section on "Transfer Encodings" to man page for mhbuild.
2640
2641         * In mhbuild.c, split compose_content into compose_content
2642           (parse and execute composition string), and scan_content (scan
2643           content, decided transfer encoding, check for clash with boundary
2644           string).  I did a good amount of rearranging of this code.
2645
2646         * Moved definitions for data structures for parsing MIME
2647           messages from mhn.c and mhbuild.c to a new include
2648           file h/mhnsbr.h.
2649
2650         * Small amount of rearranging in sendsbr.c
2651
2652         * Small changes to MAIL.FILTERING file.
2653
2654         * Add the file MAIL.FILTERING to nmh distribution.
2655
2656         * Add line to packf so that if message begins with
2657           "X-Envelope-From:" field, it is converted to "From ".
2658
2659         * Fix packf to add "From " line to beginning of message,
2660           even if Return-Path doesn't exist.
2661
2662         * Add note to MACHINES file that on Linux, configure
2663           doesn't find the functions sigsetjmp/siglongjmp.
2664
2665         * Fix configuration for machines that don't have (or find)
2666           sigsetjmp/siglongjmp.
2667
2668 1998-02-11  Richard Coleman  <coleman@math.gatech.edu>
2669
2670         * Released nmh-0.22.
2671
2672         * Add a configure check for sigsetjmp.  Add some conditional
2673           #define's in h/signals.h in case it's not found.
2674
2675         * Added additional notes about -auto switch in mhn man page.
2676
2677         * Added note about MM_CHARSET environment variable to
2678           mh-profile(5) man page.
2679
2680         * Fix signal problem in mhn.c (change setjmp/longjmp to
2681           sigsetjmp/siglongjmp).
2682
2683 1998-02-09  Richard Coleman  <coleman@math.gatech.edu>
2684
2685         * Released nmh-0.22-pre1.
2686
2687         * Changed the first line in mhl.format from
2688           " -- using template mhl.format -- " to a blank line.
2689
2690         * Added note about automimeproc to mh-profile man page.
2691
2692         * Reorganize the main entry point for parsing a MIME message
2693           or file in mhn.  Add new function parse_file() as new main
2694           entry point for parsing MIME files.
2695
2696         * Add note to mhn man page, that "mhn -file -" will accept the
2697           source message on the standard input.
2698
2699         * Changed a sanity check in folder_realloc that was too strict.
2700
2701         * -norfc934mode is now the default for mhbuild,
2702           rather than -rfc934mode.
2703
2704         * Fix mhbuild, so that Content-Description and RFC-822 comments
2705           from #forw directive will be correctly included if there is
2706           only one message.
2707
2708         * Change mhn to correctly default parts of multipart/digest to
2709           message/rfc822 (leftover code from rfc934mode was removed).
2710
2711         * Restore HP specific code to zotnet/tws/lexstring.c.  Apparently
2712           it is still needed.
2713
2714 1998-02-06  Richard Coleman  <coleman@math.gatech.edu>
2715
2716         * Released nmh-0.21.
2717
2718         * If the file given to mhbuild is "-", then accept the draft on
2719           standard input, and output the MIME message to standard output.
2720
2721         * Cleaned up code in mhbuild.c that decides what transfer
2722           encoding to use.
2723
2724         * Cleaned up code in mhbuild.c that decides what character set
2725           to use for text contents.
2726
2727         * Removed old hpux specific code from zotnet/tws/lexstring.c
2728
2729 1998-02-02  Richard Coleman  <coleman@math.gatech.edu>
2730
2731         * Released nmh-0.21-pre2.
2732
2733         * Added the "decode" variable to mhl.format and mhl.header.
2734
2735         * Added new variable "decode" to mhlsbr.c to decode text in
2736           header fields as per RFC-2047.
2737
2738         * Make sure that when decoding RFC-2047 header fields, that any
2739           spaces at the ends of the encoded text are not ignored, but the
2740           spaces between encoded word are.
2741
2742         * Removed #ifdef's for MIME.  MIME support is always compiled in.
2743
2744         * scan/inc will now decode both Subject and From lines as
2745           RFC-2047 encoded header fields.
2746
2747         * Added new function write_charset_8bit() to sbr.  It returns
2748           the character set to use for 8bit text in composition draft.
2749           Changed mhbuild to use this function.
2750
2751         * Split mhn man page into man pages for mhn and mhbuild.
2752
2753         * mhn -show will only now only use default method for content
2754           of type plain, if it is NOT a part of a multipart/alternative.
2755
2756         * Split mhn -build into mhbuild.  Did some code cleanup.
2757
2758         * Added support for %(decode) to fmtdump.c.
2759
2760         * check_charset() now accepts US-ASCII as a subset of any
2761           ISO-8859-X character set.
2762
2763         * Changed the default "showproc" to mhl, instead of the
2764           pager more.
2765
2766         * When reading file into mhn composition file, only need read
2767           permissions, not write permissions.
2768
2769         * Added own version of strcasecmp to distribution, since
2770           nmh calls it frequently with NULL pointers (ughh).
2771
2772         * Replaced uleq.c with strcasecmp.  Removed uleq.c from
2773           distribution.
2774
2775 1998-01-22  Richard Coleman  <coleman@math.gatech.edu>
2776
2777         * Released nmh-0.21-pre1.
2778
2779         * If a message is missing charset parameter to text/plain, show
2780           will assume US-ASCII, rather than just calling showmimeproc.
2781
2782         * Change show.c and mshcmds.c to use check_charset to see if text
2783           message contains valid character set.
2784
2785         * Added new scan format file "scan.nomime" to support/general
2786           that doesn't do any RFC-2047 decoding.
2787
2788         * Modified all the scan format files in support/general to do
2789           RFC-2047 decoding of Subject field.
2790
2791         * Did more work on sbr/fmt_rfc2047.c, so that it will correctly
2792           ignore whitespace between two valid encoded words, but not
2793           between an encoded word and normal text.
2794
2795         * Created new file sbr/check_charset.c.  Moved code from
2796           fmt_rfc2047.c to check for valid character set to this file.
2797
2798         * Added format escape %(decode) to decode contents of "str" register
2799           as a RFC-2047 header field.
2800
2801         * The command install-mh now recognizes the switches -version
2802           and -help.
2803
2804         * Added a new argument to print_help.c to decide whether to
2805           print profile entries (needed for install-mh to prevent weird
2806           loops).
2807
2808         * Changed folder_read.c and folder_realloc.c so that mp->lowoff
2809           is initialize to max (mp->lowmsg, 1) rather than always 1.
2810
2811         * Changed macros for sequence/attribute manipulation so that
2812           message status array doesn't need to always start at 1.
2813
2814         * Small cleanups in folder_realloc().
2815
2816 1998-01-09  Richard Coleman  <coleman@math.gatech.edu>
2817
2818         * Released nmh-0.20.
2819
2820         * Added configure option --with-pager=PAGER.
2821
2822         * Added configure option --with-editor=EDITOR.
2823
2824         * Changed the default format file for mhl (mhl.format) to
2825           also ignore (not display) the header fields Content-Type,
2826           Content-Transfer-Encoding, and Content-ID
2827
2828         * Fixed core dump in addrsbr.c when using %(proper) format function
2829           and the To: line was missing.
2830
2831         * Added the file ZSH.COMPLETION to the distribution.
2832
2833 1998-01-04  Richard Coleman  <coleman@math.gatech.edu>
2834
2835         * Released nmh-0.20-pre2.
2836
2837         * Added new switch -snoop to both `msgchk' and `inc', so you can
2838           watch the POP transaction.
2839
2840         * Changed "replgroupcomps" to check for Mail-Followup-To header
2841           first, and use it if available.
2842
2843         * Changed "replcomps" to check for Mail-Reply-To header
2844           first, and use it if available.
2845
2846 1998-01-03  Richard Coleman  <coleman@math.gatech.edu>
2847
2848         * Released nmh-0.20-pre1.
2849
2850         * Changed seq_list.c to dynamically enlarge the buffer for
2851           collecting the message ranges in a long sequence line.
2852           This should remove the last hard limit on the size of a
2853           sequence line.
2854
2855         * Changed seq_read.c so that can read long sequence lines.
2856           It will use multiple calls to m_getfld() when m_getfld()
2857           returns the state FLDPLUS.
2858
2859         * Changed brkstring.c to dynamically add more space for pointers
2860           if necessary.  This is needed when splitting up large sequence
2861           lines.
2862
2863         * Did some small cleanups in seq_save.c.
2864
2865         * Added new switches `-[no]unseen' to rcvstore, to control
2866           whether new messages are added to Unseen-Sequence.
2867
2868         * Moved locking routines (zotnet/mts/lock.c) to sbr/lock_file.c
2869
2870         * Changed the internal UNSEEN flag to SELECT_UNSEEN which is
2871           more appropriate.  Changed the MHPATH flag to ALLOW_NEW.
2872
2873         * Changed "replcomps" to not include CC and TO lines so that
2874           that reply message is only directed at the author of the
2875           message to which you are replying.
2876
2877         * Added new switch `-group' to command repl, which causes repl
2878           to use new forms file "replgroupcomps".  This is intended for
2879           making group replies.
2880
2881         * Removed #ifdef for ATHENA.
2882
2883 1997-12-28  Richard Coleman  <coleman@math.gatech.edu>
2884
2885         * Released nmh-0.19.
2886
2887         * Fix repl,forw so that switch `-form file' will not abort
2888           as ambiguious (silly mistake on my part).
2889
2890         * Cleaned up the mhn man page.  Added info about a few escapes
2891           for the formatting/display strings that were not documented
2892           (%%, %t).  Moved the BNF grammar for the mime composition file,
2893           to the end of the man page.
2894
2895         * Added the options -[no]format to the command repl.  The
2896           switch `-format' will filter the message to which you are
2897           replying with the standard message filter "mhl.reply", which
2898           is now included in the distribution.  The `-noformat' option
2899           will negate the use of -format or -filter and not include
2900           the message to which you are replying in the draft.
2901
2902         * Did some cleaning and reorganization on many of the man
2903           pages.
2904
2905         * Added debugging switch `-debug' to mhparam, which displays
2906           the values of all `procs' (and some other misc configuration
2907           info) that nmh keeps in global variables.
2908
2909         * When using `refile -preserve', if a conflict occurs, then use
2910           the next available number above the message number you wish
2911           to preserve.
2912
2913         * In forw.c, split the code for creating MIME style forwarding
2914           out of copy_draft, and into copy_mime_draft.
2915
2916         * Move routines in mark.c to print sequences, into new
2917           file sbr/seq_print.c
2918
2919         * flist will now update the current folder.
2920
2921         * Added the switches -[no]fast to flist, to replace
2922           -[no]total.  The previous switches are still accepted
2923           but now undocumented.
2924
2925         * More reorganization in flist of the code for
2926           traversing folders.
2927
2928         * The command "flist +foo -all" will now scan the folder
2929           "foo" and all its 1st level children.
2930
2931         * Add missing include file <h/mh.h> to sbr/snprintf.c
2932
2933         * Fix alarm bug in rcvtty, so that when it calls external
2934           process, the alarm is never longer than 30 minutes.
2935
2936 1997-12-17  Richard Coleman  <coleman@math.gatech.edu>
2937
2938         * Released nmh-0.18.
2939
2940         * Fixed bug in mark, so that "mark -list -seq foo" will
2941           correctly indicate if "foo" is a private sequence.  I found
2942           this bug mentioned in Jerry Peek's book.
2943
2944         * Simplified the code in seq_setcur(), since seq_addmsg() now
2945           retains the public/private status of sequences.
2946
2947         * Changed sequence handling so that if the switches -public
2948           or -nopublic, are not specified for the commands mark, pick,
2949           or rcvstore, then existing sequences will retain their
2950           previous public/private status.
2951
2952         * mhparam now handles the mh-sequences profile entry
2953           correctly.
2954
2955         * flist -all will now also check readonly folders (for
2956           private sequences).
2957
2958         * Improve the leaf optimization for folder command.
2959           It will now track the number of directories in a folder,
2960           and stop stat'ing files once it has hit all the subfolders.
2961
2962         * Renamed m_getfolder to getfolder.  Changed getfolder to
2963           take option to determine whether it should get current
2964           folder, or just default folder (Inbox).  Changed rcvstore,
2965           inc, and rmf to use the new getfolder.
2966
2967         * flist now indicates if a sequence is private.
2968
2969         * Change WUNTRACED to 0, in pidwait.c, so that commands will
2970           wait for stopped processes.
2971
2972         * conflict will dynamically allocate space for group names,
2973           so it can now handle system with more than 100 groups.
2974
2975 1997-12-09  Richard Coleman  <coleman@math.gatech.edu>
2976
2977         * Released nmh-0.18-pre4.
2978
2979         * Check if we have enough message status space, before we
2980           call folder_realloc() in burst, mhpath, and m_draft().
2981
2982         * mhn will now correctly identify a formatting string of "-"
2983           for the option -store, and send content to stdout.
2984
2985         * Change the way that memory for message status is
2986           allocated.  It is dynamcially allocated separately from
2987           the folder/message structure.  This required changing
2988           folder_read.c, folder_realloc.c, folder_free.c.
2989
2990         * Removed all the MTR code (experimental code for message
2991           status allocation).
2992
2993         * Renamed m_readfolder.c to folder_read.c and simplified
2994           the code.
2995
2996         * Renamed m_freefolder.c to folder_free.c.
2997
2998         * Add function trim() to slocal.c to pretty print
2999           the debugging output.
3000
3001         * Changed the name of m_packfolder() to folder_pack().
3002           Changed the name of m_remsg() to folder_realloc().
3003
3004 Wed Dec  3 23:33:38 1997  Richard Coleman  <coleman@math.gatech.edu>
3005
3006         * Released nmh-0.18-pre3.
3007
3008         * Changed installation to add `flists' which is hard linked
3009           to `flist'.  This is a equivalent to `flist -all'.
3010
3011         * For flist, -showzero is on by default.
3012
3013         * Major changes to flist.  Default is now for flist to search
3014           current folder.  The switch `-all' is now used to specify
3015           searching all top level folders.  The new switch `-showzero'
3016           is used to print out folders that don't contain any messages
3017           in the given sequence.
3018
3019         * Split BuildFolderList in flist.c into 2 functions
3020           (BuildFolderList, BuildFolderListR).  Changed these functions
3021           so that flist now does better leaf optimization, and will stop
3022           stat'ing directory entries when it knows it has hit all the
3023           subdirectories of a given directory.
3024
3025         * Reorganized code in folder.c, so that all relevant folders
3026           are scanned first and information recorded.  Then all the
3027           folder summaries at printed out at one time.
3028
3029         * Made the options of folder(s) more orthogonal.  Now
3030           "folder -all -noheader -nototal" will do the right thing.
3031
3032         * Added `-noall' switch to folder, for completeness.
3033
3034         * Changed the default mode for creation of new folders
3035           to 0700 (was 0711).
3036
3037         * Slightly changed the format for flist.  It now indicates
3038           if a folder is current.  Also the width of the various
3039           fields are now calculated at runtime.
3040
3041         * Changed the format for folder(s).  Folder names
3042           are now left justified.  The width of the various fields
3043           are calculated at runtime.
3044
3045 Sun Nov 30 19:14:53 1997  Richard Coleman  <coleman@math.gatech.edu>
3046
3047         * Released nmh-0.18-pre2.
3048
3049         * Add paragraph to man page for install-mh and to INSTALL file
3050           about checking for global mh.profile.
3051
3052         * Renamed m_find() to context_find().
3053           Renamed m_replace() to context_replace().
3054           Renamed m_delete() to context_del().
3055           Renamed m_update() to context_save().
3056           Renamed m_getdefs() to context_read().
3057           Renamed m_foil() to context_foil().
3058
3059         * Change rcvstore to use routine folder_addmsg(), instead of
3060           adding message to folder itself.
3061
3062         * Changed refile, so that if the switch -preserve is used,
3063           and a conflict occurs for a particular folder, then folder_addmsg()
3064           will just use next highest available number for that folder,
3065           instead of exiting.
3066
3067         * Make folder_addmsg() more robust.  It will make repeated
3068           attempts to link file into folder if link returns with
3069           the error EEXIST.
3070
3071         * Fix bug, so that that if forking sendmail, HELO will be sent
3072           unless clientname: option is defined but empty (so now it
3073           is the same as the direct smtp code).
3074
3075         * Changed sprintb to snprintb (now we pass the buffer length
3076           to new routine).  Changed code to use new function.
3077
3078         * Added snprintf to sbr. Added configure check to build it
3079           if you don't have a native version (but haven't changed much
3080           code to use it yet).
3081
3082 Thu Nov 13 18:42:18 1997  Richard Coleman  <coleman@math.gatech.edu>
3083
3084         * Released nmh-0.18-pre1.
3085
3086         * Fixed alarm bug in slocal, so that alarm is never
3087           called with a value larger than 30 mintues.
3088
3089         * Fixed race condition in rmm and refile, so that
3090           context is updated before external rmmproc is called.
3091
3092         * Removed all the OVERHEAD code.
3093
3094         * Move code to add message to folder from refile.c
3095           to folder_addmsg.c
3096
3097 Fri Jul 25 19:39:29 1997  Richard Coleman  <coleman@math.gatech.edu>
3098
3099         * Did some rearranging of the internals of inc.c.
3100
3101         * Make -inplace the default for anno, forw, dist, and repl.
3102
3103         * Changed --enable-smtp to --with-mts={smtp,sendmail}
3104
3105         * Created new directory mts/sendmail for direct sendmail
3106           interface (although it currently still uses SMTP).
3107
3108         * Removed all the TMA (trusted mail agent) code
3109
3110         * Removed all the TTYD (terminal access daemon) code
3111
3112         * Removed all the MF (uucp filtering) code.
3113
3114         * Removed all the code for BERK.
3115
3116         * Removed all the code for stand-alone delivery (MHMTS).
3117
3118         * Split the file mts/sendmail/smail.c into sendmail.c and
3119           smtp.c.  Changed the name of the directory to mts/smtp.
3120
3121         * Changed autoconf to use @sysconfdir@ for location of
3122           configuration files.
3123
3124         * Changed #define in mhn.c from FTP to BUILTIN_FTP.
3125
3126 Mon Jul 21 03:22:34 1997  Richard Coleman  <coleman@math.gatech.edu>
3127
3128         * Released nmh-0.17.
3129
3130         * MAKEDEFS weren't passed down to recursive makes correctly.
3131
3132         * slocal.c now checks for UTMP_FILE and _PATH_UTMP instead
3133           of hard-coding "/etc/utmp".
3134
3135         * rcvtty.c check for _PATH_UTMP if UTMP_FILE is not
3136           defined.
3137
3138         * Remove configure checks for ulong and ushort.  Changed
3139           code to just use unsigned {short, long}.
3140
3141         * Change addmsg function in refile.c to return new
3142           number of refiled message.
3143
3144         * Added check in get_returnpath for empty unixbuf.
3145
3146         * Cleanup of sbr/pidstatus to use more POSIX macros
3147           for return value of wait().
3148
3149         * Change configure to also check /bin for "more".
3150
3151 Sat Jul 12 00:02:23 1997  Richard Coleman  <coleman@math.gatech.edu>
3152
3153         * Released nmh-0.16.
3154
3155 Mon Jun 23 20:13:24 1997  Richard Coleman  <coleman@math.gatech.edu>
3156
3157         * Added automimeproc, which should replace automhnproc.
3158
3159         * multipart messages will no longer abort for messages
3160           of type 8bit or binary (although we still can't really
3161           deal with binary messages, yet).
3162
3163         * Fix double free of c_storage.  From John MacMillan.
3164
3165         * mhn now treats unknown subtypes of "text" as text/plain.
3166
3167         * mhn changed so that specifying mhn-show-multipart, or
3168           mhn-show-multipart/{mixed, alternate, etc...) will override
3169           the use of the internal method for displaying these types.
3170           Previously mhn would always use the internal method for subtypes
3171           mixed, alternate, digest, and parallel (even if an alternate
3172           method was specified in mhn.defaults).
3173
3174         * mhn show treats unknown subtypes of multipart, as type
3175           multipart/mixed (as specified RFC2046).
3176
3177         * mhn checks for the parameter "name" rather than "x-name".
3178           From MH-6.8.4 patch.
3179
3180         * Fix double free of ctinfo in user_content when using
3181           #forw with single message.  From John MacMillan (and
3182           MH-6.8.4 patch).
3183
3184         * Changed -mhnproc switch for show, to -showmimeproc.
3185
3186         * Changed profile entry "mhnproc" to "showmimeproc".
3187
3188         * Added "mime" option to "whatnow", which calls the program
3189           "buildmimeproc" (default is mhn -build) to process MIME
3190            composition files.
3191
3192         * Added -build switch to mhn, to process MIME composition
3193           files.
3194
3195         * Did some reorganizing of mhn.c.
3196
3197         * Changed casting in mts/sendmail/smail.c from (char) to
3198           (signed char) so SMTP reply codes work correctly for machines
3199           which used unsigned chars by default.
3200
3201 Sat Jun 21 01:21:47 1997  Richard Coleman  <coleman@math.gatech.edu>
3202
3203         * Released nmh-0.15.
3204
3205         * Added new form "scan.unseen" to distribution.  It marks messages
3206           which are in any sequence in Unseen-Sequence.
3207
3208         * Do some rearranging of date/time code in zotnet/tws/dtime.c
3209
3210         * Fix sign extension bugs in fmt_scan.c.
3211
3212         * Fix m_atoi.c so that strings ending in non-digit characters
3213           return 0.
3214
3215         * Split code in burst.c so that finding delimiters of digested
3216           messages and bursting a message into multiple messages are
3217           two separate functions (find_delim and burst).
3218
3219         * Add workaround fo AC_PATH_PROG in configure.in, so
3220           that BSD4.4 machines can find sendmail, vi, more.
3221
3222         * Added "-width" option to rcvtty.
3223
3224         * Change a few variable names in zotnet/mts/client.c since
3225           they conflict with defines on AIX.
3226
3227         * Makefile in zotnet/tws assumes lexing of dtimep.lex was
3228           unsuccessful if resulting file is less than 500 lines long
3229           (rather than 10, which was previous value), since AIX
3230           sed gives mangled file of about 200 lines.
3231
3232         * Extract code in rcvstore.c to link message into folder,
3233           and put in own subroutine.
3234
3235         * Extract code in refile.c to link message into folder,
3236           and put in own subroutine.
3237
3238         * Moved code to remove messages from folder into own
3239           routine "folder_delmsgs" in sbr.  Changed rmm.c and
3240           refile.c to use new routine.
3241
3242 Fri May 16 06:09:31 1997  Richard Coleman  <coleman@math.gatech.edu>
3243
3244         * Renamed m_seqok to seq_nameok.
3245
3246         * Changed m_setunseen, msh, mshcmds, flist, and scan to use
3247           seq_getnum.
3248
3249         * Changed m_seqflag to return the number of a sequence rather
3250           than its bit flag.  Changed its name to seq_getnum and renamed
3251           file to sbr/seq_getnum.c.
3252
3253         * Removed function m_seqnew and file sbr/m_seqnew.c since it is
3254           no longer used.
3255
3256         * Added zero switch to m_seqadd function to zero out bits before
3257           adding message to sequence.
3258
3259         * Renamed function m_setvis to m_setunseen, and renamed
3260           corresponding file in sbr.
3261
3262         * Renamed function m_setseq to m_setprev, and renamed corresponding
3263           file in sbr.
3264
3265         * Changed mark.c and pick.c to use m_seqaddsel and m_seqdelsel.
3266
3267         * Added new function m_seqdelsel to m_seqdel.c, which deletes
3268           all selected messages from a sequence.
3269
3270         * Added new function m_seqaddsel to m_seqadd.c, which adds all
3271           selected messages to a sequence.
3272
3273         * Split sbr/m_seqnew.c into m_seqadd.c, m_seqdel.c, m_seqnew.c,
3274           and m_seqok.c.
3275
3276 Thu May 15 00:53:17 1997  Richard Coleman  <coleman@math.gatech.edu>
3277
3278         * Renamed function pack_folder to m_packfolder, and moved it
3279           from uip/folder.c into its own file sbr/m_packfolder.c
3280
3281 Wed May 14 23:38:00 1997  Richard Coleman  <coleman@math.gatech.edu>
3282
3283         * Changed function m_gmsg to m_readfolder.  Renamed file
3284           sbr/m_gmsg.c to sbr/m_readfolder.c.
3285
3286 Mon May  5 19:57:11 1997  Richard Coleman  <coleman@math.gatech.edu>
3287
3288         * Expanded rcvtty man page, and added small patch from
3289           MH-6.8.4 distribution.
3290
3291 Fri May  2 15:24:34 1997  Richard Coleman  <coleman@math.gatech.edu>
3292
3293         * Released nmh-0.14.
3294
3295         * Comment out configure test and code for tgetent to allocate its
3296           own termcap buffer when passed a NULL argument.
3297
3298 Sat Apr 26 03:46:38 1997  Richard Coleman  <coleman@math.gatech.edu>
3299
3300         * Added new options `-checkmime', `-nocheckmime', and `-mhnproc'
3301           to show.  Restructured code to handle options to various
3302           `procs' better.  Deprecated `-noshowproc' option and NOMHNPROC
3303           environment variable.
3304
3305         * Added new man page `mh-draft' which documents the
3306           draft folder facility in nmh.
3307
3308         * Renamed fmtsbr.h to fmt_scan.h.  Renamed fmtcompile.h
3309           to fmt_compile.h.
3310
3311         * split fmtsbr.c into fmt_scan.c and fmt_new.c.  Renamed
3312           fmtcompile.c to fmt_compile.c, and formataddr.c to
3313           fmt_addr.c.
3314
3315         * `send -help' wasn't showing the -(no)mime and -split
3316           options.
3317
3318 Fri Apr 25 02:50:36 1997  Richard Coleman  <coleman@math.gatech.edu>
3319
3320         * Released nmh-0.13.
3321
3322         * Changed mhpath so it doesn't abort if a message sequence
3323           such as "mhpath all" expands to more than 1000 messages.
3324           Also mhpath now dynamically reallocated space for message
3325           names (The number of command line arguments is still limited
3326           to MAXARGS).
3327
3328         * Did some general restructuring of the code in folder.c
3329           that checks for folder information, and prints it.
3330
3331 Thu Apr 24 01:04:37 1997  Richard Coleman  <coleman@math.gatech.edu>
3332
3333         * Changed `folder' to reallocate space for folder names if
3334           necessary.  So `folders' can now handle more than 300 folders.
3335
3336 Tue Apr 22 14:01:26 1997  Richard Coleman  <coleman@math.gatech.edu>
3337
3338         * Change configure to use a compile check to see if the tm struct
3339           has tm_gmtoff, rather than using egrep.
3340
3341 Mon Apr 21 02:19:17 1997  Richard Coleman  <coleman@math.gatech.edu>
3342
3343         * Released nmh-0.12.
3344
3345         * Had set_exists and unset_exists macros backwards.
3346
3347         * Released nmh-0.11.
3348
3349 Thu Apr 10 02:39:53 1997  Richard Coleman  <coleman@math.gatech.edu>
3350
3351         * Added documentation to mh-profile.man about the various
3352           `procs' (mhlproc, showproc, lproc, etc...).
3353
3354         * Replace the bit twiddling for SELECTED, UNSEEN, and
3355           mp->attrstats with macros.
3356
3357         * If system doesn't have SIGEMT (like Linux), then use SIGTERM
3358           in msh.c instead.
3359
3360         * Change fstat to stat in m_gmsg.c since Linux wants
3361           to hide dd->dd_fd.
3362
3363         * Merge Linux patch sent in by Michel Oosterhof (original
3364           patch from bsa@kf8nh.wariat.org).
3365
3366         * Document an undocumented MH feature.  mhn -form mhl.null
3367           will suppress the display of the message header.
3368
3369         * mhparam will now return "mhparam etcdir".
3370
3371         * Add catproc to /config/config.c and use that in show.c
3372           and mshcmds.c, rather than hard coding in /bin/cat.
3373
3374         * Add mhnproc to the list of `procs' in mh-profile.man.
3375
3376         * Add configure test for lorder and tsort commands.
3377
3378         * Commented out the padding in the `msgs` struct in h/mh.h
3379
3380         * Change m_gmsg.c to allocate elements to the `info' array by
3381           500 elements at a time (rather than MAXFOLDERS / 5).
3382
3383         * Add note to man page for mhmail that zero length messages are
3384           not sent.  Need to use -body "" to send empty messages.
3385
3386         * zotnet/mts/mts.c : compare character with '\0', not NULL.
3387
3388         * sbr/getcpy.c : assign '\0' to character, not NULL.
3389
3390         * add m_fmsg to most programs in uip so that they explicitly free
3391           folder/message structure when done with folder.
3392
3393         * uip/slocal.c : cleanup processing of sender.  Make sure it is
3394           defined even if message is missing "From " line.
3395
3396 Mon Mar 31 03:37:35 1997  Richard Coleman  <coleman@math.gatech.edu>
3397
3398         * Released nmh-0.10.
3399
3400 Sun Mar 30 21:46:17 1997  Richard Coleman  <coleman@math.gatech.edu>
3401
3402         * Add configure check for <locale.h>.  Turn on LOCALE support
3403           by default.
3404
3405 Thu Mar 20 03:21:24 1997  Richard Coleman  <coleman@math.gatech.edu>
3406
3407         * Reversed previous decision to retain "From " lines in slocal.
3408           The "From " line is now removed from all messages.
3409
3410         * inc now saves the date from the "From " envelope in the
3411           Delivery-Date header for all messages.
3412
3413         * sbr/m_getfld.c: Clean up processing of Return-Path and
3414           Delivery-Date from the "From " envelope.
3415
3416 Mon Mar 17 19:03:36 1997  Richard Coleman  <coleman@math.gatech.edu>
3417
3418         * client.c: cast iaddr to int before comparing return value
3419           of inet_addr with NOTOK.
3420
3421 Tue Mar 11 04:38:10 1997  Richard Coleman  <coleman@math.gatech.edu>
3422
3423         * Grep test for signal names was failing on some OS'es because
3424           of missing tabs in regex.
3425
3426 Sat Mar  8 01:58:22 1997  Richard Coleman  <coleman@math.gatech.edu>
3427
3428         * Released nmh-0.09.
3429
3430         * Move config files and format files to *.old before installing.
3431
3432         * Add configure check for killpg.
3433
3434         * msh.c: include <termios.h> instead of <termio.h> and
3435           <sys/ioctl.h>.
3436
3437         * prompter.c: don't include <sys/ioctl.h> anymore.
3438
3439 Thu Mar  6 04:03:24 1997  Richard Coleman  <coleman@math.gatech.edu>
3440
3441         * Added `-mime' and `-nomime' options to `repl'.
3442           From MH-6.8.4 diff.
3443
3444 Tue Mar  4 03:10:37 1997  Richard Coleman  <coleman@math.gatech.edu>
3445
3446         * ruserpass.c : removed conflicting prototypes.
3447
3448         * rcvtty.c : Fixed rcvtty to obey terminal permissions granted
3449           by `mesg' command.  Previously only worked on BSD machines.
3450
3451 Mon Mar  3 00:18:59 1997  Richard Coleman  <coleman@math.gatech.edu>
3452
3453         * rcvtty.c : Changed to use #define UTMP_FILE (if exists) rather
3454           than hard coded "/etc/utmp".
3455
3456         * Released nmh-0.08.
3457
3458         * Changed slocal to lock .maildelivery (or file given by -maildelivery)
3459           when accessing ndbm/db file for duplicate suppression, instead of
3460           locking database itself.
3461
3462 Thu Feb 27 05:28:09 1997  Richard Coleman  <coleman@math.gatech.edu>
3463
3464         * Added slocal action `mmdf' to deliver to a file in mmdf format.
3465
3466         * Changed the slocal actions `file' and `>' to always deliver in
3467           mbox (uucp) format rather than be determined by RPATHS config
3468           option.
3469
3470         * Changed the slocal action `mbox' to deliver in mbox (uucp) format
3471           rather than mmdf format.
3472
3473         * slocal now adds Delivery-Date field to all messages (previously it
3474           only added it to messages when delivering them to a file). The
3475           "From " line is now retained on all messages if compiling with
3476           RPATHS, rather than being discarded.
3477
3478         * rcvpack no longer adds the Delivery-Date field to messages.
3479
3480 Sun Feb 23 22:03:54 1997  Richard Coleman  <coleman@math.gatech.edu>
3481
3482         * Removed the script packmbox, since it's functionality has been
3483           added to packf.
3484
3485         * Changed packf so that it uses mbox (uucp) format by default
3486           rather than mmdf format.  Added options -mbox and -mmdf to
3487           packf so you can choose the preferred format.
3488
3489         * Changed rcvpack so that it uses mbox (uucp) format by default
3490           rather than mmdf format.  Added options -mbox and -mmdf to
3491           rcvpack so you can choose the preferred format.
3492
3493 Tue Feb 18 00:01:05 1997  Richard Coleman  <coleman@math.gatech.edu>
3494
3495         * Changed nmh to use dot locking by default (although you
3496           can still easily change this in config.h).
3497
3498         * Simplified locking code.  Removed code allowing setting of
3499           locking type in mts.conf.  Now the locking type and locking
3500           directory (if any) can only be set at compile time.
3501
3502 Fri Feb 14 02:49:18 1997  Richard Coleman  <coleman@math.gatech.edu>
3503
3504         * Prefer getting timezone information from tm->gmtoff rather
3505           than tzset and external timezone variable.
3506
3507 Thu Feb 13 00:35:45 1997  Richard Coleman  <coleman@math.gatech.edu>
3508
3509         * Fixed typo in ruserpass.c in the variable toktabs.
3510
3511         * When ruserpass was added to LIBOBJS, it was missing
3512           the suffix.
3513
3514         * Released nmh-0.07.
3515
3516 Tue Feb 11 01:29:47 1997  Richard Coleman  <coleman@math.gatech.edu>
3517
3518         * Add check to configure, so that if ruserpass, or _ruserpass
3519           is not found, build version of ruserpass in sbr.
3520
3521         * Added define's to discard.c, m_getfld.c, and scansbr.c so
3522           the code that manipulates internals of stdio, will build
3523           on SCO 5.x.
3524
3525         * Added #define to control whether to compile the simple
3526           built-in FTP client in mhn.
3527
3528         * Added configure check for ushort and ulong.  Change code
3529           to use ushort/ulong rather than u_short/u_long.
3530
3531         * A couple of small cleanups in locking code.
3532
3533         * Added configure check for gmtoff element in struct tm.
3534
3535         * Added configure check for tzset.
3536
3537 Fri Feb  7 03:01:57 1997  Richard Coleman  <coleman@math.gatech.edu>
3538
3539         * Released nmh-0.06.
3540
3541         * Removed code for machines that don't have socket
3542           interface (how could they get mail anyway?).
3543
3544         * Removed code for BSD41 machines.  I don't think there are
3545           many such machines around anymore.
3546
3547         * Add configure check for function uname, and prefer it
3548           over gethostname.  General cleanup of zotnet/mts/mts.c.
3549
3550         * Change all `lseek' calls to use POSIX symbolic constants
3551           SEEK_SET, SEEK_CUR, SEEK_END.
3552
3553 Thu Feb  6 01:16:30 1997  Richard Coleman  <coleman@math.gatech.edu>
3554
3555         * Check lex generated file in zotnet/tws and use
3556           pre-generated version if necessary.
3557
3558         * Released nmh-0.05.
3559
3560         * Change to use reliable signals on all platforms that have
3561           sigaction.  Change so that interrupted system calls are
3562           restarted for all signals except SIGALRM.  This fixes alarm
3563           handling code in smail.c for BSD based systems.
3564
3565         * Added lorder and tsort commands so that created libs can
3566           be linked in one pass.
3567
3568 Tue Feb  4 01:33:00 1997  Richard Coleman  <coleman@math.gatech.edu>
3569
3570         * Changed pidwait so that while it is waiting for a child,
3571           it should block signals rather than ignore them.
3572
3573 Mon Feb  3 21:05:30 1997  Richard Coleman  <coleman@math.gatech.edu>
3574
3575         * Add checks to configure for dbm_open and -lndbm.
3576
3577 Thu Jan 30 05:15:42 1997  Richard Coleman  <coleman@math.gatech.edu>
3578
3579         * folder -pop and folder -push were freeing some memory too
3580           quickly, which caused the entry popped from the stack to not
3581           become the current folder.
3582
3583 Wed Jan 29 01:28:02 1997  Richard Coleman  <coleman@math.gatech.edu>
3584
3585         * Released nmh-0.04.
3586
3587         * Define ospeed and PC in termsbr.c is OS doesn't have
3588           it.
3589
3590 Sun Jan 26 20:25:10 1997  Richard Coleman  <coleman@math.gatech.edu>
3591
3592         * editfile will create a symbolic link to the altmsg if it
3593           can't make a link, on any machine supporting lstat.  Formerly
3594           this would happen only on BSD42 based machines.
3595
3596 Sat Jan 25 22:54:26 1997  Richard Coleman  <coleman@math.gatech.edu>
3597
3598         * traverse (in popsbr.c) wasn't calling va_start before using
3599           variable argument list.  Fixes core dump in inc when using POP.
3600
3601 Fri Jan 24 03:27:59 1997  Richard Coleman  <coleman@math.gatech.edu>
3602
3603         * The variable pass in remotemail needed to be set to
3604           NULL.  (From MH-6.8.4 diff).  Fixes core dump of msgchk when
3605           using POP.
3606
3607         * inc and msgchk were using -rpop by default when configured
3608           with POP support.  Default is now -norpop.
3609
3610 Thu Jan 23 02:01:17 1997  Richard Coleman  <coleman@math.gatech.edu>
3611
3612         * By default, post will now give the SMTP HELO command with
3613           the local hostname.  If you specify a hostname with the
3614           clientname: option in mts.conf file, post will give the
3615           HELO command with that name instead.  If the argument to the
3616           clientname: option is empty, no HELO command is given.
3617           (From the MH-6.8.4 diff)
3618
3619 Wed Jan 22 01:55:45 1997  Richard Coleman  <coleman@math.gatech.edu>
3620
3621         * When using `-help' for a command, it will also print its
3622           profile compents from .mh_profile. (From MH-6.8.4 diff)
3623
3624         * "slocal -file" will now correctly takes its input from
3625           a file (currently need to specify full path).
3626
3627 Sun Jan 19 20:37:21 1997  Richard Coleman  <coleman@math.gatech.edu>
3628
3629         * "slocal -debug" will now issue a warning if a non-blank
3630           line in the .maildelivery file has less than 5 fields.
3631
3632 Sat Jan 18 02:26:41 1997  Richard Coleman  <coleman@math.gatech.edu>
3633
3634         * Changed slocal so that code for duplicate suppression
3635           (MH config was MSGID) is always built. Added the options
3636           -[no]suppressdup to slocal to turn this on/off.
3637
3638 Thu Jan 16 00:26:34 1997  Richard Coleman  <coleman@math.gatech.edu>
3639
3640         * Released nmh-0.03.
3641
3642         * Fixed problem where mark would core dump if no
3643           .mh_sequence file existed.
3644
3645         * Fixed problem where slocal would core dump if -debug
3646           option was given, and certain headers were missing.
3647
3648         * Added patch to slocal to add `folder' (+) action, which
3649           is shorthand for piping message to rcvstore.  Updated
3650           man page.
3651
3652 Wed Jan 15 21:30:17 1997  Richard Coleman  <coleman@math.gatech.edu>
3653
3654         * Changed flist option -unseen to -[no]all.  Cleaned up
3655           flist man page.
3656
3657 Fri Jan 10 20:36:33 1997  Richard Coleman  <coleman@math.gatech.edu>
3658
3659         * Fixed flist.  Changed the profile component `Folder-Order'
3660           to `Flist-Order.  Added option `-sequence' to flist, so
3661           you can specify the name of the sequence to search for.
3662
3663 Thu Jan  9 00:20:48 1997  Richard Coleman  <coleman@math.gatech.edu>
3664
3665         * A few minor portability cleanups.  Changed to use PATH_MAX
3666           rather than MAXPATHLEN.  Don't assume ospeed variable exists
3667           in termsbr.c.  Removed some conflicting prototypes.
3668
3669 Wed Jan  8 11:05:02 1997  Richard Coleman  <coleman@math.gatech.edu>
3670
3671         * Add configure test to check if tgetent will accept NULL
3672           and allocate its own buffer.  Borrowed from zsh.
3673
3674         * Changed libpath to etcpath.
3675
3676 Mon Jan  6 04:15:35 1997  Richard Coleman  <coleman@math.gatech.edu>
3677
3678         * Cleaned up source code and Makefiles, so that if your `make'
3679           supports the VPATH option, you can build nmh in a different
3680           directory from where the source code is located.
3681
3682 Fri Jan  3 05:05:18 1997  Richard Coleman  <coleman@math.gatech.edu>
3683
3684         * Released nmh-0.02.
3685
3686 Wed Jan  1 17:41:52 1997  Richard Coleman  <coleman@math.gatech.edu>
3687
3688         * Split mhook man page into man pages for rcvdist, rcvpack,
3689           and rcvtty.
3690
3691 Tue Dec 31 03:07:48 1996  Richard Coleman  <coleman@math.gatech.edu>
3692
3693         * Changed code to use strerror, rather than using sys_errlist
3694           and sys_nerr directly.
3695
3696 Mon Dec 30 02:15:25 1996  Richard Coleman  <coleman@math.gatech.edu>
3697
3698         * -compat switch from install-mh removed.
3699
3700         * Changed the default POP port from "pop" to "pop3".
3701
3702 Sat Dec 28 13:25:05 1996  Richard Coleman  <coleman@math.gatech.edu>
3703
3704         * Changed mhn_defaults to mhn.defaults.  Changed create_mhn_defaults
3705           (again) to mhn.defaults.sh.  Changed find_program (again) to
3706           mhn.find.sh.  mhn.defaults.sh now takes the search path
3707           as an argument.  Default search path is now specified in Makefile
3708           rather than in script.
3709
3710 Fri Dec 27 16:34:01 1996  Richard Coleman  <coleman@math.gatech.edu>
3711
3712         * Changed mtstailor file to mts.conf.  Updated man pages.
3713
3714         * Changed si_value to si_val in mhn.c, since it conflicts with
3715           macro defined on Solaris.
3716
3717 Thu Dec 26 02:50:15 1996  Richard Coleman  <coleman@math.gatech.edu>
3718
3719         * Added --enable-nmh-mhe (and --disable-nmh-mhe) to enable/disable
3720           support for Emacs front-end mhe.  It is on by default.
3721
3722         * Added the following configure options: --enable-nmh-pop to
3723           enable client side pop support, --enable-nmh-smtp to enable
3724           SMTP support.  Client-side pop support now compiles.  Man
3725           pages for inc, msgchk, mh-chart now correctly added pop
3726           options if enabled.
3727
3728 Tue Dec 24 14:33:20 1996  Richard Coleman  <coleman@math.gatech.edu>
3729
3730         * Added configure test for bug in C libraries where linker
3731           can't find ruserpass, but can find _ruserpass.
3732
3733         * Fixed configure test so that termcap variable ospeed is
3734           correctly found.
3735
3736 Mon Dec 23 19:40:17 1996  Richard Coleman  <coleman@math.gatech.edu>
3737
3738         * Source files converted to ANSI C.
3739         
3740         * md5 now compiled separately rather than being included
3741           in mhn.c.  Changed md5 to use memset and memcpy.
3742
3743 Fri Dec 20 02:29:37 1996  Richard Coleman  <coleman@math.gatech.edu>
3744
3745         * Collected the error routines adios, advise, admonish, and advertise
3746           into one file (error.c), and did some rearranging of the code.
3747
3748 Thu Dec 19 19:05:29 1996  Richard Coleman  <coleman@math.gatech.edu>
3749
3750         * Added awk script sigmsg.awk (originally written by
3751           Geoff Wing <mason@werple.apana.org.au> for zsh) to
3752           automatically generate signal messages for pidstatus.c.
3753           Added files sbr/signals.c, h/signals.h.  Code now uses
3754           sigprocmask to block signals (if available).  Code now uses
3755           signal blocking on non-BSD machines.
3756
3757 Wed Dec 18 01:55:17 1996  Richard Coleman  <coleman@math.gatech.edu>
3758
3759         * Add configure check for ATTVIBUG.  From Soren's mh autoconf work.
3760
3761         * Released nmh-0.01.
3762
3763         * Added configure code to check for type of signals functions
3764           you have (POSIX or BSD style signals).  Added function
3765           SIGPROCMASK to simulate sigprocmask on machines that don't
3766           have POSIX signals.
3767
3768 Fri Dec 13 19:40:48 1996  Richard Coleman  <coleman@math.gatech.edu>
3769
3770         * Added -version switch to all commands.  Also added to
3771           their man pages.
3772
3773 Mon Dec  9 16:36:54 1996  Richard Coleman  <coleman@math.gatech.edu>
3774
3775         * Renamed uip/trmsbr.c to termsbr.c and changed it to use
3776           POSIX termios.h style functions if present.
3777
3778 Tue Dec  3 16:18:39 1996  Richard Coleman  <coleman@math.gatech.edu>
3779
3780         * Changed support/general/bootmhn.sh to output new mhn_defaults
3781           file to standard output by default (makes it easier for testing).
3782           Changed name of script to create_mhn_defaults.  Changed bootmhn.findit
3783           script to find_program.
3784
3785 Sun Dec  1 10:00:00 1996  Richard Coleman  <coleman@math.gatech.edu>
3786
3787         * Added patch to uip/folder.c from exmh distribution to
3788           speed up -recurse option.
3789
3790         * Added flist command from exmh distribution.  It doesn't work
3791           yet, but it compiles :-)
3792
3793         * Changed default location for install to
3794           /usr/local/nmh/{bin,etc,lib,man}.  Split files so that format
3795           and configuration files go in nmh/etc, and support binaries go
3796           in nmh/lib.  Of course, all this can now be changed in the top
3797           level Makefile. 
3798
3799         * Started with mh-6.8.3 as based and converted to autoconf.
3800           Rewrote all the Makefiles.  Currently only works with sendmail/smtp.
3801           Pop support and plenty of other things, are now broken.