Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2002 18:54:59 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Postfix port binding problem
Message-ID:  <20020106175459.GB1631@raggedclown.net>
In-Reply-To: <20020106144856.GA337@student.uu.se>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <scott@smnolde.com>
> > > > > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020106175459.GB1631>