Re: [Exim] Exim on Red Hat Linux?

Top Page
Delete this message
Reply to this message
Author: Xander D Harkness
Date:  
To: Walt Reed, exim Users
Subject: Re: [Exim] Exim on Red Hat Linux?
Walt Reed wrote:
[snip]

>I actually did this last week for RH8. I uninstalled postfix and
>sendmail (because for some reason, RH decided it needed both.) I had to
>use a nodeps command line option to rpm to force it off due to
>dependancy issues. Then I just compiled exim up and installed, and made
>some manual symbolic links to the old sendmail locations. That's it.
>
>Sometimes it may complain about missing the sendmail dependancies, but
>you just force past those and you are fine. You can also tell redhat
>that exim is a substitute for sendmail somehow to avoid that problem,
>but that deals with creating a package which is just WAY too much
>nonsense for me.
>
>

I found the following post some time ago on the exim list some time ago,
which helps to remove the problems you have with these dependencies.

Kind regards
Xander

From: Arnaud Brugnon
To: Jeremy Hein
Cc: exim-users@???
Subject: alternatives was [Exim] RedHat Linux 8.0 help
Date: 23 Oct 2002 09:46:07 +0200

Hello !
Despite Redhat ships sendmail et Postfix, you can benefit from using the
new "alternatives" capability available since Redhat 7.3.
It behaves like the debian alternatives package.
So you can use this little script to declare Exim as an MTA alternative
and activate it ! It is a non destructive approach based on symlinks.
Mixed with your initscript it's IMHO quite a good way to install Exim.

You can tweak this cmdline to fit your needs ....
# misc commands to test and activate .... man alternatives is your
friend
# alternatives --display mta

/usr/sbin/alternatives --install /usr/sbin/sendmail mta /usr/sbin/exim 90 \
--slave /usr/bin/mailq mta-mailq /usr/sbin/exim \
--slave /usr/bin/newaliases mta-newaliases /usr/bin/newaliases.sendmail \
--slave /usr/bin/rmail mta-rmail /usr/sbin/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

#
# alternatives --set mta /usr/sbin/exim

Arnaud Brugnon
Happy Exim user from Paris

>
>