[KLUG Members] Changing MTA on RHL

Bob Kanaley members@kalamazoolinux.org
Wed, 10 Mar 2004 13:24:22 -0500


Manu,

Postfix is a drop-in replacement for Sendmail, hence it is not meant to be
on a system that has Sendmail installed. Postfix puts symlinks to Sendmail
file names. When you install Postfix, you don't have to change your MTA.
Every Postfix installation doc I have read says you MUST uninstall Sendmail
before installing Postfix to keep from screwing up your MTA binaries. I
would suggest adding an rpm -e Sendmail to your script. If that is not an
alternative, I would post a question to the Postfix list to find out what
Sendmail files you will have to delete and which, if any, you can leave and
still not screw up Postfix.

Regards,

Bob

Robert V. Kanaley
Manager Information Systems
Agdia, Inc.
rvk@agdia.com
http://www.agdia.com


> -----Original Message-----
> Hi,
>
> I just installed postfix on RHL 7.3
> After the installation when I run redhat-switchmail
> to change my MTA from sendmail to postfix, only
> Sendmail is shown as the available MTA.
>
> I checked my installation and it seems okay --
> all the files are installed in the proper locations
> (/usr/sbin/postfix for executable, /etc/postfix for config etc)
>
> Unfortunately I'm not supposed to uninstall sendmail from the system.
> I'm trying to automate the installation of postfix, amavis, clamav
> using a perl script. In the script, after postfix installation is
> complete, I'm launching redhat-switchmail.
>
> Is there any other command to change my MTA from
> sendmail to postfix?
>
> Regards,
> Manu