1:檢查sendmail服務的狀態
service sendmail status
2:開啟sendmail服務
service sendmail start
3:關閉sendmail服務
service sendmail stop
4:重啟sendmail服務
service sendmail reload
5:檢查一下是否有設定 sendmail在 reboot 后自動啟動
chkconfig --list | grep sendmail
chkconfig sendmail off 全部關閉
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1:檢查postfix服務的狀態
service postfix status
2:開啟postfix服務的狀態
service postfix start
3:關閉postfix服務的狀態
service postfix stop
4:重啟postfix服務的狀態
service postfix reload
5:檢查一下是否有設定 postfix 在 reboot 后自動啟動
chkconfig --list | grep postfix
chkconfig postfix off 全部關閉