]>
diplodocus.org Git - nmh/log
David Levine [Thu, 6 Oct 2016 17:10:19 +0000 (13:10 -0400)]
Updated test-version-check test_skip message.
David Levine [Thu, 6 Oct 2016 17:07:20 +0000 (13:07 -0400)]
Fixed test negations in test-version-check to work with make distcheck.
David Levine [Thu, 6 Oct 2016 16:57:45 +0000 (12:57 -0400)]
OK, don't run test-version-check if not connected to terminal.
David Levine [Thu, 6 Oct 2016 16:47:52 +0000 (12:47 -0400)]
More debugging test-version-check.
David Levine [Thu, 6 Oct 2016 16:45:52 +0000 (12:45 -0400)]
Replaced strtod() with strtof().
David Levine [Thu, 6 Oct 2016 16:16:53 +0000 (12:16 -0400)]
More debugging.
David Levine [Thu, 6 Oct 2016 15:59:24 +0000 (11:59 -0400)]
More test-version-check debugging, on Linux buildbot hosts.
David Levine [Thu, 6 Oct 2016 15:47:26 +0000 (11:47 -0400)]
1) Use script(1) -t 0 instead of -f on FreeBSD.
2) Added another debug printout.
David Levine [Thu, 6 Oct 2016 15:30:19 +0000 (11:30 -0400)]
Accommodate FreeBSD script(1), and add debugging statement to diagnose
failure on ubuntu buildbot host.
David Levine [Thu, 6 Oct 2016 13:39:27 +0000 (09:39 -0400)]
Merge branch 'welcome'
David Levine [Thu, 6 Oct 2016 13:11:45 +0000 (09:11 -0400)]
Enable SMTP 8BITMIME for messages with 8-bit content:
1) In post, look for a Content-Transfer-Encoding header. It has to
be the header for the message, not any MIME parts. If found,
post trusts that it's correct. If there isn't one, post scans
the entire message body for any 8-bit bytes.
2) If the message body is 8-bit:
If the server supports 8BITMIME, enable it.
If the server doesn't support 8BITMIME, fail with a message to
user that they need to encode the message for 7-bit transport.
David Levine [Wed, 5 Oct 2016 20:04:11 +0000 (16:04 -0400)]
Call c_ceclosefnx in mhfixmsg set_ce(). It doesn't seem to help
reduce file descriptor leaks, but can't hurt.
David Levine [Wed, 5 Oct 2016 20:02:47 +0000 (16:02 -0400)]
Don't set c_reqencoding in repl, let mhbuild set it based on
the content.
Ken Hornstein [Wed, 5 Oct 2016 02:00:12 +0000 (22:00 -0400)]
Improve these comments a bit.
David Levine [Wed, 5 Oct 2016 01:24:10 +0000 (21:24 -0400)]
Enabled check for 8-bit content in all text parts, not just those
with no specified character set, so that a Content-Transfer-Encoding
header will be added if needed.
David Levine [Tue, 4 Oct 2016 23:08:42 +0000 (19:08 -0400)]
Have mhfixmsg add a C-T-E at the message level, based on the least
restrictive C-T-E of its parts.
David Levine [Tue, 4 Oct 2016 01:30:14 +0000 (21:30 -0400)]
Base Content-Transfer-Encoding on decoded and new text parts on
content rather than the user's charset.
David Levine [Mon, 3 Oct 2016 21:59:51 +0000 (17:59 -0400)]
Fixed typo.
David Levine [Mon, 3 Oct 2016 21:50:35 +0000 (17:50 -0400)]
Fix C-T-E of message, as well as multipart, types to be 7bit, 8bit,
or binary.
David Levine [Sun, 2 Oct 2016 13:53:56 +0000 (09:53 -0400)]
Added test of SMTP server that doesn't support SMTPUTF8.
Ken Hornstein [Sun, 2 Oct 2016 06:05:44 +0000 (02:05 -0400)]
Fix some typos in the comments.
Ken Hornstein [Sun, 2 Oct 2016 05:47:15 +0000 (01:47 -0400)]
Move the read buffer shuffling to BEFORE where we call the network
read routines; otherwise we can end up calling the lower layers with
a length of zero, which messes everything up.
Also make sure we reshuffle our pointers around if that happens.
David Levine [Sat, 1 Oct 2016 18:37:27 +0000 (14:37 -0400)]
mhfixmsg now replaces RFC 2047 encoding with RFC 2231 encoding of
name and filename parameters in Content-Type and Content-Disposition
headers, respectively.
David Levine [Sat, 1 Oct 2016 16:49:12 +0000 (12:49 -0400)]
Cleaned up a bit, mostly in comments for each function.
Ken Hornstein [Sat, 1 Oct 2016 05:02:34 +0000 (01:02 -0400)]
Sigh, the return value from SSL_get_error() isn't suitable to give
to ERR_get_error(), so use a different function to get the error.
Ken Hornstein [Sat, 1 Oct 2016 01:24:43 +0000 (21:24 -0400)]
Print even more errors.
Ken Hornstein [Fri, 30 Sep 2016 19:15:08 +0000 (15:15 -0400)]
Add -initialtls/-notls flags to msgchk.
Ken Hornstein [Fri, 30 Sep 2016 19:07:03 +0000 (15:07 -0400)]
Make sure we retry if possible upon a TLS read, and give a more meaningful
error if we can't.
David Levine [Fri, 30 Sep 2016 14:35:06 +0000 (10:35 -0400)]
Added --sysconfdir to nmh.cygport.
David Levine [Fri, 30 Sep 2016 13:18:27 +0000 (09:18 -0400)]
Replaced some hard-coded strings with variables in nmh.cygport.
Eric Gillespie [Fri, 30 Sep 2016 07:55:55 +0000 (00:55 -0700)]
Fix typos and drop declaractions of 2 undefined functions.
David Levine [Thu, 29 Sep 2016 19:18:02 +0000 (15:18 -0400)]
Updated comments in h/prototypes.h.
David Levine [Thu, 29 Sep 2016 19:13:05 +0000 (15:13 -0400)]
Welcome message enhancements:
1) Disable if Welcome: disable component is in profile.
2) If MHCONTEXT is set, only print the message if the context file
already has a Version: reference where the version is old.
David Levine [Thu, 29 Sep 2016 15:40:10 +0000 (11:40 -0400)]
Instead of relying on invo_name to decide whether to call
nmh_version_changed(), use a read_context setting of 1.
David Levine [Thu, 29 Sep 2016 13:58:27 +0000 (09:58 -0400)]
Make sure stderr is directed to terminal, as well as stdin and
stdout, when deciding whether to check for nmh version update.
David Levine [Wed, 28 Sep 2016 22:48:16 +0000 (18:48 -0400)]
Wait for user to ack new version message.
David Levine [Wed, 28 Sep 2016 19:01:43 +0000 (15:01 -0400)]
Added welcome message when nmh detects that its version changed.
Oliver Kiddle [Wed, 28 Sep 2016 07:58:54 +0000 (09:58 +0200)]
back out use of RFC 2047 decoding on the filename
The RFCs clearly state that an encoded word should not be used in
the MIME parameters and the scheme from RFC2231 should be used
instead. nmh supports that. Unfortunately, other mail clients,
in particular gmail and IBM/Lotus Notes, produce messages with
the invalid encoding.
David Levine [Tue, 27 Sep 2016 12:29:05 +0000 (08:29 -0400)]
Added start_test/finish_test.
David Levine [Tue, 27 Sep 2016 12:28:47 +0000 (08:28 -0400)]
Updated start_test() and finish_test() to not update the test name
if there was a test failure. run_test disables exit on non-zero
status, but does increment failed.
Oliver Kiddle [Mon, 26 Sep 2016 23:42:55 +0000 (01:42 +0200)]
Do RFC 2047 decoding on filename for mhstore
David Levine [Mon, 26 Sep 2016 20:50:38 +0000 (16:50 -0400)]
Replaced use of GNU sed extension.
David Levine [Mon, 26 Sep 2016 19:41:22 +0000 (15:41 -0400)]
Added debug statements to test-mhparam.
David Levine [Mon, 26 Sep 2016 18:33:55 +0000 (14:33 -0400)]
Fixed typo in -help message.
David Levine [Mon, 26 Sep 2016 16:07:50 +0000 (12:07 -0400)]
Reworked BUGS section of nmh(7) man page, and added excerpt
to end of each -help message and to end of install-mh output.
David Levine [Mon, 26 Sep 2016 12:58:55 +0000 (08:58 -0400)]
Merge remote-tracking branch 'origin' into smtputf8
David Levine [Sun, 25 Sep 2016 16:58:05 +0000 (12:58 -0400)]
Added MH(7) man page, as an alias of nmh(7).
David Levine [Sun, 25 Sep 2016 16:18:42 +0000 (12:18 -0400)]
Added mention of replaliases to mh-mime(7) man page.
David Levine [Sun, 25 Sep 2016 13:28:05 +0000 (09:28 -0400)]
Merge remote-tracking branch 'origin' into smtputf8
David Levine [Sat, 24 Sep 2016 21:08:01 +0000 (17:08 -0400)]
Replace profile-based hack to allow getname() to handle 8-bit
addresses with a global data-based hack. At least the global
data is hidden in addrsbr.c.
David Levine [Sat, 24 Sep 2016 21:01:32 +0000 (17:01 -0400)]
Removed send and post -eai switches. Instead, post now enables
SMTPUTF8 if it finds any 8-bit characters in header field bodies.
David Levine [Sat, 24 Sep 2016 16:21:40 +0000 (12:21 -0400)]
Disabled incompatible locale check because the output varies too
much between platforms.
(cherry picked from commit
38e17e1b8ba306ed6137b174f2f196d09d02816f )
David Levine [Sat, 24 Sep 2016 16:21:40 +0000 (12:21 -0400)]
Disabled incompatible locale check because the output varies too
much between platforms.
David Levine [Sat, 24 Sep 2016 16:10:28 +0000 (12:10 -0400)]
Wrapped some variables and arguments to prevent compile warnings
when configured without SASL and OAUTH support.
David Levine [Sat, 24 Sep 2016 14:42:58 +0000 (10:42 -0400)]
Added incompatible locale test to test/mhl/test-rfc6532. It's
a placeholder to show that 8-bit header field values aren't
properly handled if the locale is incompatible.
(cherry picked from commit
2cfa2ea56602d3bb0465a46c0b144017b497b558 )
David Levine [Sat, 24 Sep 2016 14:42:58 +0000 (10:42 -0400)]
Added incompatible locale test to test/mhl/test-rfc6532. It's
a placeholder to show that 8-bit header field values aren't
properly handled if the locale is incompatible.
David Levine [Sat, 24 Sep 2016 13:44:39 +0000 (09:44 -0400)]
Added descriptive/usage information to top of replaliases.
Ken Hornstein [Sat, 24 Sep 2016 06:01:05 +0000 (02:01 -0400)]
Change from an autoconf test for SSL_library_init to SSL_new,
for compatibility with OpenSSL 1.1.0.
Ken Hornstein [Sat, 24 Sep 2016 03:12:58 +0000 (23:12 -0400)]
Improve and update comments a bit, and also improve the error messages
when we don't have Cyrus-SASL support compiled in.
David Levine [Sat, 24 Sep 2016 02:13:04 +0000 (22:13 -0400)]
Specify that mhbuild -autoheaderencoding picks either base64 or q-p,
but not utf-8.
Ken Hornstein [Sat, 24 Sep 2016 02:04:44 +0000 (22:04 -0400)]
Add our sample localpostprox, and also pick up replaliases while we're
at it.
David Levine [Sat, 24 Sep 2016 01:54:26 +0000 (21:54 -0400)]
Renamed mhbuild -headerencoding 8bit to utf-8.
Ken Hornstein [Fri, 23 Sep 2016 23:52:09 +0000 (19:52 -0400)]
Make it so we always return the chosen mechanism, even if we aren't
using the Cyrus SASL library; this makes XOAUTH2 work without
Cyrus-SASL.
Ken Hornstein [Fri, 23 Sep 2016 23:51:36 +0000 (19:51 -0400)]
Missed removing SASLminc() from authservice switch.
Ken Hornstein [Fri, 23 Sep 2016 23:30:21 +0000 (19:30 -0400)]
Switch to AM_DISTCHECK_CONFIGURE_FLAGS.
Ken Hornstein [Fri, 23 Sep 2016 19:08:25 +0000 (15:08 -0400)]
Make the SASL flags work even without support for Cyrus-SASL.
Ken Hornstein [Fri, 23 Sep 2016 19:07:51 +0000 (15:07 -0400)]
Move things around so you can still initialize netsec with SASL
parameters even if you don't have Cyrus-SASL enabled.
Ken Hornstein [Fri, 23 Sep 2016 18:48:50 +0000 (14:48 -0400)]
Move some of the SASL variables outside of the ifdef, so OAUTH
can make use of them. Also, clean up some warnings.
Ken Hornstein [Fri, 23 Sep 2016 18:22:29 +0000 (14:22 -0400)]
Update documentation a bit.
Ken Hornstein [Fri, 23 Sep 2016 18:21:23 +0000 (14:21 -0400)]
Whoops, a typo from the last merge; when the one variable got
reformatted continuation escapes weren't included.
Ken Hornstein [Fri, 23 Sep 2016 18:14:26 +0000 (14:14 -0400)]
Merge branch 'pop-tls'
Ken Hornstein [Fri, 23 Sep 2016 18:13:23 +0000 (14:13 -0400)]
Don't output snoop information when doing RETR or TOP.
Ken Hornstein [Fri, 23 Sep 2016 18:00:59 +0000 (14:00 -0400)]
Switch decodeBase64() second argument to an unsigned char **.
Ken Hornstein [Fri, 23 Sep 2016 17:59:52 +0000 (13:59 -0400)]
Don't always output a decoded SASL token; if it's a large binary blob, just
stick with the base64 output.
David Levine [Fri, 23 Sep 2016 15:55:20 +0000 (11:55 -0400)]
Added SMTPUTF8 (RFC 6531) support:
1) Allow 8-bit characters in addresses.
2) Disable RFC 2047 encoding of (all) header field bodies, via
mhbuild -headerencoding 8bit.
3) Have post enable it in the SMTP transaction.
4) If enabled, add the commands to the SMTP transaction
(MAIL FROM: <address> BODY=8BITMIME SMTPUTF8).
Some things may changed, such as the 8bit encoding algorithm name.
David Levine [Fri, 23 Sep 2016 12:21:57 +0000 (08:21 -0400)]
Rearranged statements to avoid compile warning about mixed
declarations and code.
David Levine [Fri, 23 Sep 2016 12:20:27 +0000 (08:20 -0400)]
Fixed typo (NOTLSSW).
Ken Hornstein [Fri, 23 Sep 2016 03:27:36 +0000 (23:27 -0400)]
Garbage collect the saslmaxssf flag, and update documentation for
new -initialtls flag and -notls flags for inc.
Ken Hornstein [Fri, 23 Sep 2016 03:10:59 +0000 (23:10 -0400)]
Forgot to reset the snoop callback one time.
Ken Hornstein [Fri, 23 Sep 2016 01:26:39 +0000 (21:26 -0400)]
Fix some typos and warnings.
Ken Hornstein [Fri, 23 Sep 2016 00:01:34 +0000 (20:01 -0400)]
Switched to "server" instead of "client" for SASL remote hostname.
Ken Hornstein [Thu, 22 Sep 2016 23:31:57 +0000 (19:31 -0400)]
Garbage collect unused code.
Ken Hornstein [Thu, 22 Sep 2016 23:24:50 +0000 (19:24 -0400)]
Whoops, turns out I originally ran this test with XOAUTH set. Fix the
output and make sure the common script unsets XOAUTH so this doesn't
happen again.
Ken Hornstein [Thu, 22 Sep 2016 23:12:36 +0000 (19:12 -0400)]
Change the tests to make them work with the new program output
and slight change in the interface.
Ken Hornstein [Thu, 22 Sep 2016 23:12:12 +0000 (19:12 -0400)]
Add error reporting for one case, and move around the return code
in the SASL callback a bit.
Ken Hornstein [Thu, 22 Sep 2016 23:11:32 +0000 (19:11 -0400)]
Add the SASL callback; things work now!
Ken Hornstein [Thu, 22 Sep 2016 23:10:23 +0000 (19:10 -0400)]
Disable the original call to BIO_flush() now that we're doing our
own buffering.
Ken Hornstein [Thu, 22 Sep 2016 23:05:39 +0000 (19:05 -0400)]
I had forgotten that nesec_set_tls() has to be called AFTER the
descriptors are set.
David Levine [Thu, 22 Sep 2016 18:08:10 +0000 (14:08 -0400)]
Fixed test-mhfixmsg by using octal instead of hex bytes with
printf(1).
David Levine [Thu, 22 Sep 2016 17:54:50 +0000 (13:54 -0400)]
Removed temporary debuggin printout.
David Levine [Thu, 22 Sep 2016 17:39:55 +0000 (13:39 -0400)]
Added start_test/finish_test.
David Levine [Thu, 22 Sep 2016 17:39:42 +0000 (13:39 -0400)]
Added temporary diagnostic printout.
David Levine [Thu, 22 Sep 2016 17:07:32 +0000 (13:07 -0400)]
Allow -decodetext binary, though 8bit is still the default because
binary can produce messages that are not RFC 2045 compliant.
David Levine [Thu, 22 Sep 2016 12:24:49 +0000 (08:24 -0400)]
Specify full path to mhl in test because it might not be on PATH.
Ken Hornstein [Thu, 22 Sep 2016 04:05:13 +0000 (00:05 -0400)]
Alright, things compile now, but don't link yet; need to write the
SMTP sasl callback.
Ken Hornstein [Thu, 22 Sep 2016 04:04:43 +0000 (00:04 -0400)]
Okay, fixed a few more things. Almost there?
Ken Hornstein [Thu, 22 Sep 2016 03:33:29 +0000 (23:33 -0400)]
Merge branch 'pop-tls' of git.sv.gnu.org:/srv/git/nmh into pop-tls
Ken Hornstein [Thu, 22 Sep 2016 03:32:11 +0000 (23:32 -0400)]
Change things so we can take two file descriptors, one for input
and one for output.
Ken Hornstein [Wed, 21 Sep 2016 20:51:21 +0000 (16:51 -0400)]
Okay! Squashed a few bugs, now have POP OAuth tests working.
David Levine [Wed, 21 Sep 2016 17:49:21 +0000 (13:49 -0400)]
Fixed test-rfc6532: MIME-Version isn't ignored by mhl.headers.
Maybe it should be?