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  全部关闭

posted @ 2017-10-17 10:06  柔和的天空  阅读(6122)  评论(0编辑  收藏  举报