liunx postfix與sendmail 開啟與關閉


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  全部關閉


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM