From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 14:03:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8290716A4CE for ; Fri, 16 Jan 2004 14:03:18 -0800 (PST) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEE2343D54 for ; Fri, 16 Jan 2004 14:02:57 -0800 (PST) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) i0GM2tpI045151; Fri, 16 Jan 2004 23:02:55 +0100 (CET) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.12.10/8.12.10/Submit) id i0GM2tGi045150; Fri, 16 Jan 2004 23:02:55 +0100 (CET) (envelope-from k) Date: Fri, 16 Jan 2004 23:02:55 +0100 From: Johan Karlsson To: Melvyn Sopacua Message-ID: <20040116220255.GA44915@numeri.campus.luth.se> References: <200401161713.56846.freebsd-current@webteckies.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <200401161713.56846.freebsd-current@webteckies.org> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: NO_SENDMAIL and /usr/sbin/sendmail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 22:03:18 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 16, 2004 at 17:13 (+0100) +0000, Melvyn Sopacua wrote: > Hi, > > on each installworld the mailwrapper is still installed and symlinks are > created. I have NO_SENDMAIL=yes in my /etc/make.conf. > > May there be a NO_SENDMAIL=dont_ever_touch_anything setting, so that I keep my > symlinks to where I point them to and skip the entire /etc/mail* and > mailwrapper stuff? Or are there objections / drawbacks to such an approach? Please try the attached patch. You will have to have both NO_SENDMAIL=yes and NO_MAILWRAPPER=yes in /etc/make.conf. /Johan K > > -- > Melvyn > > ======================================================= > FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 14:31:47 > CET 2003 root@sarevok.idg.nl:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG > i386 > ======================================================= -- Johan Karlsson mailto:johan@FreeBSD.org --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mailwrapper.diff" Index: usr.sbin/mailwrapper/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/mailwrapper/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- usr.sbin/mailwrapper/Makefile 29 Jul 2002 09:40:16 -0000 1.11 +++ usr.sbin/mailwrapper/Makefile 15 Jan 2004 21:47:01 -0000 @@ -8,14 +8,17 @@ LDADD= -lutil .endif -SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ +__SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ ${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrapper /usr/bin/mailq -.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL) -SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper +.if !defined(NO_MAILWRAPPER) +SYMLINKS= ${__SYMLINKS} +.elif !defined(NO_SENDMAIL) +SYMLINKS= ${__SYMLINKS} \ + /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper .endif afterinstall: --M9NhX3UHpAaciwkO--