From owner-freebsd-bugs Mon Oct 8 5:20:12 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 20DE737B403 for ; Mon, 8 Oct 2001 05:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f98CK2O76481; Mon, 8 Oct 2001 05:20:02 -0700 (PDT) (envelope-from gnats) Date: Mon, 8 Oct 2001 05:20:02 -0700 (PDT) Message-Id: <200110081220.f98CK2O76481@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: conf/31134: /etc/rc doesn't allow you to specify a different sendmail daemon Reply-To: Peter Pentchev 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/31134; it has been noted by GNATS. From: Peter Pentchev To: sean-freebsd-gnats@chittenden.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/31134: /etc/rc doesn't allow you to specify a different sendmail daemon Date: Mon, 8 Oct 2001 15:16:32 +0300 On Mon, Oct 08, 2001 at 05:06:28AM -0700, sean@chittenden.org wrote: > > >Number: 31134 > >Category: conf > >Synopsis: /etc/rc doesn't allow you to specify a different sendmail daemon > >Originator: Sean Chittenden > >Release: FreeBSD 4.4-RELEASE i386 > >Organization: > >Environment: > System: FreeBSD tim1.hosting.flyingcroc.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 > > > > >Description: > I use the postfix mailer instead of sendmail and would like to continue to > use sendmail -bd as the way of starting postfix. That said, /etc/rc and > /etc/defaults/rc.conf need to be updated to include a sendmail_program > variable. /etc/rc also relies on /etc/mail/sendmail.cf to be present for > sendmail to be enabled: this is not true for postfix and has been disabled. The sendmail.cf part might be a real problem. Specifying the program to run though is actually done via mailer.conf(5) - this is a greatly thought out way to ensure that all legacy applications may still invoke sendmail(8), newaliases(8), mailq and such, while mailwrapper(8) transparently runs the actual executable of your choice. So, just edit the /etc/mail/mailer.conf file and specify the appropriate program from the Postfix package to run instead of sendmail. The sendmail.cf thing might be a real issue, but I've never seen any harm in just leaving it there, and I've never actually removed it :) G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message