メールサーバー MTAの切り替え

MTAの切り替えコマンドをどうも毎回忘れるのでメモ。


# update-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 default[*], or type selection number: 2
#


sendmail→postfix へ切り替えた

コメント