我已经使用“ apt-get install sendmail”安装了sendmail,还使用Webmin安装了postfix。但是Postfix无法启动,并且当我检查/var/log/mail.err时
*Jul 11 14:09:03 victoria postfix/master[6588]: fatal: bind 0.0.0.0 port 25: Address already in use
Jul 11 14:09:10 victoria postfix/master[6821]: fatal: bind 0.0.0.0 port 25: Address already in use
Jul 11 14:09:11 victoria postfix/master[6820]: fatal: daemon initialization failure
Jul 11 14:09:12 victoria postfix/postfix-script[6822]: fatal: mail system startup failed*
我的“ netstat -tap”显示:
*root@victoria:/etc/init.d# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 2365/mysqld
tcp 0 0 localhost:submission *:* LISTEN 5639/sendmail: MTA:
tcp 0 0 *:webmin *:* LISTEN 896/perl
tcp 0 0 *:ssh *:* LISTEN 554/sshd
tcp 0 0 localhost:smtp *:* LISTEN 5639/sendmail: MTA:
tcp 0 384 192.241.205.208:ssh 175.139.222.195:45062 ESTABLISHED 29460/1
tcp6 0 0 [::]:http [::]:* LISTEN 773/apache2
tcp6 0 0 [::]:ssh [::]:* LISTEN 554/sshd
getnameinfo failed
getnameinfo failed
tcp6 0 1 [UNKNOWN]:http [UNKNOWN]:60003 LAST_ACK -*
禁用Sendmail可以启动并运行Postfix。但是我认为sendmail和postfix应该一起工作吗?如何配置它们都在服务器上?
谢谢。
你能告诉我这是什么原因吗?sendmail.postfix:致命:anonymous@douhisi.pair.com(3301):在邮件标头中找不到收件人地址