mmh
11 years agoFixed the trap in mhmail.
David Levine [Sat, 20 Oct 2012 12:44:34 +0000 (07:44 -0500)]
Fixed the trap in mhmail.

11 years agoCleaned up uip/mhmail. Added chmod +x of spost in configure.ac.
David Levine [Fri, 19 Oct 2012 19:23:17 +0000 (14:23 -0500)]
Cleaned up uip/mhmail.  Added chmod +x of spost in configure.ac.

11 years agoManpage cross-reference cleanups: convert '.BR cmd (section)' to '.IR cmd (section)'
Lyndon Nerenberg [Wed, 17 Oct 2012 03:18:03 +0000 (20:18 -0700)]
Manpage cross-reference cleanups:  convert '.BR cmd (section)' to '.IR cmd (section)'
throughout the text.

11 years agoA couple more manpage typo cleanups.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:48:02 +0000 (19:48 -0700)]
A couple more manpage typo cleanups.

11 years agoTypo.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:45:38 +0000 (19:45 -0700)]
Typo.

11 years agoManpage SEE ALSO cleanup.
Lyndon Nerenberg [Wed, 17 Oct 2012 02:39:37 +0000 (19:39 -0700)]
Manpage SEE ALSO cleanup.

Convert to '.IR cmd (section)' format for manpage references.

Fixed a couple of inline '.BR cmd (section)' instances as well.

Removed HISTORY from new(1); this stuff doesn't belong in manpages.

11 years agoElide spurious empty lines in manpage source files.
Lyndon Nerenberg [Wed, 17 Oct 2012 01:20:18 +0000 (18:20 -0700)]
Elide spurious empty lines in manpage source files.

11 years agoEnsure the .TH macro is the first line of the manpage source files. Some
Lyndon Nerenberg [Wed, 17 Oct 2012 00:29:30 +0000 (17:29 -0700)]
Ensure the .TH macro is the first line of the manpage source files. Some
versions of man(1) get upset if .TH doesn't come first.

11 years agoUpdate the manpage authors guide, primarily for .TP, but also fixes
Lyndon Nerenberg [Wed, 17 Oct 2012 00:08:17 +0000 (17:08 -0700)]
Update the manpage authors guide, primarily for .TP, but also fixes
a couple of other incorrect style recommendations.

These updates are incomplete ... more to follow.

