From owner-freebsd-bugs Wed Aug 15 6:50:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 48FC437B40D for ; Wed, 15 Aug 2001 06:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7FDo2h09327; Wed, 15 Aug 2001 06:50:02 -0700 (PDT) (envelope-from gnats) Date: Wed, 15 Aug 2001 06:50:02 -0700 (PDT) Message-Id: <200108151350.f7FDo2h09327@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Andre Albsmeier Subject: Re: conf/29699: Setting NO_MAILWRAPPER results in a system without working MTA Reply-To: Andre Albsmeier Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/29699; it has been noted by GNATS. From: Andre Albsmeier 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