pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36014: mail/sendmail doesn't install rmail



>Number:         36014
>Category:       pkg
>Synopsis:       mail/sendmail doesn't install rmail
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 15 18:00:01 +0000 2007
>Originator:     Jim Bernard
>Release:        NetBSD 4.99.15
>Organization:
>Environment:
System: NetBSD 4.99.15 #0: Wed Mar 14 12:56:27 MDT 2007
Architecture: i386
Machine: i386
>Description:
        rmail was recently removed from the base system, as was uucp.
        sendmail was removed from the base system some time ago.
        rmail is needed for mail delivery when using sendmail with uucp.
        rmail is not installed by the sendmail package (which is where
        it lives), so recent deletions from the base system leave users
        of sendmail + uucp for mail transport out of luck.

        Note that there seems to be a similar problem with postfix,
        the evidence being that the -current source tree includes
        the script gnu/dist/postfix/auxiliary/rmail/rmail, which is
        not installed.  One could argue then that the rmail functionality
        should really be included in the uucp package or in the base
        system, rather than in MTA's, but I'm not prepared to take a
        position on that.  I just want to get mail working again following
        the base-system removals, and the sendmail distribution includes
        rmail and a simple mechanism to activate its installation.

>How-To-Repeat:
        Install a recent -current system plus sendmail and uucp and
        notice that rmail is missing, so that mail delivery using
        uucp won't work.

>Fix:
        The following patches cause rmail to be installed and add its
        files to the PLIST.  It's possible that rmail could be
        undesirable on some systems (as claimed in some of the sendmail
        info), so it may be appropriate to make it conditional on the
        OS or optional.  If the latter, it should be made clear that
        it's needed for uucp mail delivery.

--- files/site.config.m4-dist   2007-01-21 03:30:29.000000000 -0700
+++ files/site.config.m4        2007-03-15 09:39:09.000000000 -0600
@@ -7,10 +7,11 @@
 define(`confSBINDIR', `${PREFIX}/sbin')
 define(`confUBINDIR', `${PREFIX}/bin')
 define(`confHFDIR', `${PREFIX}/share/misc')
 define(`confINSTALL_RAWMAN', 'yes')
 define(`confDONT_INSTALL_CATMAN', 'yes')
+define(`confFORCE_RMAIL', 'yes')
 define(`confMANROOT', `${PREFIX}/${PKGMANDIR}/man')
 define(`confMANROOTMAN', `${PREFIX}/${PKGMANDIR}/man')
 define(`confMAN1EXT', `1')
 define(`confMAN3EXT', `3')
 define(`confMAN4EXT', `4')

--- PLIST-dist  2007-01-21 03:30:29.000000000 -0700
+++ PLIST       2007-03-15 09:44:51.000000000 -0600
@@ -1,10 +1,11 @@
 @comment $NetBSD: PLIST,v 1.13 2007/01/20 20:08:32 tv Exp $
 bin/hoststat
 bin/mailq
 bin/newaliases
 bin/purgestat
+bin/rmail
 bin/vacation
 lib/libsm.a
 lib/libsmutil.a
 libexec/sendmail/sendmail
 libexec/sendmail/smrsh
@@ -14,10 +15,11 @@
 man/man5/aliases.5
 man/man8/editmap.8
 man/man8/mailstats.8
 man/man8/makemap.8
 man/man8/praliases.8
+man/man8/rmail.8
 man/man8/sendmail.8
 man/man8/smrsh.8
 sbin/editmap
 sbin/mailstats
 sbin/makemap




Home | Main Index | Thread Index | Old Index