Sendmail
Paul Howarth
paul at city-fan.org
Sun Jan 22 09:43:11 UTC 2006
On Sat, 2006-01-21 at 16:15 +0000, Anne Wilson wrote:
> On Saturday 21 Jan 2006 14:46,
> replies-lists-redhat at listmail.innovate.net wrote:
> >
> > i don't use gui tools for most system configuration things, so if
> > that's how the mta switch was made, more things may have been touched
> > than i'm aware of.
> >
> > that said, assuming that your postfix config files are still intact
> > (the switch shouldn't have done anything to them) you should be able
> > to set things back to postfix as your MTA by resetting the "mta"
> > symbolic link in /etc/alternatives .
> >
> > from what you've indicated, i assume that that symbolic link is
> > currently set to:
> >
> > mta -> /usr/sbin/sendmail.sendmail
> >
> > to reset things to use postfix as your MTA, delete that symbolic link
> > (after shutting down sendmail) and set up a new symbolic link
> > pointing "mta" to "/usr/sbin/sendmail.postfix". [double check that
> > sendmail.postfix is at that location.]
> >
> > look at the other "mta-*" symbolic links in /etc/alternatives as
> > there are links to man pages, etc., e.g.:
> >
> > mta-sendmailman -> /usr/share/man/man8/sendmail.sendmail.8.gz
> >
> > that might also need resetting.
>
> This looks disastrous. I think I have really screwed this up. I never
> did understand links correctly. I tried to correct a couple
> in /etc/alternatives from konqueror, but got a desktop configuration
> file instead of an executable. I also tried from the CLI, but that
> didn't work either.
>
> Listing /usr/bin/mail* produces a couple of red blinking listings, which
> I take to be broken links.
>
> /usr/bin/mailq -> /etc/alternatives/mta-mailq
>
> Sorry to be such a wimp, but please tell me explicitly how to do this?
It's easiest to manage the symlinks there using the "alternatives" tool
itself:
# /usr/sbin/alternatives --config mta
Paul.
More information about the fedora-list
mailing list