11 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Tue, 16 Oct 2012 23:40:17 +0000 (16:40 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

11 years agoIncorporate Paul Fox's changes that group the commands by functional groups.
Lyndon Nerenberg [Tue, 16 Oct 2012 23:32:48 +0000 (16:32 -0700)]
Incorporate Paul Fox's changes that group the commands by functional groups.

Move the "generated code" warning comment below the .TH macro to work around some buggy
man(1) implementations.

Removed all the .RS/.RE indenting and replaced the use of .fc and tab indenting
with .TP macros.

Move the BUGS section below SEE ALSO to follow the usual section ordering convention.

Fixed up some italic vs. bold usage.

Use '.IR foo (section)' in the SEE ALSO section.

Removed some irrelevant text, along with a small amount of word-smithing.

11 years agoUnset PAGER in test/common.sh so that make distcheck passes.
David Levine [Tue, 16 Oct 2012 19:53:04 +0000 (14:53 -0500)]
Unset PAGER in test/common.sh so that make distcheck passes.

11 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Tue, 16 Oct 2012 19:39:59 +0000 (12:39 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

11 years agoAdd new make targets 'man' and 'cleanman' to build and clean just
Lyndon Nerenberg [Tue, 16 Oct 2012 19:36:30 +0000 (12:36 -0700)]
Add new make targets 'man' and 'cleanman' to build and clean just
the man/ sub-directory.  I also removed the '@' supressors for the
internal manpage targets.  There's no net benefit to hiding this stuff.

11 years agoCleaned up some printf's.
David Levine [Tue, 16 Oct 2012 18:27:32 +0000 (13:27 -0500)]
Cleaned up some printf's.

11 years agoUpdated sendfiles(1) man page to reflect upcoming code update.
David Levine [Tue, 16 Oct 2012 18:23:43 +0000 (13:23 -0500)]
Updated sendfiles(1) man page to reflect upcoming code update.

11 years agoSome version of man(1) barf if the first line of the manpage is not
Lyndon Nerenberg [Tue, 16 Oct 2012 18:12:27 +0000 (11:12 -0700)]
Some version of man(1) barf if the first line of the manpage is not
the .TH macro.  Re-order the generated mh-chart.man so that the 'auto-generated'
comment appears after the .TH macro.

11 years agoSlightly reformat the FINDCOMP macro to quell a clang warning about
Lyndon Nerenberg [Tue, 16 Oct 2012 00:08:29 +0000 (17:08 -0700)]
Slightly reformat the FINDCOMP macro to quell a clang warning about
an empty for()-loop body.

11 years agoautomake 1.12 generates some (apparently) harmless warnings, but the build
Lyndon Nerenberg [Tue, 16 Oct 2012 00:06:40 +0000 (17:06 -0700)]
automake 1.12 generates some (apparently) harmless warnings, but the build
fails becuase we invoke automake with -Werror.  Remove -Werror from the
automake options until the autotools gurus can patch things up.

11 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Mon, 15 Oct 2012 22:22:39 +0000 (15:22 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

11 years agoAllow $PAGER to override the compiled-in default pager command.
Lyndon Nerenberg [Mon, 15 Oct 2012 22:21:48 +0000 (15:21 -0700)]
Allow $PAGER to override the compiled-in default pager command.

11 years agoRemoved unused function seek_home().
David Levine [Mon, 15 Oct 2012 02:13:05 +0000 (21:13 -0500)]
Removed unused function seek_home().

11 years agoThe first alias contained in a blind list is now expanded. The
David Levine [Mon, 15 Oct 2012 00:27:17 +0000 (19:27 -0500)]
The first alias contained in a blind list is now expanded.  The
mh-alias(5) man page was updated to show that blind lists must not
be terminated with, or contain, a trailing semicolon [Bug #15604].

11 years agoChanged error message to say that blind lists aren't
David Levine [Mon, 15 Oct 2012 00:02:43 +0000 (19:02 -0500)]
Changed error message to say that blind lists aren't
compatible with sendmail/pipe.

11 years agoFixed "mark -sequence cur -delete all" to work for cur as
Ralph Corderoy [Sun, 14 Oct 2012 23:59:06 +0000 (18:59 -0500)]
Fixed "mark -sequence cur -delete all" to work for cur as
well as any other sequence, to allow clearing of the current
message indication.

11 years agoDon't allow blind aliases with sendmail/pipe mts. Before this change,
David Levine [Sat, 13 Oct 2012 23:00:39 +0000 (18:00 -0500)]
Don't allow blind aliases with sendmail/pipe mts.  Before this change,
they would be fed to sendmail, which would reject them anyway.  This
change catches that in post and presents a more helpful error message
to the user (at the "What now?" prompt, if used).

A possible future enhancement might be, with sendmail/pipe, to expand
out blind aliases and put the addresses in Bcc: header fields, but
then the recipients would get messages with the Blind-Carbon-Copy
indication.  (Note that Dcc isn't supported with sendmail/pipe,
either.)

Just for information:  old spost fed the addresses of blind aliases to
sendmail, making them visible to all recipients.  Oops.

11 years agoRemoved potential buffer overflow in ali.c by replacing array of
David Levine [Sat, 13 Oct 2012 14:56:08 +0000 (09:56 -0500)]
Removed potential buffer overflow in ali.c by replacing array of
hard-coded maximum size with dynamically-sized array.

11 years agoFixed sortm(1) verbose message and man page to reflect that with
David Levine [Fri, 12 Oct 2012 04:00:43 +0000 (23:00 -0500)]
Fixed sortm(1) verbose message and man page to reflect that with
-limit 0, the sort is only on the text field.

11 years agoAdded -noall/-all switches to sortm(1).
David Levine [Fri, 12 Oct 2012 02:48:42 +0000 (21:48 -0500)]
Added -noall/-all switches to sortm(1).

11 years agoFixed typo in mh-alias man page.
David Levine [Mon, 8 Oct 2012 03:55:33 +0000 (22:55 -0500)]
Fixed typo in mh-alias man page.

11 years agoAdded newline to "send" that's piped to dist. Old 2.6 Linux
David Levine [Sun, 7 Oct 2012 16:25:01 +0000 (11:25 -0500)]
Added newline to "send" that's piped to dist.  Old 2.6 Linux
needs it.

11 years agoAdded test-anno, test-dist, test-msgchk, and test-rcvtty.
David Levine [Sun, 7 Oct 2012 15:31:12 +0000 (10:31 -0500)]
Added test-anno, test-dist, test-msgchk, and test-rcvtty.

11 years agoChanged nmh-fcc to fcc. See etc/forwcomps. Another catch by the
David Levine [Sun, 7 Oct 2012 15:27:31 +0000 (10:27 -0500)]
Changed nmh-fcc to fcc.  See etc/forwcomps.  Another catch by the
test suite!

11 years agoUpdates to test/common.sh.in:
David Levine [Sun, 7 Oct 2012 15:18:54 +0000 (10:18 -0500)]
Updates to test/common.sh.in:
1) Added function check_for_hard_links.  Moved this code out of
   test-refile so that other tests can use it.
2) Added mmdfldir and mmdflfil settings to the mts.conf for tests, to
   support test-msgchk.

11 years agoRemoved double quotes around case arguments in test scripts.
David Levine [Sun, 23 Sep 2012 14:02:18 +0000 (09:02 -0500)]
Removed double quotes around case arguments in test scripts.

11 years agoWhen determining the path of the script inside mhmail, handle case
David Levine [Sun, 23 Sep 2012 14:00:11 +0000 (09:00 -0500)]
When determining the path of the script inside mhmail, handle case
where $0 is just the script name, without any directory.  Bourne
shell does that if the script is found using PATH.

11 years agoDisabled echo of rm -f lines in Makefile to quiet builds and
David Levine [Wed, 19 Sep 2012 03:18:21 +0000 (22:18 -0500)]
Disabled echo of rm -f lines in Makefile to quiet builds and
installs a bit.

11 years agoReplaced spost with script that exec's post -mts sendmail/pipe.
David Levine [Wed, 19 Sep 2012 03:00:00 +0000 (22:00 -0500)]
Replaced spost with script that exec's post -mts sendmail/pipe.

11 years agoRemoved mhmail.c because it was no longer needed and could get in
David Levine [Tue, 18 Sep 2012 00:42:27 +0000 (19:42 -0500)]
Removed mhmail.c because it was no longer needed and could get in
the way of make if its timestamp was newer than that of the mhmail
script.  Thanks to Johan Viklund for reporting this.

11 years agoFor the mhstore -clobber test, cd to the Mail subdirectory so that
David Levine [Mon, 17 Sep 2012 04:12:19 +0000 (23:12 -0500)]
For the mhstore -clobber test, cd to the Mail subdirectory so that
the stored files will get cleaned up by the exit trap in common.sh.

11 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Sun, 16 Sep 2012 21:39:27 +0000 (14:39 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh

11 years agoFix a comment typo.
Lyndon Nerenberg [Sun, 16 Sep 2012 21:38:54 +0000 (14:38 -0700)]
Fix a comment typo.

11 years agoWith mhstore -clobber auto/suffix, when looking for a new filename,
David Levine [Sun, 16 Sep 2012 18:54:23 +0000 (13:54 -0500)]
With mhstore -clobber auto/suffix, when looking for a new filename,
actually open(2) the file with O_CREAT | O_EXCL to avoid the race
condition when figuring out the filename first and opening it later.

11 years agoAdded "-d --" to invocation of ls when figuring out what files
David Levine [Sun, 16 Sep 2012 17:45:12 +0000 (12:45 -0500)]
Added "-d --" to invocation of ls when figuring out what files
to attach in whatnow.

11 years agoFixed description of n with mhstore -clobber auto/suffix.
David Levine [Sun, 16 Sep 2012 02:18:38 +0000 (21:18 -0500)]
Fixed description of n with mhstore -clobber auto/suffix.

11 years agoClarified description of clobber -auto/-suffix per Ralph's suggestion.
David Levine [Sat, 15 Sep 2012 19:07:07 +0000 (14:07 -0500)]
Clarified description of clobber -auto/-suffix per Ralph's suggestion.

11 years agoAdded -clobber switch to mhstore(1) [Bug #11160].
David Levine [Sat, 15 Sep 2012 18:40:50 +0000 (13:40 -0500)]
Added -clobber switch to mhstore(1) [Bug #11160].

11 years agoChanged ; to && in shell command, per Ralph's suggestion. There
David Levine [Sat, 15 Sep 2012 18:14:18 +0000 (13:14 -0500)]
Changed ; to && in shell command, per Ralph's suggestion.  There
were two remaining places that still used ";".  Though they
weren't of consequence, it's the right thing to do.

11 years agoAllow whatnow to accept "l" as an abbreviation for "list", instead of
David Levine [Sat, 15 Sep 2012 13:24:37 +0000 (08:24 -0500)]
Allow whatnow to accept "l" as an abbreviation for "list", instead of
requiring at lest "li".

11 years agoFilter out all Nmh-* headers in post(1). Do that silently for empty
David Levine [Sat, 15 Sep 2012 01:46:02 +0000 (20:46 -0500)]
Filter out all Nmh-* headers in post(1).  Do that silently for empty
ones (no header body), and warn about non-empty ones.

11 years agoAdded check in send(1) of attach (default Nmh-Attachment) headers to
David Levine [Fri, 14 Sep 2012 22:05:24 +0000 (17:05 -0500)]
Added check in send(1) of attach (default Nmh-Attachment) headers to
ensure that only plain files are attached.  Otherwise, it is a fatal
error.  Note that whatnow's attach will continue to allow attachment
of directories because it expands those out to their contents.  It
doesn't check what the contents are, though.  That's why we needed to
add this check.

Also added a check to skip attach headers that are empty so that
they can be put in drafts, per Norm's request.

11 years agoUpdated docs/README-ATTACHMENTS, mainly to reflect that no setup is
David Levine [Tue, 11 Sep 2012 13:44:43 +0000 (08:44 -0500)]
Updated docs/README-ATTACHMENTS, mainly to reflect that no setup is
required with nmh 1.5 and beyond.  And the user documentation is in
the send(1) and whatnow(1) man pages.

11 years agoAdded references to the whatnow(1) man page description of its
David Levine [Tue, 11 Sep 2012 13:42:58 +0000 (08:42 -0500)]
Added references to the whatnow(1) man page description of its
attach support to the nmh(7) and send(1) man pages.

11 years agoMove chdir() call so -recurse option works again.
Eric Schnoebelen [Fri, 31 Aug 2012 13:49:37 +0000 (09:49 -0400)]
Move chdir() call so -recurse option works again.

11 years agoNew test for folder -recurse
Ken Hornstein [Fri, 31 Aug 2012 13:46:03 +0000 (09:46 -0400)]
New test for folder -recurse

11 years agoChange the Bcc: code in post so it includes the From: header from the original
Ken Hornstein [Thu, 23 Aug 2012 14:08:59 +0000 (10:08 -0400)]
Change the Bcc: code in post so it includes the From: header from the original
message.

11 years agoCleaned up message_id().
David Levine [Sat, 18 Aug 2012 00:31:22 +0000 (19:31 -0500)]
Cleaned up message_id().

11 years agoRemoved chmod of bccfil from make_bcc_file(). It was done before
David Levine [Sat, 18 Aug 2012 00:29:49 +0000 (19:29 -0500)]
Removed chmod of bccfil from make_bcc_file().  It was done before
bccfil was defined so it had no useful effect.  m_mktemp2() sets
the umask so it wasn't necessary, anyway.

11 years agoCleaned up test-utf8-body a bit.
David Levine [Fri, 10 Aug 2012 10:20:25 +0000 (05:20 -0500)]
Cleaned up test-utf8-body a bit.

11 years agoAdded mhbuild: -nocontentid to profile used for tests, to simplify
David Levine [Fri, 10 Aug 2012 08:33:38 +0000 (03:33 -0500)]
Added mhbuild: -nocontentid to profile used for tests, to simplify
output checking.

11 years agoAdded default_content_type argument to
David Levine [Thu, 9 Aug 2012 22:13:38 +0000 (17:13 -0500)]
Added default_content_type argument to
make_mime_composition_file_entry().  It's used only to force message
bodies to always use text/plain content type, which allows mhbuild to
do the right thing with them.  Thanks to Steve Rader for reporting
that UTF-8 characters in message bodies had previously caused them to
be encoded as octet-streams (with attachments managed by send), and to
Ken for coming up with the fix.

11 years agoRemoved nmh-from condition from rcvdistcomps.
David Levine [Mon, 23 Jul 2012 23:17:11 +0000 (18:17 -0500)]
Removed nmh-from condition from rcvdistcomps.

11 years agoFixed explanation of why the unset SHELL test is uselessif /bin/sh is bash.
David Levine [Mon, 23 Jul 2012 01:19:19 +0000 (20:19 -0500)]
Fixed explanation of why the unset SHELL test is uselessif /bin/sh is bash.

11 years agoReworked test-rcvdist so that it sees the output of post.
David Levine [Sun, 22 Jul 2012 17:04:47 +0000 (12:04 -0500)]
Reworked test-rcvdist so that it sees the output of post.

11 years agoAdded test of whatnow with SHELL unset to test-ls, though it doesn't
David Levine [Sun, 22 Jul 2012 17:03:36 +0000 (12:03 -0500)]
Added test of whatnow with SHELL unset to test-ls, though it doesn't
reveal anything on Linux, at least.

11 years agowhatnow cooks up strings for executing external commands, and then
Alexander Zangerl [Sun, 22 Jul 2012 17:01:00 +0000 (12:01 -0500)]
whatnow cooks up strings for executing external commands, and then
feeds these strings to popen or system.  These command strings rely on
$SHELL being present - and if that is not the case, then we get weird
error messages ("sh: -c not found" or similar).  (Because both
system() and popen() start up fine with the std shell, but their arg
string to parse doesn't include a cmdname/path before the -c.)

As far as i understand the POSIX standard, SHELL is recommended but
not actually mandatory, so i think it would be good to handle this a
bit more robustly: by setting SHELL to /bin/sh if not present.

11 years agoTidied up for loop in message_id().
David Levine [Sun, 22 Jul 2012 01:00:14 +0000 (20:00 -0500)]
Tidied up for loop in message_id().

11 years agoWith -messageid random, make the part after the @ more resemble a
David Levine [Sun, 22 Jul 2012 00:45:48 +0000 (19:45 -0500)]
With -messageid random, make the part after the @ more resemble a
hostname by inserting a couple of dots, and using - and _ instead of
+ and /.

11 years agoAdded -messageid switch to send(1) and post(8). This allows selection
David Levine [Sat, 21 Jul 2012 21:17:41 +0000 (16:17 -0500)]
Added -messageid switch to send(1) and post(8).  This allows selection
of the style to use for generated Message-ID and Content-ID header
fields.  The default localname style is pid.time@localname, where time
is in seconds, and matches previous behavior.  The random style
replaces the localname with some (pseudo)random bytes and uses
microsecond-resolution time.

11 years agoHere's a better test of Resent-From: in test-rcvdist: use the user's
David Levine [Sat, 21 Jul 2012 17:42:14 +0000 (12:42 -0500)]
Here's a better test of Resent-From: in test-rcvdist:  use the user's
actual localmbox.

11 years agoAdded check to notpost for presence of Resent-From:.
David Levine [Sat, 21 Jul 2012 17:19:18 +0000 (12:19 -0500)]
Added check to notpost for presence of Resent-From:.

11 years agoIf post or send fail, exit with their exit status.
David Levine [Sat, 21 Jul 2012 17:01:41 +0000 (12:01 -0500)]
If post or send fail, exit with their exit status.

11 years agoRemoved #ifndef RAND/#endif that no longer had any effect.
David Levine [Sat, 21 Jul 2012 16:58:57 +0000 (11:58 -0500)]
Removed #ifndef RAND/#endif that no longer had any effect.

11 years agoFixed the default rcvdistcomps and rcvdistcomps.outbox to to insert
Harvey Eneman [Sat, 21 Jul 2012 16:57:29 +0000 (11:57 -0500)]
Fixed the default rcvdistcomps and rcvdistcomps.outbox to to insert
the Resent-From: header.

11 years agoRemoved debugging statement and added comments to the duplicate check
David Levine [Sun, 15 Jul 2012 18:35:42 +0000 (13:35 -0500)]
Removed debugging statement and added comments to the duplicate check
of readconfig ().

11 years agoAdded -mts switch to post, send, and whom. Replaced test-sendmail-pipe
David Levine [Thu, 12 Jul 2012 02:37:39 +0000 (21:37 -0500)]
Added -mts switch to post, send, and whom.  Replaced test-sendmail-pipe
with test-mts.

11 years agoRemoved -m from sendmail invocation with sendmail/pipe. Modern
David Levine [Tue, 10 Jul 2012 03:49:59 +0000 (22:49 -0500)]
Removed -m from sendmail invocation with sendmail/pipe.  Modern
sendmail and postfix, at least, ignore it.

11 years agoCorrection to previous commit, 704bdde497da69854846d51d86c440fc980c5489,
David Levine [Tue, 10 Jul 2012 02:25:36 +0000 (21:25 -0500)]
Correction to previous commit, 704bdde497da69854846d51d86c440fc980c5489,
to restore the behavior when using SMTP and with any blind addresses.
Don't quit the SMTP session between sending the message and bcc's, but
instead reset it.

11 years agoRemoved use of the ONEX sendmail verb. It is obsolete,
David Levine [Tue, 10 Jul 2012 00:47:47 +0000 (19:47 -0500)]
Removed use of the ONEX sendmail verb.  It is obsolete,
according to http://smtpfilter.sourceforge.net/esmtp.html.
And was removed over 10 years ago from sendmail (8.12),
according to http://www.irbs.net/internet/postfix/0111/2237.html.

11 years agoRenamed "sendmail" mts method to "sendmail/smtp", allowing "sendmail"
David Levine [Tue, 10 Jul 2012 00:15:13 +0000 (19:15 -0500)]
Renamed "sendmail" mts method to "sendmail/smtp", allowing "sendmail"
as an alias.  Renamed "pipe" to "sendmail/pipe".

11 years agospost(8) has been merged into post(8). Its functionality is
David Levine [Mon, 9 Jul 2012 04:17:04 +0000 (23:17 -0500)]
spost(8) has been merged into post(8).  Its functionality is
enabled by selecting the "pipe" mail transport method in
etc/mts.conf, which in turn can be configured using
--with-mts=pipe.  The spost -noalias, -backup/-nobackup,
-push/-nopush, and -remove/-noremove switches are not
supported by post.  Note that spost did not support -whom or
Dcc, and neither does post when using mts: pipe.  spost is
now deprecated.

11 years agoAdded test-packf.
David Levine [Wed, 4 Jul 2012 14:57:49 +0000 (09:57 -0500)]
Added test-packf.

11 years agotest-prompter: removed an unused input that was piped to the
David Levine [Wed, 4 Jul 2012 12:27:15 +0000 (07:27 -0500)]
test-prompter:  removed an unused input that was piped to the
program because it sometimes caused printf to complain about a
write error.

11 years agoFiltered out "From " lines when comparing mboxes because their
David Levine [Wed, 4 Jul 2012 01:50:23 +0000 (20:50 -0500)]
Filtered out "From " lines when comparing mboxes because their
timestamps sometimes differed by a second.

11 years agoUpdated pending-release-notes.
David Levine [Mon, 2 Jul 2012 01:20:42 +0000 (20:20 -0500)]
Updated pending-release-notes.

11 years agoRather than fix the reported bug, backslash in commented lines
David Levine [Mon, 2 Jul 2012 00:24:36 +0000 (19:24 -0500)]
Rather than fix the reported bug, backslash in commented lines
in alias file is interpreted, I documented that behavior in
the mh-format man page and etc/MailAliases.  This behavior is
unfortunate, but it is a result of the implementation of nmh's
vfgets() function.  That function is used by other callers
that expect the behavior.  [Bug #23553]

11 years agoAdded test-dp, test-fmtdump, test-prompter, test-rcvstore,
David Levine [Mon, 2 Jul 2012 00:20:22 +0000 (19:20 -0500)]
Added test-dp, test-fmtdump, test-prompter, test-rcvstore,
test-rcvpack, and test-rcvdist.

11 years agoApplied patch #5571, Propagate Mail-Followup-To.
David Levine [Sun, 1 Jul 2012 21:44:43 +0000 (16:44 -0500)]
Applied patch #5571, Propagate Mail-Followup-To.

Also clarified man page:  replgroupcomps won't be used if you
specify another forms file on the command line or in your profile.

11 years agoAdded note that mhmail does not read context file itself.
David Levine [Sun, 1 Jul 2012 15:21:22 +0000 (10:21 -0500)]
Added note that mhmail does not read context file itself.

11 years agoRemoved unused #ifdef NRTC and reference to its contents in the
David Levine [Sun, 1 Jul 2012 15:09:06 +0000 (10:09 -0500)]
Removed unused #ifdef NRTC and reference to its contents in the
rcvdist man page.

11 years agoUpdated man page descriptions of Msg-Protect: it defaults to 0600 and
David Levine [Sun, 1 Jul 2012 14:14:27 +0000 (09:14 -0500)]
Updated man page descriptions of Msg-Protect:  it defaults to 0600 and
is not supported on some filesystems, such as FAT32.

11 years agoWrapped some shell variables with quotes so the tests have a chance of
David Levine [Sun, 1 Jul 2012 13:32:18 +0000 (08:32 -0500)]
Wrapped some shell variables with quotes so the tests have a chance of
running if the current directory has a character such as a space in
it.  Though the tests themselves need the same help for them to work.
Also, added mention of Heirloom shell to test/README.

11 years agoReplaced utilities that operate on pbm files with those that operate
David Levine [Fri, 29 Jun 2012 02:59:47 +0000 (21:59 -0500)]
Replaced utilities that operate on pbm files with those that operate
on pnm files, per the bug report referenced below (from Dec 2005!).
And changed the mhshow-show-image/x-pbm mime type to
mhshow-show-image/x-pnm.  [Bug #15152]

11 years agoRemoved BUGS section at end of rcvstore(1) man page. It
David Levine [Fri, 29 Jun 2012 02:19:06 +0000 (21:19 -0500)]
Removed BUGS section at end of rcvstore(1) man page.  It
said to not use rcvstore if you use the "Unseen-Sequence"
profile entry because the context (sequences file, actually)
could be corrupted if multiple nmh processes tried to update
it simultaneously.  The locking added by commit
82a21b6f3cddf8ab048dcb02c080ea9797c73c5a serialized that
simultaneous update. [Bug #4361]

11 years agoRemoved the one remaining unused #ifdef ISI.
David Levine [Fri, 29 Jun 2012 02:12:13 +0000 (21:12 -0500)]
Removed the one remaining unused #ifdef ISI.

11 years agoSimplified getm() a bit, removing a goto.
David Levine [Fri, 29 Jun 2012 02:11:07 +0000 (21:11 -0500)]
Simplified getm() a bit, removing a goto.

11 years agoFixed ismymbox() to look at Local-Mailbox as well as
David Levine [Fri, 29 Jun 2012 01:59:23 +0000 (20:59 -0500)]
Fixed ismymbox() to look at Local-Mailbox as well as
Alternate-Mailboxes.  The problem was that when an alternate
mailbox was added to the list, the node for the local
mailbox information was lost.  Added check to test-mymbox.
Added test-repl, because this is where it was first noticed.
Also enhanced output with MHWDEBUG set to show the entire
list, not just each alternate mailbox as it is added to the
list.  [Bug #36635].

11 years agoDeprecated mhtest.
David Levine [Mon, 25 Jun 2012 13:42:14 +0000 (08:42 -0500)]
Deprecated mhtest.

11 years agoRemoved unused UUCPDIR and UUCPFIL #defines.
David Levine [Mon, 25 Jun 2012 13:21:03 +0000 (08:21 -0500)]
Removed unused UUCPDIR and UUCPFIL #defines.

11 years agoAdded test-sortm. Also clarified some details in the sortm man page.
David Levine [Mon, 25 Jun 2012 03:26:27 +0000 (22:26 -0500)]
Added test-sortm.  Also clarified some details in the sortm man page.