1. Postfixをインストールする # yum install postfix 2. alternativesコマンドでPostfixを使用するよう設定 # alternatives --config mta 2 プログラムがあり 'mta' を提供します。 選択 コマンド ----------------------------------------------- *+ 1 /usr/sbin/sendmail.sendmail 2 /usr/sbin/sendmail.postfix Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:2 3. /etc/alternatives.mtaのリンク先がPostfixになったことを確認 # ls -l /etc/alternatives/mta lrwxrwxrwx 1 root root 26 2月 11 1
![CentOSでMTAをSendmailからPostfixに切り替える](https://cdn-ak-scissors.b.st-hatena.com/image/square/126e9c63960837b5815901e11e1f6c1303c17f2b/height=288;version=1;width=512/https%3A%2F%2Fblog.seesaa.jp%2Fimg%2Fogp_logo.png)