Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 06:50:02 -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:  <200108151350.f7FDo2h09327@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: freebsd-gnats-submit@FreeBSD.org
Cc: Andre.Albsmeier@mchp.siemens.de
Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a  system without working MTA
Date: Wed, 15 Aug 2001 15:44:21 +0200

 As pointed out by Peter Wemm (and Sheldon Hearn in private mail)
 it is better to keep the sendmail binary installed in 
 /usr/libexec/sendmail/sendmail even when NO_MAILWRAPPER is defined.
 In this case we should make symlinks for sendmail, mailq and newaliases:
 
 --- usr.sbin/sendmail/Makefile.ORI	Sat Aug  4 09:07:27 2001
 +++ usr.sbin/sendmail/Makefile	Wed Aug 15 15:16:33 2001
 @@ -19,6 +19,12 @@
  	version.c
  BINMODE=4555
  
 +.if defined(NO_MAILWRAPPER)
 +SYMLINKS=	${BINDIR}/sendmail /usr/sbin/sendmail	\
 +		${BINDIR}/sendmail /usr/bin/newaliases	\
 +		${BINDIR}/sendmail /usr/bin/mailq
 +.endif
 +
  # Define the database format to use for aliases et al.
  DBMDEF=	-DNEWDB
  # If you don't want NIS alias/map support, comment out this line
 
 
 If neither NO_SENDMAIL nor NO_MAILWRAPPER are set everything
 stays as is (as it was before).
 
 If only NO_MAILWRAPPER is defined the system won't be without a working
 /usr/sbin/sendmail due to the link to /usr/libexec/sendmail
 
 If only NO_SENDMAIL is defined it's up to the user to modify
 mailer.conf to invoke his sendmail properly (as it was before).
 
 If both are defined nothing gets installed (as it was before).
 
 The etc/Makefile diff (see above) is still ok, I think.

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?200108151350.f7FDo2h09327>