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 へ切り替えた
The shape of the system that overflows in the world is equal to the "knowhows" that parties concerned of each industry have.
People who create the system need high-ranking "knowhows" further.
I want to become ..high-ranking "knowhows".. handlers' help.
2011/11/01
2010/02/11
メールサーバー切替え(CentOS5.4)
システムで使用するメールサーバー機能をsendmailからPostfixに切替えます。
root権限で、下記のコマンドを実行
alternatives --config mta
There are 3 programs which provide 'mta'.
Selection Command
-----------------------------------------------
1 /usr/sbin/sendmail.sendmail
*+ 2 /var/qmail/bin/sendmail
3 /usr/sbin/sendmail.postfix
Enter to keep the current selection[+], or type selection number: 3
・sendmail自動起動設定解除
chkconfig sendmail off
・sendmail自動起動設定解除確認(ランレベル確認)
chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
・Postfix自動起動設定
chkconfig postfix on
・Postfix自動起動設定確認(ランレベル確認)
chkconfig --list postfix
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
root権限で、下記のコマンドを実行
alternatives --config mta
There are 3 programs which provide 'mta'.
Selection Command
-----------------------------------------------
1 /usr/sbin/sendmail.sendmail
*+ 2 /var/qmail/bin/sendmail
3 /usr/sbin/sendmail.postfix
Enter to keep the current selection[+], or type selection number: 3
・sendmail自動起動設定解除
chkconfig sendmail off
・sendmail自動起動設定解除確認(ランレベル確認)
chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
・Postfix自動起動設定
chkconfig postfix on
・Postfix自動起動設定確認(ランレベル確認)
chkconfig --list postfix
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
登録:
投稿 (Atom)
-
プログレッシブダウンロードとは、ストリーミングと同じくデータをダウンロードしながら再生する技術のことを言うらしいです。 ・メリット *HTTPプロトコルで配信が可能。 *上記から配信サーバーとして、HTTPサーバーがあれば配信が可能。 ・デメリット *コンテン...
-
uvicorn app.main:app --reloadは、Uvicornを使用して FastAPIアプリケーションを実行するためのコマンド ただ、意味をちゃんと理解しないでしようしていたのでまとめ uvicorn: Uvicornの実行可能ファイル ...
-
using Excel = Microsoft.Office.Interop.Excel; /// Excelオブジェクト Excel.Application oXls; /// ワークブックコレクション Excel.Workbook oWBook = this.oXl...