centos – Sendmail没有收听任何端口

我正在使用CentOS 6的VPS主机.

我已经安装了Sendmail,但它没有收听任何端口.我已经检查过,IPTables被禁用(或者我想停止; service iptables status命令返回iptables:防火墙没有运行.

这是netstat -plnt输出

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address      Foreign Address    State       PID/Program name
tcp        0      0 0.0.0.0:22         0.0.0.0:*          LISTEN      1538/sshd
tcp        0      0 127.0.0.1:25       0.0.0.0:*          LISTEN      1186/master
tcp        0      0 0.0.0.0:3306       0.0.0.0:*          LISTEN      11274/MysqLd
tcp        0      0 :::22              :::*               LISTEN      1538/sshd
tcp        0      0 ::1:25             :::*               LISTEN      1186/master
tcp        0      0 :::80              :::*               LISTEN      14173/httpd

在sendmail.mc中,我编辑了DAEMON_OPTIONS(‘Port = smtp,Addr = 127.0.0.1,Name = MTA’)dnl Addr到0.0.0.0,并使用m4重新创建.cf文件,但似乎没有解决问题.

我该怎么办?

CentOS 6附带Postfix作为邮件服务器,您可以看到它正在运行(tcp:25 1186 / master). 尝试停止Postfix(服务后缀停止),然后启动sendmail(服务sendmail启动).

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native