10.3. Postfix の起動と停止

Turbolinux 10 Server で Postfix の起動や停止を行うには、/etc/init.d/postfix スクリプトに以下のオプションを指定して実行します。

表 10-2. /etc/init.d/postfix

オプション操作
startPostfix のデーモンを起動します。
stopPostfix のデーモンを停止します。
restartPostfix のデーモンを再起動します。stop のあとに、start を実行します。
statusPostfix の起動状況を確認します。
abortPostfix をアボート(中断)します。
reload設定ファイルを再読込します。起動中のプロセスは、適切なタイミングで終了します。
condrestartデーモンが動作しているかを確認後、再起動します。(/var/lock/subsys/postfix が存在するとき再起動します。)

Postfix を起動するには、以下のコマンドを実行します。

# /etc/init.d/postfix start

Postfix を停止するには、以下のコマンドを実行します。

# /etc/init.d/postfix stop

Turbolinux 10 Server の起動時に Postfix を自動的に開始するには、以下のように chkconfig コマンドを実行しておきます。

# chkconfig postfix on

Postfix の設定ファイルを変更した場合は、変更を反映するために Postfix を再起動します。

# /etc/init.d/postfix restart