From: Simon J Mudd (no email)
Date: Mon Dec 01 2003 - 05:09:15 EST
(Hennie Rautenbach) writes:
> I have recently migrated from a sendmail platform to postfix
> (postfix-2.0.14-1.rh73.i386.rpm) on Redhat 7.3.
Looks like one of my rpms.
> I have a few unix scripts that in the past send mail from the machine
> to various users using the "/usr/sbin/sendmail" command.
As you've been told /usr/sbin/sendmail should behave the same, however
...
RH73 and later uses alternatives which means that my Postfix rpm
provides a binary /usr/sbin/sendmail.postfix
If you install the postfix rpm and remove the sendmail rpm then you
will find that /usr/sbin/sendmail points to /etc/alternatives/mta
which points in turn to /usr/sbin/sendmail.postfix.
You should not need to "adjust" anything. If you install postfix when
sendmail is installed you may need to run the alternatives command to
define postfix as the default MTA. I think this is documented in the
RH manuals, or if not in the alternatives man page.
Failing that you can see the script I use for setting up alternatives
with rpm -q --scripts postfix and look at the /usr/sbin/alternatives
--install section.
Whatever you do, don't try and link /usr/sbin/sendmail to
/usr/sbin/postfix!
Simon
|
|
|