During Changing MTA on centos / redhat i had issue getting terminal UI.
which is specified and documented here Changing Default MTA.
But there is alternate way to do so.
alternatives --config mta
Usually when you move from sendmail to postfix you should be using “/usr/sbin/sendmail.postfix”