Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 03:30:02 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/29699: Setting NO_MAILWRAPPER results in a  system without working MTA
Message-ID:  <200108141030.f7EAU2l26507@freefall.freebsd.org>

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

The following reply was made to PR conf/29699; it has been noted by GNATS.

From: Ruslan Ermilov <ru@FreeBSD.ORG>
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG,
	Sheldon Hearn <sheldonh@FreeBSD.ORG>
Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a  system without working MTA
Date: Tue, 14 Aug 2001 13:19:41 +0300

 On Tue, Aug 14, 2001 at 11:29:17AM +0200, Andre Albsmeier wrote:
 > 
 > 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.
 > 
 [...]
 > 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 
 > 
 Or better yet, this one:
 
 Index: usr.sbin/sendmail/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/usr.sbin/sendmail/Makefile,v
 retrieving revision 1.34
 diff -u -r1.34 Makefile
 --- usr.sbin/sendmail/Makefile	2001/08/03 16:22:47	1.34
 +++ usr.sbin/sendmail/Makefile	2001/08/14 10:19:26
 @@ -7,7 +7,9 @@
  SMDIR=	${SENDMAIL_DIR}/src
  .PATH: ${SMDIR}
  
 +.if !defined(NO_MAILWRAPPER)
  BINDIR=	/usr/libexec/sendmail
 +.endif
  
  PROG=	sendmail
  MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
 Index: share/man/man5/make.conf.5
 ===================================================================
 RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
 retrieving revision 1.25
 diff -u -r1.25 make.conf.5
 --- share/man/man5/make.conf.5	2001/08/07 13:26:57	1.25
 +++ share/man/man5/make.conf.5	2001/08/14 10:19:26
 @@ -370,6 +370,10 @@
  Set to not build the
  .Xr mailwrapper 8
  MTA selector.
 +If set,
 +.Xr sendmail 8
 +is installed as
 +.Pa /usr/sbin/sendmail .
  .It Va NO_MAKEDEV_INSTALL
  .Pq Vt bool
  Set to avoid installing
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age

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?200108141030.f7EAU2l26507>