阅读943 返回首页    go 阿里云 go 技术社区[云栖]


centos6关闭sendmail服务

linux主机有时候会弹出You have new mail in /var/spool/mail/root提示

这个是系统自带的邮件服务,你可以直接使用mail命令查看邮件,建议直接关闭掉。

/etc/rc.d/init.d/sendmail stopservice sendmail stop来进行关闭

取消开机自启动chkconfig sendmail off

 

最后更新:2017-06-28 09:32:12

  上一篇:go  linux常用命令之ps(详细参数讲解)
  下一篇:go  安装PHP的memcache扩展