David Guntner wrote on Sat, Oct 05, 2002 at 01:11:23PM -0700 : > > /usr/bin/mailq and /usr/bin/newaliases don't exist anymore. When I do a ls > command, I see that they are now links pointing to > /etc/alternatives/mta-mailq and /etc/alternatvies/mta-newaliases. > Unfortunately, when looking in /etc/alternatives, neither of those files > exist. Ugh.
Read the man page for 'update-alternatives'. The important commandline
options are --auto, --display, and --config. You can also do it
manually with --install.
[todd@fiji ~]$ urpmf newaliases
postfix:/usr/bin/newaliases.postfix
<snip>
[todd@fiji ~]$ rpm -q --scripts postfix
<snip>
postinstall scriptlet (through /bin/sh):
<snip>
update-alternatives --install /usr/sbin/sendmail mta
/usr/sbin/sendmail.postfix 30 --slave /usr/lib/sendmail mta-in_libdir
/usr/sbin/sendmail.postfix --slave /usr/bin/mailq mta-mailq
/usr/bin/mailq.postfix --slave /usr/bin/newaliases mta-newaliases
/usr/bin/newaliases.postfix --slave /usr/bin/rmail mta-rmail
/usr/bin/rmail.postfix --slave /usr/share/man/man1/mailq.1.bz2
mta-mailqman /usr/share/man/man1/mailq.postfix.1.bz2 --slave
/usr/share/man/man1/newaliases.1.bz2 mta-newaliasesman
/usr/share/man/man1/newaliases.postfix.1.bz2 --slave
/usr/share/man/man5/aliases.5.bz2 mta-aliasesman
/usr/share/man/man5/aliases.postfix.5.bz2 --slave /etc/aliases
mta-etc_aliases /etc/postfix/aliases
That one command is supposed to make all those symlinks for you.
Blue skies... Todd
--
MandrakeSoft USA http://www.mandrakesoft.com
Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft.
All in all, IMHO, an unbeatable combination. --Levi Ramsey on Cooker ML
Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-16mdk
msg58974/pgp00000.pgp
Description: PGP signature
