Noticed that the 'mailq' command no longer worked on my RH9 box after
upgrading to 4.30 with the rpms from
ftp.exim.org.
# mailq
-bash: mailq: command not found
In /etc/alternatives, there's a symlink for it:
# file mta-mailq
mta-mailq: symbolic link to /usr/bin/mailq.exim
# file /usr/bin/mailq.exim
/usr/bin/mailq.exim: symbolic link to ../sbin/exim
# /usr/bin/mailq.exim
Exim is a Mail Transfer Agent. It is normally called by Mail User
Agents, not directly from a shell command line. Options and/or arguments
control what it does when called. For a list of options, see the Exim
documentation.
More seriously, sendmail no longer works:
# sendmail
-bash: sendmail: command not found
# file /etc/alternatives/mta
/etc/alternatives/mta: symbolic link to /usr/sbin/sendmail.exim
]# file /usr/sbin/sendmail.exim
/usr/sbin/sendmail.exim: symbolic link to exim
These symlinks in /etc/alternatives are now broken:
# file mta-r*
mta-rmail: broken symbolic link to /usr/bin/rmail.exim
mta-rsmtp: broken symbolic link to /usr/bin/rsmtp.exim
mta-runq: broken symbolic link to /usr/bin/runq.exim
'alternatives --auto mta' fixes up the missing links, but while rmail,
rsmtp and runq now work, the links are still broken in /etc/alternatives.
--
Juha