読者です 読者をやめる 読者になる 読者になる

MTAをsendmailからPostfixに切り替え

CentOS Server Postfix
/etc/init.d/sendmail stop # sendmailを停止
chkconfig sendmail off    # sendmail自動起動off

# 変更
/usr/sbin/alternatives --config mta

There are 2 programs which provide 'mta'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/sbin/sendmail.sendmail
   2           /usr/sbin/sendmail.postfix

Enter to keep the current selection[+], or type selection number: 2

chkconfig postfix on      # 自動起動on
/etc/init.d/postfix start # Postfix起動