David Levine [Mon, 19 Aug 2013 05:42:01 +0000 (00:42 -0500)]
Added -replacetextplain switch to mhfixmsg. If enabled, -reformat
will replace any existing text/plain part, such as those that are
empty or that don't match their corresponding text/html part.
David Levine [Mon, 1 Jul 2013 01:46:18 +0000 (20:46 -0500)]
One more formatting chagned to the input in test-mhfixmsg. One of
the lines is one character longer than the others and that's about
where the problem shows up, so yanked a character out of it.
David Levine [Sun, 30 Jun 2013 23:50:50 +0000 (18:50 -0500)]
OK, fixed test-mhfixmsg on Solaris 11, where BUFSIZ is 1024.
The problem was in the content_encoding() function of mhfixmsg:
it would restart its counter of the characters on a line whenever
new characters were read in. The fix was easy, just move the
initialization of that counter outside of the fread() loop.
Lyndon Nerenberg [Sun, 30 Jun 2013 20:14:12 +0000 (13:14 -0700)]
Prefer /usr/sbin/sendmail over /usr/lib/sendmail.
If the site installs a sendmail replacement, or updates to a newer
version, odds are better for the new sendmail preferring to install in
/usr/sbin over /usr/lib.
Lyndon Nerenberg [Sun, 26 May 2013 03:14:04 +0000 (20:14 -0700)]
Clean up mh-alias(5) manpage.
Word-smithing, update to use *.example domains for addresses,
literal text in bold rather than italic, use typographers quotes on
single character references, etc.
Re-organize sections to match documentation convention.
David Levine [Sun, 12 May 2013 13:29:34 +0000 (08:29 -0500)]
Fixed strip_crs() in mhfixmsg to work even if it's the
only modification to the message. Also, fixed the test
so that it succeeds even if there is no lynx, w3m, etc.
David Levine [Sat, 4 May 2013 14:36:42 +0000 (09:36 -0500)]
When the mhfixmsg -decodetext switch is enabled, each carriage
return character that precedes a linefeed character is removed
from ASCII-encoded text parts.
David Levine [Thu, 2 May 2013 01:40:55 +0000 (20:40 -0500)]
Fixed problem with m_getfld() with long headers reported by
Paul Fox. The problem occurred with the 512th byte of the
header was a newline: it then skipped the next character.
David Levine [Wed, 1 May 2013 01:54:43 +0000 (20:54 -0500)]
Applied what was done to uip/send.c in commit af429a902add614e35cd76d15172a4ccb70a3be1 to uip/viamail.c and
uip/whatnowsbr.c, because they call sendsbr() directly.
David Levine [Tue, 23 Apr 2013 03:00:38 +0000 (22:00 -0500)]
Completed commit 52a236230220232fd632b5aa88eb9bb31dba346e so
that send(1)/post(1) use "credentials" profile entry. post
doesn't read the profile so pass the credentials setting to
it via a new switch.
David Levine [Sat, 20 Apr 2013 02:06:50 +0000 (21:06 -0500)]
Added mention to mhlist(1) man page, in response to question
from Ralph, that it lists multipart/alternative parts in reverse
order of their placement in a message.
And in response to suggestion from Ralph, trimmed whitespace from
ends of mhlist output lines.
David Levine [Fri, 19 Apr 2013 02:30:33 +0000 (21:30 -0500)]
Fixed permissions of maildelivery file in test-slocal to fix
test failure reported by Paul Fox. Also added code to the test
to help diagnose any failure.
David Levine [Tue, 16 Apr 2013 02:01:12 +0000 (21:01 -0500)]
Fixed problem in m_getfld() reported by Paul Fox. When
inc'ing a message from a maildrop with two blank lines
between the header and body, the last 3 or 4 characters of
the last header would be copied into the body.
David Levine [Sun, 14 Apr 2013 14:53:32 +0000 (09:53 -0500)]
A "credentials" mh-profile entry has been added. This allows
post(8), whom(1), send(1), inc(1), and msgchk(1) to (optionally)
honour the username in the .netrc file [Bug #23168]. And, it
allows specification of any valid filename in place of $HOME/.netrc.
David Levine [Sun, 31 Mar 2013 16:45:09 +0000 (11:45 -0500)]
Removed limit on maximum number of sequences in a folder.
Dynamically sized vectors in sbr/vector.c were added to support
this. Their sizes are limited only by virtual memory.