关闭Sendmail服务具体命令实现


Sendmail是最重要的邮件传输代理程序。理解电子邮件的工作模式是非常重要的。一般情况下,我们把电子邮件程序分解成用户代理,传输代理和投递代理。 关闭Sendmail服务具体命令实现如下:


关闭sendmail服务

1)[root@sample ~]# /etc/rc.d/init.d/sendmail stop  ← 关闭sendmail服务
或者[root@sample ~]# service sendmail stop  ← 关闭sendmail服务
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]

2)[root@sample ~]# chkconfig sendmail off  ← 关闭sendmail自启动

3)[root@sample ~]# chkconfig --list sendmail  ← 确认sendmail自启动已被关闭都为off就OK)
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

相关内容

    暂无相关文章