The script in the main exim rpm says to do:
# Set up alternatives (if required)
/usr/sbin/alternatives --install /usr/sbin/sendmail mta
/usr/sbin/sendmail.exim 10 \
--slave /usr/bin/mailq mta-mailq /usr/bin/mailq.exim \
--slave /usr/bin/runq mta-runq /usr/bin/runq.exim \
--slave /usr/bin/rsmtp mta-rsmtp /usr/bin/rsmtp.exim \
--slave /usr/bin/rmail mta-rmail /usr/bin/rmail.exim \
--slave /usr/bin/newaliases mta-newaliases
/usr/bin/newaliases.exim \
--slave /usr/share/man/man1/mailq.1.gz mta-mailqman
/usr/share/man/man8/exim.8.gz \
# make sure we have the appropriate link in
if [ ! -f /usr/sbin/sendmail ]
then
/usr/sbin/alternatives --auto mta
fi
Which looks like the right way to do it, according to the alternatives
man page.
But.. the package does not install /usr/bin/{runq|rsmtp|rmail}.exim, only:
/usr/bin/rmail
/usr/bin/rsmtp
/usr/bin/runq
which explains the broken links in /etc/alternatives.
Doesn't explain why sendmail and mailq broke during the upgrade though.
--
Juha