From owner-freebsd-questions Sun Jan 6 9:55: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 0E02637B402 for ; Sun, 6 Jan 2002 09:55:02 -0800 (PST) Received: from [212.238.194.207] (helo=tanya.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16NHVc-0003Lj-00 for freebsd-questions@FreeBSD.ORG; Sun, 06 Jan 2002 17:55:00 +0000 Received: by tanya.raggedclown.net (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 363F2117A; Sun, 6 Jan 2002 18:54:59 +0100 (CET) Date: Sun, 6 Jan 2002 18:54:59 +0100 From: Cliff Sarginson To: freebsd-questions@FreeBSD.ORG Subject: Re: Postfix port binding problem Message-ID: <20020106175459.GB1631@raggedclown.net> 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> <20020106144856.GA337@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020106144856.GA337@student.uu.se> User-Agent: Mutt/1.3.24i 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:48:56PM +0100, Erik Trulsson wrote: > 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. > Good point. > 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.) > Yes, I like the comment at the end of the man page as well :) -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message