CentOS下邮件服务sendmail的安装及简单配置

2020-01-30 14:34:36于海丽



复制代码
[root@DB-Server ~]# service postfix statusmaster (pid 1777) is running...

 
(3):停止postfix服务

复制代码
[root@DB-Server ~]# service postfix stopShutting down postfix: [ OK ]

 
 
(4):重新启动sendmail服务

复制代码
[root@DB-Server ~]# service sendmail stopShutting down sm-client: [ OK ]Shutting down sendmail: [FAILED][root@DB-Server ~]# service sendmail stop[root@DB-Server ~]# service sendmail startStarting sendmail: [ OK ]Starting sm-client: [ OK ]


(5):禁用postfix在reboot后自动启动

      检查一下是否有设定 postfix 在 reboot 后自动启动

复制代码
chkconfig --list | grep postfix

chkconfig postfix off