Re: [Exim] Replacing Sendmail with Exim 4.10 on Red Hat 8

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Patrick Boutilier
Data:  
Para: Jason Dale
CC: Exim Users
Assunto: Re: [Exim] Replacing Sendmail with Exim 4.10 on Red Hat 8
Jason,

I used this that I found in the archives.

# misc commands to test and activate .... man alternatives is your friend
# alternatives --display mta
#
# alternatives --set mta /usr/exim/bin/exim

/usr/sbin/alternatives --install /usr/sbin/sendmail mta
/usr/local/exim/bin/exim 90 \
--slave /usr/bin/mailq mta-mailq /usr/local/exim/bin/exim \
--slave /usr/bin/newaliases mta-newaliases /usr/bin/newaliases.sendmail \
--slave /usr/bin/rmail mta-rmail /usr/local/exim/bin/exim \
--slave /usr/share/man/man1/mailq.1.gz mta-mailqman
/usr/share/man/man1/mailq.sendmail.1.gz \
--slave /usr/share/man/man1/newaliases.1.gz mta-newaliasesman
/usr/share/man/man1/newaliases.sendmail.1.gz \
--slave /usr/share/man/man5/aliases.5.gz mta-aliasesman
/usr/share/man/man5/aliases.sendmail.5.gz \
--initscript exim



After running the above run:

alternatives --config mta




Jason Dale wrote:
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Hi :
>
> Thanks to Jim for your previous input :)
>
> O.K , here is the verdict :
>
> I originally intended to use Red Hat 8's 'redhat-switchmail' facility to change to
> Exim 4.10 from sendmail without uninstalling anything , but that simply did
> not work , because switchmail did not detect my installed exim.
>
> I figured that in Red Hat 8 you have a file called /etc/alternatives/mta which is a
> symbolic link to the /usr/sbin/sendmail.sendmail file. I unlinked this and pointed
> it to my exim binary. When restarting the system just to see how my box
> would boot , I picked up the following in the boot log file :
>
> -----------
> Nov 26 17:45:00 blackhawk sendmail: exim abandoned: unknown, malformed, or
> incomplete option -L
> Nov 26 17:45:00 blackhawk sendmail: sm-client startup failed
> -----------
>
> I *could* dig into all of the scripts and find out more about the '-L' above and find it's
> exim equivalent , but I am considering uninstalling sendmail and hoofing out all of
> it's spare parts , so that exim can run exclusively.
>
> Before I pull the plug , I am trying to find out if there are any other services on
> Red Hat that rely in sendmail for their functioning and existence.
>
> What would be the best way to set up the system to start exim on bootup ?
> Do I place a start up script in /etc/rc.d/init.d ?
>
> Thanks again !
>
> Regards , Jason
> --
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>