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