Sendmail不听任何端口

我正在使用CentOS 6的VPS托pipe。

我已经安装了Sendmail ,但它不听任何端口。 我检查,IPTables被禁用(或停止我猜; service iptables status命令返回iptables: Firewall is not running.

这里是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重新创build了.cf文件,但似乎没有解决问题。

我该怎么办?

CentOS 6自带Postfix作为默认的邮件服务器,你可以看到它正在运行(tcp:25 1186 / master)。 尝试停止Postfix( service postfix stop ),然后启动sendmail( service sendmail start )。