首页 > 其他 > 详细

liunx postfix与sendmail 开启与关闭

时间:2017-10-17 11:44:35      阅读:323      评论:0      收藏:0      [点我收藏+]

1:检查sendmail服务的状态

   service sendmail status

2:开启sendmail服务

 

service sendmail start

 

3:关闭sendmail服务

 

service sendmail stop

 

3:重启sendmail服务

 

service sendmail reload

 

 

检查一下是否有设定 sendmail在 reboot 后自动启动
  chkconfig --list | grep sendmail

 

  chkconfig sendmailoff   全部关闭

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1:检查postfix服务的状态

 

service postfix status

 

2:开启postfix服务的状态

 

service postfix start

 

3:关闭postfix服务的状态

 

service postfix stop

 

4:重启postfix服务的状态

 

service postfix reload

检查一下是否有设定 postfix 在 reboot 后自动启动
  
chkconfig --list | grep postfix

  chkconfig postfix off   全部关闭

 

liunx postfix与sendmail 开启与关闭

原文:http://www.cnblogs.com/xuey/p/7680223.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!