CentOS6系のサーバーで、標準のMTAがSendmailだったのでPostfixに変更しました。alternativesというパッケージを操作したので作業記録です。
ちなみにMTAはメール転送エージェント(Mail Transfer Agent )のことです。
CentOS(おそらく6系まで)にはalternativesというパッケージがあり、同様のサービスに対して、複数のパッケージを管理・変更することができます。
ためしに、alternativesコマンドを実行してみます。
#alternatives
alternatives バージョン 1.3.49.5 - Copyright (C) 2001 Red Hat, Inc.
これは GNU 一般公有使用許諾書の規定の元で自由に再配布することができます。
使用法: alternatives --install <リンク> <名前> <パス> <優先度>
[--initscript <サービス>]
[--slave <リンク> <名前> <パス>]*
alternatives --remove <名前> <パス>
alternatives --auto <名前>
alternatives --config <名前>
alternatives --display <名前>
alternatives --set <名前> <パス>
共通のオプション: --verbose --test --help --usage --version
--altdir <ディレクトリ> --admindir <ディレクトリ>