From owner-freebsd-stable Wed Mar 27 14:31:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by hub.freebsd.org (Postfix) with ESMTP id 44C0C37B400 for ; Wed, 27 Mar 2002 14:31:31 -0800 (PST) Received: from admin0 (admin0.westbend.net [216.47.253.17]) by mail.westbend.net (8.11.6/8.11.6) with ESMTP id g2RMVND16757; Wed, 27 Mar 2002 16:31:23 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <008b01c1d5de$d3a5d0c0$11fd2fd8@westbend.net> From: "Scot W. Hetzel" To: "Karsten W. Rohrbach" Cc: References: <20020327154948.26668.qmail@web11602.mail.yahoo.com> <20020327115442.C27253@shell.one.net> <000c01c1d5bb$38e336e0$11fd2fd8@westbend.net> <20020327200304.C43825@mail.webmonster.de> Subject: Re: sendmail_enable NONE Date: Wed, 27 Mar 2002 16:29:14 -0600 Organization: West Bend Interent MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Karsten W. Rohrbach" > Scot W. Hetzel(hetzels@westbend.net)@2002.03.27 12:14:22 +0000: >> I don't even know why people are making such an issue out of this, as all >> that is required is to properly configure /etc/mailer.conf for your MTA, and ^^^^^^^^^^^^ This should be /etc/mail/mailer.conf >> then set /etc/rc.conf up properly: >> >> sendmail_enable=YES >> sendmail_flags="-bd -q30m" # Change to the old default MTA flags or flags >> for specific MTA >> sendmail_outbound_enable=NO >> sendmail_msp_queue_enable=NO >> sendmail_submit_enable=NO > > this still leaves the binaries in the filesystem. since the standard > make wizardry does not include a "deinstall" target (like for example > ports do) and teh /usr/src based software does not have per-directory > mtree files or filelists (manifests) for installed files, removing the > software installed by a standard make installword becomes really messy > and not quite customizeable. the only alternative to this are the NO_* > options, but when you just do a quick install from release media, the > old binaries from the first installation will stay happily where they > are. i'm not much into netbsd, and i still prefer freebsd for my > everyday tasks, but the syspkg concept seems to make sense, though, at > first glance in cvs it appears to be quite complex. Removing sendmail is not complex at all, just add NO_SENDMAIL to make.conf then remove /usr/libexec/sendmail/, /usr/share/sendmail/, /usr/lib/libmilter.a (8.12), and /usr/include/libmilter/ (8.12) from the system. Of course you would have to do this on each new system that is set up. As for these binaries (/usr/sbin/sendmail, /usr/bin/mailq, and /usr/bin/newaliases), they are normaly linked to the mailwrapper program. So just change /etc/mail/mailer.conf to your MTA, and they will work, without having to create links in the /usr/bin & /usr/sbin directories. NOTE: If NO_MAILWRAPPER is set in /etc/make.conf, then these files are linked to /usr/libexec/sendmail/sendmail instead. So make sure you don't have NO_MAILWRAPPER defined when building/installing from sources. Yes, it would be nice to have the base system as packages, but so far no one has submitted code for such a system for FreeBSD. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message