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.
David Levine [Fri, 29 Mar 2013 17:09:15 +0000 (12:09 -0500)]
A bug fix and an enhancement to mhfixmsg based on patches
provided by M. Levinson:
1) Set status to NOTOK in get_multipart_boundary() if the
message is missing its end boundary. This avoids a seg fault
in fix_boundary(); also added check for null return from
parse_mime(). If this turns out to be a common problem, we
could consider adding code to repair it. Now, mhfixmsg ignores
the condition and proceeeds with any other transformations.
2) With -decodetext 7bit, mhfixmsg now converts base64-encoded
parts to quoted-printable 8bit if the part will not fit into
7bit.
Ken Hornstein [Wed, 27 Mar 2013 18:22:40 +0000 (14:22 -0400)]
Change seqset_t to unsigned long to support more sequences on LP64 systems.
Also include necessary casts to make sequence macros worked properly.
Based on code contributed by M. Levinson.
Ken Hornstein [Sun, 24 Mar 2013 02:59:24 +0000 (22:59 -0400)]
Change folder_delmsgs() to save context and sequence files (and make
sure those changes are before calling rmmproc(). Update programs
that use folder_delmsgs() to make all changes to sequences and
the context before calling folder_delmsgs().
David Levine [Fri, 22 Mar 2013 02:05:09 +0000 (21:05 -0500)]
Fixes from M. Levinson:
1) Fixed typo in elinks option in etc/mhn.defaults.sh.
2) Added #include <sys/wait.h> to mhfixmsg.c.
3) Fixed seg fault when there's no corresponding profile entry
for a message part in mhfixmsg.
4) If rename() fails in write_content() of mhfixmsg, attempt to
copy and then remove the file.
Went through the sources and checked where etcpath() is
used, and added/cloned an explanatory bit of text from the
fmttest man page to the files section for all affected
programs.