Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 11:29:17 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/29699: Setting NO_MAILWRAPPER results in a  system without working MTA
Message-ID:  <200108140929.f7E9THL61157@curry.mchp.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         29699
>Category:       conf
>Synopsis:       Setting NO_MAILWRAPPER results in a  system without working MTA
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 14 02:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
>Environment:

FreeBSD 4.4-PRERELEASE #18: Thu Aug 9 14:53:01 CEST 2001

>Description:

When setting NO_MAILWRAPPER to /etc/make.conf sendmail still gets installed
into /usr/libexec/sendmail/sendmail. In case mailwrapper has been used before,
an old /usr/sbin/mailwrapper is lying around and usually the link from
/usr/sbin/sendmail is set. When you remove mailwrapper from /usr/sbin
the link is stale and no /usr/sbin/sendmail is available anymore.


>How-To-Repeat:

Add NO_MAILWRAPPER to /etc/make.conf
rm /usr/sbin/sendmail /usr/sbin/mailwrapper
make world
ls -l /usr/sbin/sendmail

>Fix:

Maybe this way:

--- usr.sbin/sendmail/Makefile.ORI	Tue Aug 14 11:20:01 2001
+++ usr.sbin/sendmail/Makefile	Tue Aug 14 11:20:27 2001
@@ -7,7 +7,11 @@
 SMDIR=	${SENDMAIL_DIR}/src
 .PATH: ${SMDIR}
 
+.if defined(NO_MAILWRAPPER)
+BINDIR=	/usr/sbin
+.else
 BINDIR=	/usr/libexec/sendmail
+.endif
 
 PROG=	sendmail
 MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108140929.f7E9THL61157>