On Sun, Apr 01, 2012 at 03:38:34PM +0000, Robinson, Eric wrote:
> We only want to install postfix as a null client for sending
> alerts from our servers. When I try to install postfix, it wants
> to install mysql-libs-5.1.61-1.el6_2.1 as well. I'm afraid this
> will break our mysql servers, which are all running MySQL 5.0.77.
> Will installing postfix break things? If so, is there a way to
> install postfix without MySQL support? I don't mind building postfix
> from source if necessary, but I would prefer to install via RPM.
Install Postfix without MySQL, the Postfix sources from postfix.org
by default build without mysql support. On Debian systems, the
MySQL map support is a separate optional module in the packaged
Postfix.
On RPM-based systems, you just need to tweak the spec file in
the SRPM to *not* enable MySQL support. So obtain the SRPM
that corresponds to your system's Postfix install and build
it without MySQL.
If you build Postfix directly from the postfix.org source, you'll
find that it takes some effort to enable MySQL support, and you'll
get none by default, which is what you want. But I'd look at the
SRPM route first.
Note that Postfix does not install a MySQL server, it just depends
on client libraries, which are often dependencies of other packages
on your system (say Perl modules that support MySQL, ...). It is
likely that your MySQL data server is installed elsewhere, and is
not going to conflict with the client library package. Of course
test this on a non-production system, don't take my word for it.
--
Viktor.