mmh
12 years agoHuh, apparantly I got rid of any support for POPSERVICE over a year
Ken Hornstein [Fri, 6 Jan 2012 19:12:13 +0000 (14:12 -0500)]
Huh, apparantly I got rid of any support for POPSERVICE over a year
ago!  Good riddance, I say.

12 years agoGarbage collect all of the builtin ftp client support.
Ken Hornstein [Fri, 6 Jan 2012 15:48:03 +0000 (10:48 -0500)]
Garbage collect all of the builtin ftp client support.

12 years agoGarbage-collect MHRC (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:37:38 +0000 (10:37 -0500)]
Garbage-collect MHRC (and make it the default).

12 years agoGarbage-collect SLOCAL_MBOX (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:36:21 +0000 (10:36 -0500)]
Garbage-collect SLOCAL_MBOX (and make it the default).

12 years agoGarbage-collect RPATHS support.
Ken Hornstein [Fri, 6 Jan 2012 15:35:16 +0000 (10:35 -0500)]
Garbage-collect RPATHS support.

12 years agoHuh, turns out this define hasn't worked in forever ... the original
Ken Hornstein [Fri, 6 Jan 2012 15:29:35 +0000 (10:29 -0500)]
Huh, turns out this define hasn't worked in forever ... the original
changes were made to the lexer output, and silently vanished a decade
ago when code was reorganized from zotnet to sbr!

12 years agoRemove last vestiges of #ifdef BANG
Ken Hornstein [Fri, 6 Jan 2012 15:22:44 +0000 (10:22 -0500)]
Remove last vestiges of #ifdef BANG

12 years agoRemove DBMPWD, make it the default.
Ken Hornstein [Fri, 6 Jan 2012 15:21:17 +0000 (10:21 -0500)]
Remove DBMPWD, make it the default.

12 years agoAdded datarootdir definitions to silence warnings from configure.
David Levine [Fri, 6 Jan 2012 14:55:39 +0000 (08:55 -0600)]
Added datarootdir definitions to silence warnings from configure.

12 years agoFixed trivial compile warnings.
David Levine [Fri, 6 Jan 2012 03:36:51 +0000 (21:36 -0600)]
Fixed trivial compile warnings.

12 years agoNot sure why we're checking for st_blksize; it's required by POSIX and
Ken Hornstein [Fri, 6 Jan 2012 03:13:08 +0000 (22:13 -0500)]
Not sure why we're checking for st_blksize; it's required by POSIX and
we're not even using the define!

12 years agoSwitch the use of LOCKDIR in acconfig.h to --enable-lockdir.
Ken Hornstein [Fri, 6 Jan 2012 03:08:23 +0000 (22:08 -0500)]
Switch the use of LOCKDIR in acconfig.h to --enable-lockdir.

12 years agoMerge branch 'master', remote-tracking branch 'origin'
David Levine [Fri, 6 Jan 2012 03:00:58 +0000 (21:00 -0600)]
Merge branch 'master', remote-tracking branch 'origin'

12 years agoGarbage collect all of the old UCI #ifdef'd code.
Ken Hornstein [Thu, 5 Jan 2012 18:39:47 +0000 (13:39 -0500)]
Garbage collect all of the old UCI #ifdef'd code.

12 years agoUpdate this with mh-e changes.
Ken Hornstein [Thu, 5 Jan 2012 17:26:48 +0000 (12:26 -0500)]
Update this with mh-e changes.

12 years agoBring in all of the mh-e support that is actually used to be compiled by
Ken Hornstein [Thu, 5 Jan 2012 17:05:43 +0000 (12:05 -0500)]
Bring in all of the mh-e support that is actually used to be compiled by
default, and garbage collect the stuff that is not used.

12 years agoWhoops, for right now we do need those signal function checks.
Ken Hornstein [Wed, 4 Jan 2012 03:28:44 +0000 (22:28 -0500)]
Whoops, for right now we do need those signal function checks.

