Knowledge Base


Centos/Redhat/RHEL: Changing default MTA from sendmail to postfix

It is so simple but i always have to look up again what the exact command is. Well, as a help for me i write it down here. There is this convenient "alternatives" command. First of all we need a 

yum install postfix

after that simply run

alternatives --config mta

it will prompt with something like this:

Es gibt 2 Programme, welche 'mta' zur Verf├╝gung stellen.

  Auswahl    Befehl
*+ 1           /usr/sbin/sendmail.sendmail
   2           /usr/sbin/sendmail.postfix

simply enter "2" or whatever line in your system mentions "postfix" and that's it.


<- Zurück zur Übersicht