Common problems with Ubuntu

Common problems with Ubuntu

Oleg Goldshmidt pub at goldshmidt.org
Tue May 11 21:55:15 IDT 2010


Shlomi Fish <shlomif at iglu.org.il> writes:

> Later on, when I worked on Fedora, I was able to install Postfix as
> well as sendmail (the Fedora default) because I could play with the
> symlinks in /etc/alternatives and other places.

Today you don't need to play with anything:

$ cat /etc/redhat-release
Fedora release 12 (Constantine)
$ rpm -q sendmail postfix exim
sendmail-8.14.3-8.fc12.x86_64
postfix-2.6.5-2.fc12.x86_64
exim-4.69-17.fc12.x86_64
$ rpm -qf /usr/sbin/sendmail
sendmail-8.14.3-8.fc12.x86_64
postfix-2.6.5-2.fc12.x86_64
exim-4.69-17.fc12.x86_64
$ ls -l /usr/sbin/sendmail*
lrwxrwxrwx 1 root root      21 2009-12-06 20:40 /usr/sbin/sendmail -> /etc/alternatives/mta
lrwxrwxrwx 1 root root       4 2009-12-06 20:11 /usr/sbin/sendmail.exim -> exim
-rwxr-xr-x 1 root root  213616 2009-09-16 16:37 /usr/sbin/sendmail.postfix
-rwxr-sr-x 1 root smmsp 825128 2009-09-16 21:54 /usr/sbin/sendmail.sendmail
$ ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 27 2009-12-06 20:40 /etc/alternatives/mta -> /usr/sbin/sendmail.sendmail

$ sudo alternatives --config mta 

or similar will let you switch between MTAs.

I expect Debian to have a similar arrangement today. I wonder if
Ubuntu offers the options.

-- 
Oleg Goldshmidt | pub at goldshmidt.org



More information about the Linux-il mailing list