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]
David Levine [Fri, 29 Jun 2012 02:12:13 +0000 (21:12 -0500)]
Removed the one remaining unused #ifdef ISI.
David Levine [Fri, 29 Jun 2012 02:11:07 +0000 (21:11 -0500)]
Simplified getm() a bit, removing a goto.
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].
David Levine [Mon, 25 Jun 2012 13:42:14 +0000 (08:42 -0500)]
Deprecated mhtest.
David Levine [Mon, 25 Jun 2012 13:21:03 +0000 (08:21 -0500)]
Removed unused UUCPDIR and UUCPFIL #defines.
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.
David Levine [Mon, 25 Jun 2012 00:03:05 +0000 (19:03 -0500)]
Added status to conflict(8) man page to note that it is deprecated.
David Levine [Sat, 23 Jun 2012 14:55:01 +0000 (09:55 -0500)]
Allow optional -to in front of To: addresses with mhmail.
David Levine [Sat, 23 Jun 2012 13:04:08 +0000 (08:04 -0500)]
Added checks for missing mandatory arguments to mhmail.
David Levine [Fri, 22 Jun 2012 15:45:33 +0000 (10:45 -0500)]
Changed -header-field to -headerfield. And refer to its argument
as name:value instead of name:body, to avoid the obvious confusion.
Lyndon Nerenberg [Thu, 21 Jun 2012 18:11:40 +0000 (11:11 -0700)]
Default to flock() locking on OpenBSD and Darwin.
David Levine [Thu, 21 Jun 2012 00:19:31 +0000 (19:19 -0500)]
Refined
48959daf724bb10802ca489654035f69e701efc0 by setting up a
LN variable in the Makefile that can be used to override the
link command at install time. For example, on Cygwin, LN will be
configured to cp. If installing on an NTFS filesystem, the user
could install with make LN=ln to use ln instead of cp.
David Levine [Thu, 21 Jun 2012 00:16:18 +0000 (19:16 -0500)]
Truncated -help test in test-whom because its output depends on whether
sasl support was configured in. It's not configured in by distcheck.
David Levine [Wed, 20 Jun 2012 14:09:24 +0000 (09:09 -0500)]
For whatever reason, gcov got fooled by test-whom until a test of
-help was added.
David Levine [Wed, 20 Jun 2012 13:13:46 +0000 (08:13 -0500)]
Quoted a bunch of shell variables in build_nmh.
David Levine [Wed, 20 Jun 2012 02:30:54 +0000 (21:30 -0500)]
Added test-ali.
David Levine [Wed, 20 Jun 2012 01:36:14 +0000 (20:36 -0500)]
Added printout to build_nmh to report number of tests not run.
David Levine [Wed, 20 Jun 2012 01:15:18 +0000 (20:15 -0500)]
Added a few clarifications and more DEFAULTS to mhmail(1) man page.
David Levine [Wed, 20 Jun 2012 00:54:04 +0000 (19:54 -0500)]
Refinement to
e30560d793ff5bc704dadc2eab9d31100ad4636b: don't
warn about profile components that are null, e.g.,
: This could be a comment.
or just a hash, e.g.,
David Levine [Tue, 19 Jun 2012 15:29:47 +0000 (10:29 -0500)]
Changed permissions from 0755 to 0644 on a few .c files.
David Levine [Tue, 19 Jun 2012 15:25:54 +0000 (10:25 -0500)]
Forget to add test/mhmail/attachment.txt to last commit.
David Levine [Tue, 19 Jun 2012 15:13:28 +0000 (10:13 -0500)]
Added -attach switch to mhmail.
David Levine [Tue, 19 Jun 2012 02:49:01 +0000 (21:49 -0500)]
Moved test-mhmail to its own test directory.
David Levine [Tue, 19 Jun 2012 02:30:58 +0000 (21:30 -0500)]
Added mention of checkbashims script to test/README. And fixed
false positive that it reported for test-mhmail.
David Levine [Tue, 19 Jun 2012 02:28:26 +0000 (21:28 -0500)]
Added -header-field switch to mhmail.
David Levine [Mon, 18 Jun 2012 23:25:10 +0000 (18:25 -0500)]
Added Jerrad Pierce's suggestion to use -editor prompter.
David Levine [Mon, 18 Jun 2012 03:56:23 +0000 (22:56 -0500)]
Removed possible tmp file leak.
David Levine [Mon, 18 Jun 2012 03:51:51 +0000 (22:51 -0500)]
mhmail now supports -profile -resend.
David Levine [Mon, 18 Jun 2012 01:59:16 +0000 (20:59 -0500)]
Here's a better fix that
e194fdf11df779597e19039a67454e9b42a77ef0
for support `mhparam libdir` under "make distcheck": explicitly
set libdir in the profile.
David Levine [Sun, 17 Jun 2012 20:25:28 +0000 (15:25 -0500)]
Replaced mhmail -debug switch with -nosend, and added -send.
David Levine [Sun, 17 Jun 2012 19:35:14 +0000 (14:35 -0500)]
Added -resent support to mhmail. It doesn't work with -profile, though.
David Levine [Sat, 16 Jun 2012 15:56:53 +0000 (10:56 -0500)]
Fixed warning introduced by last change to man/mhmail.man.
David Levine [Sat, 16 Jun 2012 15:08:18 +0000 (10:08 -0500)]
Removed extra [ from synopsis.
David Levine [Sat, 16 Jun 2012 14:24:29 +0000 (09:24 -0500)]
Replaced compiled mhmail with script that was formerly named mhmail.in.
Added test-mhmail.
David Levine [Sat, 16 Jun 2012 14:16:18 +0000 (09:16 -0500)]
Reworked to be as compatible as possible with compiled mhmail.
David Levine [Sat, 16 Jun 2012 02:00:28 +0000 (21:00 -0500)]
Added mention of mhmail as a message composition utility.
David Levine [Sat, 16 Jun 2012 01:53:03 +0000 (20:53 -0500)]
Added nmh lib directory to PATH in setup_test (). This is necessary
with "make distcheck" for scripts to access the lib directory that it
installs for testing. (The distcheck target does not configure them;
they retain their build configuration.) If we ever add a test for
etc/sendfiles, we'll have to deal with its configured %libdir%.
David Levine [Fri, 15 Jun 2012 04:28:05 +0000 (23:28 -0500)]
Fixed temporary autoconf workaround by hard-coding nmhbindir.
David Levine [Fri, 15 Jun 2012 04:17:33 +0000 (23:17 -0500)]
Add trailing newline to body, if needed.
Ken Hornstein [Thu, 14 Jun 2012 14:36:09 +0000 (10:36 -0400)]
Fix test for changes to mhparam.
Ken Hornstein [Thu, 14 Jun 2012 14:33:21 +0000 (10:33 -0400)]
Make the base64 encoder endian-agnostic, and remove the function
set_endian() since it's no longer needed.
David Levine [Thu, 14 Jun 2012 14:10:23 +0000 (09:10 -0500)]
Documented mhparam -debug option.
David Levine [Thu, 14 Jun 2012 13:54:35 +0000 (08:54 -0500)]
If heirloom shell is in /usr/lib/heirloom/5bin/sh, use it to run tests.
David Levine [Thu, 14 Jun 2012 13:35:14 +0000 (08:35 -0500)]
If post/send fail, save the draft in dead.letter, the same as
compiled mhmail.
David Levine [Thu, 14 Jun 2012 13:30:30 +0000 (08:30 -0500)]
Added etcdir and libdir. And added mention that component name
matching is case-insensitive.
Alexander Zangerl [Thu, 14 Jun 2012 12:31:40 +0000 (07:31 -0500)]
The base64-decoder doesn't work on 64-bit big-endian architectures:
mhstore and co. write files of the correct length but which consist
only of \0s.
The culprit is uip/mhparse.c, which contains a pretty ugly base64
decoder (in two places). that thing allocates a "long int" as a
container for the 24 bits that you get from four base-64 chars. the
container is then accessed both as a single entity and as a byte
array, which naturally depends on how wide the long int is and in what
order things end up in there.
The code distinguishes between big- and little-endian systems but
wrongly assumes that sizeof(long int) == 4, which isn't universally
true (quel surprise...).
The attached patch fixes the issue, but in the long run we should
insist on posix and use a64l().
David Levine [Thu, 14 Jun 2012 04:12:22 +0000 (23:12 -0500)]
Support empty message body in mhmail.in the same way as in mhmail.
David Levine [Thu, 14 Jun 2012 03:59:05 +0000 (22:59 -0500)]
Added support to mhmail.in to read message from stdin.
David Levine [Thu, 14 Jun 2012 03:32:46 +0000 (22:32 -0500)]
Removed newline before generated From:.
David Levine [Thu, 14 Jun 2012 03:19:19 +0000 (22:19 -0500)]
Added mhmail.in. start of a replacement for compiled mhmail.
David Levine [Thu, 14 Jun 2012 03:18:43 +0000 (22:18 -0500)]
Removed unnecessary comment.
David Levine [Thu, 14 Jun 2012 03:16:46 +0000 (22:16 -0500)]
Removed another faceproc relic.
David Levine [Wed, 13 Jun 2012 13:55:19 +0000 (08:55 -0500)]
Added BUGS section to mh-tailor man file to note that failure to open
mts.conf is silently ignored.. And added to its DEFAULTS section.
Also changed to consistent use of "mail transport configuration file".
David Levine [Wed, 13 Jun 2012 02:36:16 +0000 (21:36 -0500)]
Generate a From: header, using localmbox, if the user doesn't provide
a -from when sending with mhmail.
David Levine [Wed, 13 Jun 2012 02:16:34 +0000 (21:16 -0500)]
Fixed the export of LC_ALL so that it work with old Bourne shell.
Alexander Zangerl [Wed, 13 Jun 2012 02:06:44 +0000 (21:06 -0500)]
Occasionally the post tests attempt to talk to fakesmtp before that
has completly started up. Inserted a check between starting up
fakesmtp and talking to it, and delay and retry if necessary, to
avoid that scenario.
Alexander Zangerl [Wed, 13 Jun 2012 00:11:57 +0000 (19:11 -0500)]
Changed remaining uses of MAXPATHLEN to PATH_MAX.
David Levine [Tue, 12 Jun 2012 03:02:55 +0000 (22:02 -0500)]
Can't use -ansi with gcc 4.5.3 on Cygwin, at least through setup
setup version 2.763, because it disables some features in the
system system header files. Added configure check, when using gcc,
for -ansi (and don't use -pedantic without it).
Ken Hornstein [Mon, 11 Jun 2012 04:26:21 +0000 (00:26 -0400)]
Fix typo in gpg command and handle the .sig file properly.
David Levine [Mon, 11 Jun 2012 03:50:24 +0000 (22:50 -0500)]
Replaced run-time detection of hard-link support with compile- time
detection. This way, Cygwin packages can be built on NTFS or other
filesystems but still bee installed on FAT file systems, which do not
support hard links.
David Levine [Sun, 10 Jun 2012 14:58:52 +0000 (09:58 -0500)]
Added section 7 to man pages.
David Levine [Sun, 10 Jun 2012 14:53:48 +0000 (09:53 -0500)]
Updates to SPECS/build-nmh-cygwin:
1) Configure with sysconfdir=/etc/nmh so to minimize pollution of /etc.
2) Disabled install_docs because nmh's make install takes care of it.
Though it installs in /usr/share/doc/nmh/ instead of
/usr/share/doc/nmh-<version>/, that seems to be more common on Cygwin
than using the -<version>.
3) Added comments (also added to MACHINES) about the packages that would
be needed to configure with --with-cyrus-sasl and --with-tls.
David Levine [Sun, 10 Jun 2012 14:51:03 +0000 (09:51 -0500)]
Moved nmh and mh-chart man pages from section 1 to section 7.
Alexander Zangerl noted that Debian already did this, and it
seems appropriate.
Alexander Zangerl [Sun, 10 Jun 2012 14:20:08 +0000 (09:20 -0500)]
Corrected install-mh man page to show that it is installed in section 1, not 8.
Alexander Zangerl [Sun, 10 Jun 2012 14:19:20 +0000 (09:19 -0500)]
Ensure that writes to /dev/tty succeed to determine if it is writeable.
Alexander Zangerl [Sun, 10 Jun 2012 14:18:22 +0000 (09:18 -0500)]
Use cat for moreproc in testsuite in case it is run without tty.
David Levine [Sat, 9 Jun 2012 14:31:19 +0000 (09:31 -0500)]
Added warning to all nmh programs for multiple profile entries for the
same component. Until now, all but the first were silently ignored.
David Levine [Sat, 9 Jun 2012 01:59:32 +0000 (20:59 -0500)]
Added INSTALL, NEWS, and README to dist_doc_DATA so that they get installed.
David Levine [Fri, 8 Jun 2012 03:07:54 +0000 (22:07 -0500)]
Changed repl and dist default to -noatfile.
David Levine [Thu, 7 Jun 2012 16:07:00 +0000 (11:07 -0500)]
Removed docs/pending-release-notes-tmp, which was added by mistake.
David Levine [Thu, 7 Jun 2012 03:41:29 +0000 (22:41 -0500)]
Removed faceproc support, deprecated in nmh 1.5.
David Levine [Thu, 7 Jun 2012 03:02:21 +0000 (22:02 -0500)]
Removed the following environment variables, deprecated in nmh 1.5:
MHPOPDEBUG (use -snoop command line switch instead)
MM_NOASK (use -nolist and -nopause command line switches instead)
NOMHNPROC (use -nocheckmime command line switch instead)
David Levine [Thu, 7 Jun 2012 02:08:53 +0000 (21:08 -0500)]
Changed exit status of each nmh command's -version and -help switches
from 1 to 0.
Ken Hornstein [Sun, 3 Jun 2012 19:38:39 +0000 (15:38 -0400)]
Fix incorrect documentation about the install process for files in 'etc'.
Noted by Norm Shapiro.
Ken Hornstein [Sun, 3 Jun 2012 19:29:27 +0000 (15:29 -0400)]
One more lowercase for the content-transfer-encoding.
Ken Hornstein [Fri, 1 Jun 2012 14:25:37 +0000 (10:25 -0400)]
Fix off-by-one error, noticed by Ralph Corderoy.
Paul Fox [Thu, 31 May 2012 19:15:36 +0000 (15:15 -0400)]
Implement the following changes:
- Special #on/#off/#pop directives to control the MIME directive
processing state
- A flag (-directives) to control whether or not mhbuild will honor MIME
directives by default.
Ken Hornstein [Thu, 31 May 2012 18:56:47 +0000 (14:56 -0400)]
Convert the content-transfer-encoding to lower-case always.
David Levine [Tue, 29 May 2012 12:57:30 +0000 (07:57 -0500)]
Unset MM_CHARSET so it doesn't interfere with test-scan-multibyte.
Ken Hornstein [Sat, 26 May 2012 05:55:08 +0000 (01:55 -0400)]
Support for handling multibyte encodings in cpstripped(), which
means that multibyte character encodings should work correctly
on all systems which support the POSIX wide character functions.
David Levine [Thu, 24 May 2012 03:16:14 +0000 (22:16 -0500)]
Update the current folder and current message and synchronize
sequences before showing the messages instead of after. This
way, the context will be updated even if the user exists while
viewing the messages.
David Levine [Tue, 22 May 2012 01:05:19 +0000 (20:05 -0500)]
comp and dist cannot take multiple message arguments. mhbuild does
not set context.
David Levine [Tue, 22 May 2012 01:03:57 +0000 (20:03 -0500)]
Changed wording to say that the last message selected (not necessarily
shown) will become the current message. That's consistent with the
mhlist and mhstore man pages.
Ken Hornstein [Thu, 17 May 2012 12:34:29 +0000 (08:34 -0400)]
Minor changes to replyfilter to make it compatible with older versions of Perl.
David Levine [Sat, 12 May 2012 16:02:21 +0000 (11:02 -0500)]
Used this version, renamed nmh-1.5-1.sh, in application for Cygwin package.
David Levine [Sat, 12 May 2012 14:30:27 +0000 (09:30 -0500)]
Allow selection of locking type.
David Levine [Sat, 12 May 2012 12:44:16 +0000 (07:44 -0500)]
SIGNATURE/Local-Mailbox are not used by post, but just by front
ends (comp, forw, repl, etc.) that read the profile.
David Levine [Fri, 11 May 2012 02:23:09 +0000 (21:23 -0500)]
Don't test with sendmail because it would really send the mail. If
configured to use sendmail, change the mts.conf used by the test suite
to use smtp instead.
David Levine [Thu, 10 May 2012 03:05:28 +0000 (22:05 -0500)]
Wrap local part (username) of address with double quotes if needed.
David Levine [Wed, 9 May 2012 03:19:29 +0000 (22:19 -0500)]
Skip the Cygwin package (.bz2) file when searching for the input (.gz) file.
David Levine [Wed, 9 May 2012 01:29:57 +0000 (20:29 -0500)]
Added test script constructs to avoid.
David Levine [Tue, 8 May 2012 15:16:46 +0000 (10:16 -0500)]
Fixed patch section of prep().
David Levine [Tue, 8 May 2012 15:16:17 +0000 (10:16 -0500)]
Added MACHINES to EXTRA_DIST so that it gets put in the distribution.
David Levine [Mon, 7 May 2012 23:35:28 +0000 (18:35 -0500)]
Removed locking type selection from build_nmh now that it's in configure.
David Levine [Mon, 7 May 2012 23:33:18 +0000 (18:33 -0500)]
build-nmh-cygwin no longer needs to DISABLE_SETGID_MAIL now that configure
uses fcntl on Cygwin.
David Levine [Mon, 7 May 2012 22:25:43 +0000 (17:25 -0500)]
Added -ansi -pedantic with gcc.
David Levine [Mon, 7 May 2012 21:45:32 +0000 (16:45 -0500)]
Added $(TESTS_SHELL) at end of TESTS_ENVIRONMENT. This lets the
user run the tests using a shell other than the default /bin/sh
by using, e.g., make check TESTS_SHELL=/bin/bash. Thanks to
Tom Lane <tgl@sss.pgh.pa.us> for suggesting this.
David Levine [Mon, 7 May 2012 21:35:16 +0000 (16:35 -0500)]
Fixed some more problems caught by gcc -ansi -pedantic.
Tom Lane [Mon, 7 May 2012 21:14:37 +0000 (16:14 -0500)]
Fixed places in the code relying the C99-ism of declarations in the
midst of a code block.