]>
diplodocus.org Git - nmh/log
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?
David Levine [Wed, 21 Sep 2016 15:54:49 +0000 (11:54 -0400)]
Added test/mhl/test-rfc6532.
Ken Hornstein [Wed, 21 Sep 2016 04:06:52 +0000 (00:06 -0400)]
Add support for a base64-decoding snoop callback.
Ken Hornstein [Wed, 21 Sep 2016 03:30:51 +0000 (23:30 -0400)]
Garbage-collect all of this unused code.
Ken Hornstein [Wed, 21 Sep 2016 02:11:25 +0000 (22:11 -0400)]
We have OAauth working! But the tests don't work yet.
Ken Hornstein [Wed, 21 Sep 2016 00:09:37 +0000 (20:09 -0400)]
Shuffle some stuff around, change some prototypes, and modify the
oauth code a bit to fit our new structure.
David Levine [Tue, 20 Sep 2016 16:23:04 +0000 (12:23 -0400)]
Plugged memory leak in openBase64().
Ken Hornstein [Tue, 20 Sep 2016 03:29:39 +0000 (23:29 -0400)]
Maybe ... it works? Sort of! Needs more testing, and for me to finish
OAuth support.
Ken Hornstein [Mon, 19 Sep 2016 23:59:40 +0000 (19:59 -0400)]
More work, but not there just yet.
Ken Hornstein [Mon, 19 Sep 2016 02:03:18 +0000 (22:03 -0400)]
Okay, we're finally getting to implementation stage! Hopefully we'll be
able to make it all work with POP first, then SMTP.
David Levine [Sun, 18 Sep 2016 16:22:10 +0000 (12:22 -0400)]
Moved LDFLAGS to AM_LDFLAGS.
David Levine [Sun, 18 Sep 2016 14:29:17 +0000 (10:29 -0400)]
Moved CFLAGS additions to AM_CFLAGS.
David Levine [Sun, 18 Sep 2016 13:57:06 +0000 (09:57 -0400)]
Moved restore of CFLAGS outside of AC_CHECK_HEADER, so that it's done
unconditionally.
Ken Hornstein [Sun, 18 Sep 2016 05:15:20 +0000 (01:15 -0400)]
I think I've written all of these functions; now we just need to
have everyone else use them.
David Levine [Sat, 17 Sep 2016 21:11:23 +0000 (17:11 -0400)]
Added AM_CPPFLAGS to CFLAGS that are used for curl checks, because
they're needed on Cygwin. (Without _GNU_SOURCE, sys/types.h doesn't
include sys/select.h.) Also added AM_CFLAGS, which we don't currently
use but might in the future.
David Levine [Sat, 17 Sep 2016 14:15:11 +0000 (10:15 -0400)]
Updated Makefile.am to correspond to file replacement in commit
4a007bacfa67e69923b15500e2b2c3a6bcde541a .
David Levine [Sat, 17 Sep 2016 14:08:22 +0000 (10:08 -0400)]
Updated cygport script in preparation for nmh 1.7 release.
David Levine [Sat, 17 Sep 2016 14:06:56 +0000 (10:06 -0400)]
Replaced cygwin build script with cygport script.
David Levine [Sat, 17 Sep 2016 14:05:35 +0000 (10:05 -0400)]
Added libcurl to Cygwin package requirements, if configured
with --with-oauth.
David Levine [Fri, 16 Sep 2016 21:47:31 +0000 (17:47 -0400)]
Added oauth to mhparam examples.
Ken Hornstein [Fri, 16 Sep 2016 19:59:27 +0000 (15:59 -0400)]
Still closer, but not quite there yet.
David Levine [Fri, 16 Sep 2016 16:08:55 +0000 (12:08 -0400)]
Moved LFLAGS additions to AM_LFLAGS.
David Levine [Fri, 16 Sep 2016 15:56:42 +0000 (11:56 -0400)]
Use CPPFLAGS instead of AM_CPPFLAGS for FreeBSD additions.
Otherwise, it will miss -liconv. I think.
David Levine [Fri, 16 Sep 2016 15:15:45 +0000 (11:15 -0400)]
Cleaned up cppflags.m4 a bit and fixed its mode.
David Levine [Fri, 16 Sep 2016 12:28:18 +0000 (08:28 -0400)]
Moved CPPFLAGS additions to AM_CPPFLAGS.
Ken Hornstein [Fri, 16 Sep 2016 02:36:17 +0000 (22:36 -0400)]
Okay, a bit closer.
David Levine [Fri, 16 Sep 2016 00:00:02 +0000 (20:00 -0400)]
Added 2 second timeout to curl command in post() in oauth.c, for
localhost requests only, because the default timeout on Cygwin is 5
minutes.
David Levine [Thu, 15 Sep 2016 22:58:14 +0000 (18:58 -0400)]
Added NMH_ADDL_CPPFLAGS macro in new m4/cppflags.m4, to remove
explicit OS dependencies when deciding whether -DGNU_SOURCE is
needed. (Cygwin now needs it.)
Ken Hornstein [Thu, 15 Sep 2016 20:00:07 +0000 (16:00 -0400)]
Fleshed out some more, but we're not there just yet.
Ken Hornstein [Wed, 14 Sep 2016 04:00:48 +0000 (00:00 -0400)]
A bit more code.
Ken Hornstein [Tue, 13 Sep 2016 20:00:46 +0000 (16:00 -0400)]
Save this for now.
Ken Hornstein [Tue, 13 Sep 2016 01:37:06 +0000 (21:37 -0400)]
More functions documented.
Ken Hornstein [Mon, 12 Sep 2016 23:07:29 +0000 (19:07 -0400)]
Beginnings of a new library API.
David Levine [Sun, 11 Sep 2016 15:49:44 +0000 (11:49 -0400)]
Exposed a bunch of switches that are now documented.
David Levine [Sun, 11 Sep 2016 15:30:42 +0000 (11:30 -0400)]
Added Examples section to mhlogin man page.
Ken Hornstein [Sun, 11 Sep 2016 04:41:18 +0000 (00:41 -0400)]
Add a "file-nopermcheck" credential entry.
Ken Hornstein [Sun, 11 Sep 2016 04:05:25 +0000 (00:05 -0400)]
Change this so the MTS_SMTP is the default, to match the value
of mts_method and the original code.
Ken Hornstein [Sun, 11 Sep 2016 04:01:28 +0000 (00:01 -0400)]
Remove the unused argument from mts_init() (as far as I can tell,
it has never been used, for anything).
Ken Hornstein [Fri, 9 Sep 2016 19:49:26 +0000 (15:49 -0400)]
Closer, but not there yet.
Ken Hornstein [Thu, 8 Sep 2016 19:40:04 +0000 (15:40 -0400)]
Started ... not quite working yet.
Ken Hornstein [Thu, 8 Sep 2016 17:13:57 +0000 (13:13 -0400)]
Only get a write lock on the sequences file if we're performing a pack
operation.