|
telnet 本机25端口
现象:
[root@mail root]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to mail (127.0.0.1).
Escape character is '^]'.
-
就停在这不动了......555
命令netstat -an 查看,本地都是正常连接(还用win的机器0.1连接也这样.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 15 0 127.0.0.1:25 127.0.0.1:32773 ESTABLISHED
tcp 14 0 192.168.0.10:25 192.168.0.1:1042 CLOSE_WAIT
tcp 0 0 127.0.0.1:32773 127.0.0.1:25 ESTABLISHED
udp 0 0 0.0.0.0:32768 0.0.0.0:*
udp 0 0 0.0.0.0:824 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
查看日志maillog错误为:
fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
这是咋回事,连接上了,还有数据等待发送,怎么终端没反映了...应该再出一行 :
220 mail.cngnu.org ESMTP Postfix
才对呀,咋回事呢? |
|