Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 03:40:03 -0700 (PDT)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/29699: Setting NO_MAILWRAPPER results in a  system without working MTA
Message-ID:  <200108141040.f7EAe3j27542@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: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: Ruslan Ermilov <ru@FreeBSD.ORG>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	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 12:30:07 +0200

 On Tue, 14-Aug-2001 at 13:19:41 +0300, Ruslan Ermilov wrote:
 > 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 
 
 
 Ah, yes, this is better. I didn't tweak lots of Makefiles in
 /usr/src before so I forgot about the default :-)
 
 And here is one more to add (hope it is right this way):
 
 --- etc/Makefile.ORI	Tue Aug 14 12:23:19 2001
 +++ etc/Makefile	Tue Aug 14 12:25:21 2001
 @@ -45,8 +45,11 @@
  NAMEDB= PROTO.localhost.rev named.conf named.root make-localhost
  PPPCNF= ppp.deny ppp.shells.sample
  PPPCF2= ppp.conf
 -ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
 +ETCMAIL=Makefile README access.sample virtusertable.sample \
  	mailertable.sample aliases
 +.if !defined(NO_MAILWRAPPER)
 +ETCMAIL+=mailer.conf
 +.endif
  
  
  # Special top level files for FreeBSD

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?200108141040.f7EAe3j27542>