12 years agoSwitch to standard autoconf macro for checking d_type field in struct dirent.
Ken Hornstein [Wed, 4 Jan 2012 03:21:07 +0000 (22:21 -0500)]
Switch to standard autoconf macro for checking d_type field in struct dirent.

12 years agoRemove #ifdef around use of sigsetjmp().
Lyndon Nerenberg [Mon, 26 Dec 2011 17:19:35 +0000 (09:19 -0800)]
Remove #ifdef around use of sigsetjmp().

12 years agoRemove overrides for 'broken' stat macros.
Lyndon Nerenberg [Mon, 26 Dec 2011 03:17:58 +0000 (19:17 -0800)]
Remove overrides for 'broken' stat macros.
Remove redundant SEEK_* macro definitions.

12 years agoInclude <stdio.h> for snprintf() prototype.
Lyndon Nerenberg [Mon, 26 Dec 2011 01:20:26 +0000 (17:20 -0800)]
Include <stdio.h> for snprintf() prototype.

12 years agoNuke directory processing conditionals; use dirent.h.
Lyndon Nerenberg [Sun, 25 Dec 2011 20:23:41 +0000 (12:23 -0800)]
Nuke directory processing conditionals; use dirent.h.

12 years agoAdd back missing include of <sys/wait.h>
Lyndon Nerenberg [Sun, 25 Dec 2011 20:16:08 +0000 (12:16 -0800)]
Add back missing include of <sys/wait.h>

12 years agoClean up process wait to use POSIX waitpid() interface.
Lyndon Nerenberg [Sun, 25 Dec 2011 20:09:21 +0000 (12:09 -0800)]
Clean up process wait to use POSIX waitpid() interface.

12 years agoNo longer check for the mkstemp() function in the mkstemp library.
Ken Hornstein [Wed, 4 Jan 2012 03:01:07 +0000 (22:01 -0500)]
No longer check for the mkstemp() function in the mkstemp library.

