Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 09:38:14 -0500
From:      Matt Singerman <matt.singerman@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Re[2]: sendmail/postfix ports question
Message-ID:  <54682af50511210638r6c3e2419v9790bd68a3b9dc71@mail.gmail.com>
In-Reply-To: <20051008144120.DEE8.GERARD@seibercom.net>
References:  <54682af50510060816p186b865awfeb711995bd7609@mail.gmail.com> <43468A5E.3070209@grokking.org> <20051008144120.DEE8.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sadly, I could not get this working no matter what. I opted to simply remov=
e
the PHP4 port completely, restore an old httpd.conf, and rebuild PHP using
the source code. This worked. What was going on with the port is beyond my
knowledge, but I unfortunately do not have the FreeBSD knowledge to work it
out. Oh well!

On 10/8/05, Gerard Seibert <gerard@seibercom.net> wrote:
>
> On Fri, 07 Oct 2005 07:46:54 -0700, Greg Maruszeczka <greg@grokking.org>
> Subject: Re: sendmail/postfix ports question
> Wrote these words of wisdom:
>
> > Matt Singerman wrote:
> > > Hello all,
> > >
> > > I have a server running FreeBSD 5.2.1 that provides (amongst other
> > > things) MTA services to our office via sendmail. For a variety of a
> > > reasons, I would like to move away from sendmail to postfix. However,
> > > the postfix package cannot, as I am sure you know, simply install wit=
h
> > > sendmail on the system, since they install files to the same places. =
I
> > > am assuming that I have to delete the sendmail package off the system
> > > before I can install postfix (someone please correct me if this
> > > assumption is wrong). My question is, is there a way to safely and
> > > accurately save my sendmail configuration in the event that postfix
> > > simply does not work out? I would really prefer not to have to face a
> > > situation where I am left high and dry with no MTA working :)
> > >
> >
> >
> > The ports version of postfix by default installs all its configuration
> > files under /usr/local/ports/postfix so it leaves your /etc/mail alone
> > (with the exception of mailer.conf) so your sendmail config should be
> > safe -- though it never hurts to tar it up and cp someplace else just i=
n
> > case. You DO NOT need to remove sendmail from the system, though, if yo=
u
> > desire, you can exclude it from the `make world` process by adding
> > "NO_SENDMAIL=3Dyes" to /etc/make.conf.
> >
> > A couple of things to watch for:
> >
> > 1. You will have another aliases file under the new postfix directory s=
o
> > you'll want to remember this if you use the aliases file much. You can
> > just ignore the new one and continue to use the one in /etc/mail or you
> > can do what I did and instruct postfix through its main.cfg to take the
> > postfix-directory version as gospel since this seemed convenient for me
> > to keep the bulk of my config stuff in the postfix directory.
> >
> > 2. Like David said in his reply to you, make sure you read the
> > post-install messages once you build/install postfix so that you can
> > modify your mailer.conf appropriately to use postfix instead of the cor=
e
> > sendmail. The /etc/mail/mailer.conf file is the key to the "seamless"
> > transition here. Also, be careful with mergemaster when you do the next
> > `make world` so that you don't inadvertently overwrite your
> > postfix-modified one with the base sendmail one (done that myself once
> > or twice :) )
> >
> >
> > Hope that helps,
> > G
> >
>
> ***** REPLY SEPARATOR *****
> On 10/8/2005 2:41:20 PM, Gerard Seibert Replied:
>
> I have always thought that it might be a nice option to have FreeBSD
> only install the MTA that the user prefers, when the OS is first
> installed. If a user wanted PostFix, or Qmail or whatever, that MTA
> would be installed and initialized in a similar fashion to what is
> currently done with SendMail. However, SendMail would not be installed,
> unless it was the users preference. Further, buildworld would by default
> update the users MTA of choice, and not default to SendMail.
>
> Of course, I want to win the lottery next week, but that is probably
> not going to happen either.
>
> Just my 2=A2.
>
> --
> "There are two ways to slide easily through life; to believe everything
> or to doubt everything. Both ways save us from thinking."
>
> Alfred Korzybski
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



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