From owner-freebsd-questions Sun Jan 6 6:49: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id 4812337B417 for ; Sun, 6 Jan 2002 06:49:01 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailb.telia.com (8.11.6/8.11.6) with ESMTP id g06EmxL18546 for ; Sun, 6 Jan 2002 15:48:59 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id PAA19524 for ; Sun, 6 Jan 2002 15:48:58 +0100 (CET) Received: (qmail 370 invoked by uid 1001); 6 Jan 2002 14:48:57 -0000 Date: Sun, 6 Jan 2002 15:48:56 +0100 From: Erik Trulsson To: Cliff Sarginson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Postfix port binding problem Message-ID: <20020106144856.GA337@student.uu.se> Mail-Followup-To: Cliff Sarginson , freebsd-questions@FreeBSD.ORG References: <20020104233915.D93879-100000@bsd.smnolde.com> <20020106053933.2D70F5D17@ptavv.es.net> <20020106061147.GA1003@raggedclown.net> <20020106101839.GA78069@student.uu.se> <20020106140219.GA1067@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020106140219.GA1067@raggedclown.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 06, 2002 at 03:02:19PM +0100, Cliff Sarginson wrote: > On Sun, Jan 06, 2002 at 11:18:40AM +0100, Erik Trulsson wrote: > > On Sun, Jan 06, 2002 at 07:11:47AM +0100, Cliff Sarginson wrote: > > > On Sat, Jan 05, 2002 at 09:39:33PM -0800, Kevin Oberman wrote: > > > > > Date: Fri, 4 Jan 2002 23:41:01 -0500 (EST) > > > > > From: Scott Nolde > > > > > Sender: owner-freebsd-questions@FreeBSD.ORG > > > > > > > > > > > > > > > Chances are you didn't disable sendmail before starting postfix. You can > > > > > do this in /etc/rc.conf with sendmail_enable="NO", then kill sendmail, and > > > > > start postfix. > > > > > > > > This is REALLY not the way you are supposed to do it, although it will > > > > work. > > > > > > > > The right way is to install postfix from the ports and do a "make > > > > replace" when you are done. Then "killall sendmail" and restart it. > > > > > > > This is correct. > > > > > > > In FreeBSD, /usr/sbin/sendmail is really a wrapper that can start > > > > sendmail, postfix, qmail and probably others. It takes any sendmail > > > > commands and reformats them for he mailer being used. > > > > > > This is not correct. > > > > Yes it is. > > > > > > > > Postfix replaces sendmail with it's program called sendmail, which > > > understands most of the relevant sendmail command line options. > > > But *is* a postfix program. > > > > > > It has links made to it for "mailq" etc. > > > > > > The wrapper you refer to does not exist. > > > How on earth did you come by this extraordinary idea ? > > > > Please read the mailwrapper(8) manpage. > > > Mmm. Interesting, I will be totally honest and say I have never heard of this > until now, it must be some kind of well kept secret. > Or perhap I am not widely read enough. > But to argue my point, it is totally unnecessary to "wrap" postfix > anyway, since postfix is a plug-in replacement for sendmail. > Such a wrapper serves no useful purpose for replacing sendmail > with postfix. > > I suppose this may help with qmail which is in a world of it's own. > > I also doubt the utility of such a program in real life, how many MTA's > does anyone run on one machine at any one time ? The main reasons for having /usr/sbin/sendmail being just a wrapper is that it makes it unnecessary for ports to overwrite parts of the base system and more importantly you don't need to worry about a 'make world' overwriting your custom MTA with the normal sendmail. Such a program is of course not *necessary* but it does make life a bit easier when upgrading the OS or changing your MTA. (Some other reasons are given in the mailwrapper(8) man page.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message