12 years agoMake use of mkstemp() unconditional (vs. mktemp().
Lyndon Nerenberg [Sun, 25 Dec 2011 19:58:38 +0000 (11:58 -0800)]
Make use of mkstemp() unconditional (vs. mktemp().

This patch also removes the m_scratch() and m_tmpfil() functions.
They have been deprecated for a while, and are no longer used in any of
the code base.

12 years agoRemove compatibility functions that are always provided by the
Lyndon Nerenberg [Sun, 25 Dec 2011 19:28:07 +0000 (11:28 -0800)]
Remove compatibility functions that are always provided by the
POSIX host environment.

12 years agoGet rid of checking for vfork(), since we no longer use.
Ken Hornstein [Wed, 4 Jan 2012 02:54:07 +0000 (21:54 -0500)]
Get rid of checking for vfork(), since we no longer use.

12 years agoReplace <arpa/ftp.h> with "h/arpa_ftp.h".
Lyndon Nerenberg [Sun, 25 Dec 2011 02:18:22 +0000 (18:18 -0800)]
Replace <arpa/ftp.h> with "h/arpa_ftp.h".

12 years agoImport non-Posix <arpa/ftp.h> for uip/ftpsbr.c.
Lyndon Nerenberg [Sun, 25 Dec 2011 02:17:10 +0000 (18:17 -0800)]
Import non-Posix <arpa/ftp.h> for uip/ftpsbr.c.

12 years agoRemove HAVE_ARPA_FTP_H and arpa/ftp.h references.
Lyndon Nerenberg [Sun, 25 Dec 2011 02:15:06 +0000 (18:15 -0800)]
Remove HAVE_ARPA_FTP_H and arpa/ftp.h references.

12 years agoRemove autoconf ospeed checks
Ken Hornstein [Wed, 4 Jan 2012 02:38:07 +0000 (21:38 -0500)]
Remove autoconf ospeed checks

12 years agoIgnore OSPEED/ospeed in termcap. Nothing current should need this.
Lyndon Nerenberg [Sun, 25 Dec 2011 00:38:47 +0000 (16:38 -0800)]
Ignore OSPEED/ospeed in termcap. Nothing current should need this.

12 years agoNo longer check for termio.h or termios.h
Ken Hornstein [Wed, 4 Jan 2012 02:12:11 +0000 (21:12 -0500)]
No longer check for termio.h or termios.h

12 years agoCollapse termio/termios/sgtty terminal interface code down to
Lyndon Nerenberg [Sun, 25 Dec 2011 00:15:22 +0000 (16:15 -0800)]
Collapse termio/termios/sgtty terminal interface code down to
the Posix termios interface.

12 years agoUpdate configure file for removal of POSIX-mandated header files.
Ken Hornstein [Wed, 4 Jan 2012 02:06:45 +0000 (21:06 -0500)]
Update configure file for removal of POSIX-mandated header files.

12 years agoEliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs.
Lyndon Nerenberg [Sat, 24 Dec 2011 23:40:48 +0000 (15:40 -0800)]
Eliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs.

12 years agoNo longer need to check for the existance of sys/utsname.h
Ken Hornstein [Wed, 4 Jan 2012 01:27:45 +0000 (20:27 -0500)]
No longer need to check for the existance of sys/utsname.h

12 years agoDeprecate uname() in favour of (Posix) gethostname().
Lyndon Nerenberg [Sat, 24 Dec 2011 23:30:53 +0000 (15:30 -0800)]
Deprecate uname() in favour of (Posix) gethostname().

12 years agoSigh. I put the documentation about the -tls switch in the long description,
Ken Hornstein [Wed, 4 Jan 2012 01:20:26 +0000 (20:20 -0500)]
Sigh.  I put the documentation about the -tls switch in the long description,
but not in the command summary.

12 years agoUpdated pending-release-notes
Ken Hornstein [Tue, 3 Jan 2012 21:30:50 +0000 (16:30 -0500)]
Updated pending-release-notes

12 years agoAdded note about cpio failing to unpack an nmh tarball.
David Levine [Tue, 3 Jan 2012 21:16:29 +0000 (15:16 -0600)]
Added note about cpio failing to unpack an nmh tarball.

12 years agoSwitch to using buffered I/O when doing TLS (but only for output).
Ken Hornstein [Tue, 3 Jan 2012 20:17:54 +0000 (15:17 -0500)]
Switch to using buffered I/O when doing TLS (but only for output).

12 years agoUpdated these files since we've finally got 1.4 out the door.
Ken Hornstein [Tue, 3 Jan 2012 15:36:14 +0000 (10:36 -0500)]
Updated these files since we've finally got 1.4 out the door.

12 years agoMoved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile...
David Levine [Wed, 28 Dec 2011 04:41:24 +0000 (22:41 -0600)]
Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it.

12 years agoReworked nmh.spec to support rpmbuild from source RPM.
David Levine [Wed, 28 Dec 2011 04:38:52 +0000 (22:38 -0600)]
Reworked nmh.spec to support rpmbuild from source RPM.

12 years agoRemoved unused vmh.c and wmh.c.
David Levine [Sun, 25 Dec 2011 21:00:49 +0000 (15:00 -0600)]
Removed unused vmh.c and wmh.c.

12 years agoChanged second argument of calls to part_ok() and type_ok() from
David Levine [Sun, 25 Dec 2011 02:28:50 +0000 (20:28 -0600)]
Changed second argument of calls to part_ok() and type_ok() from
0 to 1, to match what store_multi() in mhstoresbr.c does.

A test case is below.  Without this fix, the following command:

  mhshow -part 1.1 -form mhl.null

produced no output.  mhlist showed a part 1.1:

 msg part  type/subtype              size description
1231       multipart/mixed            276
     1     multipart/related          107
     1.1   text/plain                  29

and "mhstore -part 1.1" properly stored it.  With this
fix, mhshow behaves properly and shows the part.

Analogous behavior happened with -type text/plain.

test case:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="NextPart_001"
Content-class: urn:content-classes:message
Date: Thu, 19 May 2011 00:00:00 -0000
From: sender@example.com
To: recipient@example.com

This is a multi-part message in MIME format.

--NextPart_001
Content-Type: multipart/related;
type="multipart/alternative";
boundary="NextPart_002"

--NextPart_002
Content-Type: text/plain;
charset="utf-8"

This is the text/plain part.

--NextPart_002--

--NextPart_001--

12 years agoReplaced cvs with git references. I'm not sure about the cgit
David Levine [Sun, 25 Dec 2011 01:36:32 +0000 (19:36 -0600)]
Replaced cvs with git references.  I'm not sure about the cgit
URL at the very end.  Also removed mention of source directories
that were deprecated and removed long ago.

12 years agoAdded --with-rpmdir configure option so that user can set location of RPM build root.
David Levine [Sat, 24 Dec 2011 15:59:45 +0000 (09:59 -0600)]
Added --with-rpmdir configure option so that user can set location of RPM build root.

12 years agoAdded comments about source of description, etc.
David Levine [Wed, 14 Dec 2011 00:33:07 +0000 (18:33 -0600)]
Added comments about source of description, etc.

12 years agoReplaced use of GNU make shell function with backticks. These were
David Levine [Tue, 13 Dec 2011 04:50:06 +0000 (22:50 -0600)]
Replaced use of GNU make shell function with backticks.  These were
for the rpm target, which would most likely only be build on Linux.
So they probably would have been OK, but just in case.

12 years agoThe docs/Makefile install target didn't do anything before. Added
David Levine [Tue, 13 Dec 2011 04:25:52 +0000 (22:25 -0600)]
The docs/Makefile install target didn't do anything before.  Added
the files that go into doc to it, and removed them from nmh.spec.
nmh.spec should now require zero maintenance.

12 years agoAdded RPM/ so that git status doesn't mention that it's an untracked file.
David Levine [Tue, 13 Dec 2011 03:45:17 +0000 (21:45 -0600)]
Added RPM/ so that git status doesn't mention that it's an untracked file.

12 years agoMerge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Tue, 13 Dec 2011 03:37:47 +0000 (21:37 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh

12 years agoMoved version number from nmh.spec to Makefile.in, to minimize
David Levine [Tue, 13 Dec 2011 03:35:52 +0000 (21:35 -0600)]
Moved version number from nmh.spec to Makefile.in, to minimize
maintenance for nmh.spec.

12 years agoMake sure to not reset hghnum (in the Maildir code) if we are incorporating
Ken Hornstein [Mon, 12 Dec 2011 17:59:42 +0000 (12:59 -0500)]
Make sure to not reset hghnum (in the Maildir code) if we are incorporating
mail from a POP mailbox.

12 years agoAdded first cut at nmh.spec, along with rpm: target in Makefile.in.
David Levine [Sun, 11 Dec 2011 23:03:56 +0000 (17:03 -0600)]
Added first cut at nmh.spec, along with rpm: target in Makefile.in.

12 years agoRemoved netdb.h because we no longer distribute it.
David Levine [Sun, 11 Dec 2011 19:44:50 +0000 (13:44 -0600)]
Removed netdb.h because we no longer distribute it.

12 years agoRemoved unused local variables to eliminate warnings from gcc 4.6.2.
David Levine [Sun, 11 Dec 2011 16:24:20 +0000 (10:24 -0600)]
Removed unused local variables to eliminate warnings from gcc 4.6.2.

12 years agoMake sure to ignore the nmh dist file.
Ken Hornstein [Wed, 7 Dec 2011 17:00:26 +0000 (12:00 -0500)]
Make sure to ignore the nmh dist file.

12 years agoSince we're now moving past 1.4, bump this.
Ken Hornstein [Wed, 7 Dec 2011 16:36:53 +0000 (11:36 -0500)]
Since we're now moving past 1.4, bump this.

12 years agoAdd support to inc for incorporting email from Maildir dropboxes.
David Malone [Wed, 7 Dec 2011 15:19:40 +0000 (10:19 -0500)]
Add support to inc for incorporting email from Maildir dropboxes.

Add missing #include for <sys/socket.h> to bring in definitions of PF_UNSPEC.

Signed-off-by: Ken Hornstein <kenh@pobox.com>

13 years agoWhoops, user & port were in the wrong order so msgchk didn't work for POP mmh-start
Ken Hornstein [Wed, 13 Apr 2011 14:50:49 +0000 (10:50 -0400)]
Whoops, user & port were in the wrong order so msgchk didn't work for POP
connections.

13 years agoUpdated the developer README with a few notes about the git conversion.
Ken Hornstein [Tue, 22 Feb 2011 01:44:30 +0000 (20:44 -0500)]
Updated the developer README with a few notes about the git conversion.

Signed-off-by: Ken Hornstein <kenh@pobox.com>

13 years agoSigned-off-by: Ken Hornstein <kenh@pobox.com>
Paul Vixie [Mon, 7 Feb 2011 19:13:54 +0000 (14:13 -0500)]
Signed-off-by: Ken Hornstein <kenh@pobox.com>

More documentation about the hooks support.

13 years agoClean up code in inc.c
Peter Maydell [Tue, 21 Dec 2010 16:50:24 +0000 (16:50 +0000)]
Clean up code in inc.c

Clean up the confusing use of a variable 'i' in inc.c.
The case where it was being used as 'an error occurred
which means we should not truncate the mailspool' is now
called 'incerr' and merged with the equivalent 'p' variable
used in the POP-specific code. Cases where it was being
used as a random temporary are still called 'i' but now
declared with a much more restricted scope.
This fixes a compilation warning for some compilers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

13 years agoSuppress tsort diagnostic waffle
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Suppress tsort diagnostic waffle

tsort produces waffle to standard error if it detects loops in its input.
For our purposes in ordering object files this is harmless, so just send
it all to /dev/null.

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix unused-function warnings in lex output
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix unused-function warnings in lex output

Fix the unused-function warnings in the output of lex. In particular, we
silence a warning about yyunput being static but unused by exposing it as
a global function. This costs us a few hundred bytes in the binary but
the other available solutions are flex-specific or more complicated.
YY_NO_UNPUT used to silence this but no longer works in recent flex.
On the other hand YY_NO_INPUT does work to silence warnings about input().

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix used-uninitialised warning in fmt_rfc2047.c
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in fmt_rfc2047.c

Fix a used-uninitialised warning in fmt_rfc2047.c.
I don't think it can actually be used uninitialised, but the
code is too complicated for the compiler to realise this.

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix used-uninitialised warning in new.c
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in new.c

Fix a used-uninitialised warning in new.c by having the check_folders()
routine return first=last=NULL for empty folder lists. This is a more
sensible API anyway. (It would not actually have been possible for
the code to try to use last while it was uninitialised, as it happens.)

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix crash if fnext/fprev are given an empty folder list
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix crash if fnext/fprev are given an empty folder list

Add a check for a NULL pointer, which stops fnext/fprev
from segfaulting if given an empty folder list (for example
via 'fnext -folders emptyfile').

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix warning in sbr/folder_addmsg.c by code cleanup
Peter Maydell [Mon, 20 Dec 2010 19:54:43 +0000 (19:54 +0000)]
Fix warning in sbr/folder_addmsg.c by code cleanup

Clean up some rather oddly written code in folder_addmsg()
so it is easier to understand for both humans and for the
compiler (and the compiler thus stops complaining about an
uninitialised variable).

Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>

13 years agoFix so this compiles without SASL support.
Ken Hornstein [Thu, 16 Dec 2010 18:20:31 +0000 (13:20 -0500)]
Fix so this compiles without SASL support.

Damn you, Oliver Kiddle, for finding all of the bugs I add to nmh!

13 years agoAll of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
Ken Hornstein [Thu, 16 Dec 2010 18:11:17 +0000 (13:11 -0500)]
All of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
last action doesn't make it into the configure script.

13 years agoMake sure we ignore config.h.in~
Ken Hornstein [Thu, 16 Dec 2010 18:02:32 +0000 (13:02 -0500)]
Make sure we ignore config.h.in~

13 years agofix typo and clarify two sentences in mhpath man page
Markus Schnalke [Thu, 16 Dec 2010 00:36:43 +0000 (01:36 +0100)]
fix typo and clarify two sentences in mhpath man page

13 years agoimprove mhparam man page
Markus Schnalke [Thu, 16 Dec 2010 00:25:11 +0000 (01:25 +0100)]
improve mhparam man page

13 years agofix badly formatted code found by Markus Schnalke
Oliver Kiddle [Thu, 16 Dec 2010 00:23:16 +0000 (01:23 +0100)]
fix badly formatted code found by Markus Schnalke

13 years agopropagate and check return status of close() in slocal
Scott Snyder [Wed, 15 Dec 2010 21:17:52 +0000 (22:17 +0100)]
propagate and check return status of close() in slocal

13 years agodocument msg parameter to folder
Markus Schnalke [Wed, 15 Dec 2010 21:02:30 +0000 (22:02 +0100)]
document msg parameter to folder

13 years agoswitches need to be renumbered following removal of some switches so,
Oliver Kiddle [Tue, 14 Dec 2010 17:04:01 +0000 (18:04 +0100)]
switches need to be renumbered following removal of some switches so,
e.g. inc -version was not working

13 years agoMassive garbage collection. Remove functionality for APOP, RPOP,
Ken Hornstein [Thu, 9 Dec 2010 20:29:29 +0000 (15:29 -0500)]
Massive garbage collection.  Remove functionality for APOP, RPOP,
all NNTP support (including bboards) and MPOP.

13 years ago * uip/whatnowsbr.c: enforce requirement of at least one file
David Levine [Wed, 8 Dec 2010 20:36:36 +0000 (14:36 -0600)]
* uip/whatnowsbr.c: enforce requirement of at least one file
  argument to attach command.

13 years agoman/send.man: added name= portion to Content-Type
David Levine [Wed, 8 Dec 2010 16:47:03 +0000 (10:47 -0600)]
man/send.man: added name= portion to Content-Type
headers to reflect 2006-10-24 change to uip/sendsbr.c.
That change allowed mhstore to use the (file)name when
extracting attachments.

13 years agoRemove RCS keywords, since they no longer work after git migration.
Ken Hornstein [Fri, 3 Dec 2010 20:23:11 +0000 (15:23 -0500)]
Remove RCS keywords, since they no longer work after git migration.

13 years agoWhoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT
Ken Hornstein [Fri, 3 Dec 2010 02:04:30 +0000 (21:04 -0500)]
Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT

13 years agoUpdate for git conversions (and cleanup of autogen.sh to use autoreconf)
Ken Hornstein [Fri, 3 Dec 2010 01:37:54 +0000 (20:37 -0500)]
Update for git conversions (and cleanup of autogen.sh to use autoreconf)

13 years agoChange configure.in to emit a warning when an argument is given to
Ken Hornstein [Thu, 2 Dec 2010 23:03:22 +0000 (18:03 -0500)]
Change configure.in to emit a warning when an argument is given to
--with-cyrus-sasl.

13 years agoFix the test for sasl.h to look in the correct place. cvs-repository-moved-to-git
Ken Hornstein [Sun, 21 Nov 2010 22:19:51 +0000 (22:19 +0000)]
Fix the test for sasl.h to look in the correct place.

13 years ago(Minor) cleanup of some of the autoconf code with respect to the handling
Ken Hornstein [Fri, 19 Nov 2010 20:13:39 +0000 (20:13 +0000)]
(Minor) cleanup of some of the autoconf code with respect to the handling
of compiler flags for SASL, and also rototill (and simplify) the autoconf
handling for the same.

Add TLS support for the SMTP MTA.

13 years agoman/slocal.man: fix formatting error that meant a subsection heading
Peter Maydell [Fri, 12 Nov 2010 23:28:26 +0000 (23:28 +0000)]
man/slocal.man: fix formatting error that meant a subsection heading
wasn't displayed as such. Followon cleanup: since the new heading is too
wide to fit in the margin, tidy the margin to 4 characters wide so we
are consistent with how all the headings are displayed.

13 years agoconfigure.in: add a level of expansion for mandir when printing the
Peter Maydell [Wed, 10 Nov 2010 22:26:07 +0000 (22:26 +0000)]
configure.in: add a level of expansion for mandir when printing the
end-of-configure install path summary.

13 years agoman/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link.
Peter Maydell [Tue, 9 Nov 2010 21:33:22 +0000 (21:33 +0000)]
man/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link.

13 years agoSilence a (harmless) uninitialized variable warning.
Peter Maydell [Fri, 5 Nov 2010 22:06:10 +0000 (22:06 +0000)]
Silence a (harmless) uninitialized variable warning.

13 years ago * uip/.cvsignore: added "new". PRE_POSIX_CONVERSION
David Levine [Tue, 31 Aug 2010 15:00:53 +0000 (15:00 +0000)]
* uip/.cvsignore:  added "new".

14 years ago#ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag,
Earl Hood [Sat, 6 Feb 2010 07:47:38 +0000 (07:47 +0000)]
#ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag,
causing files that use to not compile.

14 years agoFixed variable declaration so older compilers will not complain.
Earl Hood [Sat, 6 Feb 2010 07:45:47 +0000 (07:45 +0000)]
Fixed variable declaration so older compilers will not complain.
I.e. Older compilers may not support C99, so variables must be
declared at the beginning of a block.

14 years ago* Bug #15213, #18635: The use of the insecure m_scratch() and
Earl Hood [Thu, 4 Feb 2010 01:39:21 +0000 (01:39 +0000)]
* Bug #15213, #18635: The use of the insecure m_scratch() and
  m_tmpfil() functions have been replaced by m_mktemp()
  or m_mktemp2() functions (defined in sbr/m_mktemp.c).
  The new functions use mkstemp() to securely create
  temporary files to avoid the numerous race conditions
  that exist with the old functions.  This does assume
  that mkstemp() is available.  Unsure if we need to
  create an alternative implementation if mkstemp() is
  not available.  More information about new temp file
  functions in m_mktemp.c, including the support for
  MHTMPDIR, TMPDIR, and TMP envvars.

NOTE: The files sbr/m_scratch.c and sbr/m_tmpfil.c should be removed.
Until more testing verifies changes to support new functions have not
broken functionality, the files are be left in the tree, but comments
have been added stating the functions in them should not be called.

14 years ago* mts/smtp/smtp.c: added SASL support if mts configuration
Earl Hood [Wed, 3 Feb 2010 05:56:56 +0000 (05:56 +0000)]
* mts/smtp/smtp.c: added SASL support if mts configuration
  setting is set to "sendmail".  This is useful if sendmail
  conf option is to a custom script that creates a proxy
  connection to an smtp server.

* sbr/mts.c: added support for MHMTSCONF and MHMTSUSERCONF
  envvars.  The former specifies an alternative system
  mts.conf to use.  The later specifies a user-specific
  mts.conf to use.  This one will be read after the system
  conf, so the user's conf only needs to set options they
  want to override.  The MHMTSUSERCONF allows a user to set
  personal alternative mail submission methods w/o affecting
  other users on the system.

* uip/whom.c: added SASL-based options so address checking
  can work against a server that requires SASL.