现在的位置: 首页 > 综合 > 正文

linux 关闭sendmail

2012年12月05日 ⁄ 综合 ⁄ 共 434字 ⁄ 字号 评论关闭

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

抱歉!评论已关闭.