[root@ns2 ~]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to ns2.atyu30.com (127.0.0.1).
Escape character is '^]'.
220 ns2.atyu30.com ESMTP Postfix
ehlo localhost
250-ns2.atyu30.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
[root@ns2 ~]# netstat -ant | grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST
[root@ns2 ~]# telnet atyu30.com 25
Trying 10.0.0.200...
telnet: connect to address 10.0.0.200: Connection refused
telnet: Unable to connect to remote host: Connection refused
处理办法:
inet_interfaces = all
#postfix reload
[root@ns2 ~]# netstat -ant | grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
[root@ns2 ~]# telnet atyu30.com 25
Trying 10.0.0.200...
Connected to atyu30.com (10.0.0.200).
Escape character is '^]'.
220 ns2.buzhidao.org ESMTP Postfix
阅读(1774) | 评论(0) | 转发(0) |