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.
simply enter "2" or whatever line in your system mentions "postfix" and that's it.