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

相关文章:

  • 2021-11-04
  • 2021-10-05
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-27
  • 2022-01-21
猜你喜欢
  • 2021-10-02
  • 2022-02-26
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2021-09-27
相关资源
相似解决方案