AmazonEC2でPostfixインストール
AmazonEC2のクイックスタートで選択できるamazon linuxはデフォルトでsendmailが入ってますが
webからメール送信するとwebの表示までも遅くなるのでpostfixに変更。
postfixをインストール
# yum -y install postfix
sendmail停止
# /etc/rc.d/init.d/sendmail stop
# chkconfig sendmail off
メールサーバー切替えpostfixを選択
# alternatives --config mta
Postfixを起動
# /etc/rc.d/init.d/postfix start
# chkconfig postfix on