Subject: pkg/20324: Updated package: mail/sendmail
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/12/2003 21:36:29
>Number:         20324
>Category:       pkg
>Synopsis:       Updated package: mail/sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 12 21:37:01 PST 2003
>Originator:     Adrian Portelli
>Release:        NetBSD 1.6 i386
NetBSD 1.6 NetBSD 1.6 (KRUSTY) #1: Wed Feb  5 21:45:03 EST 2003 i386
pkgsrc version of mail/sendmail is at 8.12.6 while 8.12.7 is available from

This is in the pkgsrc/doc/TODO list.

Updates include:

The following post release patch:

And the changes from the changelog:
8.12.7/8.12.7	2002/12/29
	Properly clean up macros to avoid persistence of session data
		across various connections.  This could cause session
		oriented restrictions, e.g., STARTTLS requirements,
		to erroneously allow a connection.  Problem noted
		by Tim Maletic of Priority Health.
	Do not lookup MX records when sorting the MSP queue.  The MSP
		only needs to relay all mail to the MTA.  Problem found
		by Gary Mills of the University of Manitoba.
	Do not restrict the length of connection information to 100
		characters in some logging statements.  Problem noted by
		Erik Parker.
	When converting an enhanced status code to an exit status, use
		EX_CONFIG if the first digit is not 2, 4, or 5 or if *.1.5
		is used.
	Reset macro $x when receiving another MAIL command.  Problem
		noted by Vlado Potisk of Wigro s.r.o.
	Don't bother setting the permissions on the build area statistics
		file, the proper permissions will be put on the file at
		install time.  This fixes installation over NFS for some
		users.  Problem noted by Martin J. Dellwo of 3-Dimensional
		Pharmaceuticals, Inc.
	Fix problem of decoding SASLv2 encrypted data.  Problem noted by
		Alex Deiter of Mobile TeleSystems, Komi Republic.
	Log milter socket open errors at MilterLogLevel 1 or higher instead
		of 11 or higher.
	Print early system errors to the console instead of silently
		exiting.  Problem noted by James Jong of IBM.
	Do not process a queue group if Runners is set to 0, regardless
		of whether F=f or sendmail is run in verbose mode (-v).
		The use of -qGname will still force queue group "name"
		to be run even if Runners=0.
	Change the level for logging the fact that a daemon is refusing
		connections due to high load from LOG_INFO to LOG_NOTICE.
		Patch from John Beck of Sun Microsystems.
	Use location information for from NetInfo
		(/locations/sendmail/ if available.
	Re-enable ForkEachJob which was lost in 8.12.0.  Problem noted by
		Neil Rickert of Northern Illinois University.
	Make behavior of /canon in debug mode consistent with usage in
		rulesets.  Patch from Shigeno Kazutaka of IIJ.
	Fix a potential memory leak in envelope splitting.  Problem noted
		by John Majikes of IBM.
	Do not try to share an mailbox database LDAP connection across
		different processes.  Problem noted by Randy Kunkee.
	Fix logging for undelivered recipients when the SMTP connection
		times out during message collection.  Problem noted by Neil
		Rickert of Northern Illinois University.
	Avoid problems with QueueSortOrder=random due to problems with
		qsort() on Solaris (and maybe some other operating systems).
		Problem noted by Stephan Schulz of Gruner+Jahr..
	If -f "" is specified, set the sender address to "<>".  Problem
		noted by Matthias Andree.
	Fix formatting problem of footnotes for plain text output on some
		versions of tmac.  Patch from Per Hedeland of Ericsson.
		Berkeley DB 4.1 support (requires at least 4.1.25).
		Some getopt(3) implementations in GNU/Linux are broken
			and pass a NULL pointer to an option which requires
			an argument, hence the builtin version of
			sendmail is used instead.  This can be overridden
			by using -DSM_CONF_GETOPT=0.  Problem noted by
			Vlado Potisk of Wigro s.r.o.
		Support for nph-1.2.0 from Mark D. Roth of the University
			of Illinois at Urbana-Champaign.
		Support for FreeBSD 5.0's MAC labeling from Robert Watson
			of the TrustedBSD Project.
		Support for reading the number of processors on an IRIX
			system from Michel Bourget of SGI.
		Support for UnixWare 7.1 based on input from Larry Rosenman.
		Interix support from Nedelcho Stanev of Atlantic Sky
		Update Mac OS X/Darwin portability from Wilfredo Sanchez.
	CONFIG: Enforce tls_client restrictions even if delay_checks
		is used.  Problem noted by Malte Starostik.
	CONFIG: Deal with an empty hostname created via bogus
		DNS entries to get around access restrictions.
		Problem noted by Kai Schlichting.
	CONFIG: Use FEATURE(`msp', `[]') in by default
		to avoid problems with hostname resolution for localhost
		which on many systems does not resolve to (or
		::1 for IPv6).  If you do not use IPv4 but only IPv6 then
		you need to change accordingly, see the comment
		in the file itself.
	CONFIG: Set confDONT_INIT_GROUPS to True in to avoid
		error messages from initgroups(3) on AIX 4.3 when sending
		mail to non-existing users. Problem noted by Mark Roth of
		the University of Illinois at Urbana-Champaign.
	CONFIG: Allow local_procmail to override local_lmtp settings.
	CONFIG: Always allow connections from or IPv6:::1 to
	CONTRIB: cidrexpand: Deal with the prefix tags that may be included
		in access_db.
	CONTRIB: New version of contributed by Leo Bicknell.
	LIBMILTER: On Solaris libmilter may get into an endless loop if
		an error in the communication from/to the MTA occurs.
		Patch from Gurusamy Sarathy of Active State.
	LIBMILTER: Ignore EINTR from sigwait(3) which may happen on Tru64.
		Patch from from Jose Marcio Martins da Cruz of Ecole
		Nationale Superieure des Mines de Paris.
	MAIL.LOCAL: Fix a truncation race condition if the close() on
		the mailbox fails.  Problem noted by Tomoko Fukuzawa of
		Sun Microsystems.
	MAIL.LOCAL: Fix a potential file descriptor leak if mkstemp(3)
		fails.  Patch from John Beck of Sun Microsystems.
	SMRSH: SECURITY: Only allow regular files or symbolic links to be
		used for a command.  Problem noted by David Endler of
		iDEFENSE, Inc.
	New Files:
cd pkgsrc/mail/sendmail && make
Index: Makefile
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.55
diff -b -u -r1.55 Makefile
--- Makefile    2003/01/28 22:03:39     1.55
+++ Makefile    2003/02/12 06:47:45
@@ -83,6 +83,7 @@
        ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc
+       ${RM} ${WRKSRC}/cf/m4/proto.m4.orig
        ${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
        ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
 .if ${USE_DB2} == YES
Index: Makefile.common
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile.common,v
retrieving revision 1.2
diff -b -u -r1.2 Makefile.common
--- Makefile.common     2002/10/03 03:59:24     1.2
+++ Makefile.common     2003/02/12 06:47:45
@@ -5,7 +5,6 @@
 DISTNAME=      sendmail.${DIST_VERS}
 CATEGORIES=    mail
@@ -19,7 +18,7 @@
 FILESDIR?=     ${.CURDIR}/../../mail/sendmail/files
 PATCHDIR?=     ${.CURDIR}/../../mail/sendmail/patches
-DIST_VERS=     8.12.6
+DIST_VERS=     8.12.7
                BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}" \
Index: distinfo
RCS file: /cvsroot/pkgsrc/mail/sendmail/distinfo,v
retrieving revision 1.9
diff -b -u -r1.9 distinfo
--- distinfo    2002/10/03 03:59:24     1.9
+++ distinfo    2003/02/12 06:47:45
@@ -1,11 +1,11 @@
 $NetBSD: distinfo,v 1.9 2002/10/03 03:59:24 itojun Exp $
-SHA1 (sendmail.8.12.6.tar.gz) = 17680259264ba7fd42739ce77cab68dd9e099df9
-Size (sendmail.8.12.6.tar.gz) = 1867436 bytes
+SHA1 (sendmail.8.12.7.tar.gz) = babe78c1a97889e1f85f53dbe2d1b155a43927a5
+Size (sendmail.8.12.7.tar.gz) = 1878363 bytes
 SHA1 (patch-aa) = 8a4563ece8ba8cee01081d49e486393f26ee1484
 SHA1 (patch-ab) = a2abf6e78772e257e2a1973e7730159ff24a91aa
 SHA1 (patch-ac) = 96c19300b4188dbcbd202768eea912f675dadc27
 SHA1 (patch-ad) = 7232cc7ceb46a2dbf631d61185e4c6ca4af18a13
 SHA1 (patch-ae) = ae06caa125fe4d4fc85123dc0a5d0016cd099ebd
 SHA1 (patch-af) = d26481845328adad6d46fdf797785ec2ad003e28
-SHA1 (patch-ag) = dbc5fc93448239f56471b482818e16668de4aa83
+SHA1 (patch-ah) = 7f9e71a04617ddc94a8d5b1c4cf0666e4afaf90a 
--- patches/patch-ah.orig       Wed Feb 12 18:06:04 2003
+++ patches/patch-ah    Wed Feb 12 17:46:04 2003
@@ -0,0 +1,20 @@
+--- cf/m4/proto.m4.orig        Wed Feb 12 13:10:12 2003
++++ cf/m4/proto.m4     Wed Feb 12 13:10:50 2003
+@@ -205,13 +205,13 @@
+ KCERTSubject regex _CERT_REGEX_SUBJECT_', `dnl')
+ ifdef(`LOCAL_RELAY', `dnl
+-# who I send unqualified names to if FEATURE(stickyhost) is used
++# who I send unqualified names to if `FEATURE(stickyhost)' is used
+ # (null means deliver locally)
+ ifdef(`MAIL_HUB', `dnl
+ # who gets all local email traffic
+-# ($R has precedence for unqualified names if FEATURE(stickyhost) is used)
++# ($R has precedence for unqualified names if `FEATURE(stickyhost)' is used)
+ # dequoting map